What code modifications would it take to only allow people to post in a certain forum after they have gathered let's say 50 posts in the other forums?
I am thinking off hiding the reply-button on forum.asp & topic.asp and I know there will need to be made some changes in post.asp. But what variable can I use to determine if someone is logged in and has less than 50 posts? And what if they're not logged in and try to reply by also entering their username and password?
Edited by - Rimshaker on 21 December 2004 07:21:49
To check if a user is logged in you can use If mLev > 0 Then ...
To check a user's post count you have to do something with M_POST_COUNT, but I'm not exactly sure what... Possible something like this: If M_POST_COUNT > 50 Then ... <- Don't quote me on this!
To prevent users from posting when not logged in, you can remove the code that shows the Username and Password boxes from post.asp , but doing this will disable the option indefinately.