Title: JohnVizer's Replies | WordPress.org

---

# JohnVizer

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Rename Media Files: Improve Your SEO] Renaming Based On Title Not Working](https://wordpress.org/support/topic/renaming-based-on-title-not-working/)
 *  [JohnVizer](https://wordpress.org/support/users/johnvizer/)
 * (@johnvizer)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/renaming-based-on-title-not-working/#post-4335210)
 * Same here, not working either….
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[ZM Ajax Login & Register] Using shortcode two times problem](https://wordpress.org/support/topic/using-shortcode-two-times-problem/)
 *  Thread Starter [JohnVizer](https://wordpress.org/support/users/johnvizer/)
 * (@johnvizer)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/using-shortcode-two-times-problem/#post-5225493)
 * Ah ok, what if I purchase the Pro version right now, would you guys be able to
   code that feature in for me?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[ZM Ajax Login & Register] Using shortcode two times problem](https://wordpress.org/support/topic/using-shortcode-two-times-problem/)
 *  Thread Starter [JohnVizer](https://wordpress.org/support/users/johnvizer/)
 * (@johnvizer)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/using-shortcode-two-times-problem/#post-5225439)
 * Hi,
 * Well I took that route, I know about your plugin for a long time and I have used
   the handlers and all that and they work all nicely.
 * Just that the problem is that when a person enters the wrong information during
   login, he doesn’t really get a message that says that it’s wrong. There’s simply
   nothing being displayed except if it’s the right login details and I remember
   this problem being there the first time I used this plugin which is like almost
   a year ago. So not sure, could you guys give me a fix for that login issue?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[ZM Ajax Login & Register] Registration button not working](https://wordpress.org/support/topic/registration-button-not-working/)
 *  Thread Starter [JohnVizer](https://wordpress.org/support/users/johnvizer/)
 * (@johnvizer)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/registration-button-not-working/#post-5222318)
 * Ok, I found the issue. The login button always worked, that’s fine. But the reason
   why registration wasn’t working is because of WP Security plugin. I’ll have to
   see exactly what option is causing it. Will update on the issue.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[ZM Ajax Login & Register] Registration button not working](https://wordpress.org/support/topic/registration-button-not-working/)
 *  Thread Starter [JohnVizer](https://wordpress.org/support/users/johnvizer/)
 * (@johnvizer)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/registration-button-not-working/#post-5222307)
 * I’ve sent you an e-mail to [info@zanematthew.com](https://wordpress.org/support/users/johnvizer/replies/info@zanematthew.com?output_format=md)
   concerning this issue with the subject: E-mail follow-up to zM Ajax Login & Register
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[ZM Ajax Login & Register] Registration button not working](https://wordpress.org/support/topic/registration-button-not-working/)
 *  Thread Starter [JohnVizer](https://wordpress.org/support/users/johnvizer/)
 * (@johnvizer)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/registration-button-not-working/#post-5222305)
 * Seems like same thing with Login button. I’d click on the login button but it
   won’t log me in. Hmmm. Any idea why this is happening? I’m not sure if I actually
   had this problem already with the login button, I don’t think so because I wouldn’t
   say that in my first post but I just discovered it this morning that neither 
   the login button is working now :/…
 * – EDIT –
    I noticed in the console that I’m getting this: GET [http://mysitename.com/wp-content/plugins/zm-ajax-login-register/assets/register.css?ver=3.9.2](http://mysitename.com/wp-content/plugins/zm-ajax-login-register/assets/register.css?ver=3.9.2)
   403 (Forbidden) mysitename.com/:32 GET [http://mysitename.com/wp-content/plugins/zm-ajax-login-register/assets/register.js?ver=3.9.2](http://mysitename.com/wp-content/plugins/zm-ajax-login-register/assets/register.js?ver=3.9.2)
   403 (Forbidden)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP RSS Multi Importer] Question on image input in a image postformat](https://wordpress.org/support/topic/question-on-image-input-in-a-image-postformat/)
 *  Thread Starter [JohnVizer](https://wordpress.org/support/users/johnvizer/)
 * (@johnvizer)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/question-on-image-input-in-a-image-postformat/#post-5214616)
 * Btw, before I forget I had another question.
 * Is there a way I could have the image filenames that are stored on my server 
   from the feed to have the name of the title post and the spaces replaced with
   hyphens and possible dots and comma’s to be removed.
 * So for example, if a title of a post that I am taking in is called:
    This is 
   a title post
 * Then i want the filename of the image that belongs to that post to be:
    this-
   is-a-title-post.jpg
 * Right now the filenames fetch the POST id and end it with a -thumb.jpg (What 
   about gif images? That would make them .jpg’s too then?) and I know this is handled
   in import_posts on line 52. But just not sure how I should take the approach 
   to customize it.
    the code for the people reading:
 *     ```
       <br />
       function setFeaturedImage($post_id,$url,$featuredImageTitle){  </p>
       <p>    // Download file to temp location and setup a fake $_FILE handler<br />
           // with a new name based on the post_id<br />
           $tmp_name = download_url( $url );<br />
       //								echo $tmp_name;<br />
           $file_array['name'] = $post_id. '-thumb.jpg';  // new filename based on slug<br />
           $file_array['tmp_name'] = $tmp_name;<br />
       ```
   
 * Perhaps have it echo the Alt text of the image? And then with a -mywebsitename
   instead of -thumb at the end of the filename.
 * I would understand if you can’t explain it all in straight instructional textbook
   style on how to achieve this with nicely baked codes. But any help is appreciated.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Easy Watermark] Auto Watermark after upload not working](https://wordpress.org/support/topic/auto-watermark-after-upload-not-working/)
 *  Thread Starter [JohnVizer](https://wordpress.org/support/users/johnvizer/)
 * (@johnvizer)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/auto-watermark-after-upload-not-working/#post-5207290)
 * Nope, just checked it normally by downloading it through the FTP. Still same 
   old without a watermark. I’ve e-mailed you the screenshots :).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Question Titles & Metas](https://wordpress.org/support/topic/question-titles-metas/)
 *  Thread Starter [JohnVizer](https://wordpress.org/support/users/johnvizer/)
 * (@johnvizer)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/question-titles-metas/#post-5203035)
 * Ok, this is what I have so far, but it isn’t really doing anything. Based off
   on the SEO Api: [https://yoast.com/wordpress/plugins/seo/api/](https://yoast.com/wordpress/plugins/seo/api/)
 * `
    add_filter('wpseo_metadesc','yoast_seo_metafetch'); function yoast_seo_metafetch(){
   if (is_single() || is_page()) { global $post;
 * if (isset($post) && is_object($post))
    $type = get_post_format($post->ID);
 *  if ($type == 'video')
    { $str = "Meta description for video"; } elseif ($type
   == 'audio') { $str = "Meta description for audio"; } elseif ($type == 'quote'){
   $str = "'" . $post->_quote_text . ($post->_quote_author == '' ? "'" : "' - " .
   $post->_quote_author); } elseif ($type == 'image' || $type == 'standard') { $
   str = "Meta description for image"; } else { $str = "Some random stuff here as
   well, not sure if this is needed here though."; }
 *  return $str;
    } }
 * I feel like I am not far off with that code. Any help is appreciated 🙂

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