Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Show Email Addy to Moderator Group
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Show Email Addy to Moderator Group

 Post Reply Post Reply
Author
DotPing View Drop Down
Newbie
Newbie


Joined: 09 January 2004
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote DotPing Quote  Post ReplyReply Direct Link To This Post Topic: Show Email Addy to Moderator Group
    Posted: 15 February 2004 at 4:06am

By Default, the users email if private is only shown to the Admin group.

How can I show this also to the Moderator Group?

Tried to playaround with pop_up_profile.asp, however no success so far.

Any hints are highly appreciated.

Thanks a lot.

 

 

Back to Top
Semikolon View Drop Down
Senior Member
Senior Member


Joined: 09 September 2003
Location: Norway
Status: Offline
Points: 1718
Post Options Post Options   Thanks (0) Thanks(0)   Quote Semikolon Quote  Post ReplyReply Direct Link To This Post Posted: 15 February 2004 at 5:36am
change if blnAdmin = True then to if blnModerator = True Or blnAdmin = True Then somewhere in register.asp
Back to Top
DotPing View Drop Down
Newbie
Newbie


Joined: 09 January 2004
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote DotPing Quote  Post ReplyReply Direct Link To This Post Posted: 15 February 2004 at 8:29am

Thanks Semikolon

But I seem not to understand it properly. In register.asp I did not find any if blnAdmin = True , just = False.

And I do not yet fully understand register.asp, but I do not want to give the moderator right to change the users addy, but just to see it in pop_up_profile.asp, like the Admin sees it there.

pop_up_profile.asp does not include register.asp so I am not sure if it is not necessary to change in pop_up_profile.asp (around line 360):


If blnShowEmail = False AND blnAdmin = False AND strEmail <> "" Then

to somewhat like

If blnShowEmail = False AND blnAdmin = False OR blnModerator = False AND strEmail <> "" Then

? Well, this does not work, maybe I should put the blnAdmin and blnModerator clause in some brakets, but tried all combinations I could think of, but still did not make it work.

Thus obviously your first advise is correct, and i would be graceful if you could tell me where to find the statement you have mentioned.

Thanks very much for helping an ASP Dummy.

 

 

 

 

Back to Top
Semikolon View Drop Down
Senior Member
Senior Member


Joined: 09 September 2003
Location: Norway
Status: Offline
Points: 1718
Post Options Post Options   Thanks (0) Thanks(0)   Quote Semikolon Quote  Post ReplyReply Direct Link To This Post Posted: 15 February 2004 at 9:34am

oh.. i didnt read pop up profile.. sorry..

 

ill come back to you later.. dont have the time now.. sorry

but if you want, you can have a look at line 355 and some lines down in pop up profile..

Back to Top
DotPing View Drop Down
Newbie
Newbie


Joined: 09 January 2004
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote DotPing Quote  Post ReplyReply Direct Link To This Post Posted: 15 February 2004 at 11:45am

No problem, i can wait.

I tried to modify exactely the lines you mention, but cannot make it work.

Looking forward to your ideas.

Thanks again

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.