Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Only post in certain forum after ## posts...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Rimshaker
Starting Member

6 Posts

Posted - 21 December 2004 :  07:21:33  Show Profile  Visit Rimshaker's Homepage
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

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 21 December 2004 :  17:13:45  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
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.

eXtremeGossip
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 21 December 2004 :  22:14:30  Show Profile  Visit dayve's Homepage
Use this mod... it is fantastic.

http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=39014

Go to Top of Page

Rimshaker
Starting Member

6 Posts

Posted - 22 December 2004 :  11:54:31  Show Profile  Visit Rimshaker's Homepage
Thanks, with a combination of the posts of Jorrit & Dayve I got it to work
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.4 seconds. Powered By: Snitz Forums 2000 Version 3.4.07