![]() |
Trying to get this vB 4 code to work with vB 3
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 :p lol. Anyway, this is what I have for vB 4:
PHP Code:
PHP Code:
I've got this part of the code commented out at the moment PHP Code:
|
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?
|
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 :p |
Quote:
You could try calling cache_ordered_forums(1) right before your foreach in usml_construct_forum_chooser(). |
That didn't work either :(
|
OK, I tried it instead of just guessing :o, and it looks like the problem is that there's no render_option_template() function in vb3.
|
For some reason, I had a feeling that might be it :( Not sure what to change it to though lol
|
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. |
Quote:
|
All times are GMT. The time now is 02:35 PM. |
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:
|