The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Bigger attatchments for moderators?
Is there a way to allow bigger attatchment files for mods and super mods? Like say have regular users be 84 k and moderators and super mods be 2mb ?
|
#2
|
|||
|
|||
I suppose you can do it via usergroups. ill have a look.
|
#3
|
||||
|
||||
This will remove the attachment size limit completely for mods and admins, if thats helpful.
In admin/functions Find: Code:
if ($maxattachsize!=0 and $filesize>$maxattachsize) { // too big! @unlink($attachment); eval("standarderror(\"".gettemplate("error_attachtoobig")."\");"); exit; } Code:
if ($maxattachsize!=0 and $filesize>$maxattachsize and $bbuserinfo[usergroupid]!=5 and $bbuserinfo[usergroupid]!=6 and $bbuserinfo[usergroupid]!=7) { // too big! @unlink($attachment); eval("standarderror(\"".gettemplate("error_attachtoobig")."\");"); exit; } |
#4
|
|||
|
|||
Thanks I appreciate it
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|