The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Forum list in sidebar block
How would I go about getting the forum list (all forums viewable by current user) in a <select><option value="$forumid">$forumname</option></select> format?
I tried the following code PHP Code:
Code:
Fatal error: Cannot redeclare construct_forum_list() (previously declared in /home/krypto/public_html/forum/includes/block/html.php(95) : eval()'d code:1) in /home/krypto/public_html/forum/includes/block/html.php(95) : eval()'d code on line 39 How do I properly show a forum list dropdown selection? I got some of the code from https://vborg.vbsupport.ru/showthread.php?t=246670 and removed the mod-specific conditionals on the fly so hopefully I didn't miss a ( or ) --------------- Added [DATE]1334036584[/DATE] at [TIME]1334036584[/TIME] --------------- Ok, so I got rid of the error. Now my dropdown isn't showing all forums I am (as a user) able to post to. It may have something to do with the "-1"s? --------------- Added [DATE]1334038241[/DATE] at [TIME]1334038241[/TIME] --------------- nvm. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|