Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 17 Nov 2007, 00:43
asandhanam asandhanam is offline
Join Date: Oct 2007
Foruminfo array

How does this foruminfo array get populated. I added a new table to the forum table. But $foruminfo[categoryid] doesn't return anything. Do i have to edit the select sql stmt that populates this array. If so which file should i look for, to populate my new field in to this array.?
Reply With Quote
Old 17 Nov 2007, 15:38
Opserty Opserty is offline
Join Date: Apr 2007
You added a new table? or do you mean field?

You will need to use some PHP code to enable you to customise the data in this field.

Possibly using plugins with the "forumadmin_edit_form" and "forumadmin_update_save" hooks.
Reply With Quote
Old 18 Nov 2007, 07:37
TheRed's Avatar
TheRed TheRed is offline
Join Date: Oct 2003
Real name: Fer.
You meant a new column in the forum table.

Well, the $foruminfo array is populated in the /global.php file which calls the fetch_foruminfo function (located in the /includes/functions.php) to execute the sql query below, so i believe there shouldn't be a problem loading the new custom columns.

global.php is called at the very beginning of almost each file that has an output.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

May someone correct me if im wrong.
Reply With Quote
Old 09 Oct 2016, 14:49
GabFe GabFe is offline
Join Date: May 2016
It's something about cache, because if you put $cache var to true in the function fetch_foruminfo (functions.php) works fine.
Reply With Quote
Old 10 Oct 2016, 17:33
Lynne's Avatar
Lynne Lynne is offline
Join Date: Sep 2004
Real name: Lynne
Do you realize you replied to a 9 year old thread?
Former Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

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

New To Site? Need Help?

All times are GMT. The time now is 03:27.

Layout Options | Width: Wide Color: