The MU forums have moved to WordPress.org

email all users - how hard would it be to write this in? (11 posts)

  1. Farms
    Member
    Posted 19 years ago #

    About an age ago I asked Donncha if they were going to put an 'Email all users' thing in and it hasn't been mentioned since... personally I'd be *really keen* to get something like this going as the alternative, for me at least, is copying and pasting out of the dbase (yuk).

    Don't think it needs any frills... just a no-reply from field and the ability to recognise multiple entries of the same email address as being just that (and not sending them a million emails).

    How hard could this be? Any ideas?

  2. Invizz
    Inactive
    Posted 19 years ago #

    easy ^_^

  3. Invizz
    Inactive
    Posted 19 years ago #

    Just for you.

    http://konight.ru/wmus/code/wpmu_mailer/wpmu_mailer_1.0.txt

    make a file named wpmu_mailer.php in plugins dir and paste this there. Then enable plguin. In site admin u'll see this.

    Good luck, all thank me :D

  4. Farms
    Member
    Posted 19 years ago #

    Bloody hell! Have you got some sort of site I can promote.... way in which I can grovale in appreciation! Will run it this evening.

  5. mspecht
    Member
    Posted 19 years ago #

    It sounded easy but in looking at the code it seems bloody easy you just need to know the magic. Update us James with the results.

  6. Farms
    Member
    Posted 19 years ago #

    Wahay, works!

    Fantastic thankyou!

    A few bits and bobs:

    -No recognition of returns etc. in the text box (so my test post came out as a big 'ol stream of consciousness :D have pasted below to demonstrate)

    -It's sending out an email per user (so if someone's got 10 blogs all registered under the same email address they get 10 emails... imagine this one might be a bit tricky to fix though?)

    -After all that pretty much all it needs is an 'don't receive future emails' link at the bottom of each email for people to opt out with and then it'd be absolutely perrrfect!

    Great work again, can't tell you how cool this is!

    Here's how my email came out:

    "Dear Unibloggers, First up, apologies for the unannounced email, I\'m testing out a system for producing a uniblogs newsletter and this is it\'s first post... sorry! Secondly, I don\'t think that this email will have an unsubscribe function in it so you can \'opt out\' of receiving emails... there will be one in the next one... promise! Thirdly, and more interestingly though, I\'d like to give you a rundown of some of the Uniblogs.org latest features and invite you to share the good news with other students, peers or colleagues! We\'ve recently added: -60 new and (dare I say it) rather nice themes! -A complete image upload and display system (you will also be able to use this for files in the very near future!) -\'Latest Posts\', \'Latest Updated Blogs\' and \'Featured Blogs\' on the front page so you can see what other great unibloggers are doing and they can see you too! Here\'s hoping you enjoy http://uniblogs.org Thanks for yer time! James ."

  7. georgesgabereau
    Inactive
    Posted 19 years ago #

    Hey, I edited this plugin bit to solve the problems encountered by Farms. I edited some other things to make it fit in better with WPMu, that's just personal preference.
    I added a couple of features.

    Download my version here.

    The next step to making this an awesome plugin would be to incorporate the TinyMCE editor like we see on the Post page.
    If someone could quickly point me to where that would be, I'll take a stab at it.

  8. Invizz
    Inactive
    Posted 19 years ago #

    dude, i'm too worked on it ;| ok ill check what uve done.

  9. Invizz
    Inactive
    Posted 19 years ago #

    okay, ill add my changes to the version u edited.

    I made
    - dont spam me
    - same adresses issue problem solve
    - something maybe i forgot.

    I'll release it in 3-4 hours. just wanna sleep :)

  10. Farms
    Member
    Posted 19 years ago #

    Excellent, you are allowed to sleep :D

  11. Invizz
    Inactive
    Posted 19 years ago #

About this Topic