What Is This?

uLike is a simple and easy to install content liking system. You can have a unique like button on each different content element on your page. Each like button is it's own seperate identity and is stand alone from the others. The system is based on the content's parent div, the ip of the user, and the page in which it's on.



Demo

Article I

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies.

Article II

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies.

Article III

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies.

Article IV

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies.



Features

  • Allow your visitors to like your content!
  • Jquery Plugin utilizing Ajax & php
  • Seperate like buttons for each content area you specify
  • Likes are based on IP address, so, one like for one user
  • Like buttons are based on parent element, ip address, and page
  • Well documented


Documentation

Icon (String) : Heart or Thumb
Wording (String) : Like, Love this, share, etc (You decide!)
Path (String) : Path to ulike on your server in relation to the page ( default is "./ulike/" )
Debug (boolean) : True; will show alert messages ajax receives : False; will not show alert messages and is default


Usage

- First thing you should do is create a database and import the sql dump "ulike.sql" included in the codecanyon download folder.

- Once you have done this, you should now open up ulike/mysql_conf.php and edit the values to reflect your mysql setup

- Now to use, you must include jquery, ulike css styling, and ulike javascript file in the < head> area:

- Once you have those files are included you now must include the ulike selector

- Now that you have all the proper javascript in place we must add tags to our articles we want to have liked.

Notice how I added the tag " ulike-data " to the parent div and gave it an id/value. You must do this and it must be unique. You can name your article whatever you want but it must be inside "ulike-data="{what ever you want}" " This is the parent/ wrapper div around the whole of your article, the plugin will append the like button to this.

- Congratulations, ulike plugin is now functional and you can have your guest start liking all of your content!

ariyan