Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - active users, viewing
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

active users, viewing

 Post Reply Post Reply
Author
billd3 View Drop Down
Senior Member
Senior Member


Joined: 19 February 2003
Location: United States
Status: Offline
Points: 530
Post Options Post Options   Thanks (0) Thanks(0)   Quote billd3 Quote  Post ReplyReply Direct Link To This Post Topic: active users, viewing
    Posted: 02 July 2007 at 8:42pm
We'd like to set things so that only moderators can see the "active users".
By default any member can see what any other member is looking at, etc. and we'd just as soon restrict that, but all I can see is an OFF or an ON, which means EVERYONE.
Can we allow mods or certain groups, but not the general population of members access to "Active users"?
BillD
http://theamcpages.com
http://theamcforum.com
Back to Top
scubatoys View Drop Down
Newbie
Newbie


Joined: 09 July 2007
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote scubatoys Quote  Post ReplyReply Direct Link To This Post Posted: 19 July 2007 at 4:48pm
Same thing bothered me... I'm not a fancy programmer - but I know enough HTML that I simply went into the default.asp and commented out the <A href> tags.  Then you can simply bookmark that page and go to it if you want, but no one else will have a direct link to it.

Here are the line numbers and what I did... I think they are stock numbers - but you may be a bit off depending on mods:

Line 771    <td colspan="2"><!--  a href="active_users.asp --><% = strQsSID1 %><% = strTxtActiveUsers %><!-- /a --></td>

line 774  <td width="4%" align="center"><!-- a href="active_users.asp--><% = strQsSID1 %><img src="<% = strImagePath %>active_users.gif" alt="<% = strTxtActiveUsers %>" border="0" /><!-- /a --></td>

line 803  Response.Write(strTxtInTotalThereAre & " " & intActiveUsers & " <!-- a href=""active_users.asp" & strQsSID1 & """ -->" &
Back to Top
billd3 View Drop Down
Senior Member
Senior Member


Joined: 19 February 2003
Location: United States
Status: Offline
Points: 530
Post Options Post Options   Thanks (0) Thanks(0)   Quote billd3 Quote  Post ReplyReply Direct Link To This Post Posted: 19 July 2007 at 4:58pm
I have got to give that a try!
Thanks.
Could you possibly highlight in red exactly what you added/changed?
Sorry - I get paranoid editing a page until/unless I know EXACTLY what I'm going to do.
Of course I always make a copy of the file I'm about to change, but it would be so simple if you'd be so kind as to highlight it in red or some color.
BillD
http://theamcpages.com
http://theamcforum.com
Back to Top
scubatoys View Drop Down
Newbie
Newbie


Joined: 09 July 2007
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote scubatoys Quote  Post ReplyReply Direct Link To This Post Posted: 19 July 2007 at 5:40pm
Originally posted by scubatoys scubatoys wrote:

Same thing bothered me... I'm not a fancy programmer - but I know enough HTML that I simply went into the default.asp and commented out the <A href> tags.  Then you can simply bookmark that page and go to it if you want, but no one else will have a direct link to it.

Here are the line numbers and what I did... I think they are stock numbers - but you may be a bit off depending on mods:
original 771  <td colspan="2"><a href="active_users.asp<% = strQsSID1 %>"><% = strTxtActiveUsers %></a></td>

modified Line 771    <td colspan="2"><!--  a href="active_users.asp --><% = strQsSID1 %><% = strTxtActiveUsers %><!-- /a --></td>


original 774 <td width="4%" align="center"><a href="active_users.asp<% = strQsSID1 %>"><img src="<% = strImagePath %>active_users.gif" alt="<% = strTxtActiveUsers %>" border="0" /></a></td>

modified line 774  <td width="4%" align="center"><!-- a href="active_users.asp--><% = strQsSID1 %><img src="<% = strImagePath %>active_users.gif" alt="<% = strTxtActiveUsers %>" border="0" /><!-- /a --></td>

original 903  Response.Write(strTxtInTotalThereAre & " " & intActiveUsers & " <a href=""active_users.asp" & strQsSID1 & """>" &

modified line 803  Response.Write(strTxtInTotalThereAre & " " & intActiveUsers & " <!-- a href=""active_users.asp" & strQsSID1 & """ -->" &


So you can see that I didn't just add... I also subtracted a little...

So the !-- is added to comment out that line, and the --> ends the comment.  Then I also had to delete an extra "> that was in some of the lines...

So what I've done here is made red what I've added, and highlighted in blue the parts in the original line I deleted.

Hope that helps!

You can see it at my site http://www.scubatoys.com/forum  - it simply does not make those links.
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.