WordPress.org

Ready to get started?Download WordPress

Forums

Spam Free WordPress
[resolved] Can't remove "sfw_comment_form_password:" (6 posts)

  1. Keith Michelson
    Member
    Posted 3 years ago #

    I Can't remove "sfw_comment_form_password:" from product page. I've removed the plugin and files. I've re-uploaded my comments.php and other templates for wp-eccommerce

    Here is the site::\
    http://terrytop.com/products-page/bright-solids/peppy-pink

    Any help would be greatly appreciated.

    http://wordpress.org/extend/plugins/spam-free-wordpress/

  2. Todd Lahman
    Member
    Plugin Author

    Posted 3 years ago #

    This issue has nothing to do with Spam Free WordPress, as I will try to explain.

    When Spam Free WordPress is active it creates a column in the postmeta table called "sfw_comment_form_password," and stores a password in a row for each post after it is published. When the page loads the comments.php file, Spam Free WordPress pulls the password out of sfw_comment_form_password for that post, and displays it in the password field in the comment form.

    It appears that the shopping cart plugin is displaying any available meta data in the database for that post. I don't know why the plugin would do that, or if someone created code to display the data from the sfw_comment_form_password row. Although I can help solve this issue by deleting the passwords from your database, this issue could come up again with another plugin in the future if the problem is not fixed in the shopping cart plugin.

    Here's the code I see in your page that did not come from Spam Free WordPress:

    <!--close product_description -->
    <div class="custom_meta">
    <strong>sfw_comment_form_password: </strong>3ZGEMCQHIACU<br />
    </div><!--close custom_meta-->

    To delete the Spam Free WordPress passwords from your database run the following SQL query:

    DELETE from wp_postmeta WHERE meta_key = "sfw_comment_form_password" ;

    The SQL query can be run using phpMyAdmin, or the following WordPress plugin: http://wordpress.org/extend/plugins/wp-dbmanager/

    The next version of Spam Free WordPress will automatically delete all passwords from the database when it is disabled, then deleted, using the plugins management page.

  3. Keith Michelson
    Member
    Posted 3 years ago #

    Hey, thanks so much for getting back to me so fast, that worked great! I'll check it out on the next update.

  4. Skygirl
    Member
    Posted 3 years ago #

    This was my solution: Add this to wpsc theme stylesheet file

    div#single_product_page_container div.custom_meta {display:none;}

  5. Michael Johansen
    Member
    Posted 2 years ago #

    Every time you come out with a new version, I've had troubles getting my blog to work again after upgrading!

    Now I've given up and tried to uninstall you plugin.

    No matter how hard I try to make my blog work after uninstalling it, I keep get the following warning above my comment box:

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'tl_spam_free_wordpress_comments_form' was given in /home/xxxxx/public_html/wp-includes/plugin.php on line 403 - See more at: http://www.buildinganonline.com/blog-engage-review-consider-join-2769/

    As soon as your plugin is reactivated, the above disappears.

    I've used your plugin's possibility to create the comment form once, but since it looked awful (at my theme), I disabled it immediately again.

    I've tried to run the SQL query mentioned above - No luck!
    I've tried to re-install it, and deselect all options - No luck!
    I've deactivated all other plugin's - No luck!

    My support question is: What do I do to end this error?

  6. Michael Johansen
    Member
    Posted 2 years ago #

    Since this thread is marked [resolved], I have opened a new thread...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic