View Full Version : Forum Home Enhancements - Browser on Who's Online
derekivey
12-11-2006, 10:00 PM
Browser on Who's Online
Developers: derekivey (https://vborg.vbsupport.ru/member.php?u=81169)
Version: 1.0.3
vBulletin Version: 3.6.4 (3.5.0 version available here (https://vborg.vbsupport.ru/showthread.php?t=103996))
File Edits: 2
Template Edits: 1
New Phrases: 8
Uses Plugins: Yes
Difficulty: Easy
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.
*** I Strongly Recommend That You Backup Before Installing/Upgrading This Hack! ***
Planned features for a later release:
Add support for more browsers.
Add browser to online.php
Show only 1 image for each browser when there is more than 1 person with that browser.
Whatever is suggested.Features/Changes in Version 1.0.3:
Fixed bug where some of you were just getting unknown for everyone's browser.Features/Changes in Version 1.0.2:
Fixed SQL bugFeatures/Changes in Version 1.0.1:
Moved browsers to session table.
Removed 'Unknown' from being stored in database, replaced it with Psionic Vision's suggestion.This was a hack request by ReadOrDie (https://vborg.vbsupport.ru/member.php?u=110843).
Note: If you are using vBadvanced CMPS, please follow 350Chevy's post (https://vborg.vbsupport.ru/showpost.php?p=871310&postcount=64) to get this hack working on it, if you want to show their browser on the CMPS' Who's Online.
I have added screen shots of this hack in action below.
Please click Install (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=133784) If you installed this hack.
Thanks!
derekivey
12-12-2006, 02:11 AM
First post reserved for future use.
TheWhite
12-12-2006, 02:13 AM
cool :)
tansu
12-12-2006, 03:14 AM
well installed, then unistalled and this happened..
MySQL Error : Unknown column 'browser' in 'field list'
Error Number : 1054
Forum gone? any ideas?
tansu
12-12-2006, 03:26 AM
well actually it is not unistalled, I thought I uninstalled but when I try to uninstall it gives me that db error and cant be uninstalled.
When I disable it, forum comes back.
Bison
12-12-2006, 04:15 AM
Thanks for updating your hack, but why didn't you add the "other browsers" in this version?
joopss
12-12-2006, 05:04 AM
Thank you
MaestroX
12-12-2006, 07:54 AM
Thanks
Hornstar
12-12-2006, 08:46 AM
That is cool, well done. thanks.
Ronak
12-12-2006, 09:56 AM
i was waiting for this hack to come :D
derekivey
12-12-2006, 10:05 AM
well installed, then unistalled and this happened..
MySQL Error : Unknown column 'browser' in 'field list'
Error Number : 1054
Forum gone? any ideas?
Try editing the current product you have installed, and remove the uninstall code, that should let you uninstall it now. I think you somehow got rid of the field in the sessions table. Once you remove the uninstall code, then try importing the new product file.
Thanks for updating your hack, but why didn't you add the "other browsers" in this version?
Those will be in a later version, this was just a quick port of my 3.5 version.
ubblite
12-12-2006, 10:17 AM
I went to uninstall this hack because it wasn't showing a few common browsers and had problems as well.
Here is the error:
Database error in vBulletin 3.6.4:
Invalid SQL:
ALTER TABLE `session` DROP `browser`;;
MySQL Error : Can't DROP 'browser'; check that column/key exists
Error Number : 1091
Date : Tuesday, December 12th 2006 @ 07:14:15 AM
Script : http://www.xxxxxxxxxxxxxxxx/forum/admincp/plugin.php?do=productkill
Referrer : http://www.xxxxxxxxxxxxxxxx/forum/admincp/plugin.php?do=productdelete&productid=browser_on_wol&s=
IP Address : -----------------
Username : -----------------
Classname : vB_Database
---------------------------------------
Please help.
Snake
12-12-2006, 10:28 AM
Wow! I love this. :D
tansu
12-12-2006, 01:33 PM
Try editing the current product you have installed, and remove the uninstall code, that should let you uninstall it now. I think you somehow got rid of the field in the sessions table. Once you remove the uninstall code, then try importing the new product file.
That did it..
thanks.
projectego
12-12-2006, 02:03 PM
Excellent! ;)
Distance
12-12-2006, 02:25 PM
This is rubbish, everyone is getting errors, same as me
Database error in vBulletin 3.6.4:
Invalid SQL:
ALTER TABLE `session` DROP `browser`;;
MySQL Error : Can't DROP 'browser'; check that column/key exists
Error Number : 1091
Date : Tuesday, December 12th 2006 @ 04:24:38 PM
Script : http://SITE/admincp/plugin.php?do=productkill
Referrer : http://SITE/admincp/plugin.php?do=productdelete&productid=browser_on_wol&s=
IP Address : 172.159.132.228
Username : Distance
Classname : vb_database
Distance
12-12-2006, 02:30 PM
Also removing the uninstall code, wont that just be leaving the tables there?
Database error in vBulletin 3.6.4:
Invalid SQL:
ALTER TABLE `session` DROP `browser`;;
MySQL Error : Can't DROP 'browser'; check that column/key exists
Error Number : 1091
Date : Tuesday, December 12th 2006 @ 08:52:59 PM
Script : http://www.asj.com/forum/admincp/plugin.php?do=productkill
Referrer : http://www.asj.com/forum/admincp/plugin.php?do=productdelete&productid=&s=
IP Address : 127.0.0.1
Username : asj
Classname : forum_database
?? :(
silks
12-12-2006, 05:19 PM
nice hack and currently using it - thanks :D
can u tell me if its possible to remove the space between the gif and the users name?
im using it on the cmps - leftblock
ubblite
12-12-2006, 11:20 PM
Also removing the uninstall code, wont that just be leaving the tables there?
That was the only way I was able to uninstall this hack, but I think you're right - the tables are still there so it's not really uninstalled. Reinstalling & then uninstalling the hack also didn't work. There is an obvious bug with this modification that needs to be fixed.
derekivey
12-13-2006, 01:18 AM
I have uploaded a new zip file. This should work... those of you who were getting errors, please let me know if you have any problems with the new product xml file.
Thanks,
Derek
Ronak
12-13-2006, 01:18 AM
Its not finding my browser ??
derekivey
12-13-2006, 01:19 AM
Its not finding my browser ??
What browser are you using?
Ronak
12-13-2006, 01:29 AM
What browser are you using?
Netscape 8.1.2
Ronak
12-13-2006, 01:31 AM
What browser are you using?
SORRY DOUBLE POST :(
ubblite
12-13-2006, 02:48 AM
I have uploaded a new zip file. This should work... those of you who were getting errors, please let me know if you have any problems with the new product xml file.
Thanks,
Derek
Thanks, that worked.
When I had your mod installed, it did detect one Firefox user but it wouldn't detect myself and a few others who were using Firefox. I also used IE v7.0 and was still getting a question mark.
smoknz28
12-13-2006, 02:50 AM
This will be a great hack if I can get it to work like it's suppose to. ;)
Thanks for your hard work on this, but an issue I'm having though is that all the users online are showing an icon with a question mark "Unknown".
Should atleast be able to pick up one of the browsers. It's not even picking up mine and I'm using both IE and Firefox.
Attached is a screenshot.
ubblite
12-13-2006, 03:54 AM
That was the same problem I had, smoknz28.
tekram
12-13-2006, 06:19 AM
can someone make the grafics transparent? on dark styles it looks silly
JoeWho
12-13-2006, 01:53 PM
That is nice, well done. Thanks. :)
1-problem... it shows the user a "?" icon for user, everyone is showing the correct browser-icon.
I logon with user 2 and I can see user 1 correct browser-icon, but user 1 only see "?" icon and user 1 can see correct browser-icon for user 2.
Thanks.
smoknz28
12-13-2006, 02:11 PM
That was the same problem I had, smoknz28.
Yea, looks like there's several others with the same problem. I'm sure he's pulling his hair out trying to fix this. Lets hang in there and see what comes about. ;)
Bison
12-15-2006, 03:58 AM
You definitely have to drop the tables ... if you had any previous versions installed before installing this.
derekivey
12-15-2006, 09:55 AM
Try refreshing the page? For some reason vB's is_browser function only works when you refresh the page. It doesn't seem to work right when the session is created, I am trying to fix it, but have no idea when it will be fixed.
smoknz28
12-15-2006, 04:11 PM
Since the install of the hack....I've refreshed (multiple times), closed browser completely (IE, Firefox), reopened browsers, rebooted computer, cleared cache...
All of the above and the hack will still not show any other icon but the question mark "unknown" for the browser.
Sorry Derek....hope you can figure this one out as this looks like it would be a nice feature to have on our boards.
derekivey
12-15-2006, 06:51 PM
This may sound like a dumb question, but you have done the file edits right?
smoknz28
12-15-2006, 11:13 PM
This may sound like a dumb question, but you have done the file edits right?
No, not dumb...you're just trying to get to the root of this and I appreciate that.
Okay, looking at my index.php file I see that the changes were already made when I initially installed this hack:
session.userid, session.browser, session.inforum, session.lastactivity,
'username' =>& $vbulletin->userinfo['username'],
'browser' =>& $vbulletin->userinfo['browser'],
Here's my entire forumhome_loggedinuser template, which you can see the addition was made:
<!-- Start: Browser on Who's Online by derekivey - Version 1.0.2 -->
<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.2 -->
$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]" rel="nofollow">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]
jw00dy
12-16-2006, 03:53 AM
Nice mod. I have the exact same problem as smoknz28 and my edits are the same as his.
derekivey
12-16-2006, 05:43 PM
Can one of you guys please send me the link to your forum, so I can just take a look and see if it happens for me if I login?
Thanks,
Derek
derekivey
12-16-2006, 05:48 PM
Actually, nevermind, I have confirmed this and am fixing it. I will release a new version shortly.
Derek
jw00dy
12-16-2006, 05:50 PM
Thank Derekivey
derekivey
12-16-2006, 06:26 PM
1.0.3 Released. It is fixed in this version. All you have to do to upgrade is reimport the xml file in the admincp, and redo the last file edit that is listed in the readme file.
Derek
jw00dy
12-16-2006, 06:32 PM
Much better, although, it doesn't show the browser I'm using for some reason? I'm not worried though, as I know what I'm using (ff 2.0).
smoknz28
12-16-2006, 06:40 PM
Alright...getting there. IE displays the hack correctly, but Firefox doesn't want to work with me on this.... Anyone else having this issue with Firefox?
Thanks jw00dy :up:
smoknz28
12-16-2006, 07:39 PM
I stand corrected.... jw00dy, it's working in Firefox. :banana:
Thank you for sorting this one out for us amigo. ;)
bollyzone.net
12-16-2006, 08:04 PM
Thanx man Great JOB
jw00dy
12-16-2006, 11:08 PM
Cool, I'm sure it's just a cache thing.
TheFrienzNet
01-19-2007, 06:46 PM
Thanks! Works great!
oberheimhaven
01-20-2007, 02:28 AM
I dont understand your directions?? It says find line then add Im lost mate they are very unclear as what to do?
Thxs
derekivey
01-20-2007, 03:46 PM
It means that in the the line your found, you are supposed to find that one part and right after it add the code it tells you to add.
Zagis
01-21-2007, 02:05 PM
It doesn't show IE icons with me. I can only see firefox icons and question marks. :(
team76
02-14-2007, 01:45 PM
Salut ? tous
j'ai installer "Browser on Who's Online" ,les images sont visible sur le forum ,mais pas sur le vBadvanced CMPS v3.0 RC2,il ne trouve pas le lien des images ,comment faut il faire?
sur le portail j'ai ?a : www.team76.fr/blockvb.gif
sur le forum: www.team76.fr/forum.gif
merci
kofoid
02-19-2007, 08:23 PM
I can only see the ?'s. When it does detect a browser, it shows "Internet Explorer" rather than the icon. any ideas?
kofoid
02-19-2007, 08:42 PM
OK got it working - I put the direct image paths in and removed the alt text. Thanks for this!!!
derekivey
02-19-2007, 09:27 PM
Glad you got it working :).
Derek
team76
02-20-2007, 02:26 PM
how to make?
ps: sorry , I do not speak english ,i'm french, I use a translator .
rjmjr69
02-20-2007, 02:34 PM
Does this appear on the LEFT side of the users name? I have a hack installed already that puts a small icon on the RIGHT side of the name.
Keyser S?ze
03-05-2007, 11:48 AM
FYI version check dont work
got this error:
Version check connection to host www.derek.nbsdesignz.com failed. Please try again later.
The error returned was: 'Success'
derekivey
03-05-2007, 06:39 PM
I'll have it fixed for the next version. I changed servers and now my URL is different.
Thanks for letting me know.
Derek
aquariumpros
03-06-2007, 05:12 AM
I'm getting 99% showing up as the (?)...
I've checked on the Who's Online (/online.php) User Agent - and it detects Firefox and MSIE6 fine - but shows up the (?) Unknown for MSIE7.
Can you please update this hack to detect the new MSIE browser too.
Thanks for a kewl hack!! :)
Zagis
03-06-2007, 07:15 AM
I'm getting only questions marks and nothing else...
Do you have any plans for update Derek?
team76
03-09-2007, 08:45 PM
"Browser on Who's Online" is not compatible bloc vBadvanced CMPS v2.2.1,how to make?
, please ,help me
Zagis
03-10-2007, 06:47 AM
I'm getting only questions marks and nothing else...
Do you have any plans for update Derek?Is there any solution on this or do I have to uninstall the hack?
Tnx
How about adding Maxthon Broswer....
derekivey
03-10-2007, 02:32 PM
I'm getting 99% showing up as the (?)...
I've checked on the Who's Online (/online.php) User Agent - and it detects Firefox and MSIE6 fine - but shows up the (?) Unknown for MSIE7.
Can you please update this hack to detect the new MSIE browser too.
Thanks for a kewl hack!! :)
I'll look into this.
I'm getting only questions marks and nothing else...
Do you have any plans for update Derek?
Make sure you edited all of the files correctly. Did you forget to edit index.php? Also when you upgrade to newer vB versions you also need to make sure to reedit the files.
"Browser on Who's Online" is not compatible bloc vBadvanced CMPS v2.2.1,how to make?
, please ,help me
I will look into making it compatible when I get some time.
How about adding Maxthon Broswer....
I'll look into this and see if it can be done.
aquariumpros
03-10-2007, 02:39 PM
I'm getting 99% showing up as the (?)...
I've checked on the Who's Online (/online.php) User Agent - and it detects Firefox and MSIE6 fine - but shows up the (?) Unknown for MSIE7.
Can you please update this hack to detect the new MSIE browser too.
Thanks for a kewl hack!! :)
I don't know how/why - after about 24-hours, it started to detect MSIE7 as well...
:confused:
Thanks again!! Great hack!:up:
derekivey
03-10-2007, 02:44 PM
No Problem.
Very weird lol.
Doctor Death
03-25-2007, 11:50 AM
I am using VB 3.6.5 and installed this... my WOL shows names but no browser next to them. Any ideas?
Also, this mod does not support the version check mod...
Any chance of that being fixed with appropriate metadata?
Thanks. Great idea.
derekivey
03-26-2007, 10:02 AM
Did you do all of the template edits and file edits? Maybe you upgraded to a newer vB version and overwrote the file edits? It should show the browsers beside the usernames. Also the version check will be fixed in the next version.
Derek
Doctor Death
03-27-2007, 12:03 PM
I got it this time :)
Question: Do you have an icon set that would look good on a dark background? The current icon set has pixels of a light color surrounding them that look bad on my dark board.
rjmjr69
03-28-2007, 02:28 AM
Yeah I could use a dark one too
derekivey
03-30-2007, 09:59 AM
They should be in do_not_upload/Extras.
Carlos2
05-28-2007, 05:56 PM
Is excellent, but can anybody modify this to do this:
https://vborg.vbsupport.ru/showthread.php?p=1256341#post1256341
Small logos like football club logos there??
derekivey
05-28-2007, 11:28 PM
Shouldn't be too hard to do, I will try and make a hack like that when I get some time.
Derek
Carlos2
05-29-2007, 01:54 AM
Shouldn't be too hard to do, I will try and make a hack like that when I get some time.
Derek
Great Derek, i will be waiting for that, please PM when you do it ;)
bc3tech
06-08-2007, 02:24 PM
no support for ie7? i'm getting question marks only as well.
bc3tech
06-11-2007, 12:35 PM
uninstalled today. never resolved itself.
RichieBoy67
10-16-2007, 07:23 PM
This one didn't work for me either. I believe it works with users that are logged in at that time...
I also think it is some kind of a cookie thing...
Thanks for trying...
team76
10-28-2007, 10:22 AM
Salut ? tous
Il aurrait il une solution pour que l'on puissent avoir les images sur le portal Badvanced CMPS v3.0 RC2?
Merci
hello
there is to you it a solution so that, the images can appear, on the vBadvanced CMPS v3.0 RC2?
thank
on the portal block I have that : http://www.team76.fr/blockvb.gif
on the forum : http://www.team76.fr/forum.gif
Mrdby
10-28-2007, 01:23 PM
will not install after seeing all these problems.
Doctor Death
05-08-2008, 09:41 AM
Great mod.
Seems like something is slightly out of place. My output looks like this...
(icon) Doctor Death (Icon) , FDP (icon) , Sly
Notice the Browser icons are to the LEFT of the names, so the browser icons are separated by a comma between the names they apply to.
How do I get the comma shifted to the left of the browser icon to group together the browser icon and the name it applies to?
Keyser S?ze
05-11-2008, 07:08 AM
working fine for me in 3.7
codershark
05-11-2008, 07:31 AM
is it compatible with FF2 ??? It show me only the (?) instead of Firefoxsymbol...
Keyser S?ze
05-11-2008, 09:15 AM
yes i use FF2
i got a small problem tho, see the , and the browser icons are off
its like the browser icon should be on the other side of the comma,
Keyser S?ze
05-30-2008, 06:32 PM
can anyone fix this pls?
thanks
michael5472
09-08-2008, 06:16 AM
Let me know if you get a working version on this for 3.7
crouzmind
02-18-2009, 04:29 PM
can i use this mod on VBULLETIN 3.8.1 ?
powersilie
03-12-2009, 11:15 AM
Yes, it works great with vB 3.8.1!
Thanks for this mod!
Greetings
Karin
S@NL - BlackBik
04-08-2009, 07:02 PM
I got it working on vB 3.8.2 :)
New Joe
06-16-2010, 11:23 PM
I got it working on vB 3.8.2 :)
DId you have to do anything more or change anything?
s.sami
09-14-2011, 04:13 PM
how can i use this for online.php?
how to change online.php ?
acast
01-12-2013, 01:04 PM
Anybody fix this to vb4??
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.