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
  #22  
Old 02-18-2009, 10:25 PM
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Location: Essex, United Kingdom
Posts: 1,637
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mark370 View Post
Nice Addition to our Site

Thanks
Cheers Mark
Reply With Quote
  #23  
Old 02-19-2009, 02:04 AM
scottny scottny is offline
 
Join Date: Nov 2008
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and working great.

thanks.
Reply With Quote
  #24  
Old 02-19-2009, 04:37 AM
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Location: Essex, United Kingdom
Posts: 1,637
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by scottny View Post
Installed and working great.

thanks.
Thanks
Reply With Quote
  #25  
Old 02-19-2009, 09:55 AM
Vinyljunky's Avatar
Vinyljunky Vinyljunky is offline
 
Join Date: Feb 2007
Posts: 383
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Be great if it interacted with Google Adsense
Reply With Quote
  #26  
Old 02-19-2009, 05:08 PM
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Location: Essex, United Kingdom
Posts: 1,637
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vinyljunky View Post
Be great if it interacted with Google Adsense
Knowing Google it will soon enough
Reply With Quote
  #27  
Old 02-21-2009, 11:00 AM
concepts's Avatar
concepts concepts is offline
 
Join Date: May 2005
Location: Woodland Hills, Ca
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question, my site revolves around a variety (HipHop News, Mustangs, Chargers, Camaro's for our car club) and Modeling News... this only allows for the entry of one search.. anyway to have it pull random news based on a variety entry?

ex..
PHP Code:
executeList : ["Ford Mustang, Dodge Charger, Chevrolet Camaro, HipHop, Urban Fashion"
Reply With Quote
  #28  
Old 02-21-2009, 03:01 PM
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Location: Essex, United Kingdom
Posts: 1,637
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by concepts View Post
Question, my site revolves around a variety (HipHop News, Mustangs, Chargers, Camaro's for our car club) and Modeling News... this only allows for the entry of one search.. anyway to have it pull random news based on a variety entry?

ex..
PHP Code:
executeList : ["Ford Mustang, Dodge Charger, Chevrolet Camaro, HipHop, Urban Fashion"
It should do, i'm not sure what the maximium amount of keywords you can use, This is a relatively new thing for google, I think you'll need to wait a bit longer to find out exactly what google intend on doing with this, have you tried with 2 or 3 and then try more to see if it works???
Reply With Quote
  #29  
Old 02-21-2009, 03:25 PM
concepts's Avatar
concepts concepts is offline
 
Join Date: May 2005
Location: Woodland Hills, Ca
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ill try it shortly.. lets hope it works! I did it once, then it pulled some generic news, I will try again though.
Reply With Quote
  #30  
Old 02-21-2009, 05:04 PM
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Location: Essex, United Kingdom
Posts: 1,637
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by concepts View Post
ill try it shortly.. lets hope it works! I did it once, then it pulled some generic news, I will try again though.
Thanks let me know how you got on
Reply With Quote
  #31  
Old 02-22-2009, 01:03 PM
Bmastro Bmastro is offline
 
Join Date: Jan 2009
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by UKBusinessLive View Post
Thanks let me know how you got on
You made a very nice job!
But I would like to open a new page to read the news (I don't want that my forum's visitors go away).
I know that I have to put this in the code:

/**
* open links in a new window
*/
options = {
linkTarget : GSearch.LINK_TARGET_BLANK
};


But I don't know where.
So what have I to do?

And also I tried to change the colour of the words, but nothing happened.
Maybe this is helpful to you:
http://www.google.com/uds/solutions/...ence.html#_css
BTW, the problem of the colour is not very important compared to the one of the "new" page.
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 07:43 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.09374 seconds
  • Memory Usage 2,336KB
  • 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
  • (1)bbcode_code
  • (2)bbcode_php
  • (6)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