• Index
  • » Users
  • » playak
  • » Posts

Posts

Posts

Thanks Mel. That made a huge difference. Not sure why anyone would want to cache that at all...

Thanks. I tried to switch from that BT Login module to SC Login, which works fine, but now I constantly get the error 'The security token did not match. The request was aborted to prevent any security breach. Please try again.' when logging in. The only thing that seems to help is clear all Joomla system cache. Not very handy...

Apr-04-18 13:51:53
New user account block despite setting in JFBC
Category: JFBConnect

makes sense. especially that second idea sounds like a good compromise. thanks.

Thanks Mel. That Jomsocial setting helped, but like I said, I'm using BT Login Module Version 2.6.1 , not SClogin. JFBC does put the social buttons into that module, but seems to remove the regular login form from it,

Apr-04-18 06:02:39
New user account block despite setting in JFBC
Category: JFBConnect

We had a new case. I think what happened is this. JFBC is set to bypass user activation, but regular Joomla user registration (jomsocial) does use activation by the user. User registers new account in jomsocial, but doesn't see the activation mail. User is impatient and wants to log in, and thus clicks a JFBC connect button, to login through Facebook or similar. The account is now activated, but still blocked.

Not 100% sure, but I think this is how it happens.

If so, it would be good if JFBC would also unblock an account on first login, in addtition to activating it.

I would expect that when users click login, they would also see the regular Joomla login form. On my site, they only see the social button.
And when they click register, I would expect they would also see the social buttons, but here, they only have the standard Jomsocial form.
(see attachments)

I cannot find a setting to change this.

Something I overlooked?

PS using BT Login Module Version 2.6.1

Apr-03-18 08:57:46
New user account block despite setting in JFBC
Category: JFBConnect

Thanks Alex. Looks like that was a one-off glitch. I deleted all related rows from the DB tables and tried again. Worked fine. No idea what went wrong the first time. The Joomla user was created as new, so it's wasn't an earlier blocked user either. Anyway, it works now. Thanks for you help!

Mar-31-18 07:53:08
New user account block despite setting in JFBC
Category: JFBConnect

In JFBC config, Skip Joomla User Activation is set to yes. Still, if I login with IG, trying to create a new user account automatically, I end up with a blocked account.

Feb-22-13 03:36:55
How to avoid Bad Signed JSON signature errors
Category: JFBConnect

Glad I asked current/smile Thanks for the super feedback.

I use this on Facebook-framed app pages, so I'm not sure if I should give this back to the JFBC app after doing my app things, like you proposed. Or is this required to keep things working for other browser windows in the same session?

Feb-21-13 11:10:52
How to avoid Bad Signed JSON signature errors
Category: JFBConnect

I'm using the JFBC libraries in a couple of my own components to make API calls, FQL queries etc. Works great.

However I want to take it one step further and even use the same libraries for a couple of Facebook apps that have a completely different appid and secret. Right now I'm getting the 'Bad Signed JSON signature' errors on those pages, and I assume that's because of the wrong appid. Any ideas on how I can make those apps use the correct appids and secrets? JFBConnectFacebookLibrary::getInstance(); doesn't take any parameters...

Thanks for ideas,
Jeroen

Feb-08-13 23:03:02
[email protected] in e-mail field
Category: JFBConnect

I love the support here. You should consider showing a Like button underneath each support thread. I would click it again today if that would help you current/smile

Feb-08-13 11:01:28
[email protected] in e-mail field
Category: JFBConnect

Thanks. I walked through the connect process myself this morning and didn't even find that option current/wink

I also tested sending an HTML mail to such an address, proxying to my own real address. The annoying thing about that is that the Facebook proxy removes all links from the mails. We use the addresses for a mailing list, and our mails always has a small one-click unsubscribe link at the bottom. The proxy unlinks that link, and put its own 'unsubscribe' link underneath. If people click that, my system will of course keep sending them mails, so I'm afraid FB may consider it spam at one point.

Pretty annoying. I wish we could enforce people to connect with their real e-mail address. I think there was an extended permission for that at one point, but can't remember for sure.

Anyway, thanks for your help Alex.

Feb-08-13 04:00:03
[email protected] in e-mail field
Category: JFBConnect

today i got a new user registration with an e-mail field (real data replaced with xxxx):
[email protected]
Never saw that before. I'm worried that I'll have problems when sending HTMl formatted system mails to this user...
The irony is that this user has his real e-mail address in the username field...
Any thoughts on why this happened, how I can avoid it, and what will happen to HTML system mails sent to such an address?

Cheers,
Jeroen

I just upgraded Joomla to 2.5 (started back in the Mambo days). When the site came back online and the first user registered through JFBC, an admin mail got sent to 6000 regular users! Very bad for my reputation and I had a lot of angry mails to answer current/sad

I assume the sendEmail field in the jos_users table was used for something else in the past. For an unknown reason, some 6000 of my user accounts had it set to 1. This could have been avoided if JFBC would respect the mail_to_admin parameter of com_users, which I have set to 0.

I'm generally happy with JFBC, but this was a really bad experience, so I wanted to let you all know. Until SC checks the mail_to_admin parameter, all people who do a Joomla upgrade should better double check the values of sendEmail field in the user table.

Great and fast support as always - Thanks Alex.

Looks like my site keeps forgetting that I was logged in. I always use the 'Remember me' checkbox, but that one probably doesn't play a role when logging in with FB. Why does this logged-in status disappear (typically overnight), although I am still logged in to Facebook?

PS I use Joomla 2.5.7, JFBC 4.3.4, and the SClogin 1.1.5, Auth plugin 4.2.0, and jomsocial.

I managed to get the events list by using the graph API now: trick is that you have to use use me/events/not_replied as well as me/events/maybe and me/events/attending to get the full list.

Strange thing is that I still cannot get any results by using FQL. I just get an empty array by doing this:

Code:


    $fq = "SELECT eid, name, pic, creator FROM event WHERE eid IN (SELECT eid FROM event_member WHERE uid=me())";
    $fbparams = array('method' => 'fql.query', 'query' => $fq);
    $events = $fbclient->api($fbparams);

Also, I still get the COM_JFBCONNECT_FB_API_ERRORparameters uid or session key required errors, and the Facebook connection keeps disappearing every hour or so, also I stay logged in on the Joomla side as well as on Facebook.

Loads of work - pretty annoying.

Cheers,
Jeroen

Thanks for that idea Alex. It seems to make things worse though. In my component, I call:

$fbclient->getMappedFbUserId();

And after doing your proposed mod, that function returns an empty string instead of my Facebook userid.

Thanks. I turned on the output of error message and get the message:
COM_JFBCONNECT_FB_API_ERRORparameters uid or session key required
Would that help solving it?

I used to have access to loads of FB info from my own component, using the JFBC libraries. Looks like it stopped working earlier this month. Did something on the FB side change?

For instance, I used to use:

Code:


    $events = $fbclient->api($fb->user."/events");
    $events = $events[data];

or even better (more details):

Code:


$fbparams = array('method' => 'events.get', 'start_time' => strtotime("-1 day"));
$events = $fbclient->rest($fbparams);

Since about a week or two, all I get in return is an empty $events array.

Anybody any clues or examples on how to get this working again?

Cheers,
Jeroen

thanks alzander. i wasn't aware of that. in the (artisteer) templates i use, empty modules automatically disappear, which i find handy, and logical current/smile

thanks. my proposal that that i don't have to change any templates at all. i.e. i just switch off all module output options in the backend, and then it results in an empty module, which means that joomla will not show the module at all. a lot easier than having to change a template after each update...

hmm, looks like this parser eats the html div elements in my code. anyway, hope you get the idea.

i clean up the template for mod_jfbclogin after every upgrade. would be cool if you could do it in the distribution. my problem is that I don't want to show anything to logged in users (i use a different module for that), so i disabled profile picture, powered by etc in the module settings, but it still contain an empty div element and a couple of linebreaks, so the module still shows up, it just looks empty. solution is simple: change

Code:



get('showGreeting');
    $greetingName = $params->get('greetingName');

    if ($showGreeting)
    {
        if ($greetingName == 0) //Username
            $name = $user->get('username');
        else
            $name = $user->get('name');
        echo JText::sprintf('MOD_JFBCLOGIN_WELCOME', $name);
    }
?>

to

Code:


        $showGreeting = $params->get('showGreeting');
    $greetingName = $params->get('greetingName');

    if ($showGreeting)
    {
        echo "";
        if ($greetingName == 0) //Username
            $name = $user->get('username');
        else
            $name = $user->get('name');
        echo JText::sprintf('MOD_JFBCLOGIN_WELCOME', $name);
        echo "";
    }

and clean up some line breaks between closing and upening php tags.

thanks,
jeroen

I got tired of being redirected to the front page on auto-login, so I changed one little line in components/com/jfbconnect/libraries/facebook.php:

//                          $redirect = JRoute::_('index.php');
                            $redirect = JRoute::_($_SERVER['REQUEST_URI']);

Seems to work fine and I consider it a big improvement, so hopefully you guys can build it into a next version. I'll watch it in action to make sure it doesn't create loops or have other undisirable side effects, but it think it should be ok. If not, I'll report it here.

Cheers,
Jeroen

  • Index
  • » Users
  • » playak
  • » Posts

Board Info

Board Stats
 
Total Topics:
11667
Total Polls:
0
Total Posts:
48986
Posts today:
1
User Info
 
Total Users:
47792
Newest User:
romjat
Members Online:
0
Guests Online:
621

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