View Full Version : Restrict New Threads Per Day
Another request filled... I hope..... The Link : https://vborg.vbsupport.ru/showthread.php?s=&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:
LawnDawg
03-06-2002, 05:28 AM
You have gone insane, haven't you? :D
Great, thank you so much, my forum has lots of whoring members, I don't care about replying posts, but it's annoying me when they keep creating tons of nonsense threads. Having this hack will make the forum more useful thread to read.
10 hours was just an example, but I guess I can change the number of hours in the hack. But just wondering, it is possible to limit creating new topic per "specific time interval", like 15 mins, 1 hour?
Again, thanks so much, I'll install and let you know if there is any bug.
LawnDawg: No question about it *sings about fryed foods*
Nam: No problem man, I like making hacks. And yes it is possiable to create something like that, with a few code edits.
Unless you mean have this one and the idea you have together? Then it would take about a hour of so.
Great hack neo :D
How can I use this to prevent moderators from deleting more than 20 post or thread per day :)
I am wory someone might get their password and delet the hall forum :eek:
Heh thanks... good question...maybe I will make that hack.
Admin
03-06-2002, 09:17 AM
This can be done much easier without adding two database fields... :rolleyes:
Not if you want to add a editable admin cp to it Chen ;)
Admin
03-06-2002, 10:39 AM
Maybe I'm blind but I can't see an editable admin cp here
Yeah yeah... I havent made it yet. I have alot to do and it works for what he wanted so its all good... and why dont you every say nice job??? always criticism :cry: you dont love me anymore do you.... :cry:
I did say "great job", now you want me to say just "nice job"? :D
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.
Kinght
03-07-2002, 09:43 PM
not bad, pritty simple : ) great job!
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 :D
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.
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.
mas404
03-16-2002, 10:10 AM
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 !!
Hmmm.... not to sure. I might have to make a edit to it.... errr.... good eye.
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.
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
mas404
03-17-2002, 05:12 AM
thank you neo i will try the new one
neo
Sorry about this, but the attached file is still the same!
How can I get the updated one
mas404
03-25-2002, 04:39 AM
Restrict New Threads
from the first threads way?
i am useing 2.0.3 and i don't have thise line
updateuserforum($foruminfo['forumid']);
on me newthread.php file , I try the hack but it Restrict the new thread from the first one , also I try to but the missing line ..
updateuserforum($foruminfo['forumid']);
but it give me error
so neo what is the solution ?
I need your hack ..
thanks
mas404
03-31-2002, 09:12 AM
Originally posted by FireFly
This can be done much easier without adding two database fields... :rolleyes:
How?
is it also work on 2.0.3 ?
realy i need it urgent
please FireFly can you help me ?
mas404
04-13-2002, 05:12 AM
is it posible to make it per day not per 24hr ?
so the user after 12:00pm he can post !
neo or firefly please respond
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.