× Joomla Facebook Connect support forum

Topic-icon change facebook connect buttons

Active Subscriptions:

None
14 years 10 months ago #1317 by xactrecords
I want the button for the facebook connect to be a little bigger and have more text. What file do I specify the image that is called via the module?
The topic has been locked.
Support Specialist
14 years 10 months ago #1350 by alzander
The different buttons available are at the link below. You have to use one of them (you cant use your own). Modify:
/modules/mod_jfbclogin/tmpl/default.php
Simply modify the <fb:login-button> tag as specified below (~line 31)

Hope this helps!

<!-- m --><a class="postlink" href="wiki.developers.facebook.com/index.php/F...onnect_Login_Buttons">wiki.developers.facebook.com/ind ... in_Buttons
The topic has been locked.
Active Subscriptions:

None
13 years 8 months ago #4312 by fb_100000183019231
please explain again how to change login button. it's not clear in your post.

Thanks,
The topic has been locked.
Support Specialist
13 years 8 months ago #4314 by alzander
Wow. In the future, I'd suggest not reading (or responding) to a thread that's over a year old. The method's definitely changed.

What are you trying to do? To change the text of the button, you can edit the language files. For 2.6.x, the language file you'd want to update is the /en-GB/en-gb.mod_jfbclogin.ini or for 3.0 the /en-GB/en-gb.com_jfbconnect.ini.

In both files, look for the string "LOGIN USING FACEBOOK" and update to whatever you want.

Hope this helps!
The topic has been locked.
Active Subscriptions:

None
13 years 8 months ago #4315 by fb_100000183019231
Hi,

Thanks for the reply. I want to change the button to something bigger. I know I can only choose out of the available facebook buttons. But where can I see the available options and where do I make the changes to make the button bigger.??

P.S. Sorry I didnt notice the date of the thread. :-P
The topic has been locked.
Support Specialist
13 years 8 months ago #4316 by alzander
Can't find the actual Facebook page that describes it, which is weird., but the below links shows some different size options.
fbrell.com/xfbml/fb:login-button

Assuming you're using 3.0, you'll need to edit the /components/libraries/facebook.php file and search for the line <fb:login-button... then add the size="large" or whatever you'd like from the page above. Let me know if you need more information.
The topic has been locked.
Active Subscriptions:

None
13 years 8 months ago #4318 by fb_100000183019231
I want these buttons: junal.files.wordpress.com/2008/08/loginbutton.jpg

Where can I find these buttons from? Does the process that you described above remain same for these buttons??

Also, I want to shift the button a little to the center. Here's the page I'm using it on: bit.ly/dAlaRQ. As you'll see, the button right now is on the extreme top right of the page. I want to shift it a little towards left.

One more thing. I don't know whether I should open a new thread for this or not, when I log out of my Joomla site, I'm also logged out of facebook.com which is not what I need. Can it be corrected?

PS: Is there no support ticket system on sourcecoast? I'm using 3.0RC1. Just bought it yesterday and it works like a charm with jreviews too. I'll soon right a review on JED for this awesome stuff.

Thanks,
The topic has been locked.
Support Specialist
13 years 8 months ago #4319 by alzander
We haven't investigated the custom buttons recently as it hasn't been requested. From the quick research I just did, I can't find a good way to do custom buttons with the new Facebook API. We'll continue investigating though and let you know what we find out.

Better news for the remaining questions at least...
For shifting the button, I was able to move it around to what looked good to me with the following changes to your template.css file in the following location:
/templates/rt_mixxmag_j15/css/template.css

~line 58 in the #header-tools section, add:
padding: 12px 10px 0 0;
This will shift the button 12px down and 10 px to the left. However, when you do this, it will actually move the whole header bar lower. To 'correct', in the #horiz-menu div around line ~73, set the margin-top to 0px. Basically whatever you shift the button down by (12px) shift the whole menu up by the same amount (12px).

Regarding the logging out of Joomla vs Facebook, there's a setting in the JFBCLogin module to select whether you just log out of Joomla or out of both. Looking through our test plan, I just realize that this feature was not fully tested before the release. Please feel free to let us know your results, and if you run into issues, we'll get it fixed in the next release.

As for a ticket system, we don't have one. We use the forums exclusively as it (theoretically) lets people find answers on their own, though we obviously monitor and answer user's questions who have active subscriptions with a very high priority. If you have any feedback, comments, or suggestions on our system, we'd love to hear them.

Glad to hear 3.0 is working well for you otherwise though.. we put a ton of effort into it, and always worry a little with new 'big' releases no matter how much we test. Very happy to hear about the jReviews functionality too. We have big plans for tying into a lot of popular components in the future in some nifty ways.. first want to flesh out the minor bugs in the release candidate, but those are moving quick.

Finally, we'd love a review on the JED, they mean a lot to us and really help get more visibility for our extensions!
The topic has been locked.
Active Subscriptions:

None
13 years 8 months ago #4340 by fb_100000183019231
Hi,

The link to the Facebook login buttons I gave you are not custom buttons. They're Facebook's. I don't know if they've removed those buttons or not.

Thanks for testing out the button position. I'll try them at my end and let you know.

Thanks,
The topic has been locked.
Active Subscriptions:

None
13 years 8 months ago #4343 by fb_100000183019231
Hey Alzander,

The positioning of the button works like a charm. How do I adjust the positioning of the logout button? And the text which says, "Welcome <UserName>"?

Thanks,
Rajat
The topic has been locked.