Wall Script The Social Network Script Blog: How to Install Wall Script 8 and Wall API

Tuesday, March 1, 2016

How to Install Wall Script 8 and Wall API

Wall Script 8 is fully responsive for desktop, tablet and smart phones. If you are already a WALL SCRIPT user(people who have bought the Wall Script 8), please follow the installation steps.

Step 1
Extract wallscript.zip into htdocs or www folder using Winzip software.

Step 2
Create a database(MySQL Recommended) with name wallscript. Find wallscript.sql in extracted wallscript folder and import it to the created database using PhpMyAdmin or MySQL query browser.

Step 3
Database configuration settings.

config.php
You have to modify Host, Username, Password and Database.
<?php

define('DB_SERVER', 'Host');
define('DB_USERNAME', 'Username');
define('DB_PASSWORD', 'Password');
define('DB_DATABASE', 'Database');
define('BASE_URL', 'http://www.yourwebsite.com/');
define('API_BASE_URL', 'http://www.yourwebsite.com/wallscript/');
define('UPLOAD_PATH', 'uploads/');

....
....
....


/*SMTP Details for Email Alerts */
define("SMTP_CONNECTION", "1"); // On "1" Off "0"
define("SMTP_USERNAME", "SMTP Username");
define("SMTP_PASSWORD", "SMTP Password");
define("SMTP_HOST", "SMTP Host Name");
define("SMTP_PORT", "SMTP Port");
define("SMTP_FROM_EMAIL", "[email protected]"); //Your website support email.
define("SMTP_FROM_TITLE", "Your Website Support Name"); //eg: Support Website Name

?>

Localhost
define('BASE_URL', 'http://localhost/wallscript/');
define('API_BASE_URL', 'http://localhost/wallscript/');

Hosted with Domain
define('BASE_URL', 'http://www.yourwebsite.com/');
define('API_BASE_URL', 'http://www.yourwebsite.com/wallscript/');

Step 4
Enable Curl, Mod Rewrite and GD extensions for PHP.

Curl: Expanding and OEmbed URLs suppot.
Mod Rewrite: Friendly URLs and .htaccess support
GD: Image processing

Step 5
Give read and write permission to the uploads folder, I recommend use XAMPP server.
sudo chmod -R 777 uploads

Step 6
.htaccess for root folder htdocs or www
RewriteEngine On

RewriteCond %{HTTP_HOST} ^youwebsite.com
RewriteRule (.*) http://www.yourwebsite.com/$1 [R=301,L]

RewriteCond %{HTTP_HOST} ^www\.yourwebsite\.com$
RewriteCond %{REQUEST_URI} !^/wallscript/
RewriteRule (.*) /wallscript/$1

Social OAuth Login

OAuth Login configuration setups for Facebook, Google, Microsoft and Linkedin
OAuth Login Social Applications Configuration Guide

For installation follow this link.
OAuth Login Installation Steps

Note: No need to import tables for OAuth login.


Redirection issues

if you face any redirection issues, just enable following function in config.php
ob_start("ob_gzhandler");
.....
.....
.....


Follow this tutorial, if you face any .htaccess issues.
Configure .htaccess inside folder.

Apache Support for Htaccess

You have to install the following modules for Apache.
a2enmod rewrite
a2enmod rewrite headers




MultiViews .htaccess Access

If you face any problem with multi view access, include following line in .htaccess file.
Eg URL: http://www.yourwesbite.com/messages/srinivas
Options +Indexes +FollowSymLinks -MultiViews
Options +FollowSymlinks
RewriteEngine On


Installation Video

No comments:

Post a Comment