Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - restricting # of replies
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

restricting # of replies

 Post Reply Post Reply
Author
l_baltodano View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 09 June 2003
Location: Nicaragua
Status: Offline
Points: 39
Post Options Post Options   Thanks (0) Thanks(0)   Quote l_baltodano Quote  Post ReplyReply Direct Link To This Post Topic: restricting # of replies
    Posted: 20 October 2003 at 8:27pm

hi everybody.. i want to ask a few questions to the gurus

I have this clasiffieds system wich i want to finish right now.. but i´m trying to implement some mayor changes to the main authentication system, so the posters are gonna be able to have LEVELS.. i´ve  already donne that.

What i need to do by now is to make a queary to the database, so i can ask for the user level .. wich gives the users different rights .. for example.. for C type users i have presetted the ability to post 5 announcements.. for the B type users  have presetted the ability to post 10 announcements.. well, actually that´s what i´m trying to do!.. i really got stucked at this point!.. so if anyone could give me a hand that would be great!!!!

Back to Top
vshriniwasan View Drop Down
Groupie
Groupie
Avatar

Joined: 17 December 2001
Location: United States
Status: Offline
Points: 63
Post Options Post Options   Thanks (0) Thanks(0)   Quote vshriniwasan Quote  Post ReplyReply Direct Link To This Post Posted: 21 October 2003 at 8:35am

Small Question,

Posting 5 or 10 announcements... Is this option going to be per classified (meaning user1 can post 5 announcements in this classified and he if he goes to next he can post five and so on…..) and are you recording the user id or username in each announcement record? In that case just do a count statement to see if it gives you less than or equal to 5 using his user id or username. If so he can add, else he cannot add.

If this is not so can you provide some more information...

Shrini

Back to Top
l_baltodano View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 09 June 2003
Location: Nicaragua
Status: Offline
Points: 39
Post Options Post Options   Thanks (0) Thanks(0)   Quote l_baltodano Quote  Post ReplyReply Direct Link To This Post Posted: 21 October 2003 at 3:02pm
whatz up shrini...i can see your point.. i´m tryin to make him post only 5 ads.. but i wasn´t thinking about restricting the number of replies of the users.. now that i think it would be almost the same way isn´t it?.. well .. i hope you can give me some help since i´m not a guru
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.