UBB.Dev
Posted By: kestral show IP's for 'who's online' - 01/04/2004 9:35 PM
Like it did/does in Infopop classic ?
Posted By: JoshPet Re: show IP's for 'who's online' - 01/05/2004 4:10 AM
It does for anonymous users.

For registerd users, this mod:
https://www.ubbdev.com/forum/showflat.php/Number/97271

will allow you to mouse over and see what their IP address is.
Posted By: kestral Re: show IP's for 'who's online' - 01/05/2004 5:43 AM
Thanks.
Posted By: kestral Re: show IP's for 'who's online' - 01/07/2004 5:10 AM
Ok, I haven't installed this yet, but I also now realize that 'anyone' can see the 'who's online' not just members who log in. I don't want 'guests' to view who's online. How do I stop that activity? (6.32 you HAD to login to view who's online This pulls too much bandwidth w/out seeing who's doing it)
Posted By: scroungr Re: show IP's for 'who's online' - 01/07/2004 5:19 AM
you can remove from the ubbt_unregisterednav.tmpl in your threads/templates/defult directory the line that says <a href = "$phpurl/online.php?Cat=$Cat" $target>{$ubbt_lang['WHO_ON']}</a>

I trimmed my nonregistered menu which looks like this now

[]
<? //UBBTREMARK
echo <<<UBBTPRINT
$tbopen
<tr>
<td align="left" class="menubar" width="30%" valign="bottom">
{$ubbt_lang['NOT_LOGGED']}
[<a href="$phpurl/login.php?Cat=$Cat">{$ubbt_lang['BUTT_LOGIN']}</a>]
</td>
<td align="center" class="menubar" width="70%">
<a href = "{$config['homeurl']}/index.php?Cat=$Cat">Entrance</a>
·
<a href="$phpurl/$FrontPage.php?Cat=$Cat">{$ubbt_lang['FORUM_IND']}</a>
·
<a href="$phpurl/search.php?Cat=$Cat">{$ubbt_lang['TEXT_SEARCH']}</a>
·
<a href="$phpurl/newuser.php?Cat=$Cat">{$ubbt_lang['NEW_USER']}</a>
<br />
<a href="$phpurl/faq.php?Cat=$Cat">{$ubbt_lang['FAQ_TEXT']}</a>
·
<a href = "$phpurl/markallread.php?Cat=$Cat" $target>{$ubbt_lang['MARKALL']}</a>
$members_link
</td>
</tr>
$tbclose
<br />
UBBTPRINT;
/* UBBTREMARK */ ?>
[/]


or your you can find a mod to restrict things by group..
Posted By: kestral Re: show IP's for 'who's online' - 01/07/2004 5:49 AM
[]scroungr said:
you can remove from the ubbt_unregisterednav.tmpl in your threads/templates/defult directory the line that says <a href = "$phpurl/online.php?Cat=$Cat" $target>{$ubbt_lang['WHO_ON']}</a>[/]

Ok, changing smaller items is fine, and I merely want to restrict my bandwidth for legitimate members. The above change..removing that bit of code, is all I need to do?
Posted By: scroungr Re: show IP's for 'who's online' - 01/07/2004 6:00 AM
yeah that way a nonregistered user wont even see it.. you may want to take out the · also to make it look ok.. the menu is just that a menu and you have one for registered and for nonregistered users so they each see different things..

ubbt_unregisterednav.tmpl is for nonregistered or non-logged in

ubbt_registerednav.tmpl is for registered and logged in
Posted By: kestral Re: show IP's for 'who's online' - 01/07/2004 6:22 AM
Thanks, going to do this after a good nights sleep.
Posted By: Dalantech Re: show IP's for 'who's online' - 01/07/2004 8:25 AM
[]kestral said:
Ok, I haven't installed this yet, but I also now realize that 'anyone' can see the 'who's online' not just members who log in. I don't want 'guests' to view who's online. How do I stop that activity? (6.32 you HAD to login to view who's online This pulls too much bandwidth w/out seeing who's doing it) [/]

Check out the restrict whos online hack. I wrote it for 6.2, but it should still work. Just removing whos online from the menu will work, unless someone has the link bookmarked or they are familiar with UBB Threads and know what scripts to call from a browser...
Posted By: scroungr Re: show IP's for 'who's online' - 01/07/2004 8:46 AM
and if they know that Dalantech theres not much else ya can do except restrict it to groups but then that person will find around that cause by then he's a hacker..
Posted By: Dalantech Re: show IP's for 'who's online' - 01/07/2004 9:00 AM
With the hack I posted they can't -it checks to see if the person calling the whos online script has an account (if they are a user). If they do not have an account an error message is sent out (something like "You do not have access to this page") and the script terminates. To my knowledge there is no way around it except to registed as a user and log in
Posted By: kestral Re: show IP's for 'who's online' - 01/07/2004 1:21 PM
Both things did EXACTLY what I wanted/needed.
Thank you!!
© UBB.Developers