The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Need help with forumid array
Ok, totally stuck here!
I'm trying to get those darn thumbnail to work in specified forums with the option "required" As far as it goes, it works fine in every specified forumid's from the list and the thumb is showing fine, tho, when i go into a forum that is not in that array list, the thread doesn't get posted because it's being automatically block for missing the "thumbnail" input! It's not in that main list of forumids that thumbnails should be shown in !!! Any ideas why the (in_array......) is not excluding these forums? Here's the code from the mod for "New Thread - Show Text Box?" and it's use the Hook location "newthread_start" Code:
else if ($vbulletin->options['thread_thumbnails_forum_list'] AND $vbulletin->options['thread_thumbnails_forum_list'] != "") { $forumsallowed = explode(",", $vbulletin->options['thread_thumbnails_forum_list']); if (in_array($foruminfo['forumid'], $forumsallowed)) { if($vbulletin->options['thread_thumbnails_thumbnail_source'] == '0') { $show['thumbnailurl']= true; } Badly need your inputs with this guys! I'm trying to fix some options from "Product Thread thumbnails" from Null that lots of members wants but with no good results with this option Tks |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|