Welcome Guest ( Log In | Register )

UploadScript

Check out the FREE chatroom mod for IPB 3.x

7 Pages V   1 2 3 > »   
Reply to this topicStart new topic
Browser icons in online list
cowweb
post Sep 5 2004, 04:54 AM
Post #1


recursion n. see recursion
******

Group: Members
Posts: 2,673
Joined: 11-April 03
From: 127.0.0.1 :)
Member No.: 855
IPB Version: 1.3.x



Browser icons in online list

Category: Other View
Compatibility: Invision Power Board
Demo: http://


Description:

This mod displays an icon of the browser being used by users, next to their name in the online list.

Browsers supported:
- Netscape
- Opera
- Mozilla
- Firefox
- Safari
- Konqueror
- Internet Exploder

View Modification
Go to the top of the page
 
+Quote Post
Bebi_Bulma
post Sep 5 2004, 05:01 AM
Post #2


Can't hold us down
*******

Group: Members
Posts: 12,850
Joined: 15-March 04
From: SoCal
Occupation: Student
Name: Steph
Mood: Can't hold me down
Fact: Ex-CT forever
Member No.: 91,991
IPB Version: 1.3.x



LOL beat Outlaw to it? Ebul. ph34r.gif: whistling.gif


Coolies.


LOL @ internet exploder.


--------------------
IPB Image
DO NOT PM me for support because your request will be ignored and deleted.
My Site · Blog · Last.fm profile · Donate :wub:
"Did I mention to you that I'm a genius? Yep, I'm not just another pretty face. I'm almost as smart as I am beautiful. It's scary!" -Bulma
Go to the top of the page
 
+Quote Post
Strabo
post Sep 5 2004, 07:00 AM
Post #3


Member
**

Group: Members
Posts: 241
Joined: 29-June 03
From: Somewhere this side of my PC screen
Member No.: 23,374



I've installed it, and it semi works...
the image is there...but its always the image of the browser im using, and thats the image I get for all online users.
I tried logging on with IE (cos I use opera most of the time and i thought it might be because of that or something) and it said taht all 3 people online were using IE. looking back into the still open opera window it says the same 3 people are online using opera. The same thing happens when using Netscape.
any ideas?


--------------------
IPB ImageIPB ImageIPB ImageIPB Image
Go to the top of the page
 
+Quote Post
cowweb
post Sep 5 2004, 07:45 AM
Post #4


recursion n. see recursion
******

Group: Members
Posts: 2,673
Joined: 11-April 03
From: 127.0.0.1 :)
Member No.: 855
IPB Version: 1.3.x



Bebi: Didn't want to cause Outlaw the pain of opening a browser other than IE ph34r.gif: But nah, this was already 75% completed when Outlaw said he'd do it so I thought I might as well release smile.gif

Strabo: Made all the required modifications to the code and tables? It takes a while for the board to catch up as well, wtih half a user agent phpSniff may fail to detect the user agent or detect it incorrectly. If you think it's still working it out wrong, browse the ibf_sessions table in your mySQL Toolbox and look at the user agent strings - is one clearly Opera but showing as another browser for example?


--------------------
Go to the top of the page
 
+Quote Post
MazZziKa
post Sep 5 2004, 08:30 AM
Post #5


Advanced Member
***

Group: Members
Posts: 404
Joined: 9-February 04
Member No.: 82,522
IPB Version: 1.3.x



Does It Work With Ib2??
And Where Is The Demo?


--------------------
Who Is prophet Muhammad?
What Is Quran? Did u ever hear some of it?
What Is Islam ?
QUOTE
PayPal: pay.dr.zika@hotmail.com
I install Mods for Fair prices
Go to the top of the page
 
+Quote Post
Outlaw
post Sep 5 2004, 08:42 AM
Post #6


Too Much Free Time
******

Group: Members
Posts: 7,038
Joined: 27-April 03
Member No.: 7,194
IPB Version: 1.3.x



Actully mine is for IPB 2.0 yours is 1.3, i know you wont release it for 2.0, so i'll release mine.
Works out just fine. tongue.gif

I was done when i said i would do it by the way Cow. wink.gif


--------------------
I do not do create/support/upgrade modifications anymore.
I am not currently giving out permission to upgrade my modifications either.
It's amazing how nobody reads signatures, I bet if I said i'd ban everyone who messaged me for support, they'd still message me and then complain when they got banned.
Go to the top of the page
 
+Quote Post
Strabo
post Sep 5 2004, 08:56 AM
Post #7


Member
**

Group: Members
Posts: 241
Joined: 29-June 03
From: Somewhere this side of my PC screen
Member No.: 23,374



I'll elave it for a few days and see what happens, if it doesnt work properly then I'll do as you say.


--------------------
IPB ImageIPB ImageIPB ImageIPB Image
Go to the top of the page
 
+Quote Post
superterrorizer
post Sep 5 2004, 11:39 AM
Post #8


Invisionized
*****

Group: Members
Posts: 1,325
Joined: 2-May 04
Member No.: 104,790
IPB Version: Not Applicable



