Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Restrict New Threads Per Day Details »»
Restrict New Threads Per Day
Version: 1.00, by Neo Neo is offline
Developer Last Online: Dec 2009 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-05-2002 Last Update: Never Installs: 2
 
No support by the author.

Another request filled... I hope..... The Link : https://vborg.vbsupport.ru/showthrea...threadid=35724

What this does is when a users creates more and ten threads a day, a lock goes on stopping that usesr from creating any more.. and after 24 hours of the 10th thread being made they can start making them again.. this is a light version or the one I want to make, but that comes later...

Have fun. :china:

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-07-2002, 05:42 PM
Nam's Avatar
Nam Nam is offline
 
Join Date: Oct 2001
Location: NY
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did say "great job", now you want me to say just "nice job"?

Hey, I have a question, is it possible to restrict create new thread in particularly forum? like 5 in Computer Forum and 10 in Suggestion forum.

If it takes more time, then just restrict 5 in every forum, so people can create 25 new threads if I have 5 forums instead of only 10.

Just wondering, please tell me if you can do it.
Reply With Quote
  #13  
Old 03-07-2002, 09:43 PM
Kinght Kinght is offline
 
Join Date: Feb 2002
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not bad, pritty simple : ) great job!
Reply With Quote
  #14  
Old 03-08-2002, 12:03 PM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nam: Of course. It would take some editing, and some datebase stuff but its generally easy. I will make the addon to this when I get back from visiting my Dad.

Kinght: Thanks
Reply With Quote
  #15  
Old 03-15-2002, 01:27 PM
Mike Mike is offline
 
Join Date: Oct 2001
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can this be modified so that it only applies to a specific user group? I like the idea very much but would only want to apply it to some selected members and not everyone.
Reply With Quote
  #16  
Old 03-15-2002, 01:51 PM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if ($bbuserunfo[tpd]!=10 || $bbuserunfo[tpd]<=10) {
##replace with##
if ($bbuserunfo[tpd]!=10 || $bbuserunfo[tpd]<=10 && #bbuserinfo[usergroupid=XX) {

if ($bbuserinfo[tpd]>=10) {
##replace with##
if ($bbuserinfo[tpd]>=10 && $bbuserinfo[usergroupid]==XX) {

make the xx into the user group thats has this put on them.
Reply With Quote
  #17  
Old 03-16-2002, 10:10 AM
mas404 mas404 is offline
 
Join Date: Nov 2001
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thise hack .after the 10th thread it will stop the user for 24hour.

it mean if the user post 9 thread today and after week he post one thread it will stop him!! for 24hour ?

but what we need is to stop him in the same day ,
if hi post two thread and after one day it will be zero and the counter will start agine .

please inform me if I understand wrong !!
Reply With Quote
  #18  
Old 03-17-2002, 12:30 AM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm.... not to sure. I might have to make a edit to it.... errr.... good eye.
Reply With Quote
  #19  
Old 03-17-2002, 12:33 AM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, it works like once you make a thread a time in input into the db... once the time put in the db and the time allowed to make threads has gone over.. it will be set back to 0.... so if you make 7 in 24 hours.... in will be set back to zero after that is over.
Reply With Quote
  #20  
Old 03-17-2002, 12:52 AM
Remi Remi is offline
 
Join Date: Nov 2001
Location: London, UK
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't understand :nervous:

I have instaled this hack when it was released, Do I need to to change any thing now :bored:

also one thing please:

Don't you think this:
query("UPDATE user SET modtpd=tpd+10,

sould be :
query("UPDATE user SET modtpd=tpd+1,

:laugh:

Thanks
Reply With Quote
  #21  
Old 03-17-2002, 04:13 AM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I changed that already
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 05:32 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.04815 seconds
  • Memory Usage 2,292KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete