User Submitted Posts
[resolved] Great plugin (2 posts)

  1. Daiv Mowbray
    Posted 3 years ago #

    Hey, thanx,
    This is a great plugin,
    I even like the code structure!
    I did want to have the admin advised when a post had been submitted, so I added a small bit of code, it could work for others.
    File: plugins/user-submitted-posts/views/submission-form.php
    around line: 13, just add this:

    $to = 'admin@your.domain.com';
    $subject = 'New Article posted from the site by member';
    $message = 'Hey, there is a new article to be approved.';
    wp_mail( $to, $subject, $message); ?>

    This is real basic, and hard coded with no options, but it works.



  2. Jeff Starr
    Plugin Author

    Posted 2 years ago #

    Thank you Daiv, that's great to hear :)

    I've got this feature on the list for the next update. Thanks for the idea!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • User Submitted Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic