The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Force ForumID?
I'm working on a custom script, but I'm stuck at the final hurdle when trying to force a forumid for forumdisplay.php.
I have made a plugin in forumdisplay_start where all of the following fails: PHP Code:
--------------- Added [DATE]1295302241[/DATE] at [TIME]1295302241[/TIME] --------------- Got it! $foruminfo = fetch_foruminfo($newforumid); |
#2
|
|||
|
|||
nvm - posted at same time as your second post (and I think mine was wrong anyway).
|
#3
|
||||
|
||||
Did you try looking in the code where the hook location is? The variable is not called $forum, it's called $foruminfo.
|
#4
|
|||
|
|||
Thanks to you both for the reply . I found this out just after I posted and edited my OP with the fix.
--------------- Added [DATE]1295355405[/DATE] at [TIME]1295355405[/TIME] --------------- Now that I've set the $foruminfo varible in forumdisplay_start, I can't get the meta tags in "headinclude" to work? For example, the variable "$foruminfo[title_clean]" in headinclude doesn't return anything - even though I set $foruminfo in forumdisplay_start. I'm a real novice at programming, so any help would be most welcome! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|