WordPress.org

Ready to get started?Download WordPress

Forums

Participants Database
Sending "signup private link" email after CSV import (5 posts)

  1. andyrich29
    Member
    Posted 1 year ago #

    Hi xnau,

    Firstly, thanks for a great plugin.

    I have just started to run the website for a local running club, and we are trying to get into the 20th century by having our club members stored in a database rather than a paper list in somebody's drawer.

    I've used the useful import facility, to import a list of names and email addresses to create the current list of club members in the DB.

    However, this doesn't send an e-mail to each participant to let them know of their private link.
    Whats the best way to achieve this? I'm a C++ programmer and have been recently researching on how wordpress, php, plugins in general and how your plugin works with a view to possibly modifying your plugin or writing my own (neither of which I'm that confident about at the moment!)

    So I thought I'd give you a shout, in case you have a quick solution?

    Many Thanks
    Andy

    http://wordpress.org/extend/plugins/participants-database/

  2. xnau
    Member
    Plugin Author

    Posted 1 year ago #

    Andy,

    There's no quick solution for that. The plugin does not send out mass emails. You can create a script that will pull info from the database and send out emails using the WP mail function, but you'd be pretty much doing that from scratch. I can supply you with some details if you need.

  3. andyrich29
    Member
    Posted 1 year ago #

    Thanks xnau, some details on how to do that would be much appreciated, including where to put it and how to invoke it. Thanks for your time.

  4. xnau
    Member
    Plugin Author

    Posted 1 year ago #

    OK, well, I can only give you some basic hints with the time I have, but you can start by looking up the "wp_mail" function in the codex...that's how you will send your email. To run a script in WordPress like you're doing, one good way to do this is to create a page template for that purpose and use it on a private page so no-one else can run it. In the template, you can put any PHP code you want. When you open that page the code will run, or you can put in a button that will run the code by submitting a form...that's usually best.

    If this doesn't make sense to you, you'll need to get some more basic info on how to write PHP scripts for WordPress...what you want to do is fairly simple, but not a beginner's script at all.

    BE CAREFUL, don't spam your people with test runs! Be certain it's working as planned before sending out your email to others.

  5. andyrich29
    Member
    Posted 1 year ago #

    Many thanks Roland.

    I shall take a look and let you know how I get on.

    Andy

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic