
02-01-2004, 07:15 PM
|
|
|
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Link14716
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. 
|
Okay so you don't want to do unneeded queries, but by not making two file modifications you're running unnecessary queries, I don't see how people aren't understanding.
Quote:
Originally Posted by g-force2k2
2. I find it necessary to cache the posbit_legacy template. So if you want to get technical about file mods not needed, sure, but then you'll be running an extra query each time you load the showpost.php and showthread.php files if you use the vb2 postbit.
|
Regards,
g-force2k2
|