How to install and use Simple Forum PHP
How to install Simple Forum PHP script?
Setting MySQL database
Simple Forum PHP require PHP 5.2 or newer and MySQL 5.0 or newer to run on your server - you can see the current version of PHP and MySQL in control panel of your website.
Before starting the installation you will need to create your database:
- Open the control panel(cpanel) of your hosting account.
- Find where to create MySQL database.
- When you create your database 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 Simple Forum 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 (named for example "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:
- Installation wizard 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, Calendar 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
5) After you select 'Install Script' you will see next screen:
6) Click on the link - 'Login here', which will redirect you to the administrator login form.
How to use the Simple Forum PHP
Enter Admin username and password that you set earlier
When you login, you will see the landing administration page. Here will be listed all the submitted topics, so you as an admin will be able to preview and approve/edit/delete them.
Options. Now you need to set the forum options.
Go to Options -> Admin options and fill the administrator email. All notifications for new topics or replies will be send to this email.
Then you can choose the captcha image. There are 5 choices - reCaptcha(the most secured), Mathematical captcha, Simple Captcha, Very Simple Captcha, and No Captcha(without captcha verification code).
There is one option that is relevant to RSS "URL of the page where you placed the forum on your website" - you should copy the code of the page where you placed the forum and paste it into this text field.
If there is a time offset between your time zone and time zone of the server you could set the time zone you wish in "Set Default Time Zone" option.
Below you can see 3 choices for emails. First is for email notification for the person who posted the topic and this topic is approved by admin. Second email notification is for the same person, but when someone replies on its topic. The third email notification option is for those who post replies to the topics and their replies are approved by admin.
Go to Options -> Topic/Reply options where you can choose whether to approve the uploaded topics and replies or they automatically to be posted.
Below are the replies order - new replies on the top or new replies at the bottom.
"Number of topics per page" - you could choose how much topics per page to be listed.
"Use Icon/Avatar on Topics/Replies" - choose whether or not to use Icons(Avatars) in the forum
Next option is the width in pixels of the Icon(Avatar) image for topics and replies.
You have also option to use the default icon, if not uploaded - just set "yes" on Show sample icon option.
Allowable HTML tags are the html tags that are allowed when the visitor write the topic or reply message. I have added this option just to stop malevolent persons for unwanted formatting.
Banned words option is also to prevent the forum from unwanted topics or replies - just add bad words like - viagra, cialis, pills etc... separated by comma and topics and replies with these words will not be saved.
Go to Options -> Visual options and tweak the css visual style to fit the design of the page on your website. Here you can adjust font-family, font-size, font-color, background-color, forum width, font-weight of all the front end of the forum. Here are also the date and time formatting options.
Go to Options -> Language options and translate each word or sentence in to your language. Simple Forum PHP support any UTF-8 language.
There are two easy ways to put the forum script on your website –either iframe or php include(). I recommend you to use iframe embedding for .html or .htm pages and php include for .php pages. Just copy one of these codes and paste into the html code on the page where you want forum to appear. Don't forget if you use php include method to copy and paste the session_start() code on the very top of the page, above the html code.
Once the forum is placed on your website you could create categories in admin area -> Categories -> Create Category. Also you are able to edit or delete categories at the later stage. Once categories are created, they will appear above the forum on the front-end as a drop-down menu, so your visitors will be able to submit topics in different areas. The list of categories in admin area will look like this:
If the "Approve" option(in Topic/Reply options) is checked, then admin will be able to preview replies before decide to approve or delete replies:
I hope this help is useful for you to install, setup and use Simple Forum PHP correctly, but if you have problems you can just contact on email@example.com