Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Display OS and Browser Information on Postbit Details »»
Display OS and Browser Information on Postbit
Version: 1.00, by Fighter1405 Fighter1405 is offline
Developer Last Online: Sep 2011 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.2 Rating:
Released: 07-28-2009 Last Update: 07-31-2009 Installs: 60
DB Changes Uses Plugins
Additional Files Is in Beta Stage  
No support by the author.

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

File Type: zip useragent.zip (22.6 KB, 549 views)
File Type: xml product-displayos(7).xml (7.2 KB, 411 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 07-29-2009, 02:57 PM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also I know that it isn't released yet but those using Win 7 shows the 98/nt/2000 icon win 7 will be the same as vista's icon I believe?
Reply With Quote
  #23  
Old 07-29-2009, 02:58 PM
1320Nation 1320Nation is offline
 
Join Date: Sep 2008
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still no luck...

Invalid SQL:
CREATE TABLE `board_browserosinfo` (
`postid` INT( 6 ) NOT NULL ,
`os` VARCHAR( 20 ) NOT NULL ,
`browser` VARCHAR( 20 ) NOT NULL
) ENGINE = MYISAM ;;

MySQL Error : Table 'board_browserosinfo' already exists
Error Number : 1050
Request Date : Wednesday, July 29th 2009 @ 12:56:05 PM
Error Date : Wednesday, July 29th 2009 @ 12:56:05 PM
Script : http://www.******.com/forums/admincp...=productimport
Referrer : http://www.*******.com/forums/adminc...?do=productadd
IP Address : ******
Username : *****
Classname : vB_Database
MySQL Version : 5.0.45
Reply With Quote
  #24  
Old 07-29-2009, 03:29 PM
Fighter1405 Fighter1405 is offline
 
Join Date: Jun 2009
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Charlie98902 View Post
Fighter1405

I did notice from the original plugin that if you use the quick reply it won't show the OS to you until you hit f5. Also the other thing I have noticed is that it doesn't update older posts. Can this be accomplished?
I'm afraid it can't be changed retrospectively as the none of the information has been saved for previous posts =/

Quote:
Originally Posted by Charlie98902 View Post
Also I know that it isn't released yet but those using Win 7 shows the 98/nt/2000 icon win 7 will be the same as vista's icon I believe?
I'll have a look into that

Quote:
Originally Posted by psychobike View Post
Still no luck...

Invalid SQL:
CREATE TABLE `board_browserosinfo` (
`postid` INT( 6 ) NOT NULL ,
`os` VARCHAR( 20 ) NOT NULL ,
`browser` VARCHAR( 20 ) NOT NULL
) ENGINE = MYISAM ;;

MySQL Error : Table 'board_browserosinfo' already exists
Error Number : 1050
Request Date : Wednesday, July 29th 2009 @ 12:56:05 PM
Error Date : Wednesday, July 29th 2009 @ 12:56:05 PM
Script : http://www.******.com/forums/admincp...=productimport
Referrer : http://www.*******.com/forums/adminc...?do=productadd
IP Address : ******
Username : *****
Classname : vB_Database
MySQL Version : 5.0.45
Did you install 4 then 5? That could explain that.
Reply With Quote
  #25  
Old 07-29-2009, 03:35 PM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
I did notice from the original plugin that if you use the quick reply it won't show the OS to you until you hit f5.
What about this?
Reply With Quote
  #26  
Old 07-29-2009, 03:45 PM
Fighter1405 Fighter1405 is offline
 
Join Date: Jun 2009
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Charlie98902 View Post
What about this?
That probably can be resolved, but it'll need a little figuring out. Users generally don't need to see their own OS and browser anyway, it is more for the benefit of other members
Reply With Quote
  #27  
Old 07-29-2009, 04:07 PM
1320Nation 1320Nation is offline
 
Join Date: Sep 2008
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Fighter1405 View Post
I'm afraid it can't be changed retrospectively as the none of the information has been saved for previous posts =/



I'll have a look into that



Did you install 4 then 5? That could explain that.
From what I can see the mod is not installing at all. When importing the product it stops and gives the error's I listed above.
Reply With Quote
  #28  
Old 07-29-2009, 04:17 PM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

v4 then v5 gave me database errors so I am using the original xml plugin and no errors.
Reply With Quote
  #29  
Old 07-29-2009, 04:20 PM
Fighter1405 Fighter1405 is offline
 
Join Date: Jun 2009
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by psychobike View Post
From what I can see the mod is not installing at all. When importing the product it stops and gives the error's I listed above.
My guess is that the first time you tried installing number 4 it did part of the installation and then failed, try using the attached file instead (sorry for all this).

Note: No one else should use this file, some of the installation code is missing from it.
Attached Files
File Type: xml product-displayos(5).xml (7.0 KB, 16 views)
Reply With Quote
  #30  
Old 07-29-2009, 04:25 PM
1320Nation 1320Nation is offline
 
Join Date: Sep 2008
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Fighter1405 View Post
My guess is that the first time you tried installing number 4 it did part of the installation and then failed, try using the attached file instead (sorry for all this).

Note: No one else should use this file, some of the installation code is missing from it.
That just crashed my board. [S]How do I uninstall it?[/S] I figured out the uninstall.
Reply With Quote
  #31  
Old 07-29-2009, 04:28 PM
Fighter1405 Fighter1405 is offline
 
Join Date: Jun 2009
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by psychobike View Post
That just crashed my board. How do I uninstall it?
That just crashed your board? I'm very sorry then, although I have no idea why. The standard uninstall function from the admincp should do it. Is the board giving any particular errors?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:48 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07117 seconds
  • Memory Usage 2,335KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete