Register or Login
Exclusive premium software and giveaways

IOBit Protected Folder...
Download now for FREE
', containerID: 'gigyalogindiv', enabledProviders:'facebook,twitter,google,messenger,yahoo' }; gigya.services.socialize.showLoginUI(conf,login_params); gigya.services.socialize.addEventHandlers(conf,{ onLogin:function(userObject){ Gigya.Ajax.setUserObject(userObject); Gigya.Ajax.login(); } }); } function renderLoginNavForComments(){ Gigya.Ajax.setUrl("http://www.makeuseof.com/wp-admin/admin-ajax.php"); Gigya.Ajax.onSignIn = function(){ window.location.reload(true); }; var login_params = { showTermsLink:false, headerText:'', height:50, width:250, context:'GigCommentsLogin', pendingRegistration : true, UIConfig:'', containerID: 'gigyalogindivforcomments', enabledProviders:'facebook,twitter,google,messenger,yahoo' }; gigya.services.socialize.showLoginUI(conf,login_params); gigya.services.socialize.addEventHandlers(conf,{ onLogin:function(userObject){ Gigya.Ajax.setUserObject(userObject); Gigya.Ajax.login(); } }); } function populateUserGameStats(response) { //console.log(response); if ( response.errorCode == 0 ) { if ( null!=response.achievements && response.achievements.length>0) { var msg = 'My achievements are:\n\n'; for (var index in response.achievements) { var currAchievement = response.achievements[index]; msg += "Challange - " + currAchievement['challengeTitle']+ " : " + "Level - " + currAchievement ['levelTitle'] + ", Rank - " + currAchievement ['rank']+ '\n' ; } userGameStats = response.achievements[0]; $("#user-points").html(''+userGameStats['pointsCurrent']+" points : "+userGameStats['levelTitle']); $("#profile-block").prepend(''); //populate the reward block //$("#reward-block").load("http://www.makeuseof.com/random-reward/",function(){ var rCost = $("#rewards").data("cost"); if(rCost > userGameStats['pointsCurrent']){ $("#reward-text").append("You only need "+(rCost-userGameStats['pointsCurrent'])+" more points!"); } else{ $("#reward-text").append("Exchange for just "+rCost+" points!"); } //}); } } };
-
October 5, 2012
- By Aibek Esengulov
More articles about:
No Comments
Get a MakeUseOf account using one of your online accounts below.
Why? Earn points, unlock giveaways, access locked exclusives.
Get the best MakeUseOf articles in your email for free.
Access Exclusives. Over 400,000 subscribers!
More Subscribe Options

Email. Social networks. Blogs. Online video. People today consume more information than ever before, and typically only consume the things they really, really like. Clay...

Apps on Facebook can be great, but they can also be a right pain in the neck. On one hand, there's useful apps like Spotify...

The web is the Grand Oracle. It sees all and answers all. I wish we had the educational and self-learning edge it gives to todayâs...

One of the entries on my New Year resolutions this year is to learn how to code. With it being October tomorrow, I am rapidly...

Linux has made some serious headway over the past decade, elevating itself from âthat open source operating systemâ to âwow, this thing is actually usable!â...

When you install iOS 6 on your iPhone or other iOS device, you won't see any changes to the user interface, but there are a...

In a time not so long ago, the only choice to make between computing devices was between a hulking great desktop, or a laptop â¦...

If you were a kid (or parent) in the '90s, you know Pokémon. Video games, movies, and perhaps most popularly with trading cards, Pokémon exploded...

We've all had our fair share of computer problems, but most of them have been about being unable to connect to a network, being unable...

When it comes to email organization, the immediate reaction is often all about folders, tags, filters, priority marks, and things of that sort. Not that...
- Cool Websites and Tools [October 4th 2012]
- Facebook Page Manager For iOS Gets An Awesome Update [Updates]
- Tunes On The Go: From The Walkman To The iPod & Beyond [Geek History]
- WeatherBug â" Even Better Than The Weather Channel [Android]
- 5 Great Places To Look For Live Shows & Gigs In Your Area
- Free Image Resizer â" An Effortless Way To Resize Images [Windows]
- Everything You Need To Know About YouTube RSS Feeds
- How To Speed Up Steam & Get Games Now
- World Teachersâ Day: Google Highlights How Teachers Use Google Apps For Education [Updates]
- How To Curate & Download Your Own Wikipedia Ebook â" PDF, EPUB & More
Powered By WizardRSS.com | Full Text RSS Feed | Amazon Plugin Wordpress | Android Forums | Wordpress Tutorials