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!"); } //}); } } };
Home » Web Apps & Internet »-
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
Eating Only Dessert: Why Your Information Diet Is Probably Terrible [Feature]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...
How To Remove Spam Apps & Ensure App Privacy [Weekly Facebook Tips]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...
For The Scientific Spirit: 7 Websites For Science Questions & AnswersThe 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...
INFOGRAPHIC: Rise of Coding : Why We Should All Learn A Little CodeOne of the entries on my New Year resolutions this year is to learn how to code. With it being October tomorrow, I am rapidly...
7 Key Differences Between Windows & Linux You Should Know About Before SwitchingLinux has made some serious headway over the past decade, elevating itself from âthat open source operating systemâ to âwow, this thing is actually usable!â...
10 iOS 6 âHow-toâ Tips You Need to Know For Your iPhone, iPad, Or iPod TouchWhen 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...
What Is The Difference Between A Netbook, Notebook, Ultrabook, Laptop, & Palmtop?In a time not so long ago, the only choice to make between computing devices was between a hulking great desktop, or a laptop â¦...
PokeMMO Turns Fire Red Into A Pokémon MMO [MUO Gaming]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...
How To Figure Out Why Your PC Wonât BootWe'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...
Divide & Conquer Your Email With The Power of Gmail AliasesWhen 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