PDA

View Full Version : How do I add/update table informatin via admincp?


amnesia623
10-30-2007, 02:54 AM
I have a couple columns in the db I would like to update via the forum manager.

How in the world do I go about doing this? I assume that I need to write some php code and insert into a plugin and assign that to a hook.

I don't know the hook location and not sure the code.

You can look here ->https://vborg.vbsupport.ru/showthread.php?t=161433
for some more specific background information on this, but I'll try to put in a nutshell

I want to be able to assign a number to the custom columns 'menuid' and 'rssfeedid' in the forums table. 'menuid' will pull an id for a side menu and 'rssfeedid' will pull an id for an rss feed (not associated with vbulletin rss). These ids will associate with ids on other tables and pull the appropriate information.

So, back to my question: How would I be able to input these ids from the admincp->forum manager to both update current forums and add to new forums?

Any help would be great.

Marco van Herwaarden
10-30-2007, 06:20 AM
See the following modification: Direct External Links (https://vborg.vbsupport.ru/showthread.php?t=158624)
It will give you basic examples on how to add a forum setting.

amnesia623
10-30-2007, 07:12 AM
Thanks Marco -

I actually figured it out thru bits and pieces here and there. You guys have made it easier than I thought and I much appreciate that!

I will look at the above link though to make sure I get it.

Thanks