The Arcive of vBulletin Modifications Site. |
|
Display OS and Browser Information on Postbit Details »»
|
|||||||||||||||||||||||||||||||
|
Display OS and Browser Information on Postbit
Developer Last Online: Sep 2011
Hey all,
First plugin, so I hope I'm doing this right! As requested here, it'll display a small icon for both the users operating system and browser on the postbit. Install steps: 1. Upload the Product 2. upload icon images for each os/browser to images/useragent in the form icon_(browser/os).gif - Sample Icons attached Thanks to this mybb mod for the sample images and some of the browser detection code. Screenshot: ![]() Thanks and let me know if you have any problems! Download Now
Show Your Support
|
|||||||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Nice for a first modification
I'd suggest the following change so it doesn't clash/break other mods:Code:
$hook_query_joins = "LEFT JOIN " . TABLE_PREFIX . "postinfo AS postinfo ON (post.postid=postinfo.postid)"; $hook_query_fields = ", postinfo.browser AS browser, postinfo.OS as OS"; Code:
$hook_query_joins .= "LEFT JOIN " . TABLE_PREFIX . "postinfo AS postinfo ON (post.postid=postinfo.postid)"; $hook_query_fields .= ", postinfo.browser AS browser, postinfo.OS as OS";
|
|
#3
|
|||
|
|||
|
Thanks for the feedback
I made the change you suggested, makes sense to me
|
|
#4
|
||||
|
||||
|
Thanks to all
|
|
#5
|
|||
|
|||
|
Nice mod...but how many queries will this add?
|
|
#6
|
||||
|
||||
|
Work not for me.
Show not icon_(browser/os).gif |
|
#7
|
|||
|
|||
|
Looks like it will add a single query when a post is created.
|
|
#8
|
|||
|
|||
|
hey nice feature,
but is there a chance to get the possebility for users to turn on/off these icons? |
|
#9
|
|||
|
|||
|
Not working here even, Please give proper instruction, where to upload!
|
|
#10
|
|||
|
|||
|
Quote:
That is correct, it loads the information back through the use of a left join so no extra queries are needed on showthread. You'd like it turned off on a post by post basis or for the user to set it globally on the UCP? |
![]() |
|
|