Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - check on registered users.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

check on registered users.

 Post Reply Post Reply
Author
donhill View Drop Down
Groupie
Groupie
Avatar

Joined: 06 June 2003
Location: Australia
Status: Offline
Points: 66
Post Options Post Options   Thanks (0) Thanks(0)   Quote donhill Quote  Post ReplyReply Direct Link To This Post Topic: check on registered users.
    Posted: 29 June 2003 at 10:49pm

Hello,

My forum is used for subscribers and i update the forum database after they place an order to purchase a subscription.

I want to check that the yare paid up subscribers when they login. Which script do I need to look in and alter to only allow them access if tehy are current.

 

Like a check for qactive I guess. But I ned to check against the date in teh databse and current date.

 

Back to Top
ljamal View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 16 April 2003
Status: Offline
Points: 888
Post Options Post Options   Thanks (0) Thanks(0)   Quote ljamal Quote  Post ReplyReply Direct Link To This Post Posted: 30 June 2003 at 7:30am
Rather than checking the database for the date, you should keep track of when they subscribed and the length of the subscription. After the subscription period has passed just set their membership to inactive.
Back to Top
donhill View Drop Down
Groupie
Groupie
Avatar

Joined: 06 June 2003
Location: Australia
Status: Offline
Points: 66
Post Options Post Options   Thanks (0) Thanks(0)   Quote donhill Quote  Post ReplyReply Direct Link To This Post Posted: 01 July 2003 at 6:08am

is nt that saying the same thing?

I mean, how do you check those details without checking teh database?

Back to Top
ljamal View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 16 April 2003
Status: Offline
Points: 888
Post Options Post Options   Thanks (0) Thanks(0)   Quote ljamal Quote  Post ReplyReply Direct Link To This Post Posted: 01 July 2003 at 7:05am
It has the same outcome, but the procedure it simpler because you are using the forum to do what it already does (check for active accounts) without the need to rewrite it to check for a time span.
Back to Top
donhill View Drop Down
Groupie
Groupie
Avatar

Joined: 06 June 2003
Location: Australia
Status: Offline
Points: 66
Post Options Post Options   Thanks (0) Thanks(0)   Quote donhill Quote  Post ReplyReply Direct Link To This Post Posted: 01 July 2003 at 8:53pm

yes I  see what you mean but that wont work here because their are many forums which have their own subscription to access so if they are not current in one (inactive) they may still be active on another forum within the same database

 

check this out to see what I mean. All the main Forum headings can be subscribed to separately.

http://svc109.wic001u.server-web.com/Mclarenreport/reports/forum/default.asp

Back to Top
ljamal View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 16 April 2003
Status: Offline
Points: 888
Post Options Post Options   Thanks (0) Thanks(0)   Quote ljamal Quote  Post ReplyReply Direct Link To This Post Posted: 01 July 2003 at 10:05pm
Ah, so they have access to different forums within on the boards based upon what subscription they have paid for?

I assume that you are using the user permission that is built into the forum to manage a user's ability to access the forum. Assuming that, then I would keep track of the subscription length for each forum and when that subscription period has expired remove their permissions from that group. It's the same premise as I mentioned before but you are automating the removal from tblPermissions table rather than updating tblAuthor.
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.