Log in

View Full Version : Php Variable to show forum id?


Andy92
03-17-2008, 04:26 PM
Hey,

I am developing a small php app, and i just need a vBulletin variable that gives me the forum id (number) a thread is in when viewing it.

Like i mean this...

http://www.kedoa.com/forum/forumdisplay.php?f=46

Would display 46, but say this...

http://www.kedoa.com/forum/showthread.php?p=1311

That is in the News and Media forum category, it would output 6, which is the id of the News and Media category.

Does anyone know what the $variable for this is?

--------------- Added 1205777216 at 1205777216 ---------------

Dont worry, ive got it.

Its $forumid

Dismounted
03-18-2008, 05:28 AM
$threadinfo['forumid']
OR
$thread['forumid']
OR
$forumid