The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Remove Flood Control for Contributing Members
I'd like to remove the "60 second rule" for a particular user group. Any ideas on how I'd go about this? Doesn't seem like it would be too difficult (and I've seen it done on another board) but I haven't had much luck finding an answer in the past.
Thanks in advance for any help. |
#2
|
|||
|
|||
My sponsors are requesting this too.
|
#3
|
|||
|
|||
This is one of the only bad things about vBulletin, to many of the control are not centered around groups, which they should be!
You can do this by adding a extra bitwise mask to one of the usergroup permissions, then add a single radio yes or no row in the Admin Panel 'usergroup configuration' then just add the if() block in your script functions_newpost.php that will allow each configured group to by pass that check! It is better to do it this way then then just hacking the script with if(this group or that group or some other group)! If you want to do this that way then just do the following, but I don't recommend it!!!!! FIND THIS... './includes/functions_newpost.php' Code:
if (THIS_SCRIPT != 'editpost' AND $vboptions['floodchecktime'] > 0 AND $bbuserinfo['userid'] != 0 AND (TIMENOW - $bbuserinfo['lastpost']) <= $vboptions['floodchecktime'] AND !can_moderate($foruminfo['forumid']) AND !$post['preview']) { eval('$errors[] = "' . fetch_phrase('floodcheck', PHRASETYPEID_ERROR) . '";'); } Code:
if ( $bbuserinfo['usergroupid'] != ? ) { if (THIS_SCRIPT != 'editpost' AND $vboptions['floodchecktime'] > 0 AND $bbuserinfo['userid'] != 0 AND (TIMENOW - $bbuserinfo['lastpost']) <= $vboptions['floodchecktime'] AND !can_moderate($foruminfo['forumid']) AND !$post['preview']) { eval('$errors[] = "' . fetch_phrase('floodcheck', PHRASETYPEID_ERROR) . '";'); } } If you want it the other way, so you can configure via the Admin Panel, then tell me and I will make it real, quick! You will have make your own Help phrases, because I will not do the Admin help phrases, but everything else i will do! Sonia |
#4
|
|||
|
|||
Quote:
|
#5
|
|||
|
|||
Quote:
I am moving one of my server right now, but I'll be done in a half hour, after I will post you the code! sonia |
#6
|
||||
|
||||
Quote:
|
#7
|
|||
|
|||
Quote:
Wow I forget about this, I am really sorry! I will do this now, sorry for being like a turtle.... Sonia Check back in a hour or two, I must go for coffee first, |
#8
|
||||
|
||||
I didn't realize it had been a month when I posted that. Whenever you get a chance it will be greatly appreciated.
|
#9
|
|||
|
|||
why-not thanks for this hack, worked fine!
|
#10
|
|||
|
|||
Anyone have an idea how to make this work in vb 3.6?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|