Browser on Who's Online
This thread is in the Modification Graveyard.
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, Code:
session.userid, Code:
session.browser, Code:
'username' =>& $vbulletin->userinfo['username'], Code:
'browser' =>& $vbulletin->session->vars['browser'], 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 --> 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 |