teestorms
Junior Member
Electricity - the original power source!
Posts: 279
inherit
102961
0
Dec 7, 2012 23:40:50 GMT -8
teestorms
Electricity - the original power source!
279
April 2007
teestorms
|
Post by teestorms on Apr 27, 2008 7:04:55 GMT -8
In the 4.5 version, there is a section in the Info Center called "Active Users In The Past 24 Hours". This did not appear before the update, and I was wondering if there was a simple way to remove it. Some of our members are worried..because it shows that we have had "guests" on our board, even though I explained to them it usually is only the google bot. Our board is set up so guests can only see the sign-in page..not the main board. So I thought if I just removed that part, it would give everyone less to worry about.. Thanks!
|
|
#FF6600
Apprentice of the Universe
42712
0
1
Apr 22, 2024 6:04:54 GMT -8
🎶Sossity🎶
23,962
May 2005
nhs5
|
Post by 🎶Sossity🎶 on Apr 27, 2008 7:15:13 GMT -8
Hi
Put this in your main footer:
<script language=Javascript>// Remove "Active Users In The Past 24 Hours" from main index var LOC=location.href;LOC=LOC.substring(LOC.length-4,LOC.length); if(LOC=="com/"||LOC==".cgi"){var td=document.getElementsByTagName("td"); for(i=15;i<td.length;i++){if(td.innerHTML.match("Info Center")){i=i+10;for(j=0;j<10;j++) {if(td){if(td.innerHTML.match('Active Users In The Past 24 Hours')) {td.innerHTML="";td[i+1].innerHTML="";td[i+2].innerHTML=""}else{i++}}}}}}</script>
|
|
teestorms
Junior Member
Electricity - the original power source!
Posts: 279
inherit
102961
0
Dec 7, 2012 23:40:50 GMT -8
teestorms
Electricity - the original power source!
279
April 2007
teestorms
|
Post by teestorms on Apr 27, 2008 8:09:13 GMT -8
Thanks! :)It worked great. No more "mysterious guests". ;D
|
|
inherit
58740
0
Jan 5, 2024 18:58:20 GMT -8
®i©hie
I'm not very active here anymore thanks to my full-time job. - 12/27/23
14,036
September 2005
soe
|
Post by ®i©hie on Apr 27, 2008 12:20:21 GMT -8
I have Active Users in the Past 24 Hours on my board as well since the upgrade. I do have the code provided here in the main footer but it's still showing up. Any suggestions? Hi, please start a new thread & provide your forum URL
|
|
#eb7100
1480
0
1
May 20, 2024 22:30:58 GMT -8
Craig
208,898
September 2001
cmdynasty
|
Post by Craig on Apr 27, 2008 12:28:37 GMT -8
I would personally change that to this:
<script language=Javascript>// Remove "Active Users In The Past 24 Hours" from main index if(document.title.match(/- Home$/)){var td=document.getElementsByTagName("td"); for(i=15;i<td.length;i++){if(td.innerHTML.match("Info Center")){i=i+10;for(j=0;j<10;j++) {if(td){if(td.innerHTML.match('Active Users In The Past 24 Hours')) {td.innerHTML="";td[i+1].innerHTML="";td[i+2].innerHTML=""}else{i++}}}}}}</script>
|
|