How to set a MAX character limit per forum (not per board)?
I have a group of forums (about 10) I would like to limit the max character limit for posting to be something less that what the other forums on the board are. Currently VB options only allows you to set a universal board setting that affects all forums.
Can this be done be inserting a conditional somewhere and adding the forums in question into an array for that conditional?
Can this be done be inserting a conditional somewhere and adding the forums in question into an array for that conditional?
That should work. If you use a hook like global_init_setup_complete and code like this:
Code:
global $forumid, $vbulletin;
if (in_array($forumid, array(1, 2, 3))) // change 1, 2, 3 to your list of forum ids
{
$vbulletin->options['postmaxchars'] = X; // change X to new char limit
}