Spam Free WordPress
[resolved] Can't copy password (6 posts)

  1. shanepetty
    Posted 4 years ago #

    Updated to 3.3.1 and the password cannot be copied now, it just disappears. Theme comments.php was already set originally with correct code to work and it was working prior to the upgrade to 3.3.1.

    I searched the form and couldn't find the specific issue related to what is going on. I tried Chrome and Firefox and get the same issue with not being able to copy the password. When I type it in exactly, I get the error: Error 1: Click back and type in the password.

    Here's a link to a comment area: http://www.peerlesstreefarm.com/2011/04/trees-video-pictures/

    Any ideas?



  2. Todd Lahman
    Plugin Author

    Posted 4 years ago #

    I was able to leave a test message on the comment form. The uppercase L and I looked exactly the same with the font used by that theme. It is odd that the password disappears when it is clicked to copy it, which I suspect is caused by the theme as well.

    Please post all of the code from your original comments.php file to http://pastebin.com/, and I will then reply with a link to pastebin with the new code for your comments.php file if any changes are required.

  3. shanepetty
    Posted 4 years ago #

    Here's the link to the original comments.php 


    I do not think I made any modifications to it. It was working before the upgrade. There were a few comments posted, so I know it was working.

    The only additional plugin I've added since then is cbnet Multi Author Comment Notification which I added so the client could be notified of the comments pending approval. When trying to test this is when I realized the copy password function was messed up.

    Thanks for your help.


  4. Todd Lahman
    Plugin Author

    Posted 4 years ago #

    It appears there is some Javascript running on the page conflicting with a common Javascript command in the plugin. Find the Spam Free WordPress file named tl-spam-free-wordpress.php, open it, and remove the following code from line 204:


    That will fix the problem.

  5. shanepetty
    Posted 4 years ago #

    I removed the code. Still getting the same issue when trying to copy the password on IE, Chrome, and Firefox. I was able to type the password and get a successful submit on IE, however on Chrome and FF, it gave me the go back and enter the password.

  6. Todd Lahman
    Plugin Author

    Posted 4 years ago #

    Empty W3 Total Cache.

    This is easy to test. Turn off Javascript in your web browser, and the form works perfectly. Removing that code I mentioned above will fix this issue. Without that code the form is just an html form, and html works in all web browsers.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Spam Free WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic