× Joomla Facebook Connect support forum

Topic-icon invite / app creation

Active Subscriptions:

None
15 years 1 month ago #9821 by remington
hello,
I do have some problems with jomsocial invite so I'm searching for a better way....
Most of the time facebook login is working but you know that "most of the time" is not the wanted way - login should work all the time of course ^^
also when sending invites and clicking on "accept" in facebook this doesn't bring me to the page but removes / hides the invite.
don't know if it's an invite problem or a misconfiguration of the app. do you have a tutorial for creating a "perfect app" which works with your jfbc invite? and have you already heard from a problem like this?
The topic has been locked.
Support Specialist
15 years 1 month ago #9828 by alzander
Replied by alzander on topic invite / app creation
What?! Most of the time isn't good? :) Since you mention you're also using JomSocial, first, take the API/Secret keys out of their configuration area. Only one Facebook Connect component can be operational on your site at a time. Additionally, if you have other Facebook widgets, try disabling them to see if that helps.. if so, replace with one of our modules, or let us know the widget and we can help you make it compatible with JFBConnect if necessary.

For the invites, make sure that the "Invitee Action URL" (I think that's the name) is a full (http included), working URL. This is where the user should go when they accept. Facebook will look at this page to make sure it doesn't redirect, doesn't require a password, and isn't a 'bad' (porn, spam, malware) site. If that doesn't work, let us know the URL (also requested in your other post) and we'll get to the bottom of it.

No great tutorial for the Invite module, unfortunately. We have a plan to overhaul the Invite module for a few reasons (nothing critical, just to improve it), and at that time, we'll have more configuration guide settings. The best we can say is to create an article "Tell your friends about us" and explain why to invite friends or how to register with Facebook, create a menu item for that article, and then create the module to appear on that menu item. It's a good mix of instructions with the Invite module for the user, and helps get them to take the action.

Hope that helps get you started, and good luck!
The topic has been locked.
Support Specialist
15 years 1 month ago #9829 by alzander
Replied by alzander on topic invite / app creation
P.S. Moving this out of the pre-sales area and to the Support area after I post this.
The topic has been locked.
Active Subscriptions:

None
15 years 1 month ago #9849 by remington
Replied by remington on topic invite / app creation
thx alex,
I disabled all jomsocial facebook things and tried to invite friends with your module - works :D
so this was no app problem but really a jomsocial invite thing. nice
now some things because your invite module:
1) I read several threads about the limitaton of invites and so I know that this comes from facebook and not from you. But do you have plans to find a different way? openinviter for example sends pm (not using api) so this is unlimited... or as an alternative a invite post at the friends stream (like the login / register message) could be an idea... this would be a great enhancement..
2) after disabling all jomsocial facebook things the "usual" invite your facebook friends link in the invite page disappeared. do you have a plug for this? know parainvite and invitex and they replace the invitation automatically. without a plug I think the jomsocial page needs core modification - probably I'm not the first who needs this so you know a way to manage it ;-)
The topic has been locked.
Support Specialist
15 years 1 month ago #9876 by alzander
Replied by alzander on topic invite / app creation
1) We have plans to overhaul the Invite module. There's a few new options and methods that Facebook has introduced since our original implementation of the Invite module. While it's worked well till now (and still does), we plan on adding new features to it over the next month(s) to really improve some of it's capabilities. Some off the areas for investigation is different invitation methods, removing friends to invite who have already accepted the invitation, and some styling changes/fixes.

2) We don't have a way to automatically replace the JomSocial invite module. The idea is sound, and we want to do it. We don't just cater to JomSocial though, so it's not always our top priority, but JomSocial compatibility and improvements is always a very high one. Look for updates in this area, similar to #1 above coming in a future update.

Sorry that's not a perfect answer ("wait and see.."), but it's the best we can offer right now. There's always a lot of nifty new things we have planned for JFBConnect, and love the feedback, so keep it coming!
The topic has been locked.
Active Subscriptions:

None
15 years 1 month ago #9881 by remington
Replied by remington on topic invite / app creation
thanks alex,
so let's split it in 2 points:
1 point is the invite module itself - I'm happy to hear about new things will come so I'll wait and close this point ;-)

