PDA

View Full Version : Pulling current ForumID (forumdisplay.php)


RetroDreams
11-14-2005, 11:54 PM
Does anyone know how I can pull the current forum ID in forumdisplay.php? I could do it without a problem in 3.x, but can't see to get it in 3.5.

Any help would be greatly appreciated!

Guest190829
11-15-2005, 02:54 AM
The below should work, haven't tested it though:


$vbulletin->input->clean_array_gpc('g', array('f' => TYPE_INT));

$fid = $vbulletin->GPC['f'];



$fid being the forumdisplay id...

Marco van Herwaarden
11-15-2005, 06:18 AM
Duplicate thread. Closed.