Back to Modification Graveyard

Browser on Who's Online
Mod Version: 1.0, by Mr saleki

This thread is in the Modification Graveyard.
vB Version: 3.6.x Rating: (1 vote - 5.00 average) Installs: 1
Released: 06 Mar 2008 Last Update: Never Downloads: 7
Not Supported DB Changes Uses Plugins Code Changes Additional Files  

This hack can be used with vBulletin v3.6.x.

Description: This hack will show each user's browser in the Who's Online Box beside their name. It supports IE, Firefox, Opera, Camino, Safari, Konqueror, and Netscape. If the user is using a browser that is unsupported with this hack, it will show a Question mark icon, which means its an Unknown browser.

Installation :
1. Do the following File Edits:
OPEN: index.php
FIND:
Code:
session.userid, session.inforum, session.lastactivity,
IN LINE FIND:
Code:
session.userid,
AFTER ADD:
Code:
 session.browser,
IN index.php FIND:
Code:
				'username'          =>& $vbulletin->userinfo['username'],
AFTER ADD:
Code:
				'browser'          =>& $vbulletin->session->vars['browser'],
CLOSE AND SAVE: index.php

2. Do the following Template Edit:

OPEN: forumhome_loggedinuser

AT THE BEGINNING OF THE TEMPLATE ADD:
Code:
<!-- Start: Browser on Who's Online by derekivey - Version 1.0.3 -->
<if condition="$loggedin[browser] == internet_explorer">
<img src="$stylevar[imgdir_misc]/ie.gif" alt="$vbphrase[browser_internet_explorer]" />
</if>
<if condition="$loggedin[browser] == opera">
<img src="$stylevar[imgdir_misc]/opera.gif" alt="$vbphrase[browser_opera]" />
</if>
<if condition="$loggedin[browser] == firefox">
<img src="$stylevar[imgdir_misc]/ff.gif" alt="$vbphrase[browser_firefox]" />
</if>
<if condition="$loggedin[browser] == camino">
<img src="$stylevar[imgdir_misc]/camino.gif" alt="$vbphrase[browser_camino]" />
</if>
<if condition="$loggedin[browser] == konqueror">
<img src="$stylevar[imgdir_misc]/konqueror.gif" alt="$vbphrase[browser_konqueror]" />
</if>
<if condition="$loggedin[browser] == safari">
<img src="$stylevar[imgdir_misc]/safari.gif" alt="$vbphrase[browser_safari]" />
</if>
<if condition="$loggedin[browser] == netscape">
<img src="$stylevar[imgdir_misc]/netscape.gif" alt="$vbphrase[browser_netscape]" />
</if>
<if condition="!$loggedin[browser] OR $loggedin[browser] == unknown">
<img src="$stylevar[imgdir_misc]/question_icon.gif" alt="$vbphrase[browser_unknown]" />
</if>
<!-- End: Browser on Who's Online by derekivey - Version 1.0.3 -->
SAVE: forumhome_loggedinuser

3. Upload the files in the upload folder.

4. Import product-browser_on_wol Under PRODUCTS (not plugins).

Finished!

Download

This modification cannot be downloaded.

Similar Mods

Forum Home Enhancements Browser on Who's Online vBulletin 3.6 Add-ons
Browser on Who's Online vBulletin 3.5 Add-ons

vblts.ru supports vBulletin®, 2022-2024