Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
FAQ Community Calendar Today's Posts Search

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
  #42  
Old 02-24-2009, 12:46 PM
zelnik zelnik is offline
 
Join Date: Aug 2008
Posts: 374
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by UKBusinessLive View Post
Not that i know off You could use "Currancy" as a keyword, but that would just add currancy news as oppose to "Live" Rates

What you could used is a "Live" Currancy" News Ticker like this

Code:
<script src="http://www.forex-rates.biz/index.php?step=ticker_docwr&bgc=white&fntc=Blue&fsize=14px&ffam=Arial, Helvetica, sans-serif&width=100%&height=20px"></script>
add that to the end of your header
Thanks I'll give it a whirl!
Reply With Quote
  #43  
Old 02-25-2009, 10:59 AM
concepts's Avatar
concepts concepts is offline
 
Join Date: May 2005
Location: Woodland Hills, Ca
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by leenster View Post
i think you need to do it like this...

PHP Code:
executeList : ["Ford Mustang""Dodge Charger""Chevrolet Camaro""HipHop""Urban Fashion"
I will try this out and let you know, thankyou! *Crosses Fingers*

Reply With Quote
  #44  
Old 03-17-2009, 02:01 PM
cddw.ltd cddw.ltd is offline
 
Join Date: Aug 2004
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you place the bits between the <SCRIPT> tags just before your </BODY> tags at the end of the page, it prevents the small delay that appears when the "Loading...." div is created.
Reply With Quote
  #45  
Old 04-07-2009, 11:18 AM
Hachi Go Hachi Go is offline
 
Join Date: Oct 2008
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is anyone else having an issue with the search bar moving around on IE (but not Firefox)?

If you scroll the site in IE the News Bar floats down the site as you scroll down the page, but then it does return back to it's original position.

I have the code in my header template as well.

Here's the site too if you'd like to see for yourself: http://www.bengalsroar.com

Also did anyone ever figure out how to adjust the font color of the feed? It seems that if you remove the url for the gsearch.css and actually copy in the css text instead you can then alter the colors of everything except the feed portion. The feed portion is still being controled by the CSS color codes in the body css under "normal links css"

So is there a way around that?

Thanks in advance.
Reply With Quote
  #46  
Old 04-26-2009, 07:01 AM
Prisim Prisim is offline
 
Join Date: May 2008
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thankd dear...Successfully installed.
Reply With Quote
  #47  
Old 06-29-2009, 01:29 PM
ubcforums ubcforums is offline
 
Join Date: Apr 2009
Location: clouds
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks ..Installed :P
Reply With Quote
  #48  
Old 07-02-2009, 11:48 AM
nnStaff nnStaff is offline
 
Join Date: May 2009
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hachi Go View Post
Is anyone else having an issue with the search bar moving around on IE (but not Firefox)?

If you scroll the site in IE the News Bar floats down the site as you scroll down the page, but then it does return back to it's original position.

I have the code in my header template as well.

Here's the site too if you'd like to see for yourself: http://www.bengalsroar.com

Also did anyone ever figure out how to adjust the font color of the feed? It seems that if you remove the url for the gsearch.css and actually copy in the css text instead you can then alter the colors of everything except the feed portion. The feed portion is still being controled by the CSS color codes in the body css under "normal links css"

So is there a way around that?

Thanks in advance.
create a CSS ID for that span and call it -- it will override the forum's settings
Reply With Quote
  #49  
Old 07-21-2009, 04:17 PM
AdrianH AdrianH is offline
 
Join Date: Sep 2007
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like this but all the news is from the USA.......... not a lot of good for my UK site,is there a UK feed available?
Reply With Quote
  #50  
Old 07-21-2009, 05:57 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
I like this but all the news is from the USA.......... not a lot of good for my UK site,is there a UK feed available?
Hi Buddy

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, Not 100% sure but if you want to change the Default Business news to a different search result why don't you add "in UK" to the Search parameters

Like this

Code:
executeList : ["Business News in UK"]
So change the words within the brackets and save.

Let me know how you got on
Reply With Quote
  #51  
Old 07-22-2009, 11:28 AM
AdrianH AdrianH is offline
 
Join Date: Sep 2007
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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 05: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.04626 seconds
  • Memory Usage 2,341KB
  • 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
  • (4)bbcode_code
  • (1)bbcode_php
  • (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
  • (3)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