Bryan
Forum Replies Created
-
Having the exact same issue with my site.
What was the solution?
B
Yeah… it did strike me as odd also. Let me know if you need any further debugging info.
B
The intial <img> tag has a src of:
http://www.tortugatwins.com/wp-content/uploads/members-only-journal/jefhall/2012/03/7-Sunset-over-Arizona-1024x768http://www.tortugatwins.com/wp-content/uploads/members-only-journal/jefhall/2012/03/7-Sunset-over-Arizona-300×225.jpgThe true url of the “medium” photo is:
http://www.tortugatwins.com/wp-content/uploads/members-only-journal/jefhall/2012/03/7-Sunset-over-Arizona-300×225.jpgAnd the entire gallery-item element is:
<dl class="gallery-item"> <dt class="gallery-icon"> <span class="diff"><span><a class="linkclass" href="http://www.tortugatwins.com/wp-content/uploads/members-only-journal/jefhall/2012/03/7-Sunset-over-Arizona-300x225;#;#;jpg">http://www.tortugatwins.com/wp-content/uploads/members-only-journal/jefhall/2012/03/7-Sunset-over-Arizona-300x225;#;#;jpg</a></span></span> <a href="http://www.tortugatwins.com/wp-content/uploads/members-only-journal/jefhall/2012/03/7-Sunset-over-Arizona-1024x768.jpg" title="Sunset+over+Arizona" class="" rel="thickbox-4"> <img src="http://www.tortugatwins.com/wp-content/uploads/members-only-journal/jefhall/2012/03/7-Sunset-over-Arizona-150x150.jpg" width="150" height="150" title="Sunset over Arizona" class="attachment-thumbnail" alt="Sunset over Arizona"> </a> </dt> </dl>Alas, it still has the same behavior. :-\
Yup. It broke it. I now have to different galleries posted. One works with original code, one only works with mine.
Using original code this one works:
[gallery link="file" link_size="large" include="2541,2542,2543,2544,2545,2546,2547,2548,2549,2550,2551,2552,2553" linkclass="thickbox" template="simple"]which yields this html
[snipped – dude, WAAAAY too big. Use Pastebin.com please and thank you – moderators]
So apparently my fix didn’t work, so I’m back to what’s wrong with my original gallery?
Okay, message me here and I’ll send email address, lol.
But I think I migth have solved… on line 30 of templates/simple/gallery.js:
current_image_src = current_image_href.replace(ext_regex, diff[0] + '.' + diff[1]),Changed it to:
current_image_src = diff[0] + '.' + diff[1],This appears to have fixed it. I hope it didn’t break anything else.
Duncan, could you? Bryan at Ragon dot org
I think I understand what he’s saying. Basically the user is not logged into wordpress via any method. The “Allow FB Login to Comment (for non-registered users)” module is enabled.
Now on top of the comments form the user clicks the “Connect with Facebook” button. At this point the user is only asked to “Authenticate” with facebook. Allowing the website to get their Name/email/avatar. This is used for the comments form.
Now, the form reloads, they write their comments. They see the checkbox for “Share this with facebook” at this point if they check it, now they are prompted “Hey do you want this website to post to your wall.”
And also, add a option in the administration screen to display or not display the “Share this with facebook” checkbox.
I can confirm the same thing is happening for me.
Forum: Plugins
In reply to: [Plugin: Simple Facebook Connect] 403 on “Facebook Connect”Ah, the links on your site are from sfc-comments not sfc-connect. Slightly different critter 🙂
Question still stand though, why is a pre-existing WP blog account not properly being connected with a FB account.
Also is there a way to check to see if a user is connected? I’d like to not display the connect widget if the user is already connected. I have Widget Logic, so I can turn off the display of the connect widget, as long as I can generate some php that will tell me. Something similar to is_admin(). Maybe is_sfc_connected()?
Forum: Plugins
In reply to: [Plugin: Simple Facebook Connect] 403 on “Facebook Connect”Okay, I’ve gotten a little further. The problem is somehow related to my Host provider. (Host Gator)
Basically it doesn’t like the url:
http://www.somedomain.com/wp-login.php?redirect_to=http://www.somedomain.com/It doesn’t like the extra forward slashes.
so I went into sfc-connect-widget.php and changed line 46 to escape the redirect to url:
function sfc_connect_shortcode() { $login ='<fb:login-button perms="email" v="2" size="medium" onlogin="window.location=\''; $login .= wp_login_url(); $login .= "?redirect_to='+escape(document.URL);\""; $login .= '><fb:intl>Connect with Facebook</fb:intl></fb:login-button>'; return $login; }Now it gets further.
Now I click the connect widget button, and I get a popup prompting me to approve/login with facebook. I then get sent to a wp-login.php with a username and email field. I click okay on that and viola. I get a wp blog account connected to my fb account.
First question, Otto, how do I get it to skip that “agree to username and email” step and just create the account, like you have on your blog?
Now my second test was to have a pre-existing WP blog account that uses the same email address as my FB account is registered to. Now when I log on to WP blog with my username and pass and _then_ hit the connect it doesn’t recognize that I’m the same person. But it does get my name and email from FB, then redirects to the same “create new account” page filled in with name and email. However now if I click “yes” it complains about an already existing WP account with that name and email. Why is it not connecting a pre-existing WP account with my FB account when I click connect?
Thanks 🙂
Forum: Plugins
In reply to: Change Widgets based on Page or Category or AuthorAlan, I would be very interested in this plugin!