The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
In one of my modifications, I've got a forum selection option, and can't get it to work in vB 3. Been too long since I actually looked at the code for vB 3
![]() PHP Code:
PHP Code:
I've got this part of the code commented out at the moment PHP Code:
![]() |
#2
|
|||
|
|||
![]()
The only thing I can see is that maybe something isn't defined where you're using this. What hook are you doing that at?
|
#3
|
||||
|
||||
![]() Quote:
--------------- Added [DATE]1313009613[/DATE] at [TIME]1313009613[/TIME] --------------- Also, I'm calling/defining it the same way in vB 4 and it works just fine, but for some reason, vB 3 wants to be difficult ![]() |
#4
|
|||
|
|||
![]() Quote:
![]() You could try calling cache_ordered_forums(1) right before your foreach in usml_construct_forum_chooser(). |
#5
|
||||
|
||||
![]()
That didn't work either
![]() |
#6
|
|||
|
|||
![]()
OK, I tried it instead of just guessing
![]() |
#7
|
||||
|
||||
![]()
For some reason, I had a feeling that might be it
![]() |
#8
|
|||
|
|||
![]()
I think something like this should work:
PHP Code:
and I think you could put the whole function in an 'if' that checks for vb3. |
#9
|
||||
|
||||
![]() Quote:
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|