Implement a Foursquare-like Check-In into a wordpress/buddypress install - php

I am working on a pretty challenging project (at least challenging for me and my modest skills), which is based on Buddypress. Basically, I have this Buddypress Install, which I modified to fit my needs, which are for the most part localization services.
My groups component are now geo-localised, and everything looks fine. The thing is, I would like my users to be able to check-in the group when they are on location, as you would on Foursquare. I was wondering if anyone could help me with that. Is there a plugin available to do such a thing ? Or maybe a tutorial on how to make one ? Somebody might have already done this, or has an idea on how I could make it work in Buddypress.
I would appreciate any insight on this as I don't really know where to look first. I threw a glance at the foursquare API, but I would like to be able to use its functionalities without having to go through foursquare to check-in.
Thanks a lot in advance !

There is BP Foursquare API ( http://wpmu.org/daily-tip-want-to-connect-buddypress-with-foursquare-check-out-the-new-bp-foursquare-api/) that connects your BuddyPress powered website to the XML or JSON Foursquare API. This is not plug & play solution.

Related

OAuth2, retrieve data from Google Analytics

The why
I'm working on a plugin that is supposed to interact with the Google Analytics, and figured that the google-api-php is the best way to do that.
I have not used a couple of hours of research and testing diffrent stuff - and i feel like i'm still stock at the beggining, so i hoped maybe somebody on SO could help a bro out :)
I have looked at every possible example i could find, read alot of stuff - but i seem not to be able to find a working example i can study.
So what is your plugin supposed to do?
What im look to do is;
Connect with Google Analytics from my webpage
Queue for diffrent data (clicks, links, country - the usual stuff)
Use diffrent kind of stastics on that data
If anybody either have a working examply i can study (i learn best by studying working code), or willing to help me out in anyway - i would appreciate it alot!
The developer documentation here provides a fair example on how to get started. Please try to run the example and if it works then you can follow the reference guide here. I hope this helps! If there is anything else you need just let me know.

Website with login

I want to create do the following things:
1. Create a new E-Commerce website
2. Update a already made website(superbrainacademy.com)
So the second thing, I have to include a log in provision so that some people which I authorize can get to see certain extra pages than others.
In e-commerce website I want everything like they can sign up themselves, I do not want to add each person manually, they log in with their email id and password and do shopping like something like flipkart.com. Well, payment gateway is out of scope for this question. What I need to know is how to start? In what language to make all this? Any guide on this?
What I know and i have created: I know programming in html and a little bit css. I make websites from downloading some good templates or just putting nice images at back and all. See my websites to have an idea(superbrainacademy.com or octindia.com)
I thought that maybe I could achieve this through joomla/drupal/wordpress. So I downloaded xampp and installed wordpress, drupal and joomla on it. The websites that open up look basic blogs to me (sorry but i am new to it) So I have no idea whether or not what I want can be accomplished by use of any of them. I also downloaded many many wordpress templates but they looked disgusting.
So what I need: A way to create a website with login id and password (signing in and signing up) but one has to be authorized by me as the users < 20 or so and the other needs to be done automatic as users > 100 or idk maybe greater. So how should i start.
Note: I do not prefer using automatic website making like weebly and all...
I would recommend using a CMS. If your willing to put some time into it you can learn to build your own template. I haven't used wordpress but I have built templates for Joomla, it takes some time to learn probably just as much time it would take to do what you want to do from scratch. Check out their guide to building a basic Joomla template.
http://docs.joomla.org/Creating_a_basic_Joomla!_template
So it seems that, you just need an e-commerce cms, and its likes of .
My suggestion for you is to deploy a Magento installation with a prebuilt template and demo just so you know where to start, and it gets easier for you to do stuff yourself, once you get a hang of it.
There are various of Magento/osCommerce template service providers out there some of them free maybe, some of them premium. Though I strongly bias my recommendation towards Magento than osCommerce, after myself having worked on both.
Note:- I am taking about opensource here, and mostly all of these cms installations tend to be quite similar.
Update:-
About integrating a login system inside your current website, you can use a script from HERE as per your requirement and complexity.
Joomla has inbuilt ACL:
http://docs.joomla.org/J3.2:Access_Control_List_Tutorial
so that would enable you to set specific access for specific user groups eg branches
It would allow you to either:
a) let people register individually
b) you approve each registration
c) you set up each user individually
You could also combine Joomla with an eCommerce component.
I find mixing Joomla with Mijoshop (OpenCart for Joomla) a good solution.
You can install Joomla with VirtualMart. If you don't need all functionalities of joomla just disable those from back-end. If you need a pure e-commerce site you can use OpenCart (lightweight solution) or Magento which is a much more complex e-commerce solution.
Update:
The second thing couldn't be accomplished by using HTML only. wardha-Web's answer below (php login) seems to be a good choice since it's quite simple. Another sophisticated way would be to modify your existing site and put it behind to a php framework where you can define access role based authentication, but for this you need to have some php and object oriented programming skills

