Social Networks

When you login into the Facebook you land on wall page, I am sure you love the Facebook wall. Its lovely interface and very easy to interact with the people. Yepinol Wall Script is the Facebook +  Google plus style wall which you can download free and its very easy to implement into the WordPress or any PHP sites. The script is very easy to install, take a quick look.

WORKING DEMO

FREE DOWNLOAD YEPINOL WALL SCRIPT

STEP 1:

The download script contains two folders called MySQL and Waal.MySQL folder contains DB script, you can run script in the existing database or you can create new database with name “wallscript” and run the script. This DB script will create 4 tables as below.

1) Members
2) Facebook Post
3) Facebook Post Comments
4) Facebook Like Tracks

Table “facebook_likes_track”

CREATE TABLE IF NOT EXISTS `facebook_likes_track` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `post_id` int(11) NOT NULL,
  `comment_id` int(11) NOT NULL,
  `member_id` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

Table “facebook_posts”

CREATE TABLE IF NOT EXISTS `facebook_posts` (
  `p_id` int(11) NOT NULL AUTO_INCREMENT,
  `post` text NOT NULL,
  `type` varchar(55) NOT NULL,
  `value` int(11) NOT NULL,
  `date_created` int(11) NOT NULL,
  `userid` int(11) NOT NULL,
  `posted_by` int(11) NOT NULL,
  `likes` int(11) NOT NULL,
  `media` int(11) NOT NULL,
  `uip` varchar(222) NOT NULL,
  `title` varchar(255) NOT NULL,
  `description` text NOT NULL,
  `url` text NOT NULL,
  `cur_image` text NOT NULL,
  `post_type` tinyint(1) NOT NULL,
  PRIMARY KEY (`p_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

Table “facebook_posts_comments”

CREATE TABLE IF NOT EXISTS `facebook_posts_comments` (
  `c_id` int(11) NOT NULL AUTO_INCREMENT,
  `userid` int(11) NOT NULL,
  `comments` text NOT NULL,
  `date_created` int(11) NOT NULL,
  `post_id` int(11) NOT NULL,
  `clikes` int(11) NOT NULL,
  `uip` varchar(222) NOT NULL,
  PRIMARY KEY (`c_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

Table “member”

CREATE TABLE IF NOT EXISTS `member` (
  `member_id` int(11) NOT NULL AUTO_INCREMENT,
  `email` varchar(100) NOT NULL,
  `password` varchar(50) NOT NULL,
  `firstname` varchar(30) NOT NULL,
  `lastname` varchar(40) NOT NULL,
  `picture` varchar(100) NOT NULL,
  `gender` varchar(2) NOT NULL,
  PRIMARY KEY (`member_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ;

STEP 2:
MySQL database configuration settings.
Open newCon.php and modify “Servr”, “Login”, “Password” and “Database” details.

$server = "localhost";
$login = "demo";   
$pass = "";
$database = "wallscript";

Open “wall-functions.php” and change the path with your domain/localhoist.

// change this to your path
$path = 'http://yepinol.com/wall/';

Summary:

Yepienol Wall Script is very simple for any change. For any style change modify “wall.css” To change any functionality modify “wall-functions.php”.

  1. Not working ? nothing is happening ?
    maybe you checking out the code again please!
    special if you want to sell the scripts
    here is a Errors :
    Notice: Undefined variable: picture in C:\xampp\htdocs\Wall99\wall-functions.php on line 36

    Notice: Undefined variable: picture in C:\xampp\htdocs\Wall99\wall-functions.php on line 38

    Notice: Undefined variable: gender in C:\xampp\htdocs\Wall99\wall-functions.php on line 40

    by the way checked out the newCon.php and its connected correct !
    Please check out the code thanks again

  2. Hi, I did everything you told on the post, but i have this one error:

    Notice: Undefined variable: picture in C:\wamp\www\Wall\wall-functions.php on line 36

    I created the databases, modified the newCon.php

    and in wall-functions.php i put:

    http://localhost/Wall

    because I am currently using wamp server in

    C:\wamp\www\Wall

    thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

Allowed Tags:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>