• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Message Parser

Message Parser 1.0

No permission to download
Compatible XF 1.x versions
1.2, 1.3, 1.4, 1.5
Description:

Provides ability to change final message content when message is saved.

Note this add-on changes the message data, so it only effects new or edited posts.

Installation:
  1. Download messageparser_v1.0.zip and unzip it.
  2. Upload the Andy folder to your server. The correct location is library/Andy.
  3. From your Admin Control Panel, go to the "Install Add-on" page.
  4. Upload the addon-MessageParser_v1.0.xml file
  5. Click the Install Add-on button.
Editing th DataWriter.php file:
  1. Edit the following file:

    library/Andy/MessageParser/DataWriter.php

  2. By default you will see the following line:

    PHP:
    $messageParsed = preg_replace('/test123456789/i', '', $messageParsed);
  3. This will remove the word "test123456789" from the message as soon as it's saved. You will want to change this line of code as needed for your needs. See Discussion for examples.
Sending a donation:

If you like this add-on, please consider sending a small donation.

https://www.paypal.me/andybajka

Thank you.
Likes: Nomy
Author
AndyB
Downloads
34
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from AndyB

  • Weekly digest
    Weekly digest
    Sends an email to your members every week showing most popular topics.
  • View map
    View map
    Creates a button called View map for use in messages.
  • Countdown
    Countdown
    Provides a countdown timer in the sidebar.
  • User agent
    User agent
    Allows seeing the types of devices members are using to view your forum.
  • Street view
    Street view
    Creates an embedded Google street view into a message.

Latest reviews

Very nice addon, I use it for editing posts from a RSS-feed. Works just as described.