Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Email notification limited to Admin/Mods
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Email notification limited to Admin/Mods

 Post Reply Post Reply
Author
Webber View Drop Down
Groupie
Groupie


Joined: 08 November 2003
Location: United States
Status: Offline
Points: 42
Post Options Post Options   Thanks (0) Thanks(0)   Quote Webber Quote  Post ReplyReply Direct Link To This Post Topic: Email notification limited to Admin/Mods
    Posted: 26 January 2004 at 4:08pm

I searched the forum before posting this.

I know that you can turn on/off the email notification of forum/topics watched.

But, what I would like to do is turn this off for everyone except the admin/moderators.

The number of emails going on on my forum at way too much for each member to be notified of the new topics etc.

But I do need the topics/forum notifications emailed to the admin/moderators only.

I am really new at ASP and would really appreicate any help on what file I need to alter and what I need to change so that I can have the admin/mods receive the email notifications.

Thanks in advance for any help.

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

Joined: 01 January 2002
Status: Offline
Points: 3008
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadDog Quote  Post ReplyReply Direct Link To This Post Posted: 26 January 2004 at 4:12pm

Without having the code in front of me i cant explain it in detail, but what you could do is turn the email off. then in common.asp find the variable that contains the settings for turning on/off emails.

Then towards the bottom do a IF statement to turn it on for admins and moderators.

Example:

If blnAdmin = True OR blnModerator = True Then
         'Turn email settings on
End If



Edited by MadDog
Back to Top
Webber View Drop Down
Groupie
Groupie


Joined: 08 November 2003
Location: United States
Status: Offline
Points: 42
Post Options Post Options   Thanks (0) Thanks(0)   Quote Webber Quote  Post ReplyReply Direct Link To This Post Posted: 26 January 2004 at 5:20pm

Hi Maddog...

Being new at asp.. I would just c/p this snippet of code to each common file or for all common.asp files??

Thanks for your help on this.

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

Joined: 01 January 2002
Status: Offline
Points: 3008
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadDog Quote  Post ReplyReply Direct Link To This Post Posted: 26 January 2004 at 6:27pm

just the common.asp in the forum.

But you need to find the variables that contain the email settings.

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.