I see what your saying I think... ok so I appended this to my button I'm clicking on..
&forumid=$foruminfo[forumid] and I can see the ID reflect now when u hover over the button/link.
So that part works. I'm stuck in the .php page tho. Using $vbulletin->GPC['forumid'] in the redirect doesnt work. What am I missing here...
PHP Code:
if ($_REQUEST['do'] == 'add')
{
// retrieve gpc data
$vbulletin->input->clean_array_gpc('r', array(
'entry_id' => TYPE_UINT,
'type' => TYPE_STR,
'forumid' => TYPE_INT,
));
switch ($vbulletin->GPC['type'])
{
case 'thread':
{
if (!$vbulletin->options['vbfvs_enabled'])
{
print_no_permission();
}
$vbulletin->url = "forumdisplay.php?" .$vbulletin->session->vars['sessionurl']."f=" . $vbulletin->GPC['forumid'];
}
break;