Menu

#6 MOD_EXTRACT_BODY

open
nobody
None
5
2005-06-09
2005-06-09
andrewerbs
No

Module for filtering erroneous information from posts.
A variant of the remove footer filter, expect this
module lets you
Filter the Header and footer, by starting and finishing
you message with
Hash symbol, or whatever you specify in the preferences.

Furthermore, this module applies the same rule to the
subject.

NOTE:

I would to make this module redirect the subject field
to the message body…
As my Telco writes my subject for me eg. “[PXT from
+6141xxxxxx]”)

I’d like to write my messages;

%Subject bit here% #Message body here#

But can’t get it to work quite right…

If someone could have a look and let me know what I
doing wrong, it’d be much appreciated.

Discussion

  • iamdecal

    iamdecal - 2005-06-13

    Logged In: YES
    user_id=1126528

    i think i see the problem

    mod_extract_body_post_filter.php: line 11

    $post['post_mail_subject'] == $subject;

    should that be

    $post['post_mail_subject'] = $subject;

    i.e. it should be set to that value, not check if it equals
    that value.

    hope that helps, let me know if its not the problem and ill
    look again.

    iamdecal
    http://www.iamdecal.co.uk

     
  • andrewerbs

    andrewerbs - 2005-06-13

    Mod Extract Body Version 1

     
  • andrewerbs

    andrewerbs - 2005-06-13

    Logged In: YES
    user_id=1288152

    iamdecal's changes have been made and were successful and
    this module is fully functioning in all it's glory, download
    and enjoy!!

     

Log in to post a comment.

MongoDB Logo MongoDB