Welcome to Geeklog, Anonymous Monday, October 14 2024 @ 04:53 pm EDT
Geeklog Forums
Chatterblock IP address for Root only Issue
Status: offline
thedude
Forum User
Regular Poster
Registered: 12/28/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") "
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>';
11
10
Quote
Status: offline
thedude
Forum User
Regular Poster
Registered: 12/28/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
11
11
Quote
Status: offline
thedude
Forum User
Regular Poster
Registered: 12/28/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
11
10
Quote
Status: offline
odDonnellE
Forum User
Junior
Registered: 12/26/02
Posts: 24
i made the above changes (using the file provided) and it also does not work for me.
-Adam O'Donnell
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
27
11
Quote
Status: offline
odDonnellE
Forum User
Junior
Registered: 12/26/02
Posts: 24
did you say yes to the 'Display IP addresses:' in your chatterblock admin?----me
-Adam O'Donnell
-Adam O'Donnell
13
13
Quote
Status: offline
odDonnellE
Forum User
Junior
Registered: 12/26/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
-Adam O'Donnell
13
11
Quote
All times are EDT. The time is now 04:53 pm.
- 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