PDA

View Full Version : Limited replies in a forum


BigJohnson
05-30-2003, 11:14 PM
How do I make a feature such as a certain usergroup only a total of 5 replies in certain forums? There is more than one forum.

The forum ids that I want there to be on 5 replies max in are

23, 24, 25, 26, 27, 28, 29, 30, 31, 55

Only 5 replies max TOTAL in any of these forums is the limit for usergroup 2.

How would I go about doing such a thing?

And also once the 5 replies are made the user will be given an custum error saying that there limit is up.

PLease help me I am really trying to get someone to create something like this for me.

The other thing to this hack is 5 replies in different threads i mean. So if there is one thread and the user makes 3 replies in one thread in the certain forum then it only really counts as 1 reply counted towards the user.

It only will cont for another reply if the user replied in another forum. So it has to be 5 replies in 5 separate threads.

If you don't understand this please tell me. I will give a better explanation. I hope someone can help me out. Thank you all so much.

BigJohnson
05-31-2003, 08:38 PM
PLease help me out thank you.

BigJohnson
06-01-2003, 05:50 PM
Bump please help

BigJohnson
06-02-2003, 08:02 PM
bump

BigJohnson
06-11-2003, 10:04 PM
SOMEONE PLEASE HELP.

Andrew111888
06-11-2003, 10:12 PM
I have a hack downloaded onto my computer that does this. It's by Logician but I have no idea where it's located because it doesn't appear to be in his released hacks.

Chris M
06-11-2003, 10:16 PM
I don't have time to code it, but I can help you by saying something like:

DO NOT USE THIS CODE IN YOUR FILES - IT IS AN EXAMPLE

In newreply.php:
if ($thread[forumid]=="x") {
$DB_site->query("UPDATE user SET replyforum=replyforum+1, threadid='$thread[threadid]' WHERE userid='$bbuserinfo[userid]' AND forumid='$thread[forumid]'");
}

Something like that would work:)

Satan

BigJohnson
06-15-2003, 08:58 PM
HHmm. As I am not such a great coder. I can code but I am not getting enough info from this line. It is not comin to me hehe.

Maybe you could explain it a little. Thanks for the try. I will look at it some more and see if i can think of anything.

BigJohnson
06-17-2003, 08:35 AM
bump

BigJohnson
06-18-2003, 04:43 PM
bump again please help

BigJohnson
06-20-2003, 09:01 AM
once again a little bump action thanks.

Chris Gwynne
06-20-2003, 09:09 AM
Please don't bump threads, they'll be viewed and replied to if someone can help you.