PDA

View Full Version : Add-On Releases - Browser on Who's Online


Mr saleki
03-04-2008, 10:00 PM
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:
session.userid, session.inforum, session.lastactivity,
IN LINE FIND:
session.userid,
AFTER ADD:
session.browser,

IN index.php FIND:
'username' =>& $vbulletin->userinfo['username'],
AFTER ADD:
'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:
<!-- Start: Browser on Who's Online by derekivey - Version 1.0.3 -->
<if condition="$loggedin == 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).

[B]Finished!

SEOvB
03-05-2008, 08:36 PM
how is it different then https://vborg.vbsupport.ru/showthread.php?t=133784?

Mr saleki
03-05-2008, 08:53 PM
no different

SEOvB
03-05-2008, 09:46 PM
you do realize its against the rules to take someones code, and release it as your own right?

Mr saleki
03-05-2008, 10:02 PM
no no my friend ...
i gived this hack but this site ... *** Removed Warez link *** and i didn't know that this hack in this forums .
this is link this hack

*** Removed Warez link ***

i am excuse my friend ...
best kinds

SEOvB
03-06-2008, 02:04 AM
lol, wow

Magnumutz
03-06-2008, 03:11 AM
Dude, cut the crap... this is EXACTLY derekivey's release.

Dismounted
03-06-2008, 04:15 AM
Mr saleki, do you have permission from the original author (derekivey) to re-release his work?