So I have this php page I'm working on... a mod. I've included
global.php... everything works on my mod except I'm trying to redirect back to forumdisplay after a database insertion happens.
PHP Code:
$vbulletin->url = "forumdisplay.php?" .$vbulletin->session->vars['sessionurl']."f=" .$foruminfo['forumid'];
However it always says "Invalid Forum specified. If you followed a valid link, please notify the administrator" and the address bar says f= but doesnt have the ID after it...
I've also tried:
- $forum['forumid']
- $threadinfo['forumid']
- $thread['forumid']
None of which give me results. Any ideas?