Log in

View Full Version : Plugin new_post_complete


me102
07-09-2007, 12:19 AM
I have a code that pays people everytime they make a new post. But i'm losing money because there posting in the wrong boards. So I wanted to add an if statement into my new_post_complete but I dont know what the variable is for forum/board id. I tryed $forumid and if($vbulletin->GPC['f'] != '32'){ but they dont seem to work.

Dismounted
07-09-2007, 05:23 AM
global $foruminfo;
Then use $foruminfo['forumid'].