Using Joomla to Display Products

My question might be a stupid questions. But need to get help from experts. I have worked with Magento, so by using Magento we can simply handle this work. But we got a new project recently and unfortunately they are demanding to develop the system using Joomla where they need to add products and need to display in their web site. They do not need to handle cart and payment related stuffs but they need to handle the products dynamically.
My bad luck I have been allocated to this development and stuck with how can do it in a easy way since this is first time I am going to work with Joomla. Welcome all the ideas. I tried to find some solution in internet but I could not get any:(
Thanks in advance.
Use Virtuemart, the Joomla Component as a catalogue, it has a templating system just like Magento. Everything can be a challenge to learn, but I actually see Magento more difficult to grasp than Virtuemart.
The Forum is okay, if a little lack luster.
I have always used JoomShopping as I find the backend much more simple than the like of VirtueMart. However VirtueMart might be more suitable for your needs. You might also be interested in HikaShop or redShop.
Each have their advantages and disadvantages so it might be worth testing each one to see which you prefer.
Hope this helps

How can I find the price of an app on the iTunes app store using PHP?

I am going to be creating a website which will require up-to-date prices on certain iPhone apps, which I know is possible because the website AppShopper does just that except they do it with every website. I am not that skilled using PHP though I am a quick learner.
I think that I will need to create a spider/scraper that takes the values from the website though I have done lots of research and I haven't figured it out, though I this may not be what I need. I am not familiar with the creation of spiders, though I am willing to learn. This will not be the key-point of the site so it doesn't need to be the most robust system, I would just like to be able to have it updated the prices
I would appreciate any help or suggestions that anyone has to offer.
There is an official Search API provided by Apple. I haven't used it myself, but it's worth looking into. Read more here.

OpenID and FB Connect Tutorial

Simple question really, I've been looking all over the Internet probably for the past few days for several hours a day looking for some solid information on OpenID and Facebook Connect integration on a website.
I have seen the same names popup such as Janrain offering their solution, but I see a lot of websites such as Invision Power Board forums and even here at StackOverflow utilising different solutions.
The main two logins we wish to accept on our site are Facebook and Twitter. I've really been looking for a tutorial, or at least a guide to incorporating this functionality into a PHP website.
If anyone has any information or any pointers that would be great.
Thanks!
I'd start with the official docs. They're pretty good.
http://developers.facebook.com/docs/authentication/
http://dev.twitter.com/pages/sign_in_with_twitter
The twitter one is a little more obtuse, but it's still pretty easy to follow.
For Twitter, just use their simple JavaScript SDK:
http://dev.twitter.com/anywhere/begin
But I would really avoid implementing these services myself. E.g. Twitter anywhere is maybe painless to setup, but then you rely on their JavaScript. It's been down before and then your page takes ages to load or doesn't load at all.
I haven't tried the new Facebook APIs, but 2 years ago, I wasted a way a week of my life trying to integrate their API and the general idea I got was -- unless you know someone at Facebook that can check out some log or let you know why this API doesn't respond like it's supposed to, you're just on your own.
We do use Janrain's engage product (free). It works really, really well.
Dealing with all these services directly is a royal (!) PITA. They are down, change how they work, mis-behave -- it's good to outsource that to someone who seems to know all the ins and outs. In our case Janrain.
There's a copy and paste Facebook login button solution out there. It's also free. It's developed by LaunchBit. You could try that.
http://toolkit.launchbit.com

Categories