Digg Style Follow Unfollow PHP, jQuery and CSS

Ajax, Databases, PHP Scripts, Tutorials
You know Digg has altered its style and layout and now I suppose it looks wonderful. This time on vivacity, I make Digg Style follow/unfollow provision. Which I tried to make same as unique Digg look. Numerous clients like my facebook style excercises So this is a proceeds arrangement ofdigg style excercises. I trust You will like it. I have utilized client Ip to check emulated or unfollowed. Anyhow you can do this in your needed way. If its not too much trouble offer this assuming that you such as and dont neglect to subscribe via message. DATABASE STRUCTURE CREATE TABLE IF NOT EXISTS `digg_follow` ( `id` int(11) NOT NULL AUTO_INCREMENT, `fullname` varchar(120) NOT NULL, `username` varchar(80) NOT NULL, `image` varchar(100) NOT NULL, `bio` text NOT NULL, PRIMARY KEY (`id`)…
Read More

Ajax Polling/Voting System with jQuery, Ajax, PHP and MySQL

Ajax, Databases, PHP, Tutorials
Surveying framework or Voting framework is extremely regular in sites. Voting could be about your website or site or some other thing simply to get the client consideration and get your thought regarding your item. Database Structure Copy this db structure as it is and paste in your mysql window. CREATE TABLE IF NOT EXISTS `polling` ( `id` int(11) NOT NULL AUTO_INCREMENT, `liked` int(11) NOT NULL, `dislike` int(11) NOT NULL, `average` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `polling` -- INSERT INTO `polling` (`id`, `liked`, `dislike`, `average`) VALUES (1, 1, 1, 1); CREATE TABLE IF NOT EXISTS `polling_ip` ( `id` int(11) NOT NULL AUTO_INCREMENT, `userip` varchar(100) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; JQUERY CODE…
Read More

jQuery, AJAX AND PHP for YouTube Style Rating/Voting System

Ajax, PHP Scripts, Techniques, Tutorials
Today we have made Youtube style rating framework which is likewise called thumbs up/down rating. It is 99% indistinguishable to unique youtube rating framework. I have tried my best to give you a jazzy and same youtube look rating framework. I have execute Ip address checks for the purpose that a solitary client can rate once. It looks extremely wonderful please attempt it and give your food backs. Database Structure CREATE TABLE IF NOT EXISTS `youtube_ip` ( `id` int(11) NOT NULL AUTO_INCREMENT, `userip` varchar(100) NOT NULL, PRIMARY KEY (`id`) ) CREATE TABLE IF NOT EXISTS `youtube_rating` ( `id` int(11) NOT NULL AUTO_INCREMENT, `liked` int(11) NOT NULL, `dislike` int(11) NOT NULL, PRIMARY KEY (`id`) ) INSERT INTO `youtube_rating` (`id`, `liked`, `dislike`) VALUES (1, 0, 0); Download Source Code
Read More

jQuery, Ajax and PHP For Facebook like Autosuggestion

Ajax, PHP, Techniques, Tutorials
Facebook like Autosuggestion user search with jQuery, Ajax and PHP. It's simple and clean just you have to change the database details. Download the Script. Edit Config.php change the database details. Database create database table with name "test_user_data" CREATE TABLE test_user_data ( uid INT AUTO_INCREMENT PRIMARY KEY, fname VARCHAR(25), lname VARCHAR(25), country VARCHAR(25), img VARCHAR(50) ); Auto.html contains jquery(javascript) and HTML Code. Take a look at input field class valuessearch http://jquery.js </script> $(document).ready(function(){ $(".search").keyup(function() { var searchbox = $(this).val(); var dataString = 'searchword='+ searchbox; if(searchbox=='') {} else { $.ajax({ type: "POST", url: "search.php", data: dataString, cache: false, success: function(html) { $("#display").html(html).show(); } }); }return false; }); }); </script> <input type="text" class="search" id="searchbox" /> Download Files
Read More

jQuery ,MYSQL and PHP to create : Facebook like photo gallery with comments

Databases, PHP, PHP Scripts, Tutorials
Have you considered own facebook-style photograph gallry framework with remarks? I suppose – yes. Today I made up my psyche to plan it for you. Fundamental thought – when we click at pictures – they popup (ajax) with greater picture at the left and remarks area at the right. All pictures are in the database (mysql). Furthermore, obviously, we will utilize Php to realize our effect. Additionally, our remark framework will anticipate tolerating more than 1 remark for every 10 mins (to dodge spam). Step 1. SQL For our gallery I prepared two SQL tables: first table keeps records of our images. It contains several fields: title, filename, description, time of adding and comments count. Another table keeps comments. So, execute next SQL instructions: 01 CREATE TABLE IF NOT EXISTS…
Read More

PHP and jQuery to create : facebook post to wall system

Ajax, PHP, PHP Scripts, Tutorials
Assuming that you have not perused our past post on making a Facebook post to divider framework then you might as well read it first. In this article, we will demonstrate how I included code antiquated bind" for the purpose that when clicked, it will post the substance of the content range as divider post. HOW IT WORKS ? When you click on “share” button : The file insert.php is called via ajax to save message in database, if message is saved successfully , then add message to the unordered list like below: <ul id="posts"> <li>My wall post message </li> </ul> Jquery code below is used to add the message as list : $('ul#posts').prepend('My wall post message'); The textarea message is then cleared $('textarea#wall').val(''); If another message is shared on the…
Read More

What is RSS Feeds?

Tutorials
Rss channels or ‘rich Site Summary’ are guidelines concerning transporting information and utilizing it on different destinations, Rss channels could be perused in a web program or subscribed to. Encourages are regularly refered to as ‘pulling’ as opposed to ‘pushing’ innovation. ‘pushing’ engineering is distributed substance and trusting that somebody will pop by your site and read, listen or watch your substance. Rss channels are a pulling innovation on the grounds that guests subscribe to your message and can recover it at whatever time. ‘pulling’ innovations permit clients to participate in individuals, assets and content when they like. These nourishes are structures for substance that tends to be redesigned on a customary premise, the substance could be anything from websites, photographs, Pdf archives, sound / movie indexes, and different requisitions.…
Read More

Auto suggest with jQuery Ajax and PHP/MYSQL

Ajax, Databases, Tutorials
Begin with Javascript There are two capacities in the piece of code underneath. the first "propose" performs the ajax ask for dependent upon the clients enter into the content field which is passed into the capacity when the capacity is run. We reference the data with the variable 'inputstring'. the primary area of code is a straightforward if proclamation to check if the length of the clients include in the content box is more than 0. Provided that it is we run the ajax ask for to get the record of prescriptions from the database. #country implies the id of the content enter in our shape. You can see that we're including the class "load" to the content info. This is to presentation an enlivened stacking gif to show the…
Read More

jquery Php and Mysql Username Availability Checker

Ajax, PHP, Tutorials
I was perusing Nettuts.com without much fanfare and saw the post by Matt Vickers on checking the accessibility of a username with Mootools. I tend not to utilize Mootools so i supposed I'd reproduce the system utilizing jquery. The code debases dexterously if Javascript is handicapped, it is exhorted that you dependably check the username against the database once more, simply before you add any information to the database. The Javascript So to begin with we have our jquery on report primed capacity, inside this we have an occasion audience .keyup capacity which when triggered runs the capacity 'username_check'. Inside the "username_check" capacity we firstly appoint the variable "username" to the worth of the data field with the id #username. We now run a couple of watches that the username…
Read More

HTTP Authentication in PHP

PHP, Techniques, Tips, Tutorials
Sometimes you might wish to make certain pages of your site just perceptible to a chosen few. you can do this by utilizing Phps constructed within Http Authentication. The code ought to go right at the highest point of your php page so don't get 'headers Already Sent' mistakes. You can see that we've specified the username and secret word in the variables at the highest point of the script you can change these to reflect your own particular username and watchword. You could effortlessly make this verification more dynamic by checking a database for the username and watchword. We can get whatever the client sorted into the dropdown box by tagging the accompanying superglobals. //Username: <?php echo $_SERVER['PHP_AUTH_USER'];?> //Password: <?php echo $_SERVER['PHP_AUTH_PW'];?> The Code <?php $config['admin_username'] = "demo"; $config['admin_password']…
Read More