WordPress.org

Ready to get started?Download WordPress

Forums

User Activation Keys
"Approve" Does Not Seem to Function (5 posts)

  1. thealchemist
    Member
    Posted 3 years ago #

    Hi, I have the latest versions of WordPress and your plugin. I have just noticed that when I click "Approve" on an activation key I am redirected to the homepage of my site. When I return to the plugin section in admin nothing seems to have changed for the user.

    Its NOT something I am truly worried about I was more curious than anything.

    Will there be a time when you create a check box / bulk deletion function for the plugin? Yesterday I got 217 spambot signups and it takes forever to delete them one by one. I could probably wait and use the delete after 30 days function but that means I'll have 6,000 keys floating in the system all the time. Yikes.

    http://wordpress.org/extend/plugins/user-activation-keys/

  2. David Sader
    Member
    Plugin Author

    Posted 3 years ago #

    First, for spammers, you'd want to keep the keys as long as possible. The more keys the better, I figure. Keeping the key means users can't signup with the same username. The keys don't "float about the system", the keys stay put in the signup table and aren't used for much. Deleting keys means they can signup again ASAP.

    That said, I don't intend this tool to fight spam anyway. Key or not, spammers are coming. Install a plugin clearly designed to fight signup spam.

    Read the plugin description for my intents.

    Second,

    when I click "Approve" on an activation key I am redirected to the homepage of my site.

    The Approve links should be to an active page such as "wp-activate.php?key=ef7d1740defc22e9" where you then get further messages about password or whatever.

    Try this:

    Look in the code for the approve link about line 73

    and change this

    echo '<td><a href="' . admin_url() . 'wp-activate.php?key='.$rows['activation_key'] . '" target="_blank">approve</a>

    to this

    echo '<td><a href="' . site_url('wp-activate.php?key='.$rows['activation_key']) . '" target="_blank">approve</a>

  3. thealchemist
    Member
    Posted 3 years ago #

    Thank you. Do you have a recommendation for anti-spambot signups on wordpress multi site with buddy press?

  4. nguyenhoatm
    Member
    Posted 3 years ago #

    `in /home/content/p/h/y/phylliserck/html/wp-content/mu-plugins/ds_wp3_user_activation_keys.php:25) in /home/content/p/h/y/phylliserck/html/wp-content/plugins/user-activation-keys/ds_wp3_user_activation_keys.php on line 25

  5. David Sader
    Member
    Plugin Author

    Posted 3 years ago #

    nguyenhoatm, that error means you have the plugin installed twice. Keep only one in the mu-plugins folder.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic