• Extremely difficult to submit bugs around here, despite it being designed to be “simple.” Could not find your listing in trac.

    Nevertheless, line 78 of your plugin should be
    if ( !is_user_logged_in() || !$cookie) { ?>

    as users who ARE authenticated, but not registered should still be provided the link to login and allow FB access.

    Overall, fantastic plugin. Thanks for the contribution!

    https://www.ads-software.com/extend/plugins/wp-facebook-connect/

Viewing 15 replies - 46 through 60 (of 75 total)
  • Plugin Author valentinas

    (@valentinas)

    The users, doesn’t matter if they connected with FB connect, linked their profile, or just registered normally are all the same. They will not disappear or anything. The only differences are:

    • Normal user is normal user, nothing unusual about it.
    • Users who registered normally, but then later used facebook login or linked their profile with fb will have a mark in usermeta. That’s it. They’re password is still the same and they can use both login ways: FB and regular WordPress login.
    • If a visitor doesn’t have an account in the website and uses FB login, an account will be created for him. Again, it will be just a normal WordPress account. Password will be randomly generated. If user decides that he wants to use regular login – he will need to reset his password. The password will be sent to the email that user used to create fb account.

    Now just waiting for the version with a fallback for those who do not share an email address and I will start using it.

    Just activated the new version and so far looks good. Thank you!

    Would it be possible to have the button texts translatable?

    I am using WPML on my bilingual site and I would love to have the buttons in the corresponding language.

    Plugin Author valentinas

    (@valentinas)

    The widget has options to change the button text, and shortcode has options too. Let me know which one you are using and i will explain you in detail how to change the button text ??

    I am using the widget. So far I have tried leaving the fields blank which produces english button text. I have also entered both languages to the fields separated with a slash. Not the optimal solution. ??

    Plugin Author valentinas

    (@valentinas)

    Oh, you have different languages.. I see.. Yeah, thats not going to work ?? look, you can find my email here: https://en.gravatar.com/menuliovaikas write me something, and i will send you a new version with proper localization in few minutes. How does that sound? ??

    I am running the modified version now. Great work!

    Plugin Author valentinas

    (@valentinas)

    For others who are interested in the same thing: i will include the changes in the next version. if you want them now – use trunk, if you dont know what that is – email me and i’ll send you zip.

    I’m trying out a plugin called “Add Local Avatar” (https://www.ads-software.com/extend/plugins/add-local-avatar/) and I found a small issue with the avatar.php in your plugin.

    Every reference in ALA plugin produces an error with missing 5th parameter in the fb_connect_replace_avatar function. This is easily fixed by just making the fifth parameter optional:

    function fb_connect_replace_avatar($avatar, $id_or_email, $size, $default, $alt = ""){

    I just wonder why there is the parameter $alt since the function does not use it. Anyway adding the ‘ = “”‘ fixes the issue itself.

    Plugin Author valentinas

    (@valentinas)

    Motorist, thanks for reporting. I took that from WP source (or from some other plugin, can’t remember), but it’s very possible that i missed something. Thanks, I will remove that parameter in next version.

    Hi Valentinas

    I like your plugin very much for its simplicity & modularity —?however I’ve had reports of slow load times in my site, this is due to FB.Event.subscribe ‘auth.sessionChange’ in the wp-footer.

    This loads the page twice on every new session; it’s especially bad on an iPhone (or iPad or Android) cuz these devices don’t have browser caching as far as I know.

    I mean it’s slow and frustratng. So I really hope you can figure something out. Is that FB request essential, or could I replace it with something else?

    Thanks!
    Rico

    Plugin Author valentinas

    (@valentinas)

    elricoshow, i know what you mean. Basically it’s a workaround. I just couldn’t figure out where the problem was, so i just did location.href = location.href. But now when you mentioned it i will concentrate to solve this in next version. It’s time to do that anyway. And if you have any suggestions how to do that – i would greatly appreciate them ??

    Hi Valentinas and thanks for your quick reply.

    I disabled the footer script in the functions.php file, and the plugin still works good! I used to get a blank page in IE sometimes and now it loads properly. I’ve tested creating a new user too, and it works fine. I dunno which problem you ran into, but I didn’t see it — so hopefully, that’s good news!

    Another thing I wanted to mention is the FB button font size doesn’t seem to work. I specify the size in the do_shortcode statement; but it is ignored. Any ideas? The page is here: music downloads page.

    Thanks again, I’ll keep in touch.
    Rico

    Hi Valentinas

    My enquiries led me to two things: you should simply pass the current url to the footer’s response.session. In WP you may need to rewind posts for the_permalink() to work.

    Also, using the jQuery (document).ready in the footer isn’t a good idea cuz it causes bugs in the WP dashboard, if you alredy have a (document).ready in the header.

    Rico

    Plugin Author valentinas

    (@valentinas)

    Hi, thanks for all feedback ?? Just wanted to let you know that i read everything that happens in forums, and i will try to put as much in the next version as possible. I’m really looking for ways to get rid of that redirect. And another thing that i want to do is API key and secret validation, but that’s a bit tricky.

Viewing 15 replies - 46 through 60 (of 75 total)
  • The topic ‘[Plugin: Facebook Connect] Bug’ is closed to new replies.