How to install, setup and use News Script PHP Pro.
How to install the News Script PHP Pro
Terms to know before start:
- "CREATE DATABASE" - this means that you should enter your hosting control panel and find "DATABASES" section and then follow instructions how to create a database with its username and password.
- "UPLOAD" - this means that you should use your ftp client in the control panel of your website or any other ftp client like "FileZilla" to upload all the script files to the website.
- "INSTALL or INSTALLATION" - this means that you should run the installation wizard of the script in your browser and fill the database connection details(db host, username, password, database name), and also choose your username and password for entering admin area.
Before starting the installation you will need to create a database for the script. We will give you an example how to create a database with "cPanel" on your hosting control panel.:
- 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.
Once the database is created, then you should folow the next steps:
1) Unzip the .zip file received from us.
2) Upload all files onto your website in a folder(directory) of your script—for example—named "SCRIPTFOLDER" which is then placed in your root directory.
3) Open installation wizard
4) Installation wizard will ask you to complete the form below:
News Script PHP Pro installation
You will need:
5) After you select 'Install Script' you will see next screen:
News Script PHP Pro successfully installed
6) Click on the link - 'Login here', which will redirect you to the administrator login form.
How to use the News Script PHP Pro
Enter the Admin username and password (you set earlier):
News Script PHP Pro admin entrance
When you login, you will see the administration area -> News List(it is empty when it is first installed).
News Script PHP Pro admin homepage
Create News. To create a news story, go to the 'News' menu -> 'Create News'.
If you create categories (from menu 'Categories'->'Create Category'), you will be able to add the story to the particular category.
If you create additional Editors (from menu 'Editors'->'Create Editor'), you will be able to assign an author of the article.
If you check 'Top News' checkbox the news will appear in the Top News section.
If want to add the news to the slider, you should tick on the checkbox for the slider.
If you check 'Highlight News' checkbox the news will appear in highlighted background (the color of the background can be set in 'Option'->'Visual options').
Be certain to fill in the title, summary and content (within the text editor) fields.
You may also upload a photo and decide on its size and positioning.
You also are able to change the date and time of the news publishing.
Once you have uploaded news entries you can click the 'News Preview' button to see the live article as well as your top news list by selecting the 'Top News Preview' button.
News Script PHP Pro Create News
News List. You are able to see the news entries ordered by date published.
You can order the articles by title, date published, status, category, editor(author) and reviews.
You are also able to move the news to the archive section. The archive list is stored in a different database table.
Also, you can preview, edit and delete any news article.
News Script PHP Pro News LIst
News Comments. Here you are able to approve, edit or delete the news comments.
News Script PHP Pro Comments
News Editors. You can have unlimited number of news editors/writers/authors as well as option ('Options'->'Visual options'->'Show Author(Editor)') to show the news author under the news title.
You may also have a direct link to 'Editor Login'—which is identical as the admin login, but used for editors/writers/authors.
News Script PHP Pro Editors
Main Options. You can set the number of news articles per page that are shown on the main page.
You are able to choose 3 different ways to display the news listing on the main news page (Only Title, Title and Summary, and Full News).
You can limit the number of the top news articles in your TOP News Section as well as choose how to display the news.
You can the maximum number of the news in the slider.
Below you will see the field for the URL of the main news page. If this field is left blank and you click on the title of the news in the top news section - the article will be open in the same page where the top news section is placed.
If you fill the url to the all news page the Top news will be open for reading in the main news page.
There is also option to show/hide the search box.
One interesting option is "Show the news on the date published" - if this option is set to "Yes" and if you choose some future date, the news will appear when this date and time become. It will be hidden until then.
"Set the correct time zone" is for those who choose servers with different time zone. For example if you are located in London, but your webserver is located in New York, you should set "-5 hours", because New Your is 5 hours behind London in time zones comparison.
News Script PHP Pro News options
Comments Options. Be sure to set the administrator email address where you will receive the notifications for the new comments.
If the checkbox for 'Approval' is checked, new comments will be published only if they are approved.
You can set the order of the comments from the 'Comments order'.
Below you can choose "Type of the Captcha Verification Code". There are 4 choises for captchas: reCaptcha, Mathematical captcha, Simple captcha and Very Simple Captcha. The last one does not need GD Library installed in PHP on the server. If you choose reCaptcha, you can change the color theme - clean, red, white and blackglass.
With the next option you can turn off comments by default, when create news.
Also you have text field for banned words. The words must me comma separated (word1,word2,word3,…etc). The list of words are NOT case sensitive.
News Script PHP Pro Comments options
Visual Options. Visual Options TopNews.
Here you can set unlimited combinations of visual style of the main news page and top news section to suit your website layout.
News Script PHP Pro Visual options
Language Options. You can translate the news script front-end in your own language - 'Back' link, 'Read more' link, word 'Pages', 'No news published', system messages etc... Also there are 2 files in the script package named "language_admin.php" and "language_editor.php" where you can translate the admin area and editor/author area in your language.
News Script PHP Pro Language options
Put on Webpage. You can choose one of two ways to put the news, top news and archived on your website. Also here is the code to place the Slider on your webpage.
News Script PHP Pro put on web page
Copy the code for all the news, top news or archived news, go to your page and paste between <body>code</body> tags. If you choose the second install option you will need to put this line of code <?php session_start(); ?> at the top of the php page (first line).
The same is for Slider news, but you should use only php include method to place the slider on your webpage. Remember that if you place the slider on the webpage, you should also use the php include for all the news(not iframe), because there is no way to click on any news on the slider and to jump to the new page and read the article if you use iframe method. So, the php include is the recommended way to place the news on your website.
If you have any problems, please do not hesitate to contact us at