![]() |
Good deal!
And just to finalize my questions...how would I implement this for multiple forums? Any chance we could get an admin option panel in the admincp for this? :) |
If you are going to only use this on a few forums, you could do this:
HTML Code:
<if condition="in_array($forumid, array(30, 31, 32))"> |
Thanks for the tip.
What I meant was that I'd like to see this as an option in vBulletin settings, where I could modify what forums receive this versus modifying a conditional. You said if there are only a few forums....how much load would the array hammer on the system? Can you define a few....like less than five or less than 20? |
The array sholdn't do any more than if you did
HTML Code:
<if condition="$forumid == '30' OR $forumid == '31' OR $forumid == '32'"> |
Boofo ! http://www.gzhq.net/forums/images/smilies/yourock.gif
[high]* Zachariah "click" [/high] BTW: your forums mouse is cool almost Star Trek :D |
Thank you, sir. And my mouse thanks you. ;)
Did you check out my Forum Quick Stats setup on my site? I re-did the template so it has a cleaner look to it. Check it out and let me know what you think. ;) |
Ahh bofo, i was just thinking about making something like this.. just saved me hours of work :D...
thanks dude.. :) |
No problem. ;)
And it's Boofo, with 2 o's. ;) |
Error
SQL-query : INSERT INTO " . TABLE_PREFIX . "datastore( title, DATA ) VALUES ( 'forumstatscache', 'a:15:{ s:10:"numthreads";s:1:"0"; s:10:"numreplies";s:1:"0"; s:8:"numviews";s:1:"0"; s:15:"topthreadscount";s:1:"0"; s:12:"topthreadsid";s:1:"0"; s:12:"topthreadsun";s:0:""; s:17:"topthreadspercent";s:1:"0"; s:14:"toppostercount";s:1:"0"; s:11:"topposterid";s:1:"0"; s:11:"topposterun";s:0:""; s:16:"topposterpercent";s:1:"0"; s:12:"attachscount";s:1:"0"; s:12:"attachsbytes";s:1:"0"; s:9:"avgrating";s:1:"0"; s:10:"lastupdate";s:1:"0"; }' ) MySQL said: #1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '" . TABLE_PREFIX . "datastore( title, DATA ) VALUES ( 'forum |
false alarm, works fine without the query
|
All times are GMT. The time now is 06:51 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:
|