Log in

View Full Version : How customize forum rules for each forum?


pollevr
02-18-2009, 06:46 AM
Hi *,
I need to customize forum rules for each forum that I'm going to create.

For example: I want to enable the attach on my first forum, but no in the second.
Another example: I want set the max message length for my first forum in 1000 chars and 5000 in the second.

Is it possible? How can I do this?

Sorry for my bad english and thanks for every answer!

Bye.

Lynne
02-18-2009, 03:42 PM
You could write the code in your rules page to show different rules based on a forumid variable being passed. Or, if it's a template do a condition based on the forumid and show something different based on that condition.

For the message length, you might be able to write a plugin that changes that length based on the forumid (fetch_foruminfo location?):
if ($forumid == 'x')
{
$vbulletin->options['postmaxchars'] = '5000';
}
(Not tested. I have no idea if that will work.)