Log in

View Full Version : Per Forum, Per Usergroup Post Limit


NathanLedet
10-10-2008, 02:50 AM
I have this idea for this Mod, and I want to program it rather than make it a mod request. I'm up for a challenge, but haven't been doing much vB programming. I would appreciate some assistance so I can get my first mod out of the way :)

So the general idea is to put a limit on the # of posts you can post in a specific forum for a set amount of time.

Example:
Usergroup 2 (Registered Users) can post in Forum x (we'll say 23 - a classifieds forum) 20 times in a one year time span.

So, is it better to adjust the mod's settings per usergroup? or per forum?

Lets say I click on Usergroups > Registered Users > Edit
Scroll all the way down til you see the settings for this mod
Enable mod for this usergroup? Yes/No
Forum ID's: 23
Max # posts: 20
Per: Day/Month/Year

What if I want to add multiple Forum ID's?
Forum ID's: 23, 25, 28
Max # of Posts: 20, 40, 15

(This would result in 20 max posts for forum 23, 40 max posts for forum 25, and 15 max posts for forum 28)
This seems logical - unless I want to add 20 max posts per week in forum 23 and 40 max posts per year in forum 25



Option 2 - Per Forum settings
Forum Manager > Example Forum > Edit
Scroll all the way down til you see the settings for this mod
Enable mod on this forum? Yes/No
Usergroup ID's: 2
Max # posts: 20
Per: Day/Month/Year

Same issue as above....what if I want to mix and match.

Well, I think either option will get me where I need to go...they both do the same thing.

I just need a kick start in the right direction now.

Should I start with the XML document that I import that displays all of the Admin settings?
How do I determine if someone has posted x amount of times per day/month/year in forum x ?

I appreciate the help!!