![]() |
if you download a style youll have to delete the MAXONLINERECORDS template first, or when you upload it youll have the old record.
|
No, you won't. MAXONLINERECORDS is stored in template set -1, so you can't download it.
|
ohhh ok thanks. and what about using another style in the board? will it save the right record?
|
am i the only person who cant do it ? :(
|
The template is called from templatesetid -1, which is not affected by custom styles. It will work regardless of which style you or your users choose.
|
Please read the Extraordinarily Important Info which I have just posted in the first post of this thread... if you don't, your records will be destroyed when you upgrade to a new version of vBulletin.
|
Little tip for optimization, if you want to include it on a later version...
UPDATE template SET template="$totalonline ".time()." WHERE title='MAXONLINERECORDS' AND SUBSTR(template, 0, INSTR(template, '0')-1) < '$totalonline' And you can remove MAXONLINERECORDS from the cache. Actually, the string functions might slow it down even more, oh well... |
Well, guess what everyone.
I forgot to add the code to the upgrade script when upgrading from b3 to b4....:o Its ok I lost the records, but now it show the max # as the current number..... what do i do? sorry for being so dumb. |
This hack is no longer necessary as it is built into vBulletin 2.0 Beta 4 and higher.
|
Quote:
Quote:
|
All times are GMT. The time now is 08:24 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:
|