The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Flood control usergroups/single member?
I've noticed that w/vb4 administrators don't have the option to flood control individual members.
You can set a time in seconds for the entire forum, but not certain groups/members. Would it be difficult for a mod to be written than would encompass just a single user and/or group? I believe it would come in VERY handy. Thank you in advance :up: |
#2
|
|||
|
|||
Anyone?
|
#3
|
|||
|
|||
Hewo?
|
#4
|
||||
|
||||
Just write a plugin to do it.
global_start PHP Code:
|
#5
|
|||
|
|||
Quote:
|
#6
|
||||
|
||||
|
#7
|
|||
|
|||
Quote:
|
#8
|
|||
|
|||
I am encountering a similar problem. I need to set a timelimit between posts for single users .
I really can't write a plugin, as in really no idea what and how. If someone wrote this and is willing to share it, that would be great. |
#9
|
|||
|
|||
Quote:
Anyway, use hook location global_bootstrap_init_start and this code: Code:
if (in_array($vbulletin->userinfo['userid'], array(A, B, C))) $vbulletin->options['floodchecktime'] = X; You'll need to change the parts in red - A, B, C to one or more userids, and X to the new flood check time in seconds. If you want to set different times for different users you can repeat that code as many times as you need with different userid and times. |
Благодарность от: | ||
Lynne |
#10
|
|||
|
|||
thank you so much!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|