Request for help - Limiting users posts - Postet den (1239 Views)
Starting Member
tweety
Innlegg: 16
16
Hiya, this is a cry for help.

Is it possible to make a mod that can limit the amount one member can post to a forum..on a day to day bases?.. I would not want the mod to inform the member that they have run out of "credit".. it would need to just act like it was posting still or cause some kind of error to them. I know this sounds an evil mod to want but I have a good reason.. lol

Thank you for any help with this. x<
   
 Sidestørrelse 
Postet den
Advanced Member
Carefree
Innlegg: 4224
4224
That shouldn't be too difficult. Let me see what I can throw together.<
Postet den
Advanced Member
Carefree
Innlegg: 4224
4224
Working on it, have to run some tests to make sure all the "errors" function in the desired manner.<
Postet den
Starting Member
tweety
Innlegg: 16
16
thank you so much carefree for taking the time to help x<
Postet den
Senior Member
muzishun
Innlegg: 1079
1079
You may want to reconsider having this mod appear to be an "error". As a forum user, I would rather know that you were limiting my posts to a certain number per day than to simply be unable to post because of some made up error. The other negative effect this could have is that your users may leave for websites that don't always have a bunch of "errors".
Of course, depending on the users/traffic on your site, you may not care about the above. But it's something to think about.<
Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Postet den
Advanced Member
Carefree
Innlegg: 4224
4224
The "errors" will only appear to people designated as limited, after they reach their quota per day, and will have random line numbers, etc. I think Tweety will grow tired of getting not only the post attempts made but now constant PMs and/or EMails from the post-aholic complaining about the errors she is encountering.<
Postet den
Advanced Member
Carefree
Innlegg: 4224
4224
OK, the admin page for this is done except for one glitch. Here's a link in .txt format: Admin Page
Adding a member & listing the members work the way they should; but clicking the submit for removing a member has no effect. Would someone take a peek for us?

Solved.
Still working on the second half of the program, hope to finish it today.<
Postet den
Advanced Member
Carefree
Innlegg: 4224
4224
OK - it's done with one thing remaining - I need to find the step immediately before the sql is written to the database with the post information. I'd guess that it would be immediately before the ucount or ncount, but I can't find where the counts are being called. If someone knows where that sql is, I'd appreciate a line range.<
 
Du må legge inn en melding