PDA

View Full Version : Custom field in Forum Manager


rohitchopra
02-23-2011, 07:25 PM
Hey guys,

I am trying to add a custom input field to the Forum manager (page where you enter the forum title, description, etc.). I have looked everywhere and I cant seem to find anything that might point me in the right direction.

I am so used to wordpress (and its codex) that I can't even find my way around VB's documentation.

So far, this is what I have come up with:

1) Edited the forums.php file to a new: print_input_row(); with a predefined phrase.
2) Created a plugin to initialize the new input field in $validfields (called at data_start hook)

If anyone can answer the following questions, it would be of great help.

a) Do I need to create a new cell in the forum database for the $validfields to store the data? Will this new field be populated automatically with the previously stored value?
b) Will the fetch_foruminfo() fetch this new field value in the returned array?
c) Is there an easier way of doing this? (preferably one that involves not touching the forums table at all?)

Boofo
04-21-2011, 04:37 PM
Check this mod out. It should get you started.

https://vborg.vbsupport.ru/showthread.php?t=246993