The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I know how to increase the maximum character count and images allowed in a single post (ACP -> Message Posting and Editing Options). Is it possible to have these different for certain usergroups let's say like Admin and normal users?
As Admin I'd write articles and post images that will exceeed the limit and for this I would like to be able to keep the normal users at 5 images and 5000 characters but for myself 15 images and 15000 characters. Is it possible to have these profiles? |
#2
|
||||
|
||||
![]()
Bump : Any takers?
|
#3
|
|||
|
|||
![]()
This would be very helpful for me as well.
|
#4
|
||||
|
||||
![]()
Should be in the admincp --> Usergroup --> Registered Users
Should have an option there to limit those options as well. |
#5
|
||||
|
||||
![]()
No, it doesn't offer any setting there to change limit for charcters or images per post for a certain usergroup.
I have a idea this is impossible... Anyone Else? |
#6
|
|||
|
|||
![]()
I still havent been able to figure out if this is possible or not.
|
#7
|
||||
|
||||
![]()
Me neither I looked at everything but there is no option that allows for you to specify the two options (max word, images per post ) per usergroup or by user.
There must be other members that has/had the same issue. |
#8
|
|||
|
|||
![]()
I've looked around for a way to do this too. The closest solution I've found is the hack that allows specific usergroups to post html.
https://vborg.vbsupport.ru/showthread.php?t=96926 |
#9
|
||||
|
||||
![]()
Thanks, I'll go for that one now. I've searched this forum for some - anything related to this and nothing turned up. If we are asking this question I can't believe no one else were able to advise us. Makes you think doesn't it?
In 15 days no real answer, it's unbelievable... |
#10
|
||||
|
||||
![]()
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:
|