Posted on: 01/03/03 05:53pm
By: thedude
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>';
Chatterblock IP address for Root only Issue
Posted on: 01/04/03 12:38am
By: efarmboy
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[*1]
Blaine
Chatterblock IP address for Root only Issue
Posted on: 01/04/03 01:02am
By: thedude
Thanks dude....
Chatterblock IP address for Root only Issue
Posted on: 01/04/03 01:37am
By: thedude
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
Chatterblock IP address for Root only Issue
Posted on: 01/04/03 02:55am
By: thedude
Never mind.
Thanks Blaine
Chatterblock IP address for Root only Issue
Posted on: 01/04/03 02:59am
By: thedude
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
Chatterblock IP address for Root only Issue
Posted on: 01/04/03 05:04am
By: thedude
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
Chatterblock IP address for Root only Issue
Posted on: 01/16/03 08:39am
By: odDonnellE
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
Chatterblock IP address for Root only Issue
Posted on: 01/16/03 08:42am
By: odDonnellE
did you say yes to the 'Display IP addresses:' in your chatterblock admin?----me
Chatterblock IP address for Root only Issue
Posted on: 01/20/03 09:52am
By: odDonnellE
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.