Just read the blog of JFBConnect 4.1 and found an amazing function - Friend Requests and tracking!
It's really useful for viral marketing in Facebook if one more step is done - Reward to the invitor
For example, Alphauserpoints or Jomsocial point are rewarded to the invitor. Also, a ranking list for best-invitor could be made by module or menu page to give honor to the invitor.
Open to discussion. Any comment is appreciated=]
It'd be very easy to add a few lines of code to reward the inviter right now, if you wanted assistance in doing so (with any information on the system you wanted to integrate with). We definitely thought of the reward functionality when implementing the Request feature as it was an obvious request. We didn't have time to implement it though.
The only thing to be aware of is that anyone can use the Request module, not just user's that are registered on your site. Obviously, you can set the module to "Registered" only so only your users can invite people, but you won't be able reward Facebook visitors that invite their friends unless they create an account. Just something to keep in mind.
Definitely let us know if there's anything specific we can help with! We'd love feedback as well as we'll be wanting to get rewards in the next release.. and it's always good to test ahead of time with those that really want it early.
Great to hear it's easy to integrate with 3rd extensions.
Actually, I would like to integrate it with Alphauserpoint and reward invitor by giving them AUPoints only if invitee accept the request.
Please take a look for integration API of Alphauserpoint: http://www.alphaplug.com/index.php/prod … ml?start=2
Do you think it's easy to write a AUP rule for rewarding invitor? If yes, could you try to implement this rule? I could help test it in my site.
Just wanted to let you know that we're looking into this. It seems pretty easy, and something we wanted to actually get in 4.1, but didn't have the time before release. We knew it would be asked for as it's an obvious great feature.
It may be a few days before we can get you something, but shouldn't (hopefully) be too long. We'll definitely want your feedback!
Alex, Thanks a lot and looking forward to test it =]
Of course I would give you feedback about it.
A minor issue, not sure why I cannot get email notification of your reply in this forum although I have subscribed it and i'm using Gmail.
We're working on it. When available, it will be released to all active subscribers. If you don't already have one, you should subscribe to JFBConnect to take advantage of all the benefits of Joomla / Facebook integration on your site.
Joomla 2.5 just be released, does current JFBConnect works on it?
Also, for the integration with AUP, do you think it will be done before the end of January? Just want to know it for better planning.
We'd love to have it out by the end of the month. I can't make any guarantees on that though. There's a few minor issues we're investigating right now that affect current features, so those take priority. Additionally, (as you mention) 2.5 is out now, so if any issues crop up there, they will definitely have priority.
Regarding 2.5, we've tested JFBConnect v4.1.1 with the betas and the RC1 releases for that Joomla version. We are putting JFBConnect through the paces with the final release as well, and things look good. Like with any upgrade, we'd recommend creating a backup of your site first and testing on a development site before going live. With that said, we do believe JFBConnect is Joomla 2.5 ready, and we plan to fully support any issues that are reported due to conflicts.
Hope that helps,
To everyone who's watching...
We tried to get going on this late last week, but immediately ran into a roadblock with Joomla 1.7 and AUP. The basic installation of AUP simply didn't work. There was a SQL error during installation. Not a great start, and unfortunately, made us decide to focus on the 4.1.2 release (coming out in a day or so).
We're still planning to get back to this later this week (along with VM 2.0 integration and other requests). We normally do development on Joomla 1.7 (now 2.5) and back-port to Joomla 1.5. Looks like we'll have to go the other way this time.
For AUP integration, our current plan is:
1) Get a first test case/example out that will reward the inviter points.
2) Move on to points for things like comments & Likes
3) Work on other point rewards
We'll move on to 2/3 after we get some positive feedback on #1, as those should be easy steps from there.
If you have any suggestions on things to give rewards for, let us know.
We'll post back here once we get the files (XML that describes the points) and code changes for JFBConnect to enable. All in all, looks pretty easy, but just have never done it before, so it'll be slow to start.. then start rolling. We'd love to have a lot of integration points that have already been tested (somewhat at least) for the 4.2 release.
Maybe do the invite as the possibility to have like a ladder:
1. You get a small amount of point for every invite
2. More points for invites that leads to new users/costumers
3. Even more points if new users/costumers leads to an order thru VM (Virtuemart)
Just an opionion
Please contact me if you would like an example testers!
Howdy everyone. Got a quick update and some code to test! We got AUP installed and played around with a bit. Pretty slick extension overall, I must say. Originally, we were thinking we had to create the XML rule files to distribute. After installing AUP though, we realized we could simply create the Rules through the admin area. For now, that's what we're going to recommend during this testing stage.
So.. on with it. To reward an inviter for sending a Request, do the following:
Create a new Rule in AUP
* Go to the AUP admin area, click Rules, click "New"
* Select the Category - Recommend / Invite sounds best, but is your choice.
* Rule Name - "Facebook Request" - again, whatever you want
* Plugin Type - JFBConnect
* Unique function name - plgjfbconnect_request_sent (exactly)
* Points - Amount of points to award per user invited. (If a user opens up the dialog and invites 50 people, they will get this point value 50 times)
* Fixed Points - Yes
* Method - Whenever
Update JFBConnect to Award Points
Then, open the /components/com_jfbconnect/controllers/request.php file. Around line 38, you'll see:
$data['created'] = JFactory::getDate()->toMySQL();
$data['modified'] = null;
After that, add:
$api_AUP = JPATH_SITE.DS.'components'.DS.'com_alphauserpoints'.DS.'helper.php';
if ( file_exists($api_AUP))
$aupInstalled = true;
$aupInstalled = false;
Then, further down (around line 54, after the code above is added), you'll see:
Add the following after that:
AlphaUserPointsHelper::newpoints( 'plgjfbconnect_request_sent', '', $fbTo);
When done, the user should get the points specified from the rule whenever they invite a friend. They will only be awarded the points for each unique friend they invite. Inviting the same friend repeatedly should not award points.
Again, this is new to us, but we've been pleasantly surprised with how easy it was to implement. We'll be looking for feedback or improvements for flexibility to suite different usage cases. If there are other areas you'd like to award points now, let us know. It should be pretty easy to add points all over the place from here on out
Thanks for your patience, and good luck!
Hi again Alzander!
*I forced the JFBConnect rule thru the database admin.
Works like a charm!
Give points thru Request - Confirmed
Not give point if already invited user - Confirmed
Points for JFBC Like
Requests that leads to new user
Requests that leads to virtuemart order...
Please PM me how i can donate to you!
Keep it up!
Thanks for the verification that it works. We'll have to work on the XML files for the points so you don't have to create them manually if you're in Joomla 1.5. The system for Joomla 2.5 is pretty slick, actually, but understand not being ready to upgrade yet
The points for Like'ing should be pretty simple.. we'll try to get that code out in a few days (or a week) as well as for commenting (since it will be in the same file).
Requests that lead to a new user may be a little more difficult as that's stitching some data together as well as having to work around a bug in Facebook. Right now, there's not a way to see who accepted a request unless they've already approved your application.. which is kinda weird. We have some plans to work around this where we can put together that if a FB user registers and there is an outstanding Request for that user, that the Request is what made them register. It's a work in progress, but we'd prefer Facebook to simply fix their bug.
Anyways, as for donations, we really don't get offered them often as you already paid your dues While we definitely appreciate it, if you're looking to give back, we'd recommend the following:
* Donate to Alpha User Points. Their extension is free in many cases, but they gladly accept donations and have some paid add-ons. If you haven't given back to them, we'd recommend rewarding them.
* Re-subscribe to JFBConnect for a longer term. We'll extend your subscription out for the extra duration.
* If you have money burning a hole in your pocket, we can take care of that too.. you can donate to our PayPal address at [email protected]
Hope that all helps,
For the like'ing, is it the controllers/social.php thats need to be configured/changed?
I understand the problem with the request, the odds that someone that you/anybody send the request to
has the application approved is minimal!
Thanx for you thougts about the donations!
I will contribute!
Yup, the social.php file is where to hit. It should be pretty straightforward if you compare it to the code-snippet above.. just haven't done it yet.
We're irked (to say the least) about the change that made it so we can't see who's accepting the Request. It worked until January 1st when they changed the behavior. There are numerous bugs submitted about it, but it's not seemingly high on the to-do list.
Hope that helps, and let us know if you get something going!
Fantastic. Glad you got something going. If you have any code or details you'd like to share, we'd love to have them.
Either way, hope it was simple, and we hope to have something similar available soon.
So sorry for not getting back to this post sooner with your code change. We looked it over, and it looks almost exactly like what we'd do. Definitely good for anyone who wants to test to try it. The only update I made was to update the point creation line to call the event something new "plgjfbconnect_like_clicked". That allows points for Requests to be different values than Likes.
In the controllers/social.php file:
$jfbcLibrary = JFBConnectFacebookLibrary::getInstance();
$configModel = $jfbcLibrary->getConfigModel();
$api_AUP = JPATH_SITE.DS.'components'.DS.'com_alphauserpoints'.DS.'helper.php'; // ADD THIS STARTING HERE
if ( file_exists($api_AUP))
$aupInstalled = true;
$aupInstalled = false; // ADD THIS ENDING HERE
//$commentId = JRequest::getVar('commentID');
$href = JRequest::getVar('href');
if ($aupInstalled) // ADD THIS
AlphaUserPointsHelper::newpoints( 'plgjfbconnect_like_clicked', '', $href,'JFBConnect'); // ADD THIS
Thanks again for your contribution, and let us know if you need anything else. AUP stuff will definitely be more thoroughly investigated and added in the 4.2 release in a few good social areas. We really appreciate everyone's feedback on this!
Just a thought, but wouldn't it be better/cleaner to fully-integrate whatever points you want to give to your user directly into your FB application? I haven't explored this fully however this is my intention once I've completed a few other things...
Best of luck with it whichever way you do it anyway!
Not sure how I missed your last post here..
We're in the process of adding AUP to the upcoming 4.2 release, and wanted to get more information on what you meant by "fully-integrate whatever points you want to give to your user directly into your FB application". If you could clarify more, we'd love to hear more about what you were thinking about how we could integrate awarding of points better.
I'm new of JFBConnect, but I follow with very much interest this discussion about AUP. Did you have finally written a plugin/XML rule to add points for Comments and Like?
I was before using Jcomments, but I prefer to implement 100% JFBConnect, what I find really amazing.
The AUP integration for Likes, Comments, and Requests will be a part of the 4.2 release coming out later this month. The XML files required to install the rules will be available then. There were a few other changes/improvements we made in addition to the above code to make the AUP integration a bit smoother and more reliable for the next release. We'd recommend simply waiting until the 4.2 version is available to start using AUP.
Thanks for your interest,