The Arcive of vBulletin Modifications Site. |
|
[BB Code] Browser Details »»
|
|||||||||||||||||||||||||||
This is a Browser BB Code.
It will draw a small box with informations about the Users (post viewing) browser. How To: Go into you AdminCP and add a new BB Code: Title: Browser BB Code Tag Name: browser Replacement: PHP Code:
Description: The Browser Info BBCode shows information about the viewers browser. Use {option}: No Button Image: --- Remove Tag If Empty: No Use [ instead of { and ] instead of } in the example. Screenshots
Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Good work, thank you
|
|
#3
|
|||
|
|||
|
Nice work. Thanks
|
|
#4
|
|||
|
|||
|
neat
|
|
#5
|
|||
|
|||
|
thanks .. good one
|
|
#6
|
|||
|
|||
|
NICE ONE!! installed
|
|
#7
|
|||
|
|||
|
who's info does it show?
the poster or the 1 looking at the post? |
|
#8
|
||||
|
||||
|
Any idea if this would only display to admin\mods only?
|
|
#9
|
||||
|
||||
|
This is the same code as above but, I added an if conditional around code.
This will only show it to admins (6) To add other usergroups add a comma after usergroup id, example: 1,2,3,4,5,6,7 Code:
<if condition="$post['usergroupid'] == 6">
<table cellpadding="6" cellspacing="1" class="tborder" border="0">
<tr><td class="alt2" align="left">
<script type="text/javascript">
document.write ("Browser: " + navigator.appName + "<br />");
document.write ("User Agent: " + navigator.userAgent + "<br />");
document.write ("Platform: " + navigator.platform + "<br />");
</script>
</td>
</tr>
</table>
</if>
|
|
#10
|
||||
|
||||
|
Cheers :up:
|
![]() |
|
|