× Joomla Facebook Connect support forum

Topic-icon JFB Requests + Affiliate Links

Active Subscriptions:

None
11 years 5 months ago #28239 by Spanka
I'm about to implement an affiliate program for VirtueMart as well as gear up using my shiny new JFB suite (which installed simply, seamlessly and without issue I might add!). Great job on the extension guys.

So this may be way out there, but what I'm wondering about - whether its possible to parametise JFB requests. I'm probably explaining this poorly, so I'll kinda describe the workflow...

1. An affiliate logs in to the front end of the site (using FB of course) and there's the request module there to invite their friends.
2. If they're signed up as an affiliate, the link that is shared to FB automatically includes their referrer parameter on the end of the url.
3. They use the request module and everything goes as per normal, but the request contains their specific affiliate link.

I could probably hack around the php for the request module and manually manage it, but I'm kind of hoping that there'd be a more...solid way to get the job done. Perhaps the "destination URL" be configurable to add a token, ie: www.mydomain.com/destination.html{AffiliateCode}

If the affiliate is logged in, the affiliate parameter is apended. If they're not an affiliate (or not logged in), its just the regular URL.

Doable? Crazy talk? Thanks in advance.
The topic has been locked.
Support Specialist
11 years 5 months ago #28246 by alzander
Not crazy, and not the first time we've heard the request. Unfortunately, we haven't implemented it yet... However, I found a post that describes most of what you're looking to do and how to do it. It's from the v4.1 release, and we intended to add dynamic requests to both the 4.2 and (just released) v4.3, but it didn't make it into either.

If you're able to read a little code, hopefully, this won't make your head explode.. if you have any questions though, just let us know here:
www.sourcecoast.com/forums/jfbconnect/jf...amic-requests#p19197

The code for Requests really hasn't changed much since v4.1, so the above should be pretty spot-on. Read through the whole post though as there were some corrections lower down as we got feedback.

Keep me posted on how it goes, and good luck!
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 5 months ago #28253 by Spanka
Hey Alex - thanks for the response. I'm not sure the way I'd have to set it up will work with that method, but its still an excellent starting point to get my head around the job and build it out.

It didn't quite make my head explode, but I certainly glanced at the post and decided coffee was in order :)

I will update you with anything I build out - share the love (or pain) as it were!
The topic has been locked.
Support Specialist
11 years 5 months ago #28289 by alzander
Definitely keep us posted. We'll help you build it out however you can and provide suggestions or feedback where needed. This will be a feature in a future release, but we just don't know exactly when as we've been busy with other, more highly requested, features lately. If we can help you implement it now, it helps ensure we have a good flexible solution that all of our users can use, which is what we want from all of our features.

Hope that helps, and good luck,
Alex
The topic has been locked.