![]() |
Postbit: Legacy v. New - Give Users a Choice
1 Attachment(s)
We wanted to offer both styles of postbit on our boards - one with the userinfo on top of the post (new) and one with the userinfo on the left (legacy).
In VB settings, it gives you the option of using one or the other, but here is a quick template hack to offer both: If you use LEGACY on your boards: 1. Make a child skin based on your current one, and call it something like BOARDNAME-topbar. 2. In this skin, swap the code from postbit and postbit_legacy. So the POSTBIT_LEGACY template will actually have the top bar in it. If you have legacy disabled and use the new postbit on your boards: 1. Make a child skin based on your current one, and call it something like BOARDNAME-sidebar. 2. Do the same as #2 above: swap the code from postbit and postbit_legacy. So the POSTBIT template will actually have the sidebar in it. Now your users can choose sidebar or topbar by skin. Note: to adjust elements in the postbit (or _legacy) you can now just modify additional.css in its skin without affecting the other. |
All times are GMT. The time now is 04:02 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|