The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
![]()
Here's a quick and dirty solution.
In "includes/class_dm_threadpost.php" Find: Code:
function verify_pagetext(&$pagetext) { if ($this->registry->options['postmaxchars'] != 0 AND ($postlength = vbstrlen($pagetext)) > $this->registry->options['postmaxchars']) { $this->error('toolong', $postlength, $this->registry->options['postmaxchars']); return false; } Code:
function verify_pagetext(&$pagetext) { global $vbulletin; if ($this->registry->options['postmaxchars'] != 0 AND ($postlength = vbstrlen($pagetext)) > $this->registry->options['postmaxchars'] AND $vbulletin->userinfo['usergroupid'] != '6') { $this->error('toolong', $postlength, $this->registry->options['postmaxchars']); return false; } This will eliminate the limit placed on Administrators, yet maintain the established AdminCP Limits for other Users. |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|