vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: vForums :: Support :: Stats/Useful Links - View Topic
Topic Rating: *****
Printable View
Dave
New Member
*

Posts: 17
Status: Offline
Gender: Male
Location: Hertfordshire
Joined:  
Reputation: 0%  


pmvForum
Stats/Useful Links (25th Feb 12 at 7:25pm UTC)
Resolved
http://breathingforlife.vforums.co.uk/
All users
Safari, IE, Firefox
All

Guests can see who's online.

Hi guys, is there any way to stop guests from seeing who is/was online? It seems a bit of a security risk. Thanks in advance.
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,012
Status: Offline
Gender: Male
Location: vForums
Age: 34
Joined:  
Reputation: 62%  


pmwww
Re: Stats/Useful Links (26th Feb 12 at 8:40am UTC)
Go to Admin > Manage Templates > Create New template (Info Center) > find this:


Code:
 
  1. <span class="title">Users</span>
  2.         </td>
  3.     </tr>
  4.     <tr>
  5.         <td class="window2">
  6.             <table width="100%">
  7.                 <tr>
  8.                     <td width="40%">
  9.                         <table width="96%" cellspacing="1" cellpadding="1" align="center">
  10.                             <tr>
  11.                                 <td width="100%" class="border">
  12.                                     <table width="100%" class="window1">
  13.                                         <tr>
  14.                                             <td width="50%" valign="top">
  15.                                                 <font size="2">
  16.                                                     <b id="total_online">There {online_is} Currently {online_total} User{online_plural} Online</b>
  17.                                                 </font>
  18.                                                 <table cellpadding="4" width="100%">
  19.                                                     <tr>
  20.                                                         <td align="right" id="member_counts" width="110">
  21.                                                             <font size="2">
  22.                                                                 {staff_on} Staff Member{staff_on_plural},<br />
  23.                                                                 {member_on} Member{member_on_plural},<br />
  24.                                                                 {guest_on} Guest{guest_on_plural}.<br />
  25.                                                             </font>
  26.                                                         </td>
  27.                                                         <td valign="top" id="users_online">
  28.                                                             <font size="2">
  29.                                                                 {online_str}
  30.                                                             </font>
  31.                                                         </td>
  32.                                                     </tr>
  33.                                                     {if:staff}<tr>
  34.                                                         <td colspan="2">
  35.                                                             <font class="bot">
  36.                                                                 {bots_on} Bot{if:"{bots_on}"!="1"}s{/if} Online: {bots_online}
  37.                                                             </font>
  38.                                                         </td>
  39.                                                     </tr>{/if}
  40.                                                 </table>
  41.                                             </td>
  42.                                         </tr>
  43.                                     </table>
  44.                                 </td>
  45.                             </tr>
  46.                         </table>
  47.                     </td>
  48.                     <td width="60%" valign="top">
  49.                         <table width="96%" cellspacing="1" cellpadding="1" align="center">
  50.                             <tr>
  51.                                 <td width="100%" class="border">
  52.                                     <table width="100%" class="window1">
  53.                                         <tr>
  54.                                             <td width="100%" valign="top" id="online_today">
  55.                                                 <font size="2">
  56.                                                     <b id="total_online_today">There {today_has} been {today_total} User{today_plural} Online in the Past 24 Hours</b>
  57.                                                 </font>
  58.                                                 <table cellpadding="4" width="100%">
  59.                                                     <tr>
  60.                                                         <td align="right" id="member_counts_today" width="110">
  61.                                                             <font size="2">
  62.                                                                 {staff_today} Staff Member{staff_today_plural},<br />
  63.                                                                 {member_today} Member{member_today_plural},<br />
  64.                                                                 {guest_today} Guest{guest_today_plural}.<br />
  65.                                                             </font>
  66.                                                         </td>
  67.                                                         <td valign="top" id="users_online_today">
  68.                                                             <font size="2">
  69.                                                                 {today_str}
  70.                                                             </font>
  71.                                                         </td>
  72.                                                     </tr>
  73.                                                     {if:staff}<tr>
  74.                                                         <td colspan="2">
  75.                                                             <font class="bot">
  76.                                                                 {bots_today} Bot{if:"{bots_today}"!="1"}s{/if} Online Today: {bots_online_today}
  77.                                                             </font>
  78.                                                         </td>
  79.                                                     </tr>{/if}
  80.                                                 </table>
 



Then remove it. > Name it as Info center edited (or what ever you want to call it.) > Then go back to manage Templates > Set Priorities > (Info center) Tick the radio button on "All Skins" and where it says default tick disabled.

That will then remove the "Users Online" area.

{Smile} Seems a bit complicated, but I can't remember if you can directly edit the default. I'm sure you can, and you could cut time down and not worry about the priorities, so if you can then don't worry about the priorities. part, and just save the file when you are done editing it.
Dave
New Member
*

Posts: 17
Status: Offline
Gender: Male
Location: Hertfordshire
Joined:  
Reputation: 0%  


pmvForum
Re: Stats/Useful Links (26th Feb 12 at 4:24pm UTC)
Hi Nick, many thanks for your guidance. I've adapted it somewhat and done this.

Image

I didn't remove any coding and guests can only see this now.

Image

Instead of this

Image

Guests can still see open forums. Do you think this is ok as I don't want to breach my user licence?

Thanks again.
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,012
Status: Offline
Gender: Male
Location: vForums
Age: 34
Joined:  
Reputation: 62%  


pmwww
Re: Stats/Useful Links (28th Feb 12 at 3:52pm UTC)
What do you mean by user licence? The vForums TOS? If so then you are not breaching anything. Actually, there isn't any security risks with the Info Center really. Unless your forum is about something controversial and you want your users to be anonymous, then you could make it where it's a private forum and guest must register in order to view the forum.
Dave
New Member
*

Posts: 17
Status: Offline
Gender: Male
Location: Hertfordshire
Joined:  
Reputation: 0%  


pmvForum
Re: Stats/Useful Links (28th Feb 12 at 3:58pm UTC)
Yes Nick it was the TOS I meant {Embarassed} There's nothing controversial about us at all. We know that some info posted has gone onto other forums that's all.
Thanks for your help again Nick, much appreciated.
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,012
Status: Offline
Gender: Male
Location: vForums
Age: 34
Joined:  
Reputation: 62%  


pmwww
Re: Stats/Useful Links (28th Feb 12 at 8:00pm UTC)
Yeah, everything provided by default upon making the forum with Virtual Forums isn't against the T.O.S. The only thing that would be against the T.O.S is hiding the ads, or moving them with a code that isn't supported by vForums.

I'm sure Ross can explain more. But everything is explained in the TOS form. {Smile}

If you check out forums in the Opinions Board then you would see a lot of forums have Information Centers. It's all provided by vForums, That's why there is an option to either remove certain parts, or even add. You can even change the info centers around into custom info centers. {Smile}
 Printable View

All times are GMT+0 :: The current time is 2:17pm
Page generated in 0.9698 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums