vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Limit posts per day in a forum (https://vborg.vbsupport.ru/showthread.php?t=39950)

dgessler 06-17-2002 03:32 AM

Limit posts per day in a forum
 
Anyone else thinks this is a great idea? I strongly ask anyone who thinks they can do this job, it would be a real nice addition to vbulletin. Basically what it would do is limit the number of posts someone can post in a certain forum in one day.

Thanks,
Dan

Logician 06-17-2002 11:16 AM

1 Attachment(s)
here you go:

dgessler 06-17-2002 12:00 PM

Thanks Logican! :D

I really appreciate it, it works nicely on my forum (domains for sale forum), awesome!

Andrus 03-04-2003 11:59 PM

Is there a way to have this apply to specific users rather than the entire memberlist or usergroup?

Logician 03-05-2003 02:50 PM

Quote:

Originally posted by Andrus
Is there a way to have this apply to specific users rather than the entire memberlist or usergroup?
It would be wiser to create a new usergroup, then move the users to this usergroup but if you want otherwise, change this line:

PHP Code:

if (!in_array($bbuserinfo[usergroupid],$log_exempt_usergroups)) 

to:
PHP Code:

if ($bbuserinfo[userid]==OR $bbuserinfo[userid]==Y

And replace X & Y with the userid of the users

sabret00the 03-05-2003 03:02 PM

this is just what i needed thanks

Sebastian 03-05-2003 03:12 PM

Logician, you can use an 'OR' Like that? I didn't know that.

I always use || and sometimes &&

any difference?

Logician 03-09-2003 07:44 AM

Quote:

Originally posted by Sebastian
Logician, you can use an 'OR' Like that? I didn't know that.

I always use || and sometimes &&

any difference?

Basically they do the same thing. But || and && have higher precedence than OR and AND.

More info:
http://www.php.net/manual/en/languag...precedence.php


All times are GMT. The time now is 01:47 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00993 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete