Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
Change time between reported posts
Lynne
Join Date: Sep 2004
Posts: 41,180

California/Idaho
by Lynne Lynne is offline 23 May 2009

The time allowed between reporting posts is set by the vBulletin Option "Email Flood Check". Sometimes you want to have that value set to one thing (default is 60 seconds), but allow users to report posts sooner than that value. To do this, you may create a simple plugin (change 'x' to be the time you wish, in seconds, to allow between reported posts):

hook_location: global_start


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Views: 14941
Reply With Quote
Comments
  #2  
Old 12 Jun 2009, 15:47
mme42 mme42 is offline
 
Join Date: Feb 2009
Thanks Lynne, it's working great. Is there an easy way to modify it so that you can have different time limits for different usergroups?
Reply With Quote
  #3  
Old 12 Jun 2009, 15:56
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Probably just something like this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(Not tested.)
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #4  
Old 12 Jun 2009, 16:10
mme42 mme42 is offline
 
Join Date: Feb 2009
Wow, quick reply, thanks. So as far as replacing....

a,b,c = first set of usergroup IDs
xxx = sets time for first set

d,e,f = second set of usergroup IDs
yyy = sets time for second set

zzz = default time for usergroups not defined?

Is that correct?
Reply With Quote
  #5  
Old 12 Jun 2009, 17:11
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Yes, that is correct. If you have some specific usergroupids and times, I can try to write it for you.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #6  
Old 12 Jun 2009, 17:43
mme42 mme42 is offline
 
Join Date: Feb 2009
Great. Because I tried and it didn't seem to work out for me. I just want 5,6,7 (mods and up, though I think admins are exempt anyway right?) at 0/no limit. And all others at 30s. I think I messed up by trying to remove the second group (else if).
Reply With Quote
  #7  
Old 12 Jun 2009, 19:17
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Try this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #8  
Old 13 Jun 2009, 14:14
mme42 mme42 is offline
 
Join Date: Feb 2009
That worked great thanks. I was missing "else."
Reply With Quote
  #9  
Old 22 Jun 2009, 02:36
upkelk upkelk is offline
 
Join Date: Jun 2009
That worked great thanks. I was missing "else."
Reply With Quote
  #10  
Old 22 Jun 2009, 15:29
mme42 mme42 is offline
 
Join Date: Feb 2009
Originally Posted by upkelk View Post
That worked great thanks. I was missing "else."
Uhh.....? Are you copying me?
Reply With Quote
  #11  
Old 27 May 2010, 16:17
ludachris ludachris is offline
 
Join Date: Feb 2002
Any idea how to make this apply to blog entries too?
Reply With Quote
  #12  
Old 27 May 2010, 23:22
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Originally Posted by ludachris View Post
Any idea how to make this apply to blog entries too?
I would think you could just change THIS_SCRIPT from 'report' to 'blog_report'. I do not have a vB3 blog to try this out on, however.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #13  
Old 22 Nov 2010, 13:00
mosz mosz is offline
 
Join Date: Apr 2008
great information
I was looking for block report for some usergroups
THX
__________________
my forum wiaderko
Interesuje mnie Tworzenie stron www zapraszam!
Reply With Quote
  #14  
Old 22 Feb 2011, 11:36
Byggahus Byggahus is offline
 
Join Date: May 2007
Thanks, works fine for us as well.
Reply With Quote
  #15  
Old 26 Feb 2011, 02:48
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Yes, I can see huge problems if users have to wait 61 seconds to report a second post.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 21:28.

Layout Options | Width: Wide Color: