• Index
  • » Users
  • » alzander
  • » Posts

Posts

Posts

1. On the invite friends part, the "skip" button when clicked takes you away from the site to facebook where you get an error message;
Make sure you have set the "Post Invite URL" properly in the module settings.  This should be a full path (<!-- m --><a class="postlink" href="http://www.blah.com/xxxx">http://www.blah.com/xxxx</a><!-- m -->) to where users should be sent after they invite, or cancel the invitation to their friends.
The thread below (SourceCoast post towards the bottom) also explains how to change the text of the "Skip" button or possibly hide it.
<!-- m --><a class="postlink" href="http://www.cmsmarket.com/forum/index.php?f=38&t=55&rb_v=viewtopic">http://www.cmsmarket.com/forum/index.ph ... =viewtopic</a><!-- m -->

2. Is there anyway to not have it log you out of facebook when you log out of the site?
Not really.  If you wanted to make some modifications to the mod_jfbclogin module, I could help you remove the code to do this, but we don't think it's something most admins would want.  Facebook recommends that you log out of both sites for security purposes, and so we implemented it this way.  If you just wanted to log out of the Joomla side, any JFBConnect/Facebook Connect enabled modules would not recognize that the user is logged into Facebook.. they expect the user to be logged into both the Joomla and FB side.

3. Sometimes it seems to get caught in a redirect loop (not sure if it is this extension specifically).
There has been issues with this in the past, but we think we've got them all.  If you can give a rundown of events that you've seen cause this, we'll be happy to investigate further.

We do have integration with JomSocial where we pull in the user's FB avatar and profile information into their JomSocial Profile.  We've done some preliminary investigation into doing the same with CB, but haven't had nearly he requests for it.  We'll keep it on our radar, but it's not being planned right now.  If more people flood this board with requests though, it will definitely bubble up.

There's another component or function on your system using the JSON class. The JSON is distributed with the Facebook API and necessary for operation.  However, it's a generic and redistributable class, so other components may be including their own 'copy' of it, which causes this problem.

Are you using Linux or Windows?  I can give you a command to run to help you find the other component that's also declaring the JSON class, and help come up with a solution that resolves the incompatibility.

The Facebook Connect API comes packaged with the JSON wrapper (an easy to use mechanism for transmitting data between two servers).  The error indicates that something else in your system is also trying to include a JSON class with the same name, so PHP doesn't know which one is the correct one to use.

Not a permanent solution, and may cause issues, but you can rename the JSON file below to see if that fixes the issue.  This will cause the FB API to use whichever one is installed already, which may cause incompatibility issues.. but at least will help you figure out if it works.

I still can't figure out what it is, but I'm sure it's a problem module or template problem.  The main reason I say this is because look at the bottom row of 3 modules you have starting with the Vitruvi Hit counter, or whatever it's called (great module, by the way).  On the pages that the FB stuff doesn't work (no connect button, no avatar), it's at the very bottom and in a row on it's own:
<!-- m --><a class="postlink" href="http://www.pencerahanhati.com/">http://www.pencerahanhati.com/</a><!-- m -->

On pages the FB features do work, the modules are brought up inside the component area:
<!-- m --><a class="postlink" href="http://www.pencerahanhati.com/index.php?option=com_myblog&Itemid=82">http://www.pencerahanhati.com/index.php ... &Itemid=82</a><!-- m -->

This indicates there's a broken div, or other unclosed HTML element somewhere.  Since most of the Facebook features work by loading the elements from the facebook site directly, some broken divs can cause this exact problem.  I don't think it's necessarily JomSocial or Fireboard directly, but they could be the problem (since they have their own templating system).

This issue was fixed in the 2.0 release published yesterday.  It should be resolved now (the Warning line at the top is a guaranteed sign that you're using an older RC version).... certainly if somehow that's still showing up, let us know.  Your Authentication Plugin should be version 2.0.2 (that's the 2.0 release version)

As for your other post about logging in on the Joomla side and still seeing a "Connect this account", this is the 2nd time we've seen this and started us thinking... so we made the post linked below for suggestions on why it's like it is, and soliciting feedback on how our users think we should 'fix' it.  It's lengthy.. sorry  current/lol
<!-- m --><a class="postlink" href="http://www.cmsmarket.com/forum/index.php?f=38&t=76&rb_v=viewtopic">http://www.cmsmarket.com/forum/index.ph ... =viewtopic</a><!-- m -->

There's been 2 posts recently about a scenario that some people are unsure about, and would like to have your feedback on the suggested fix.  It's not exactly a 'bug', but can see how people would think it's not operating as it should be.

Background:
Creating a new Joomla user:
When we create a Joomla user using their Facebook information, we 'map' that user's Facebook ID to their Joomla ID.  This way, when they return and log in with their Facebook credentials, we automatically log that user into the Joomla side.  No real problems there.

Linking a FB account to an existing Joomla user:
When a user logs into Joomla with an account they already have, JFBConnect shows a "Connect this account to your Facebook account?" text.  If you click that, then your users are mapped.  Upon returning, you can use your FB credentials to log 'both' your users in.

Problem:
If a Joomla user (created through their FB account) user updates their Joomla password and returns to the site and logs in to that Joomla account (NOT logged into FB), JFBConnect still shows the "Connect this account to your FB account?" text.

- If they log into FB now with their original FB account, nothing changes.. the mapping stays the same, all is good.
- If they log into FB now with a different FB account, their mapping is updated (which could be bad).  The joomla user they had no longer has a FB account associated with it, and the Joomla user their logged in with is now mapped to 'this' FB ID.

Reasoning:
The reason that users are allowed to update their mapping is in case a user has a Joomla account on your site (lets say for 5 years), and comes one day and accidentally logs in with their FB account.  That creates them a 'new' Joomla user.  If we didn't allow re-mapping, that user would have to make a choice as to which user to continue using (or you as the admin would have to fiddle with some things to re-map them).

Generally, users only have one FB account, so this issue isn't that bad.  It may create some extra Joomla users on your site, but really not pain your users.

Solutions:
1) Leave it as is.  Allow you to change the text in the Login module to say whatever you want so the "Connect this account to FB" isn't confusing.
2) Lock 'mappings' so that once a FB ID is used, it can't be reused.  We'd update the login module to check the Joomla user and see if the user already checked in has a mapping and just not show that text.
3) Lock mappings. If a user performs a FB connection, come up with a way to ask a user if they already have a Joomla account, and want to use that for their mapping. 
4) Your suggestion!

