× Joomla Facebook Connect support forum

Topic-icon Problem when user not log in and logged in

Active Subscriptions:

None
Hello,

I have paid for JFBC today, and i have a little trouble with position when user logged in and not log in. Please see the images below:

When users not log in, so good interface.
File Attachment:


But when users logged in:
File Attachment:

It broken the search arena function. Could u pls help me to move the image [connect] and the text Connect this site to your Facebook account? between the getting text and logout button?

Im not have so much knowledge about source, thanks in advance /
The topic has been locked.
Support Specialist
15 years 1 month ago #9466 by alzander
I'm assuming you're using the JFBCLogin module to display all that. You may just want to disable the Reconnect ability within the module itself, if you don't have the room to do it. If you enable "Automatically Map Users By Email" or have user creation set to "Full Joomla Users", it's very easy for a user to link their Facebook account with an existing Joomla account on your site.

If that doesn't work for you, and you're using the module, I'd probably need to see the site to give you some ideas on how to shift that over. In the pictures, it's tough to see what's in that area as well as understand the changes you already made to the login part of the module.

Hope this helps, and let us know if there's anything else we can do to get you straightened out!
The topic has been locked.
Active Subscriptions:

None
Oh sorry for that.
I using JFCB module to display that, is there any other way to do? Seem its not really help me,i still want to keep the notice " Connect this site to your Facebook account?" and the button Connect, but it broken the search box.

Could u please take a look at baoan.ws/demo to help me, this is testing and demo only. Thanks for your reply and help. :)
The topic has been locked.
Support Specialist
15 years 1 month ago #9479 by alzander
The other way to display the Login With Facebook button is to simply add {JFBCLogin} to an existing module or template. That way, you can use a module that you already have working how you want, and just add the extra button.

The login module that you're using to login with doesn't look like JFBCLogin at all, so I'm not sure how you have that configured.

I also tried to login, but the button didn't do anything. Looking at the page's HTML, there's a few issues I see:
1) You don't look to have specified an API key in the Facebook API configuration area of JFBConnect
2) You have 2 extensions trying to load the Facebook Javascript library. There's one right after the opening body tag, that's JFBConnect. Then, at the very bottom of the page is another inclusion of the Facebook library. You should disable whichever extension is including this 2nd library. I don't know what it is from looking at the page, unfortunately.

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

None
Ah yes, im using JA Social template for testing, and im still not add the facebook api. Im using other login module, just add a button to connect to FB only, i tried to disable other plugin which load the fb javascript library for test, but after that i got the error :

XML Parsing Error at 1:3063. Error 4: not well-formed (invalid token)

Is this error above is from JFBC ?
The topic has been locked.
Support Specialist
15 years 1 month ago #9488 by alzander
That's not an error we've ever seen from JFBConnect, and I don't know how we'd be producing it. So, in short, no, I don't think that's from us. I think it's from something in your template, because I switch templates, it seems to go away. That could also be because in the other template, a module that's loading in the JA one isn't loading.. so this isn't a perfect conclusion, but hopefully helps you narrow it down:
baoan.ws/demo/?template=rhuk_milkyway

Good luck!
The topic has been locked.
Active Subscriptions:

None
Ya, its true, problem is from Ja template, when create sub-menu with link to agora.

Could u help me to configure the login module? :-s i just need after logged in, near the getting text is other text from JFBC as above and the button connect, if you can i will send a message about my user/pass to login the backend.
The topic has been locked.
Active Subscriptions:

None
Hello,

Could you help me the JFBC Like module? i want to display the count total people like my website and who are they (i mean the avatar with name of FB in standar layout Style), and how to change the text:"Be the first of your friends to like", its broken the form in my template position.
And i need to input the FB Button Like in evey Threads in Agora forum, could u help me to do that?
I have just sent an email to you, i have a little trouble and i need your help. Please read it, my email is: This email address is being protected from spambots. You need JavaScript enabled to view it.. Hope i will see your feedback soonest.
The topic has been locked.
Support Specialist
15 years 1 month ago #9508 by alzander
Binh,
I still can't login to the page because of the extra inclusion of the Facebook Javascript at the end of the page. I can see you added an API key to JFBConnect, but the lower inclusion is overwriting the API key with nothing (blank), so the API key isn't getting set properly. Because of this, I can't login and help you with the Reconnect stuff much (I need to see it on your page first). Without looking, you may be able to add the following to your stylesheet and have some luck, but again, just can't guarantee anything without seeing it:
.fb_connect_user {
float: left;
font-size: 10px;
}

As for the Like module, Facebook has 3 different styles of buttons you can use: Standard, box-count and button-count. Viewing the faces of users is only available in the Standard mode. Also, the faces are only for the friends of the Facebook user, not all users who have liked the site. Unfortunately, Facebook does not allow you to change the "Be the first of your friends.." text, but setting the width of the module to the size of your sidebar will help it fit. Currently, the width appears to be set at 605px. I think you'll want to use something more like 200px.

As for setting the Like button in every thread of Agora, there's a few options. The first, and easiest, is simply to add a JFBCLike module and have it set to only display on your Agora menu item. This will cover the main forum index as well, but will cover all the pages like you're looking for. Harder, but more configurable, you could modify the Agora template to add {JFBCLike} wherever in the template you'd like. I don't know Agora's template files though, and you'd probably need to contact them for more information on how to do that.

Hope this helps. Email is the slowest method to get in touch with us. If you want more help with things, the forum is the best place to bring up questions, but we do respond to emails as they're received.
The topic has been locked.
Active Subscriptions:

None
Thanks for fast reply, just because the trouble i have is not really good, so i will send a message to u via the forum message, ok? Please read it, I have added an API for JFBC but the app still not get approval from FB so we cant call it a real app, Please read ur inbox forum message.

I have changed the width to 70 but still no luck, its smaller but still broke the template form.
Could u tell me like this form:

Old form FB like: [Like button] [small FB icon.][text message from FB]
New form i think:[Like button]
[small FB icon][text message from FB]

I think this look like better and will solve this :-s
The topic has been locked.