![]() |
Limit new thread
I'm not sure if a hack like this exists yet but basically a hack that will allow a user to post 1 new thread in a specific forum per day.
|
I think this exists.. If you cant find it, holler and I'll give you the code..
|
I tried searching, now again. Could you please pass the code.
Thanks |
1 Attachment(s)
ok here you go
|
hi..
how can you modify this hack to make it work for all the forums not just one ?? to allow him post one thread per day?? ================================== another thing ... to modify it to allow a member to post one new thead in each forum per day ?? many thanks |
Quote:
PHP Code:
2- set $cantposthour to 24. One day is 24 hours.. :glasses: |
thanks alot for the help .. :)
it's working fine .. I know it's 24 hour for a member to start posting again.. but how does it work? does the count down start after the last post ?? or does th 24 hour start after midnight as a new day?? I hope I'm clear about my question.. thanks |
looks to me like it starts over at midnight
|
Quote:
|
What would be the correct code for using this on 5 specific forums (not just one)? Right now it says:
$cantpostforumid=Z; How would I go about having it so Forums 23, 24, 19, 27, 21 are all restricted? |
Here's a guess:
Change: $cantpostforumid=Z; if ($cantpostforumid==$forumid AND ($bbuserinfo[usergroupid]!=6 OR $bbuserinfo[usergroupid]!=5 OR $bbuserinfo[usergroupid]!=7)) { to: ## not needed now $cantpostforumid=Z; if (($forumid == 19) OR ($forumid == 21) OR ($forumid == 23) OR ($forumid == 24) OR ($forumid == 27) AND ($bbuserinfo[usergroupid]!=6 OR $bbuserinfo[usergroupid]!=5 OR $bbuserinfo[usergroupid]!=7)) { -would that work? |
one may of doing it is to apply the whole code 5 times for each forum..
|
is it possible to limit the number of replies on certain forums?
|
Hi
I'm Using vb 228 and i don't find this code in admin/thread.php updateuserforum($foruminfo['forumid']); Please advise .. |
Quote:
|
All times are GMT. The time now is 07:34 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|