Topic-icon rokbox edit

Active Subscriptions:

None
14 years 5 months ago #17205 by erirus
rokbox edit was created by erirus
Hi, I wanted to reply to another thread about rokbox but couldn't find the reply button? :/ :/

So I went to templates/html/modules and didn't see the jfb module. I only saw a mod_login module. From the directions, I thought I should be looking for jfb_login?

Any help getting the fb login to work in rokbox would be appreciated.

Thanks,
Eric
The topic has been locked.
Support Specialist
14 years 5 months ago #17211 by alzander
Replied by alzander on topic rokbox edit
Eric,
Old threads are automatically closed after about 3 months of inactivity, which removes the "Reply" button. It prevent comments to posts that can be unrelated to current versions.

The specific info for making JFBCLogin work with RokBox can be found on the page below in questions 2 and 3:
www.sourcecoast.com/jfbconnect/docs/common-support-questions

For the /templates/html/modules thing, that's called a template override. If that directory doesn't exist (which is normal), you should create the directory and copy /modules/mod_jfbclogin/tmpl/default.php to /templates/html/mod_jfbclogin/default.php. Then, you can edit it there. The reason you do this is so that your changes aren't erased when you upgrade the extension.

Hope that all helps, but if you need more help, just let us know!
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 5 months ago #17254 by erirus
Replied by erirus on topic rokbox edit
Hi,

I'm a mess! I copied your code from this Thread

I changed the link to dev.cokepot.com/login_pic/fb.png

No luck. I'm pretty lost here.
The topic has been locked.
Support Specialist
14 years 5 months ago #17257 by alzander
Replied by alzander on topic rokbox edit
Eric,
Can you take us through what you've done, and possibly post any code that you've added. From the topic you linked to, specifically, this post , you should have code in the /modules/mod_jfbclogin/tmpl/default.php or /templates/<your_template>/html/mod_jfbclogin/default.php file that looks like the following (including your image):
// echo $fbClient->getLoginButton($buttonSize); 
?> 
<a href="javascript:void(0)" onclick="jfbc.login.login_custom();"><img src="http://dev.cokepot.com/login_pic/fb.png" /></a> 
<ul> 
    <?php 
        $usersConfig = &JComponentHelper::getParams('com_users');
The first line already exists in the file and is now commented out. The 2nd line was originally on the first line, but needed a carriage return to go to the next line (so it wasn't commented out). The 3rd line is the money line, where the new Login With Facebook button appears.

Hope that helps get you started, but again, if not, please post what you've done or a URL that we can look at to see if something's off.

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

None
14 years 5 months ago #17327 by erirus
Replied by erirus on topic rokbox edit
Alex,

I got it. my default.php was in my tmpl folder. I moved it to mod_fb...... And all it good.

Thanks for the great support.

Eric
The topic has been locked.
Support Specialist
14 years 5 months ago #17329 by alzander
Replied by alzander on topic rokbox edit
Eric,
Great to hear you got it! Should you run into anything else, we'll be glad to help. For the 4.1 release (coming out in a few days), we're actually getting rid of the JFBCLogin module and changing to our newer SCLogin module. You'll need to make a similar change when you upgrade, but we actually have some examples in the new template file itself that you should just have to comment out and update with your image name.

Should hopefully be easier, but of course, if you upgrade and run into issues, we'll be here to help!

Finally, please consider leaving a rating and review on the Joomla Extension Directory for JFBConnect:
extensions.joomla.org/extensions/social-...ook-integration/7215

Thanks, and good luck,
Alex
The topic has been locked.