The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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? |
#2
|
|||
|
|||
Quote:
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 } |
#3
|
||||
|
||||
Get this error:
Quote:
|
#4
|
|||
|
|||
Oh, yeah, sorry. I was thinking about is_member_of() which works like that. Anyway, I fixed the code above.
|
#5
|
||||
|
||||
Works great, thanks!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|