Results 1 to 7 of 7

Thread: [phpBB MOD] New POSTS By Mail

  1. #1
    Join Date
    Sep 2003
    Posts
    3,040

    Default [phpBB MOD] New POSTS By Mail

    Hi,

    This is my First phpBB MOD.

    ------------------

    MOD Title: New POSTS By Mail

    MOD Version: 1.0

    MOD Description: This MOD will send Every new POSTS in your Forum to email address specified by you. This will HELP you to go through every new POSTS and moderate them with out visiting each POSTS.


    Download:
    http://domainstobuy.com/zip/new_post...il_mod_1.0.zip

    Regards,

    Yujin



    MOD Header:

    Code:
    ##############################################################
    ## MOD Title: New Post By Mail
    ## MOD Author: Yujin Boby < [email protected] > (Yujin Boby) http://www.domainstobuy.com/
    ## MOD Description: This simple MOD send new posts to admins by email.
    ## MOD Version: 1.0
    ##
    ## Installation Level:	Easy
    ## Installation Time:	1 Minute
    ## Files To Edit: includes/functions_post.php
    ##
    ##############################################################
    ## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
    ## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
    ## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
    ## in our MOD-Database, located at: http://www.phpbb.com/mods/
    ##############################################################
    ## Author Notes:
    ##
    ## This MOD is especially useful for forums that is moderated by admin or have only few Moderators.
    ##
    ##############################################################
    ## MOD History:
    ##
    ##   2004-09-18 - Version 1.0
    ##	  - Initial version
    ##
    ##############################################################
    ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
    ##############################################################
    
    #
    #-----[ OPEN ]---------------------------------------------
    #
    includes/functions_post.php
    
    #
    #-----[ FIND ]---------------------------------------------
    #
    
    $sql = ($mode != 'editpost') ? "INSERT INTO " . POSTS_TEXT_TABLE . " (post_id, post_subject, bbcode_uid, post_text) VALUES ($post_id, '$post_subject', '$bbcode_uid', '$post_message')" : "UPDATE " . POSTS_TEXT_TABLE . " SET post_text = '$post_message',  bbcode_uid = '$bbcode_uid', post_subject = '$post_subject' WHERE post_id = $post_id";
    
    #
    #-----[ AFTER, ADD ]---------------------------------------------
    #
    
    $msg_for_me = "
    $post_message
    _____________
    http://YOURFORUM.COM/viewtopic.php?p=$post_id
    ";
    
    mail("[email protected]","New Post - $post_subject","$msg_for_me","From: Your Forum <[email protected]>");
    
    #
    #-----[ NOTE ]---------------------------------------------
    #
    
    In the above code, you have to replace
    
    [email protected] == Your Email id, to which new POST notifications will be send
    
    YOURFORUM.COM == URL of your forum
    
    
    #
    #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
    #
    # EoM
    Become PHP Expert in 30 days
    FreeMarriage.com - Free Online Matrimonial
    FlashWebHost.com - Professional Web Hosting, Designing.

  2. #2
    Join Date
    Sep 2004
    Location
    Maryland, USA
    Posts
    332

    Default

    cool. 8)

    maybe I should subscribe to a topic to see it work. :lol:

  3. #3
    Join Date
    Oct 2004
    Posts
    33

    Default

    I think it only sends it to admins. I'd set up a gmail account for that, because you're going to get flooded with emails

  4. #4
    Join Date
    Nov 2004
    Location
    Lithuania
    Posts
    18

    Default

    I've checked fastly when downloaded and as the First I can see it works good :) but I think it's not very good for moderating if you are a admin becouse you won't be able to catch up things and e-mail will get easily flooded. But, good work. It would be nice to see more of your work!

  5. #5
    Join Date
    Nov 2004
    Location
    Demon Land
    Posts
    140

    Default

    nice

  6. #6
    Join Date
    Nov 2004
    Posts
    12

    Default

    sorry,
    i have not even the first one!

  7. #7
    Join Date
    Dec 2004
    Location
    Singapore
    Posts
    47

    Default

    quite useful...
    but i maybe quite...irritating if you don't want some of the posts...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •