![]() |
Thanks for releasing :)
|
Quote:
Thanks for the support Mist. Cheers, g-force2k2 |
I ask you, how?
Good job, but it's a little overkill. First, I have the legacy postbit setting set to '0' in the settings. I make a profile field giving the user this option, and in my phpinclude_start template, I add an if statement to check the value of the profile field, and if it is set to the vB2 style, set $vboptions['legacypostibt'] to '1'. No hacking required, no unneeded queries, just a simple template mod. Nice work, but it's just overkill to do 9 file edits when none are needed. ;) |
Quote:
Quote:
g-force2k2 |
And where would those unnecessary queries come from? It's a simple profile field/if statement combination. ;)
|
Quote:
No you're right about the profilefield and if conditional no queries are required, but simply by using the postbit_legacy template it is not a cache'd template. My hack further optimizes that simple fact Regards, g-force2k2 |
Yeah, I didn't see that part of your post. Shouldn't postbit_legacy be cached by default? *goes to file a bug report*
|
Quote:
Regards, g-force2k2 |
There is a easier way to do this if you only want to switch between postbit_legacy and postbit templates in vBulletin 3. I'm using it without any file modifications or any extra queries.
But this is nice for having multiple style postbits :) Good Job G-force. |
Quote:
Cheers, g-force2k2 |
All times are GMT. The time now is 02:06 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:
|