Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - hide member list and statistics
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

hide member list and statistics

 Post Reply Post Reply Page  12>
Author
phospho View Drop Down
Newbie
Newbie


Joined: 01 June 2006
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote phospho Quote  Post ReplyReply Direct Link To This Post Topic: hide member list and statistics
    Posted: 01 June 2006 at 6:24pm
hello !!
 
I don't see an option in the control panel to turn off the member list and statistics. How to let this otption enableb only for admin ? or how to hide member list?
 
thanks
 
JCI
Back to Top
Ali Bilgrami View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 April 2005
Location: Pakistan
Status: Offline
Points: 492
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ali Bilgrami Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2006 at 3:36pm
if u want to hide memberlist at top navigatin u'll have to edit the navigation_buttons_inc.asp in the forum/includes directory..delete or comment the code showing the link...
Back to Top
Ali Bilgrami View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 April 2005
Location: Pakistan
Status: Offline
Points: 492
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ali Bilgrami Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2006 at 3:38pm
i think its at line 79 this code
 
Response.Write ("&nbsp;&nbsp;<a href=""members.asp" & strQsSID1 & """ class=""nav""><img src=""" & strImagePath & "members_list.gif"" border=""0"" align=""absmiddle"" alt=""" & strTxtMembersList & """ />" & strTxtMemberlist & "</a>")%></div></td><%
 
do not delete the asp code container in red Dont forget to backup your file first


Edited by Ali Bilgrami - 02 June 2006 at 3:39pm
Back to Top
Digzor View Drop Down
Newbie
Newbie
Avatar

Joined: 02 June 2006
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Digzor Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2006 at 8:46pm
Awesome - now does anyone know where the statistics code is? (the stuff at the bottom of the front page)
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2006 at 11:45pm
You should also rename or remove members.asp or else anyone who id's your forum as a wwf forum can figure out what to type to get to it.

Lead me not into temptation... I know the short cut, follow me.
Back to Top
Ali Bilgrami View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 April 2005
Location: Pakistan
Status: Offline
Points: 492
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ali Bilgrami Quote  Post ReplyReply Direct Link To This Post Posted: 03 June 2006 at 1:42pm
zactly and for stats u'll have to edit default.asp
 
in a fresh file at line 740-821
comment these lines

<table cellspacing="1" cellpadding="3" class="tableBorder" align="center">
 <tr class="tableLedger">
  <td colspan="2"><% = strTxtWhatsGoingOn %></td>
 </tr>
 <tr class="tableSubLedger">
  <td colspan="2"><% = strTxtForumStatistics %></td>
 </tr>
 <tr class="tableRow">
  <td width="4%" align="center"><img src="<% = strImagePath %>stats_bar.gif" alt="<% = strTxtForumStatistics %>" /></td>
  <td width="96%" nowrap><%
Response.Write(strTxtOurUserHavePosted & " " & FormatNumber(lngTotalNumberOfPosts, 0) & " " & strTxtPostsIn & " " & FormatNumber(lngTotalNumberOfTopics, 0) & " " & strTxtTopicsIn & " " & intNumberofForums & " " & strTxtForums & _
"<br />" & strTxtLastPost & "; " & DateFormat(dtmLastEntryDateAllForums) & " " & strTxtAt & " " & TimeFormat(dtmLastEntryDateAllForums) & " " & strTxtBy & " <a href=""member_profile.asp?PF=" & lngLastEntryUserIDAllForums & strQsSID2 & """>" & strLastEntryUserAllForums & "</a>")
'Display some statistics for the members
If lngNoOfMembers > 0 Then
Response.Write("<br />" & strTxtWeHave & " " & FormatNumber(lngNoOfMembers, 0) & " " & strTxtForumMembers & _
"<br />" & strTxtTheNewestForumMember & " <a href=""member_profile.asp?PF=" & saryMemebrStats(1,0) & strQsSID2 & """>" & saryMemebrStats(0, 0) & "</a>")
End If
%></td>
 </tr><%

'Get the number of active users if enabled
If blnActiveUsers Then
 
 %>
 <tr class="tableSubLedger">
  <td colspan="2"><a href="active_users.asp<% = strQsSID1 %>"><% = strTxtActiveUsers %></a></td>
 </tr>
 <tr class="tableRow">
  <td width="4%" align="center"><a href="active_users.asp<% = strQsSID1 %>"><img src="<% = strImagePath %>active_users.gif" alt="<% = strTxtActiveUsers %>" border="0" /></a></td>
  <td width="96%"><%
 
 'Get the active users online
 For intArrayPass = 1 To UBound(saryActiveUsers, 2)
 
  'If this is a guest user then increment the number of active guests veriable
  If saryActiveUsers(1, intArrayPass) = 2 Then
   
   intActiveGuests = intActiveGuests + 1
  
  'Else add the name of the members name of the active users to the members online string
  ElseIf CBool(saryActiveUsers(8, intArrayPass)) = false Then 
   If strMembersOnline <> "" Then strMembersOnline = strMembersOnline & ", "
   strMembersOnline = strMembersOnline & "<a href=""member_profile.asp?PF=" & saryActiveUsers(1, intArrayPass) & strQsSID2 & """>" & saryActiveUsers(2, intArrayPass) & "</a>"
  End If
  
 Next
 'Calculate the number of members online and total people online
 intActiveUsers = UBound(saryActiveUsers, 2)
 intActiveMembers = intActiveUsers - intActiveGuests
 
 Response.Write(strTxtInTotalThereAre & " " & intActiveUsers & " <a href=""active_users.asp" & strQsSID1 & """>" & strTxtActiveUsers & "</a> " & strTxtOnLine & ", " & intActiveGuests & " " & strTxtGuestsAnd & " " & intActiveMembers & " " & strTxtMembers)
 If strMembersOnline <> "" Then Response.Write(vbCrLf & "   <br />" & strTxtMembers & " " & strTxtOnLine & ": " & strMembersOnline)
End If
%>
  </td>
 </tr><%
 
'If birthdays is enabled show who has a birthday today
If strBirthdays <> "" Then
 
 %>
 <tr class="tableSubLedger">
  <td colspan="2"><% = strTxtTodaysBirthdays %></td>
 </tr>
 <tr class="tableRow">
  <td width="4%" align="center"><img src="<% = strImagePath %>birthday.gif" alt="<% = strTxtTodaysBirthdays %>"/></td>
  <td width="96%"><% = strBirthdays %></td>
 </tr><%
 
End If
 
 %>
</table>
 
do not forget to backup yer file
p.s. why exactly do u want to disappear these two options? :S
Back to Top
Digzor View Drop Down
Newbie
Newbie
Avatar

Joined: 02 June 2006
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Digzor Quote  Post ReplyReply Direct Link To This Post Posted: 03 June 2006 at 5:24pm
Believe me, it's not MY idea to hide them :)

We are doing an internal forum for some of our business units and the thought is that too much information is going to scare them.
Back to Top
phospho View Drop Down
Newbie
Newbie


Joined: 01 June 2006
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote phospho Quote  Post ReplyReply Direct Link To This Post Posted: 03 June 2006 at 9:45pm
hello all, thanks for your help. i want hide thid functions because member dont need to know how many people are in forum and who are on . I hink only administrator need it. so i will try to do with your information but i'm not a programmer -:((
 
i will tell you
 
regards
Back to Top
 Post Reply Post Reply Page  12>

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.