The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Display Browser Information?
I did a search of the usual text strings here and failed to turn up anything.
Is there an add-on/hack/whatever that allows you to display information about what browser/OS the member is using as part of the information that's displayed in their messages? I'd want a vBulletin 3.7x compatible solution. Anyone? |
#2
|
||||
|
||||
You can use the user agent string - but don't trust it.
|
#3
|
|||
|
|||
What and how?
|
#4
|
||||
|
||||
You'll need some knowledge of PHP - if you do, Googling "user agent string php" will probably reveal some code examples.
|
#5
|
|||
|
|||
Quote:
Anyone here want to really help me? --------------- Added [DATE]1216398110[/DATE] at [TIME]1216398110[/TIME] --------------- I do have some code now that I got online, as follows: PHP Code:
Will it do what I want? |
#6
|
||||
|
||||
Yuou cannot run PHP code in templates - yo need run PHP code in plugins. And furthermore - you need to capture this data as the user browses the website and store it. You cannot simply plonk that code in postbit and have the information magically appear for everyone.
|
#7
|
|||
|
|||
Quote:
So how do we do it then. Anyone want to provide assistance rather than give me two sides of the coin? |
#8
|
|||
|
|||
How did he imply anything. He stated you can use the user agent string to grab the data. WHICH IS TRUE. But you cannot simultaniously grab useragents of all people that have ever browsed the website and magically send them to all other people browsing the website to have them show up in the postbit. The data you gather needs to be stored somewhere so you can retrieve it to display later.
|
#9
|
|||
|
|||
He said I should look on the Internet to find the PHP code, then said it wouldn't work as I wanted it to. I understand the limits.
How about a solution instead of an insult? |
#10
|
|||
|
|||
Why not just create a Custom "User Profile Field", allow users to select their browser and then display that in postbit?
For Part 1: Check the AdminCP side Menu For Part 2: see this thread add info to the right? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|