Welcome to Geeklog Friday, June 05 2020 @ 12:02 am EDT

Geeklog Forums

Chatterblock IP address for Root only Issue


Status: offline

thedude

Forum User
Regular Poster
Registered: 28/12/02
Posts: 90
Hi. Blaine, you posted a suggestion in how to make the chatterblock only show ip for admin and pardon my ignorance with coding but I'm not sure where exactly to add the line you suggested. Where exactly should I add? " if (($cb_siteconfig['track_ip']) || (SEC_inGroup("Root"Wink) " Please advise. Thanks. Cheers, Thedude// Header table for log display $display .= '<td class="cb_logtitle" align="center" width="10%"><a href="' .$PHP_SELF. '?mode=' .$mode. '&sortorder=date&oldestfirst=' .$oldestfirst. '">' .$cb_lang['logtitle2']. '</a></td>'; $display .= '<td class="cb_logtitle" align="left" width="8%">' .$cb_lang['logtitle3']. '</td>'; $display .= '<td class="cb_logtitle" align="left" width="8%"><a href="' .$PHP_SELF. '?mode=' .$mode. '&sortorder=user&oldestfirst=' .$oldestfirst. '">' .$cb_lang['logtitle4']. '</a></td>'; if ($cb_siteconfig['track_ip']) { $display .= '<td class="cb_logtitle" align="left" width="8%">' .$cb_lang['logtitle5']. '</td>'; } $display .= '<td class="cb_logtitle" align="left" width="30%">' .$cb_lang['logtitle6']. '</td>'; $logdisplay .= '</tr></table>';
 Quote

Status: offline

efarmboy

Forum User
Moderator
Registered: 26/02/02
Posts: 147
You have the right idea. Set the config option to not display IP as well.

I've made the modifications to cb_chatlog and you can download the modified version here

Blaine

 Quote

Status: offline

thedude

Forum User
Regular Poster
Registered: 28/12/02
Posts: 90
Thanks dude....
 Quote

Status: offline

thedude

Forum User
Regular Poster
Registered: 28/12/02
Posts: 90
Thanks dude.. BTW, somehow I screwed up the whole ChatterBlock and I can't uninstall it (via the web)so that I can reinstall it fresh. Would you mind sharing with me what the Hack is to remove everything so that I can reinstall it from scratch? Thanks again Blaine... Cheers, Thedude
 Quote

Status: offline

thedude

Forum User
Regular Poster
Registered: 28/12/02
Posts: 90
Never mind. Thanks Blaine
 Quote

Status: offline

thedude

Forum User
Regular Poster
Registered: 28/12/02
Posts: 90
Blaine. Here is something strange. After reinstalling the chatterblock, when I disable anonymous access to chatterblock and make chatterblock only shown in the homepage, it disable chatterblock for the rest of the user with registered user feature comment and it still shown chatterblock in the mainpage with registered user feature comment. Is this suppose to happen this way? Please advise. Thanks B. Cheers, Thedude
 Quote

Status: offline

thedude

Forum User
Regular Poster
Registered: 28/12/02
Posts: 90
BTW Blaine.. For some reason I can't see the IP icon even if I logged in as admin. Not sure why. Hmmm???? Comment? Thanks.. The Dude
 Quote

Status: offline

odDonnellE

Forum User
Junior
Registered: 26/12/02
Posts: 24
i made the above changes (using the file provided) and it also does not work for me.

actually i'd rather it just knock off the last octet of the IP. that way the poster is still 'safe' and i can still figure out what i might be looking for in the logs.

even though the time stamp works just as well.

---
-me


-Adam O'Donnell
 Quote

Status: offline

odDonnellE

Forum User
Junior
Registered: 26/12/02
Posts: 24
did you say yes to the 'Display IP addresses:' in your chatterblock admin?----me
-Adam O'Donnell
 Quote

Status: offline

odDonnellE

Forum User
Junior
Registered: 26/12/02
Posts: 24
i just noticed this, but with the new file in place, i can't access my chatterlog. i noticed the error this morning, and at the time wasn't thinking, noticed i had a backup of the file (cb_chatlog) so i just restored that file. later it dawned on me i probably should of paid attention to the error message. something about.. line 24. and. mmm... thats all i can remember. sorry.
-Adam O'Donnell
 Quote

All times are EDT. The time is now 12:02 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content