![]() |
Postbit / Postbit Legacy
well my question is this one
i want to have a skin where users can choose the default postbit or postbit legacy, i suppose that i have to copy and paste my skin, but how can i make the copied skin runs with the legacy and my normal skin with default postbit? |
I don't understand the second part, you want one skin to be using postbit legacy and the default one with the normal postbit without user option, or do you want the user option?
|
well, what i frist have in mind is that the choose of legacy or normal postbit can be by skin ex: you pick up "default skin" and you can see the threads with the default postbit, but if you pick up the skin "default skin (Legacy)" you can see the threads with the legacy postbit
but if there is a better way, that can be nice to know too :) thanks for reading |
I'm pretty sure there is a mod where users are able to choose what postbit they'd like (legacy or normal) through the User CP. Is this what you are after?
|
You could just be lazy and make a child style where you copy the legacy template over the postbit template.
|
Quote:
|
You could try this..
hook cache_templates PHP Code:
|
hmm intresting, this maybe can be out of the topic but,
$vbulletin->options['legacypostbit'] is an array, isnt it? so now, where i can have a reference about all the $vbulletin->options ? |
$vbulletin->options is an array containing all the options, and should be available everywhere.
$vbulletin->options['legacypostbit'] just contains 1 or 0 depending on what you have that option set to. |
Quote:
and well, now on the if statement you told me, i suppose there is a way can be re arranged, so, the users can choose something on UCP like "Show normal postbit or postbit legacy" PHP Code:
|
All times are GMT. The time now is 12:35 AM. |
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:
|