Simple PHP Scripts Logo
 

How to install and use News Script PHP

How to install the News Script PHP?

Setting MySQL database

News Script PHP requires PHP 5.2 or higher and MySQL 5.0 or higher to run on your server - you can see the current version of PHP and MySQL in the control panel of your website.
Before starting the installation you will need to create a database for the script:
- Open the control panel(cpanel) of your hosting account;
- Find where to create MySQL database;
- Durring database creation you will need to supply a Database name, Database user and Database password. You will aslo need to know the database server name — usually 'localhost'. Save all these details on your local machine for future reference on something such as Notepad;
- If you use your hosting account's 'CPanel' to create your database you must set Privileges to ALL for the Database user;
- If you have problems with creating database - ask your web hosting company - normally they provide 24h email, phone or chat free support.
Unzip or unrar, upload and install News Script PHP
1) Unzip the .zip file received from us. You can use programs such as Winzip, Winrar, or Stuffit Expander (Mac). They have all have trial versions.
2) Upload all files onto your website either in your root directory or in a folder(directory) of your script — for example — named "SCRIPTFOLDER" which is then placed in your root directory.
3) Open http://www.YOURDOMAIN.com/SCRIPTFOLDER/installation.php.
4) Installation wizard will ask you to complete the form below:
News Script PHP Installation
This information is what you saved when creating your database:
5) After you select 'Install Script' you will see next screen:
News Script PHP successfully installed
6) Click on the link - 'Login here', which will redirect you to the administrator login form.

How to use News Script PHP administration

Enter Admin Username and Admin Password (you set earlier)
News Script PHP admin login form
When you login, you will see the administration page(it is empty after inicial installation).
News Script PHP admin homepage
First, go to 'Put on Webpage' page and copy one of two codes. Then go to your page(file) and paste the code between <body>code</body> tags. Second code(with php include) is searching engines friendly, as you could see there is a code for the meta title and meta description. If you copy and paste the meta tags code into <head> section of the html code on your webpage, it will automatically generate meta title and description for searchin engines from the title and summary of the article.
How to put News Script PHP on your web page
Next, create a few sample news articles to see how it will appear on your news page. Go to 'News' button in administration and then hit 'Create News' Button. If you create categories (from menu 'Categories'->'Create Category'), you will be able to add the article to particular category. Then insert Title, Summary, Content of the article, upload image if you like, and image caption, set image location and image width. Hit button 'Create News'. It is just as simple to create additional news articles and to view how they will appear on your live website.
Create some sample news
Then, go to the 'Options' section on admin page, and on 'Visual options' you can pre-define the visual style of the script front-end. From here you can completely change the way your news articles will appear. Note that you should click on the caption to open the particular style.
News Script PHP visual options
In 'Main options' you could set the number of news articles per page as well as choose between three options to display the news in the listing - Only Titles, Titles and Summary and Full News.
It is recommended to fill 'URL of the page where you placed the news' field - this is the page where you pasted the code from 'Put on WebPage'.
Also, you could show or hide the search box from the front-end.
There is option to show/hide categories drop-down menu.
Then next option "Show the news on the date published" - if you choose "yes", the news will be hidden until the datetime of date publishing the news. This date is editable in admin area.
If your webserver is on different time zone than your location, you may set your Default Time Zone.
Admin News Options
In 'Language options' you can translate all the words and sentences in your language. Also you may translate months and days of the week for the news dates. If you decide to use meta tags(copy and paste php include code for meta tags form "Put on WebPage") for the news, you should set the default meta tags here. Once the visitor click on any article, these meta title and description will be replaced with meta title and descrioption automatically generated from the article.
News Admin Language options
If you have any problems, please do not hesitate to contact us at info@simplephpscripts.com.
LATEST SCRIPTS RELEASES:
Simple Blog PHP v2.1
Jun, 2017 (minor update)
FAQ Script PHP v2.1
April, 2017 (minor update)
Memorial Inscriptions PHP v1.0
April, 2017 (new release)
Slideshow Script PHP v1.2
April, 2017 (minor update)
Guestbook Script PHP v2.0
March, 2017 (major update)
News Script PHP Pro v2.0
March, 2017 (major update)
Event Script PHP v1.5
Feb, 2017 (minor update)
Event Calendar PHP v1.6
Feb, 2017 (minor update)
Classified Ads Script PHP v1.5
Jan, 2017 (minor update)
Photo Gallery PHP v1.2
Dec, 2016 (minor update)