Simple Blog PHP HELP
How to install Simple Blog PHP? How to use Simple Blog PHP script admin? Setup css style, setting language, comments options. How to put on web page.
How to install Simple Blog PHP?
Set up MySQL database
Simple Blog PHP require PHP 5.3 or higher version and MySQL 5.0 or higher version 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 wizard of the script you will need to create a database for the script:
- Open the Control Panel(CPanel, Plesk or any other) of your hosting account.
- Find the Databases section, where you will create a 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 a database – ask your web hosting company – normally they provide 24h email, phone or chat free support. Also, you may send us an email request and we will create database and install the script on your website.
Unzip or unrar, upload and install Simple Blog PHP
- 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.
- Next, upload all files to your website. You can either upload the complete folder (for example named “SCRIPTFOLDER”) or you can upload all the files individually to a folder you created in the root directory of your website.
- Next step is to run the installation file:
- * note that, you should replace “YOURDOMAIN” with your real domain name and “SCRIPTFOLDER” with the folder you created into the root of your website.
- On your screen will appear the Installation wizard and will ask you to complete the form below:
– This information is what you saved when creating your database:
- MySQL server name which is usualy ‘localhost’
- MySQL username – when you create a database you need to assign minimum one user
- MySQL password – this is the password of the user assigned to database
- Server path to script directory, Full URL to script directory, script directory name – they will appear automatically. You can change if they are different – usually on windows web server.
- Admin Username – this will be your username for the protected administrator pages
- Admin Password – this will be your password for the protected administrator pages
* note, that sometimes the servers does not send correct information about the version of MySQL and a message “Server version of MySQL is not ok!” might appear. The minimum requirements of MySQL for all of our scripts is version 3.0, so if you already created a MySQL database – go ahead and install the script.– Click on ‘Install Script’ button and if all the database details are correct, you will see intermediate screen with message “Script successfully installed” and a link to the admin login form “Login here”:
– Once you click on the link ‘Login here’, you will be redirect you to the administrator login form.
How to use the Simple Blog PHP script admin?
First you need to enter Admin username and password (you set earlier):
When you login, you will see the administration area(the list of posts will be empty after inicial installation):
You could first go to ‘Options’ menu -> ‘Admin options‘ and set Administrator options like Administrator email where all new comments notification emails will be sent. You can also set the number of entries per page. Choose whether to show search box or hide it. You could also hide or show the share buttons for social media websites. It is good to set the page where you intend to place the front-end of the blog on your website with the option “URL of the page where you placed the blog on your website”. If your time zone is different than your webserver you could use the option “Set Default Time Zone”:
After setting the administration options you should click on ‘Put on WebPage‘ admin menu button and choose one of two ways to put the blog on your website.
Then copy the code, go to your page and paste between <body>code</body> tags. If you choose second install option you should put this line of code <?php session_start(); ?> at the top of the php page (first line). Also, if you choose the second install option(with php include) you could copy code for the meta title and meta description and paste into <head> section of the html code on your webpage, it will automatically generate meta title and description for searching engines from the title and post text.Then go to blog admin page Posts->New Post page and publish a sample post with status “Posted” and “Allow comments posting” checked. It will be good if you create categories before adding a new post:
Go to your page where the blog is placed and see how it looks. Then leave a sample comment:
Next, go back to the admin page ‘Options’ menu -> ‘Visual options‘ where you can pre-define the visual(CSS) style of the blog front-end. From here you may show/hide search box, CATEGORIES, RECENT POSTS, ARCHIVES, A+/a-, dates and times, “Scrol to top” button and some other elements:
There is a special section for the visual(css) style of the comments, where you are able to change fonts, colors and other styles for comments and comment form:
You can translate the blog front-end in your own language or change the words in the way you wish. In case you decide to use meta tags feature from Admin area -> “Installation” page, you may edit the default meta tags for the blog page from here.
If you want to translate admin area – there is a language file in the script pack named “language_admin.php” – just open it and change any word/sentence you wish:
As you will find you have several options available in which you can alter the visual appearance of your blog:
*You can set the number of characters that will appear on each post of the homepage;
*Set the approve option – admin approve comments before having them listed;
*”Turn off comments by default when create a new post” option mean that if you set to “yes”, then when create new post, the comments on that comment will be turned off. Of course are able to turn it on at a later stage;
*Set comments order – descending or ascending;
*Change the type of the captcha image or remove captcha verification;
*You may even create a list of banned words – Example: word1, word2, word3. So, if some ill-wisher add some comment with any of these words, comment could not be submitted.
*There is a list of banned IP-addresses, just in case you want to bann some person;
Also, if don’t find answer your question, please refer our FAQ section.
© Simple PHP Scripts is registered trade mark. All Rights Reserved. This website provides php scripts, support and information.