2nd point is even more important and really urgent for me - integration of the invite module to jomsocial.
jomsocial (you surely know) has a global invitation site. there you can invite friends usually by entering text and email and also there's an detecton if you're a fb user. If you are a fb user then there's a link called "invite your fb friends" and with clicking the link you get to the fb invite page. if you're a regular user the link isn't shown.
so now with disabling jomsocial fb things this link has gone and I need a way to integrate jfbcinvite to that page. possible would be (if exist) a opengraph tag {JFBCInviter} directly in the file - or (if not exist) a link to another file (for example text where invite module is set). well, that's my theorie - but I'm not a pro coder and as I can read here "we know code" I would have a better feeling if you could instruct me with code changes :D
the needed file is friends.invite.php from the default template folder - thanks
The topic has been locked.
Active Subscriptions:

None
15 years 1 month ago #9882 by remington
Replied by remington on topic invite / app creation
thanks alex,
so let's split it in 2 points:
1 point is the invite module itself - I'm happy to hear about new things will come so I'll wait and close this point ;-)

2nd point is even more important and really urgent for me - integration of the invite module to jomsocial.
jomsocial (you surely know) has a global invitation site. there you can invite friends usually by entering text and email and also there's an detecton if you're a fb user. If you are a fb user then there's a link called "invite your fb friends" and with clicking the link you get to the fb invite page. if you're a regular user the link isn't shown.
so now with disabling jomsocial fb things this link has gone and I need a way to integrate jfbcinvite to that page. possible would be (if exist) a opengraph tag {JFBCInviter} directly in the file - or (if not exist) a link to another file (for example text where invite module is set). well, that's my theorie - but I'm not a pro coder and as I can read here "we know code" I would have a better feeling if you could instruct me with code changes big_smile
the needed file is friends.invite.php from the default template folder - thanks
The topic has been locked.
Active Subscriptions:

None
15 years 4 weeks ago #9915 by remington
Replied by remington on topic invite / app creation
so, here's the next workaround for everyone who wants to have the facebook invite back without losing the global invitation:

1) create an joomla article (for example facebook invite) and save it.
2) create a new menu and select the article to it.
3) show the new menu at a template position which doesn't exist - you can type directly in the module position field. for example menupositionwhichidonthavehere
4) open invitemodule and select it to the new menu/article

what have we done until now? we have setup the invite module for a special page which is only reachable within a direct link - that's because we set a new module and set it to display nowhere. If you want a usual site within a menu you can easily add an article to the menu you prefer and don't need new module and ghost position ;-)

now we want to have inside of jomsocial:

5) go to your jomsocial template folder and select the file friends.invite.php
6) find this code very at the beginning:
<div class="community-form-instruction">
<?php echo JText::_('COM_COMMUNITY_INVITE_TEXT'); ?>
</div>

7)after this insert your link to the article:
<a href="yoursite.com/articlename.html">Enter your text here which describes the link.

that's it !!
now you have facebook invite integrated to jomsocial without destroying the global invite function from jomsocial, so all the links inside jomsocial will go on working correctly.

hope you like it. :D

@alex:
my way is working but ALWAYS shows the link to invite facebook friends. It would be better if the link is only shown to facebook users like jomsocial did, perhaps you have a solution for that auto-detection?
The topic has been locked.
Support Specialist
15 years 4 weeks ago #9945 by alzander
Replied by alzander on topic invite / app creation
Alex,
The below code should let you know if the user is logged in through Facebook:
require_once (JPATH_ROOT.DS.'components'.DS.'com_jfbconnect'.DS.'libraries'.DS.'facebook.php');
$jfbcLibrary = JFBConnectFacebookLibrary::getInstance();
if ($jfbcLibrary->getUserId())
{
   // do something
}

Should be pretty simple from there to do what you're looking for. That will validate that the user is currently logged into Facebook and is connected on your site.

Hope that helps, but if not, let us know what we can do!

Also, I think you've become pretty familiar with JFBConnect pretty quickly now. If you have the time, we'd love it if you'd consider leaving a rating and review on the JED:
extensions.joomla.org/extensions/social-...ook-integration/7215

Certainly not required, but definitely appreciated.

Thanks again for all your feedback!
The topic has been locked.