Home Forums Newsletter Plugin Support wp_newsletter table

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #15514
    Edward
    Participant

    Hi

    i saw that inside wp_newsletter table
    that there is a field named ‘token’

    i think i may upload contacts directly by mysql/phpadmin populating all fields
    but i can understand how this ‘token’ field is generated
    and how can just in the case generate it(for avoiding db messes)

    Thanks

    #15517
    Stefano
    Keymaster

    It’s a random string usually of 10 characters.

    #15518
    Edward
    Participant

    any problems in case of duplicate of the same token
    between more records??

    #15519
    Stefano
    Keymaster

    No, but a token is what grant the subscriber security when editing his profile. So use a random token for every subscriber you import. Mysql has some function to generate random numbers for example.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.