Please keep in mind, one of our highest goals with JFBConnect is making it easy to use (and code).  Having 20 options to allow each method isn't really an option.  So we'd like to get some feedback for a few days, then make a decision.  We don't think that any path will be overly difficult, but want to make sure it's the best.

Thanks for your input!

No problem.. we're stressed too.. hoping that v2.0 will reduce forum posts for issues.. feature requests are always great to hear (though that doesn't guarantee they'll show up!)

Thanks for the good words, and glad to help you get set up.

There's something on your homepage that's interfering with the Javascript calls to Facebook.  If you go to inner pages (can't guarantee all), but this is an example.. Clicking on the "Blog Member" menu link:
<!-- m --><a class="postlink" href="http://www.pencerahanhati.com/index.php?option=com_myblog&Itemid=82">http://www.pencerahanhati.com/index.php ... &Itemid=82</a><!-- m -->

It works.

On the home page though, it doesn't show the FB Connect button or avatar.  The only advice I can give is to start unpublishing other modules that are showing up on your home page until it starts to work.. Then narrow it down and let us know where the conflict is.  We can look into it more if you need assistance from that point.

Does it work for you in both configurations, and always not just him?  It should be whatever page you're visiting from (with or without the www).  So for our demo page, we use a callback of:
<!-- m --><a class="postlink" href="http://facebook.sourcecoast.com/">http://facebook.sourcecoast.com/</a><!-- m -->

If you can give more information about the times it works (with you) and times it doesn't (with or without you), we should be able to get to the bottom of this.

There is no menu item to point to (the component shows up, but when you click on it, it doesn't do anything because there are no 'views' to link to).  Everything is done behind the scenes using (mainly) the login module to create your users and log them in.

As for the blank page, obviously somethings going wrong.  The best way to diagnose all of these issues is to turn on error reporting.  Do this by going to "Site->Global Configuration".  Click on the "Server" tab and set error reporting to "Maximum".  Go to any pages that go blank and report the error here.  Obviously, turn this off when done as many components spit out Warnings and Notices you won't want your users to see.

If you're saying that you only want Facebook users to log into your site, I think you should be able to accomplish this with a few minor modifications to the login module to hide things.  If you're looking for only specific members of a Facebook group to join, no, that currently can not be done.

To only allow Facebook users, this is how I'd start.. this isn't tested, but should get you close to what you're looking for:
In Joomla Configuration, turn OFF "New User Registration"
In JFBConnect Configuration, turn OFF "Create New Joomla Users".

This will be the hardest step since you have to look at some code:
Modify the jfbclogin module to remove a lot of the code about registering for the site and remove the form with the username/password for returning visitors to use (basically leaving the Facebook Connect button only and the logout button).  This file can be found in /modules/mod_jfbclogin/tmpl/default.php

The JFBConnect component is available here:
<!-- m --><a class="postlink" href="http://www.cmsmarket.com/updated/listings/Social+Networking/Community/JFBConnect">http://www.cmsmarket.com/updated/listin ... JFBConnect</a><!-- m -->

The link at the bottom of the Login Module would also take you to that page for more information about, or to purchase, the component.

Alright, I do apologize for the delay.

Button Text (XFBML)
We do have a quick primer on how to use the FBInvite module (to which you've responded already, which caused me to re-read it).  There was (fixed now) an error in that thread.

The below parameter will fix most of the questions you ask for (The string XFBML showing up all over):
Invite Type - This is what the blue button at the bottom of the invite module says for the user to click on. "Send XXXX Invitation" where XXXX is what you put in this field.

For anyone else who wants to read the full thread of configuration parameters:
<!-- m --><a class="postlink" href="http://www.cmsmarket.com/forum/index.php?f=38&t=44&p=150&hilit=xfbml&rb_v=viewtopic#p150">http://www.cmsmarket.com/forum/index.ph ... topic#p150</a><!-- m -->

Skip button
As for the "Skip" button, there is no way to get rid of this.  The invite module is pulled from Facebook's page, and they include that.  However, if you are interested, you can change the text to any of the following: "Skip this step", "Cancel", or "Skip" by adding the following line to this file:
modules/mod_jfbcinvite/tmpl/default.php (line 30):
<fb:multi-friend-selector
    showborder="false"
    actiontext="<?php print $inviteActionText; ?>" bypass="cancel">
Replacing "cancel" with either "step", "skip", or "cancel".
However, using firebug and looking at the returned code, the skip buttons are contained in the following id tags: "skip_top", "skip".  If you're interested in adding the following to your template css file, it may hide these 2 buttons (Not tested):
#skip_top, #skip {
display:none;
}

Sending Invitations
Finally, as for sending invites... There is no confirmation for sending invitations, you have to 'trust' Facebook on this (it's not done by the module itself).  You can use the module parameter "Post Invite Action Url" to redirect users to after the hit "Send".  This would ideally be a Joomla article you've created to thank your visitors (provide confirmation) for sending the invitation.

Invitations that are sent by selecting photos are sent to their Facebook home page, similar to other application requests (Lil Green Patch, Racecars, etc).  They are not emailed to the user.  If you use the "Invite friends not on Facebook" button in the top right and are inviting your friends this way, emails will be sent to them.  We just tested this on the facebook.sourcecoast.com site and it appears to be working.  If this isn't working on your site, could you try on our demo site and report your findings?

Thanks again for your patience, and sorry for some of the confusion with the module.

This sounds immediately like a PHP4 issue.  You need PHP5 to use JFBConnect (this is a limitation of the Facebook Connect PHP API's, and there's nothing we can do about it).

Can you check with your hosting company or technical person to see if you can upgrade to PHP5?  If you're already using PHP5, please let us know and we can investigate further.  Do not enable the plugins on your site until you can access the configuration page!

There's a whole thread already dedicated to this issue, and the new version of JFBConnect (v2.0) should fix this.  There's a reason it was called a Release Candidate.  We're not guaranteeing there's no bugs remaining now that we've removed that title, but we've been very proactive in getting 4 releases over the last month out to fix issues that people have been encountering.

<!-- m --><a class="postlink" href="http://www.cmsmarket.com/forum/index.php?f=38&t=53&rb_v=viewtopic">http://www.cmsmarket.com/forum/index.ph ... =viewtopic</a><!-- m -->

I'll try to get to your JFBInvite questions today, but they haven't been the highest priority, since we've been working on the fatal error you mentioned below and also have to spend extra time reading additional posts relating to issues that have already been reported (and even resolved by the time you posted this).

The fix was in the Authentication plugin and the component itself.  There were other changes in the login module described in the post below.  The fixes in the default.php you should probably be performed on your file even if your not using SH404, but frankly, if your site is working as-is, I'd leave it current/smile

I just tried to create an account on your site, filled out the profile, did not upload a phot, and received the activation link correctly.  Clicking it led me to:
<!-- m --><a class="postlink" href="http://urfestival.com/Activate-account.html?activation=72d4a6817a62866d1d09c12513075f57">http://urfestival.com/Activate-account. ... 2513075f57</a><!-- m -->
Which states:

Activation Complete!
Your Account has been successfully activated. You can now log in using the username and password you chose during the registration.

What are you seeing?

For those affected, this issue should be closed in the 2.0 release (now available as of 3/2/09).  If you still experience this issue after installing the new version, please let us know as soon as possible.

Just so it's clear, we (SourceCoast) are not the author's of this module.  The author's support form is below.  You're more than welcome to post issues here (and I'll try to get "Ceshelman" to check in here every once in a while for related questions).

<!-- m --><a class="postlink" href="http://www.cmsmarket.com/forum/index.php?f=43&rb_v=viewforum">http://www.cmsmarket.com/forum/index.ph ... =viewforum</a><!-- m -->

Definitely let us know if you get it going.  It looks neat on his page, you must be logged in on FB to see it, I believe... actually.. is that your problem? current/smile

Good questions, and I'll take them each point by point below:
When a logged in session is left for too long, it seems Facebook logs the Joomla site out, and throws an error message when trying to access the Joomla site. THe only way I could get around this was to completely close the browser to clear the session.
This is one of the 2 bugs that were fixed in the (just released) 2.0 version.  Please try this version and definitely post here if you're still experiencing this issue.

My Facebook invitees didn't seem to receive their invites.
You're the 2nd post, I believe, that's mentioned this.  Now that the 2.0 stable component is out, this is going to be the next problem we'll be investigating.  We don't think it's affecting all sites, so we may ask for more information about your configuration if we can't easily reproduce it on our test servers.

But the main request/question is when you envisage this component being able to post to the Facebook wall/feed any new articles submitted on the site. THis would make the component perfect.
While I haven't used it, another author has posted the following module below.  I looked at it on his site (you can see the demo page if you go to his forum post), and it looks like what you may be looking for (you have to log into his site first and click on an article to see it in action).  Again, it's not ours, but we plan on helping developers create and distribute their own products so you can customize your JFBConnect site however you'd like.  If it works, let others know, and if you want more or changes, let the author know!
<!-- m --><a class="postlink" href="http://www.cmsmarket.com/extensions-directory/listings/Extension+Specific/JFBConnect/Facebook+Comments+for+JFBConnect+powered+sites">http://www.cmsmarket.com/extensions-dir ... ered+sites</a><!-- m -->

Hope this helps

Can you post the exact error message your getting?  This isn't an issue I'm familiar with.

If the zip file isn't working, can you try unzipping the file locally, ftping the entire contents to a directory on your server, and then using the "Install from Directory" option in Joomla?

Maybe you've posted it before, but whats your site?  I just tried this on our test site (Joomla activation enabled, create new Joomla user, not using JomSocial..) and didn't see any issues.

Yup, that question gets asked a lot, but in short.. updates are definitely included for the foreseeable future.  This is at least during all of Joomla 1.5, we're investigating the new user system of Joomla 1.6, but can't really speak on the difficulty with that yet (and hence, whether that would be a separate release or not).

What happens when you go to the site?  It seems to be working for me.. swear I didn't do anything  current/big_smile

http://facebook.sourcecoast.com

  • Index
  • » Users
  • » alzander
  • » Posts

Board Info

Board Stats
 
Total Topics:
11405
Total Polls:
0
Total Posts:
48071
Posts this week:
24
User Info
 
Total Users:
47238
Newest User:
suwapoj
Members Online:
0
Guests Online:
717

Online: 
There are no members online
Social Stream
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program