Greg
07-05-2006, 04:15 AM
If you want to have the ability for your members to choose postbit or postbit legacy, this hack is for you!
This hack assumes you use default postbit, memberinfo on top. It can however be configured the opposite way too. So, let's make a set of styles where the parent style is postbit normal and the child will be postbit legacy.
Go to the style manager and pick a style that you want your members to be able to choose postbit or postbit legacy layout in. From the drop down menu, select "add child Style". Make sure the style you selected is the parent and create a child of it on the next screen. Allow user selectable = yes. Click Save. You now have a child of the main style. Click the link to the child style and get the style ID. Write it down and save it for now. Name the parent with postbit in the name and the child postbit legacy in the name.
Now go to vbulletin options-> Style & Language Settings. Set the default style. It will likely be your parent style from above in most cases. "Allow Users To Change Styles" should be Yes. "Use Legacy (Vertical) Postbit Template" should be No. Save it.
Install the provided product XML file for EZ Postbit Selector in the ACP under plugin system, manage products.
Go to vbulletin settings->EZ Postbit Selector Options and enable it. Next set the style ID that members will select to see postbit legacy. This is the child style. Enter the style ID in the input box under "Select Styles with Postbit Legacy Option." that you noted before. Save it.
Now on the bottom of your forum pages you should see a drop down menu that members can select the style with postbit or postbit legacy. If you ever need to modify the templates of either style, only edit the parent and let the edit flow down to the child. Never edit the child. This allows you to have two styles for the postbit selection, but only manage one template set.
You can repeat this process for multiple styles. Just build a list of style IDs seperated by a common as you repeat the entire process above for each style you want both postbits to be available for. (ie. 1,2,3,4)
This process enables the members to switch postbits from any forum page anytime. They never have to go to user cp settings. There is a site wide option for the style as opposed to sending them to the User CP and then the style selector too.(If you have multiple styles) All the work is centralized for the members from one menu available sitewide. We as admins do the work that requires multiple steps. But we only have to do it once.
Yes, there are other ways to do this, but in the case of multiple styles, I prefer to have the members perform a one step process rather then a two step process involving selecting a style and then a postbit option. This is a nice clean clear concise drop down menu on every page available to the members with no special effort.
This hack assumes you use default postbit, memberinfo on top. It can however be configured the opposite way too. So, let's make a set of styles where the parent style is postbit normal and the child will be postbit legacy.
Go to the style manager and pick a style that you want your members to be able to choose postbit or postbit legacy layout in. From the drop down menu, select "add child Style". Make sure the style you selected is the parent and create a child of it on the next screen. Allow user selectable = yes. Click Save. You now have a child of the main style. Click the link to the child style and get the style ID. Write it down and save it for now. Name the parent with postbit in the name and the child postbit legacy in the name.
Now go to vbulletin options-> Style & Language Settings. Set the default style. It will likely be your parent style from above in most cases. "Allow Users To Change Styles" should be Yes. "Use Legacy (Vertical) Postbit Template" should be No. Save it.
Install the provided product XML file for EZ Postbit Selector in the ACP under plugin system, manage products.
Go to vbulletin settings->EZ Postbit Selector Options and enable it. Next set the style ID that members will select to see postbit legacy. This is the child style. Enter the style ID in the input box under "Select Styles with Postbit Legacy Option." that you noted before. Save it.
Now on the bottom of your forum pages you should see a drop down menu that members can select the style with postbit or postbit legacy. If you ever need to modify the templates of either style, only edit the parent and let the edit flow down to the child. Never edit the child. This allows you to have two styles for the postbit selection, but only manage one template set.
You can repeat this process for multiple styles. Just build a list of style IDs seperated by a common as you repeat the entire process above for each style you want both postbits to be available for. (ie. 1,2,3,4)
This process enables the members to switch postbits from any forum page anytime. They never have to go to user cp settings. There is a site wide option for the style as opposed to sending them to the User CP and then the style selector too.(If you have multiple styles) All the work is centralized for the members from one menu available sitewide. We as admins do the work that requires multiple steps. But we only have to do it once.
Yes, there are other ways to do this, but in the case of multiple styles, I prefer to have the members perform a one step process rather then a two step process involving selecting a style and then a postbit option. This is a nice clean clear concise drop down menu on every page available to the members with no special effort.