Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications

Reply
 
Thread Tools
UKBL ~ Ajax Google News Bar on ForumHome Details »»
UKBL ~ Ajax Google News Bar on ForumHome
Version: 1.00, by UKBusinessLive UKBusinessLive is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.8.1 Rating:
Released: 02-17-2009 Last Update: Never Installs: 38
Template Edits
Re-useable Code  
No support by the author.

UKBL ~ Ajax Google News Bar on ForumHome



Heres another Great Google addition for your Site, A customised Google News bar, Sits quitely under your Navbar and updates with your chosen news type.




This is really easy to edit and upload to your site.

First of all Download the Code in the Zip File, Open in a text editor, Notepads fine, and ...

and Find

Code:
executeList : ["Business News"]
Change the word "Business News" with any other search term associated with your site, so if your site is a Parenting Site, then you would add words associated with that.

So change the words within the brackets and save.

Then Copy and paste the entire code to the very end of your Header Template, or anywhere else on your forum.

Click Install if you use

Download Now

File Type: zip googlenews.zip (52.7 KB, 257 views)

Screenshots

File Type: jpg google-logo1.jpg (30.7 KB, 0 views)
File Type: jpg google news.jpg (35.5 KB, 0 views)

Show Your Support

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

Comments
  #52  
Old 07-22-2009, 05:00 PM
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Location: Essex, United Kingdom
Posts: 1,637
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CareyCrew View Post
Thanks, I tried that and it worked to a point,however I have had complaints about the terrible lag on the forum since adding this code.

Pages take forever to load while waiting for the newsbar to load up, remove the Google code and problem is gone. We are on our own fast server and have no issues otherwise.
Strange, i've heard it take a few seconds to collect the data, But i didn't think it would effect the forums, How about you add the newsbar on a blank HTML page in your forum root and show it on your site via an i-frame, Then the forum should load correctly and google new bar when it does in its own time

Just a thought, It'll depend if you feel the newsbar is benificial to your forums or not to do the extra work??

Reply With Quote
  #53  
Old 08-16-2009, 08:01 AM
zelnik zelnik is offline
 
Join Date: Aug 2008
Posts: 374
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi UKBL,

Great mod I have finally had the time to try it out but unfortunately it's next to useless or my the news feed I require "Spain News" tried lots of different keywords and it just shows up 3 outdated bits of news.

What I find strange about that is the google news rss feed for the same keyword has loads of the latest news!

Is there anyway of adapting this to use with an RSS Feed?

Thanks.
Reply With Quote
  #54  
Old 08-22-2009, 02:52 AM
dadoc's Avatar
dadoc dadoc is offline
 
Join Date: Apr 2008
Location: Australia
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod thanks,

It works very well, I want it to display on my main/index page only?
what template should I add it to? or is a code change that I can do to have it only display on that page only?
Reply With Quote
  #55  
Old 09-03-2009, 09:16 AM
dadoc's Avatar
dadoc dadoc is offline
 
Join Date: Apr 2008
Location: Australia
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would also be interested if it could work with RSS feeds?
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 06:36 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.07271 seconds
  • Memory Usage 2,271KB
  • Queries Executed 22 (?)
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
  • (1)bbcode_code
  • (1)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
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (3)postbit_attachment
  • (5)postbit_onlinestatus
  • (5)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_postinfo_query
  • fetch_postinfo
  • 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