The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
does anyone know how to make admin/mods exempt from the character limit when starting new threads and replying to threads?
I need the team members to be able to post large posts but everyone else not be able to thanks in advance for any help offered |
|
#2
|
||||
|
||||
|
Yes, that is fairly easy to do. Give me a few minutes and I will try to get something together for you.
|
|
#3
|
|||
|
|||
|
In newreply.php and newthread.php find:
Code:
$message = stripsession($message);
if
(strlen($message)>$postmaxchars and $postmaxchars!=0) {
Code:
$message = stripsession($message);
if
(strlen($message)>$postmaxchars and $postmaxchars!=0 and $bbuserinfo[usergroupid] != 6) {
Code:
eval("dooutput(\"".gettemplate("newreply")."\");");
}
Code:
if ($bbuserinfo['usergroupid']==6) {$postmaxchars=10000000;}
Code:
eval("dooutput(\"".gettemplate("newthread")."\");");
}
Code:
($bbuserinfo['usergroupid']==6) {$postmaxchars=10000000;}
And I hope that works....seems to be working for me.
|
|
#4
|
||||
|
||||
|
|
|
#5
|
||||
|
||||
|
Quote:
|
|
#6
|
|||
|
|||
|
Quote:
|
|
#7
|
||||
|
||||
|
thank you very much
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|