Advertisement:

Whos online list.. Needs Improving.. Users browsing mobile device should show

Aloittaja Ryan, toukokuu 21, 2007, 07:43:02 IP

« edellinen - seuraava »

Ryan

Whos online list.. Needs Improving

Basically in who's online list it should show which are normal users..
Which are Users browsing via wap
And which ones are spiders..

I know theres a spider mod but the mobile and spiders should be built into smf 2.0 don't you think?
The who's online has never really had any changes?
And theres plenty room for improvement that wont effect SMF performance at all.

Maybe also admins can have ability to use a automatic refresh by ticking a box to enable the refresh
So the whos online list refreshes every 10 - 20 seconds
So it can be monitored?

What you all think?

Rudolf

In Who.template.php search for:
if (!empty($member['ip']))
echo '
(<a href="' . $scripturl . '?action=trackip;searchip=' . $member['ip'] . '" target="_blank">' . $member['ip'] . '</a>)';


add after
if (isset($member['query']['imode']) || isset($member['query']['wap']) || isset($member['query']['wap']))
echo '
<img src="' . $settings['images_url'] . '/cell.gif" alt="" />';


Then search for an image of a cell phone, resize it to fit your needs (pun intended  :P) and upload it in your theme's images directory.
I will update all my mods in the next few weeks. Thanks for your patience.

SVG-Collapse (you need an SVG compliant browser)

Gary

Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

Advertisement: