Go Back   vBulletin Setup > vBulletinSetup Information > vBulletin Questions


Please Register to get full access to the forums.
Post New Thread  Reply



#1   11-15-2007, 10:03 PM
anuvenkatesh will become famous soon enough Join Date: Nov 2007 Posts: 5
iTrader: (0)
Help needed - I need to add a new field to the forum table


Hi,

I'm new to vb and need some help. I added the field 'categoryid' to the forum table. Then i tried to print that categoryid in the header, footer(simply for testing purposes)..i added $foruminfo[categoryid] and also tried $forum[categoryid]. But none of 'em worked. I need to be able to use this categoryid in a plugin with the following code:
i tried the hook location 'global_start'
ob_start();
$categoryid = $foruminfo[categoryid];
include('[domainname]/API/ads.cfm?w=160&h=600&as=2&q=&f=0&categoryid=$catego ryid');
$includedphp = ob_get_contents();
ob_end_clean();

since $foruminfo[categoryid] doesn't print anything, how do i accomplish this.?
Quote   |  
Post New Thread  Reply
vBulletin Setup > vBulletinSetup Information > vBulletin Questions


Thread Tools
Display Modes

 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Regex on custom user field callumj vBulletin Questions 0 11-21-2007 07:08 AM
Table color by profile field.. Norman vBulletin Questions 6 11-16-2007 09:53 AM
Header Logo/Ad Line-up with Forum Table El Fuego vBulletin Questions 1 11-22-2006 11:10 AM
V3 Arcade Problem, importing user table to DB radarhunter vBulletin Questions 15 09-18-2006 08:31 PM


All times are GMT -6. The time now is 10:58 AM.

vBulletin Setup, vBulletin Setup Forums, vBulletin Services, vBulletin Blogs, vBulletin SEO, vBulletin Questions
vBulletin Skins, Styles, Templates, vBulletin Monetization, Blogs, vBulletin Link Directory,Quality Link Directory