PDA

View Full Version : Get extra forum data


flashfocus
02-20-2008, 08:41 AM
Hi,

I'm writing a plugin and it now has to do something forum-specific. On my old forum (vb 3.6) I used to use hard-coded checks on forum-id's, but that's not really nice, is it?

What I'm looking for is some kind of mechanism to just add extra data to a forum through the AdminCP. Does such a plugin/mod exist? Or is there a standard mechanism in ACP that can do that for me?

It has to be data that I can check from within my plugin, just as I could check the forum-id.

Thanks for reading :)

Dismounted
02-20-2008, 09:58 AM
Do you mean to want to add a custom field to the forum options page?

flashfocus
02-20-2008, 10:12 AM
I guess that would be what I want...

I'm creating a BBcode tag. If the bbcode is used in forum1, I want it to change to [bbcode1], if it is used in forum2, I want it to change to [bbcode2]. So this is something I would have to set in the AdminCP and read from within my plugin code.