awesome mod biggrin.gif
nice warning message at the bottom of the installation instructions biggrin.gif biggrin.gif

is there a way i can make an extra space between the icons and the username? i have a black background with red links, so it makes the username hard to decipher


and can it show what browser guests are using?

This post has been edited by superterrorizer: Sep 5 2004, 11:43 AM
Go to the top of the page
 
+Quote Post
Mysterioso
post Sep 5 2004, 12:28 PM
Post #9


Member
**

Group: Members
Posts: 123
Joined: 7-September 03
From: Michigan US
Member No.: 41,057



At the top of the page I get:

CODE
Warning: open_basedir restriction in effect. File is in wrong directory in /var/sites2/forum_mysterious/sources/phpsniff/phpSniff.class.php on line 22


Also I use firefox but I get the mozilla Icon (and everyone else); I tried IE and I get the right icon for that.

This post has been edited by Mysterioso: Sep 5 2004, 12:59 PM


--------------------
IPB Image
Go to the top of the page
 
+Quote Post
superterrorizer
post Sep 5 2004, 01:02 PM
Post #10


Invisionized
*****

Group: Members
Posts: 1,325
Joined: 2-May 04
Member No.: 104,790
IPB Version: Not Applicable



QUOTE(cowweb @ Sep 5 2004, 09:45 AM)
Bebi: Didn't want to cause Outlaw the pain of opening a browser other than IE  ph34r.gif: But nah, this was already 75% completed when Outlaw said he'd do it so I thought I might as well release smile.gif

Strabo: Made all the required modifications to the code and tables? It takes a while for the board to catch up as well, wtih half a user agent phpSniff may fail to detect the user agent or detect it incorrectly. If you think it's still working it out wrong, browse the ibf_sessions table in your mySQL Toolbox and look at the user agent strings - is one clearly Opera but showing as another browser for example?

the ie users have mozilla in the sessions table for me
im having the same problem as strabo
Go to the top of the page
 
+Quote Post
cowweb
post Sep 5 2004, 01:13 PM
Post #11


recursion n. see recursion
******

Group: Members
Posts: 2,673
Joined: 11-April 03
From: 127.0.0.1 :)
Member No.: 855
IPB Version: 1.3.x



Mysterioso
Thanks, seems like the version of sniff included only detects Firebird and Phoenix. Will update.

superterrorizer
I think you might need to wait a mo for the records to update. IE sends a user agent something like mozilla/4.0 (compatible; msie 6.0; windows nt 5.1) - if the UA is truncated before "msie", the chances are it'll be detected as Mozilla.


--------------------
Go to the top of the page
 
+Quote Post
cowweb
post Sep 5 2004, 01:16 PM
Post #12


recursion n. see recursion
******

Group: Members
Posts: 2,673
Joined: 11-April 03
From: 127.0.0.1 :)
Member No.: 855
IPB Version: 1.3.x



Updated file - give it a go. Update to the latest versions by uploading sources/phpSniff/phpsniff.class.php over existing version.


--------------------
Go to the top of the page
 
+Quote Post
superterrorizer
post Sep 5 2004, 01:17 PM
Post #13


Invisionized
*****

Group: Members
Posts: 1,325
Joined: 2-May 04
Member No.: 104,790
IPB Version: Not Applicable



how long does it roughly take out of curiosity? does the entire database need to update, or will each user individually have to wait x amount of time before the correct browsers show for everyone?

im on firefox and it shows me as mozilla
then when i switch to ie, everyone else shows up as ie also (visually, i never checked the sessions table while on ie)

is there anyway to space the icons and username, or would it be easiest just to edit the space into the images?
Go to the top of the page
 
+Quote Post
superterrorizer
post Sep 5 2004, 01:21 PM
Post #14


Invisionized
*****

Group: Members
Posts: 1,325
Joined: 2-May 04
Member No.: 104,790
IPB Version: Not Applicable



QUOTE(cowweb @ Sep 5 2004, 03:16 PM)
Updated file - give it a go. Update to the latest versions by uploading sources/phpSniff/phpsniff.class.php over existing version.

where can i get the updated version? re-download it?
Go to the top of the page
 
+Quote Post
cowweb
post Sep 5 2004, 01:21 PM
Post #15


recursion n. see recursion
******

Group: Members
Posts: 2,673
Joined: 11-April 03
From: 127.0.0.1 :)
Member No.: 855
IPB Version: 1.3.x



It'll just for each session to timeout and a new one to create. The default timeout is 15 minutes, so after each user has disappeared from the online list they should have the new UA string.

You can also execute "TRUNCATE TABLE ibf_sessions" or "DELETE FROM ibf_sessions" in the mySQL toolbox however this isn't recommended when you have many people online - the chances are IPB will automatically recreate the sessions when they access pages but it might cause a few problems or two such as posts being lost or whatever. If it's just you online then there should be no problem with this method.

Easiest way is to edit the images, adding a space in the source causes an ugly underline between icon and username.


--------------------
Go to the top of the page
 
+Quote Post

7 Pages V   1 2 3 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th March 2010 - 09:51 AM
Invision Skins · IPB Skins