News Ticker
-
What is News Ticker
This News Ticker script Allows you to display your news in a scrolling box. It is probably the most configurable news ticker script available on the net today. It can be changed in many ways from a simple single line news ticker with no border all the way up to a large box that can show many lines at the same time. Naturally the text will pause its' scrolling effect when your place your mouse on it.
It is also very easy to make it show clickable links, images or anything else you want. Providing you can code it in HTML you can scroll it as part of your news ticker. You can also change the font size and color as well as the complete layout and everything is controlled via a simple configuration file. You can even have multiple instances of the same script running on the same page so you can have it show a single line news ticker in one place and a left hand box in another.
[Back to top] -
What are the requirements for News Ticker
News Ticker only requires that you have a PHP enabled web server.
[Back to top] -
How do I set up News Ticker
Installing the news ticker is straightforward.
(1) Unzip the distribution file to your local PC.
(2) Create a directory on your web server and call it anything you like.
(3) Upload codelock.php config.php and ticker.php to the directory you just created.
(4) Chmod the directory to 777.
(5) Edit the config.php file to suit your needs using notepad or something similar and save the file back to the server (a full explanation of the variables is given below).
(6) Include ticker.php in the page where you want it to appear. To do this use the lines below:
< ?php
include('http://www.yoursite.com/directoryname/ticker.php');
?>
(7) That's all.
[Back to top] -
I get an open_basedir restriction in effect error message
If you receive this error message (or something similar that talks about open_basedir restrictions in effect):
Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/lib/php4/php/language/lang-.php) is not within the allowed path(s): (/home/http/vhost/yourdomain.com/httpdocs)
Then your hosts have set some restrictions on your server. Most hosts will be happy to turn off this restriction to allow the script to run. Contact your hosts, inform them of the error message you are receiving and request that they remove open basedir restrictions.
[Back to top] -
I get error messages when I use the script
If the error messages you get look something like this:
Warning: main(../ticker/ticker.php) [function.main]: failed to create stream: Operation not permitted in /home/httpd/vhosts/yourhost.com/httpdocs/index.php on line 23
Warning: main() [function.main]: Failed opening '../ticker/ticker.php' for inclusion (include_path='.:/usr/php4/php') in /home/httpd/vhosts/yourhost.com/httpdocs/index.php on line 23
Then the answer is to change the include path on your pages from "include('../your_ticker_directory/ticker.php');" to
"include('http://www.yoursite.com/your_ticker_directory/ticker.php');
[Back to top] -
I get a parse error when I try to add a hyperlink
This is because the quotes have been changed in the config.php file for the $news variable.
Download the config.php file from your server and open it with notepad. Look at the $news variable line. Does it start with news$ = 'something or $news ="something?
If it starts with a single quote, change the first and last quotes to a double quote so it looks like this:
$news = "<a href='http://somewhere.com' target='_new'>Link Text Here</a> This is where the news will appear";
Notice how the quotes have been changed to double quotes at the start and end of the line but also notice that the quotes inside the double quotes that define the link are single quotes!
It is already commented in the admin panel but, if you are using the admin panel in the version of the script that has the link removed, you cannot add links using the admin panel. You need to edit the config.php file as described above.
[Back to top] -
How can I remove the link to Liquid Frog from the script
This is a free script, as such it generates no income for us. In addition, we have to bear the costs associated with download of the script in terms of bandwidth and ongoing development and all our free scripts are very popular with our site visitors meaning a lot of bandwidth!
We use the link included with the script to generate traffic to this site in the hope that people will purchase one of our paid for scripts or some of our software. Whilst we would love to give away our scripts and not have a link, economic realities dictate otherwise. We give you the script for free - you return that by sending us traffic, we consider this a fair exchange.
If the link spoils the look of your site or you really don't want the link, you can pay a small fee to have it removed. We charge just $7.99 for removal of the link and you can find instructions on how to do this in the Readme.htm file that comes with the script.
[Back to top] -
Can I suggest a way to improve this script
Yes of course. We actively encourage users of our software and scripts to suggest improvements so that they can be developed still further. To make a suggestion please use the contact form on the site and send your comments to feedback.
[Back to top] -
My question wasn't answered in these Faq's. What now
Even though we do not provide support for our free scripts, if you have a problem that doesn't appear in these Faq's, you may email support.
Please include as much detail as possible about the problem and try to indicate under what circumstances the problem occurs. Please also tell us as much about your server as you can such as the version of PHP and MySQL it is running etc.
We want to provide as much help as possible to end users via these Faq's and, if your problem is not already listed you could also help others as well as yourself by requesting support.
Any replies we make to your problem will be mailed directly to you and included in these Faq's for others
[Back to top]
Powered by ODFaq v2.1.0
|