Topic-icon Adding the facebook connect login to the 'join community' popup

Active Subscriptions:

None
The main reason I purchased JFBConnect was the ability to add a FBConnect button as I am describing here:

www.jomsocial.com/support/answers.html?v...show&questionid=1644

Unfortunately You will see if you go to faithinproject.com/westlake (without registering or facebook connecting first) and click 'join community'

the popup has the insert code on it, but no button

The file to edit is block.unregistered.php (in com_community/templates/default/)

Though I have tried adding both {JFBCLogin} and to the code, neither is working.

adding {JFBCLogin} has worked on other pages
The topic has been locked.
Active Subscriptions:

None
I meant i tried <?php echo "{JFBCLogin}";?>
The topic has been locked.
Support Specialist
You'll need to do things a little differently there because that Join Community comes in a popup which doesn't process Joomla plugins first (which replace the {JFBCLogin} text.

There's 2 options. The easiest is to put in a custom link. To do so, simply add the following link in the code, depending on what you'd like the link to look like:
Image - Here, you'll need your own image, but you can simply crop an image of the standard Login With Facebook button, if you want:
<a href="javascript:void(0)" onclick="jfbc.login.login_custom();"><img src="http://yoursite.com/linktoimage.jpg" /></a>
Text Link
<a href="javascript:void(0)" onclick="jfbc.login.login_custom();">LINK TEXT</a>
Standard HTML button (like a 'submit' button)
<input type="button" onclick="jfbc.login.login_custom();" value="BUTTON TEXT" />

Let me know if any of those don't work for you, for some reason, and we can probably help you get the normal Login With Facebook button working. It will take more work though, and hopefully isn't necessary.

Finally, I didn't include the PHP tags above (<?php ... ?>). They shouldn't be necessary when you're editing the template file, but, of course, if it fails, use them!

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Worked perfectly - thanks!
The topic has been locked.
Support Specialist
Awesome! Glad we could help.

If you need anything else, just let us know!

Best of luck,
Alex
The topic has been locked.