PDA

View Full Version : Who's Online Enhancement



michael_s
06-10-2010, 12:00 PM
Who's Online Enhancement 3.6.7.2 - Synchronize all important changes

STEPS to install full package (it's working)
-----------------------------------------------------------
If you look at the three last contributions they basically gather all the knowledge in code of its previous versions, all you have to do to install is:

1) Download FullPackage 3.6.6.2 of 12-04-10 and follow instructions

2) change admin/whos_online.php (this is according to 3.6.7.1 of 24-05-10) but dont replace the file of (1) replace the code following:

around line 335 add an apostrophe in href='http://www.ipinfodb.com/ip_locator.php?ip=$whos_online

Result:
echo '' . TABLE_HEADING_IP_ADDRESS . ': ' . "" . $whos_online['ip_address'] . " (http://www.ipinfodb.com/ip_locator.php?ip=$whos_online[ip_address])";


around line 346 find:
echo '' . TEXT_USER_AGENT . ': ' . $browser_icon . ' ' . $os_icon . ' ' . $user_agent;

replace to:
echo '' . TEXT_USER_AGENT . ': ' . $browser_icon . ' ' . $os_icon . '' . $user_agent . ' (http://user-agent-string.info/?Fuas=' . $whos_online['user_agent'] . '&test=spamno&action=analyze)';

That's all folks!


More... (http://addons.oscommerce.com/info/824)