Title: Bryan's Replies | WordPress.org

---

# Bryan

  [  ](https://wordpress.org/support/users/bromius/)

 *   [Profile](https://wordpress.org/support/users/bromius/)
 *   [Topics Started](https://wordpress.org/support/users/bromius/topics/)
 *   [Replies Created](https://wordpress.org/support/users/bromius/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/bromius/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/bromius/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/bromius/engagements/)
 *   [Favorites](https://wordpress.org/support/users/bromius/favorites/)

 Search replies:

## Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Sweet Captcha] [Plugin: Sweet Captcha – R U Human?] Can I use SweetCaptcha for Registration form, without using it](https://wordpress.org/support/topic/plugin-sweet-captcha-r-u-human-can-i-use-sweetcaptcha-for-registration-form-without-using-it-for-login-form/)
 *  [Bryan](https://wordpress.org/support/users/bromius/)
 * (@bromius)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-sweet-captcha-r-u-human-can-i-use-sweetcaptcha-for-registration-form-without-using-it-for-login-form/#post-2873946)
 * Having the exact same issue with my site.
 * What was the solution?
 * B
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[File Gallery] [Plugin: File Gallery] Simply Template / Invalid initial "medium" photo](https://wordpress.org/support/topic/plugin-file-gallery-simply-template-invalid-initial-medium-photo/)
 *  Thread Starter [Bryan](https://wordpress.org/support/users/bromius/)
 * (@bromius)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-file-gallery-simply-template-invalid-initial-medium-photo/#post-2615048)
 * Yeah… it did strike me as odd also. Let me know if you need any further debugging
   info.
 * B
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[File Gallery] [Plugin: File Gallery] Simply Template / Invalid initial "medium" photo](https://wordpress.org/support/topic/plugin-file-gallery-simply-template-invalid-initial-medium-photo/)
 *  Thread Starter [Bryan](https://wordpress.org/support/users/bromius/)
 * (@bromius)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-file-gallery-simply-template-invalid-initial-medium-photo/#post-2615042)
 * 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.jpg](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.jpg)
 * The 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.jpg](http://www.tortugatwins.com/wp-content/uploads/members-only-journal/jefhall/2012/03/7-Sunset-over-Arizona-300×225.jpg)
 * And 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>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[File Gallery] [Plugin: File Gallery] Simply Template / Invalid initial "medium" photo](https://wordpress.org/support/topic/plugin-file-gallery-simply-template-invalid-initial-medium-photo/)
 *  Thread Starter [Bryan](https://wordpress.org/support/users/bromius/)
 * (@bromius)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-file-gallery-simply-template-invalid-initial-medium-photo/#post-2614999)
 * Alas, it still has the same behavior. :-\
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[File Gallery] [Plugin: File Gallery] Simply Template / Invalid initial "medium" photo](https://wordpress.org/support/topic/plugin-file-gallery-simply-template-invalid-initial-medium-photo/)
 *  Thread Starter [Bryan](https://wordpress.org/support/users/bromius/)
 * (@bromius)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-file-gallery-simply-template-invalid-initial-medium-photo/#post-2614984)
 * 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?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[File Gallery] [Plugin: File Gallery] Simply Template / Invalid initial "medium" photo](https://wordpress.org/support/topic/plugin-file-gallery-simply-template-invalid-initial-medium-photo/)
 *  Thread Starter [Bryan](https://wordpress.org/support/users/bromius/)
 * (@bromius)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-file-gallery-simply-template-invalid-initial-medium-photo/#post-2614705)
 * 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.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Facebook Connect] [Plugin: Simple Facebook Connect] Publish comment to users facebook wall when logged into wordpress](https://wordpress.org/support/topic/plugin-simple-facebook-connect-publish-comment-to-users-facebook-wall-when-logged-into-wordpress/)
 *  Thread Starter [Bryan](https://wordpress.org/support/users/bromius/)
 * (@bromius)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-publish-comment-to-users-facebook-wall-when-logged-into-wordpress/#post-2514775)
 * Duncan, could you? Bryan at Ragon dot org
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Facebook Connect] [Plugin: Simple Facebook Connect] feature request: no post on someone's behalf](https://wordpress.org/support/topic/plugin-simple-facebook-connect-feature-request-dont-allow-to-post-on-someones-bahalf/)
 *  [Bryan](https://wordpress.org/support/users/bromius/)
 * (@bromius)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-feature-request-dont-allow-to-post-on-someones-bahalf/#post-2497076)
 * 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.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PixoPoint Menu Plugin] [Plugin: PixoPoint Menu Plugin] URLs are suddenly broken – duplicated and # inserted](https://wordpress.org/support/topic/plugin-pixopoint-menu-plugin-urls-are-suddenly-broken-duplicated-and-inserted/)
 *  [Bryan](https://wordpress.org/support/users/bromius/)
 * (@bromius)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-pixopoint-menu-plugin-urls-are-suddenly-broken-duplicated-and-inserted/#post-1875040)
 * I can confirm the same thing is happening for me.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Simple Facebook Connect] 403 on “Facebook Connect”](https://wordpress.org/support/topic/plugin-simple-facebook-connect-403-on-facebook-connect/)
 *  Thread Starter [Bryan](https://wordpress.org/support/users/bromius/)
 * (@bromius)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-403-on-facebook-connect/#post-1500233)
 * 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Simple Facebook Connect] 403 on “Facebook Connect”](https://wordpress.org/support/topic/plugin-simple-facebook-connect-403-on-facebook-connect/)
 *  Thread Starter [Bryan](https://wordpress.org/support/users/bromius/)
 * (@bromius)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-403-on-facebook-connect/#post-1500226)
 * 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/](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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Change Widgets based on Page or Category or Author](https://wordpress.org/support/topic/change-widgets-based-on-page-or-category-or-author/)
 *  [Bryan](https://wordpress.org/support/users/bromius/)
 * (@bromius)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/change-widgets-based-on-page-or-category-or-author/#post-648195)
 * Alan, I would be very interested in this plugin!

Viewing 12 replies - 1 through 12 (of 12 total)