Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Cel Update your Browser Nagger (unobtrusive) Details »»
Cel Update your Browser Nagger (unobtrusive)
Version: 4.0.002, by cellarius cellarius is offline
Developer Last Online: Apr 2022 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.0.x Rating:
Released: 03-31-2010 Last Update: 04-02-2010 Installs: 44
Uses Plugins Auto-Templates
 
No support by the author.

.
This modification also works with vB3
(probably all versions > 3.5)


Oh, all that discussions on vbulletin.com and elsewhere whether vB4 should support IE6 or not... now, while I think it should, because still a significant part of the userbase uses it, there's nothing against giving those users a friendly little hint.


What does this mod do?


Its quite simple, really - it just adds the code to show a small friendly notification bar at the top of the browsing area (like most browsers use). It will remind the user that he's using a rather old browser and should upgrade.

To do this, this mod inserts code provided by

http://browserupdate.org



which gets added to the footer template right before the closing </body> tag. The javascript provided by browserupdate.org can be found at http://browser-update.org/update.js


Which browsers are nagged?


At the moment, the popup shows for the users of Internet Expolorer <= 6, Firefox <= 2.0, Opera <= 10.01, Safari <= 2.0 (April 2010). This will be adapted by the provider from time to time. If you want to change this, please read under customization.


Language?

The bar detects the browser default language; if there's a translation, it will be used. If not, it's english, or you can force another language or use your own text (the latter seems not to work atm). Please see the next topic on customization. Available languages atm are en - de - it - es - pl - nl. If you want to post a translation here in the thread, I'll try and pass it on to browserupdate.org. The text is:
Quote:
Your browser ($browser $version) is out of date. It has known security flaws and may not display all features of this and other websites. Learn how to update your browser



Customization?


Yes, possible - but not supported in any way in this thread. Anyway, for easier appliance you can find the possible settings for parameters to pass to the javascript in AdminCP under the settings page for this mod. See screenshot. For details on customization options, see this page. Please note that the option to use custom text is not yet implemented properly, I have mailed the people at browserupdate.org and filed a bug there.

You also can style the bar differently, if you want to. The necessary css-classes are also on the page linked above. I'd advise to put them into additional.css, if needed.


Suppoort on customization?

Sorry, If you want to customize the bar, you're on your own. It's not my code, this mod only provides the means to add it easily.


Version history

4.0.002 Added AdminCP settings to pass parameters to the javascript easily
4.0.001 Initial release


### Don't forget to click install! ###
(No support if you don't)

Download Now

File Type: xml product-cel_update_browser_4-0-002.xml (6.5 KB, 188 views)

Screenshots

File Type: png en.png (26.8 KB, 0 views)
File Type: png admincp.png (75.5 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 04-01-2010, 01:16 PM
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Location: D - S?dbaden
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice thank you!
Reply With Quote
  #3  
Old 04-01-2010, 01:50 PM
w-elbalad.com's Avatar
w-elbalad.com w-elbalad.com is offline
 
Join Date: Aug 2009
Location: EgYpT
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice work
thank U
Reply With Quote
  #4  
Old 04-01-2010, 05:11 PM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for your feedback

(And thanks to that person voting every mod around down without leaving a comment - very mature, coward).
Reply With Quote
  #5  
Old 04-01-2010, 06:59 PM
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
Senior Member
 
Join Date: Jan 2002
Location: Southern California
Posts: 1,694
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Heya... Just want to say nice addon. Just have a question though. This is the English version correct? I know you do both but the screenshot is in German.
Reply With Quote
  #6  
Old 04-01-2010, 08:32 PM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wayne Luke View Post
Heya... Just want to say nice addon.
Hi Wayne, thanks Not much to it, tho

Quote:
Just have a question though. This is the English version correct? I know you do both but the screenshot is in German.
Theres several languages provided for, and it detects the language the browser uses (mine uses german ). So for you or your users it should be english or whatever they use. You also can force a language by adding parameters to the javascript code in the plugin, as described in the link I provided under customization.
Reply With Quote
  #7  
Old 04-02-2010, 04:17 AM
Candostum Candostum is offline
 
Join Date: Feb 2009
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks nice addon. installed.
Reply With Quote
  #8  
Old 04-03-2010, 10:47 AM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed

there are no Arabic

thanxx mate
Reply With Quote
  #9  
Old 04-03-2010, 11:14 AM
Big-Pete Big-Pete is offline
 
Join Date: May 2009
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice.. I just installed this and now i get an error message saying
Quote:
Stack overflow at line 95
Any idea what may cause this??

Im running vb402.PL4
Reply With Quote
  #10  
Old 04-03-2010, 01:19 PM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated to 4.0.002 which now has an AdminCP section to pass parameters to the javascript.

I also edited mod description, especially on available languages and translations, and added two new screenshots.
Reply With Quote
Reply


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 01:07 PM.


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.08277 seconds
  • Memory Usage 2,322KB
  • Queries Executed 24 (?)
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
  • (4)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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