![]() |
UKBL ~ Ajax Google News Bar on ForumHome
1 Attachment(s)
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. https://vborg.vbsupport.ru/external/2009/02/56.png 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"] 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 ;) |
how do you change the test color? It's dark blue and can barely be seen on my black background?
|
Quote:
Code:
<span style="color:#676767;font-size:11px;margin:10px;padding:4px;">Loading...</span> Code:
#676767 |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Thanks for this im using it now.It is located below my navigation.
|
Quote:
|
how often do the feeds change? Still seeing the same ones over and over.
|
Quote:
|
it'll be nice if it can generate revenue:D and can we change the news to something other then Business News?
|
Quote:
First of all Download the Code in the Zip File, Open in a text editor, Notepads fine, and ... and Find Code:
executeList : ["Business News"] So change the words within the brackets and save. |
Quote:
you have the coolest stuff...by far! Keep em coming. |
In case anyone is interested, from a css color schema point of view.
Download nattywares pixie. Its invaluable when choosing hex colours. etc. http://nattyware.com/pixie.php Its free too |
*********************************
Could a new template be created called say : googlenewsbar and a call to this from designated templated , using $googlenewsbar ? Not sure if its dooable> I see it done for navbar header etc Could make code easier to control |
nice work...
|
Quote:
|
Quote:
Have a bash by all means buddy :cool: |
Nice Addition to our Site :)
Thanks |
Quote:
|
Installed and working great.
thanks. |
Quote:
|
Be great if it interacted with Google Adsense :D
|
Quote:
|
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:
|
Quote:
|
ill try it shortly.. lets hope it works! I did it once, then it pulled some generic news, I will try again though.
|
Quote:
|
Quote:
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? :confused: 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. |
Quote:
if you want to make any changes to the basic code you need to register with Google for your Own API key http://code.google.com/apis/ajaxsearch/signup.html Then you can adapt and modify the code to your own needs ;) |
How can you get the links from the newsfeed to open in a new window ?
|
Quote:
|
Now I have the API key, but I don't know where to type it in your code :confused:
|
Quote:
PHP Code:
|
Quote:
PHP Code:
PHP Code:
worked for me :) |
Quote:
Great!!! |
Just to let you know, you can do without this code:
Code:
// The Following div element will end up holding the actual newsbar. |
Great mod but is there anyway of adapting it for a live currency rate?
|
Quote:
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> |
All times are GMT. The time now is 05:23 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|