• Resolved vk011

    (@vk011)


    Hello,

    I am making a plugin and would like to integrate with your newsletter plugin.

    I would like to automatically insert a row into your newsletter table when a person registers, so my Q is, if I for example leave the “token” column empty or just insert same token every time, will that mess with the plugin or will it work normally?

    So if I add 10 subscribers and and insert the same token for each, e.g. “dea9ddb25c”, is that a problem for your plugin?

    Thanks

    https://www.ads-software.com/plugins/newsletter/

Viewing 2 replies - 1 through 2 (of 2 total)
  • from module.php of newsletter plugin:

    static function get_token($size = 10) {
            return substr(md5(rand()), 0, $size);
        }
    Plugin Author Stefano Lissa

    (@satollo)

    Is a problem for your subscribers, since it should be unique to avoid profile manipulation of subscribers.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Token column in newsletter table’ is closed to new replies.