Skip to:
Content
Pages
Categories
Search
Top
Bottom

Mail without links


  • mirza17
    Participant

    @mirza17

    Hi,

    in one of our internal websites we installed WordPress 3.1.1 with BuddyPress 1.5 and plugin buddypress-group-email-subscription 2.9.3.

    We need to remove all the links from every email sent out with the plugin. Is there some functionality to do it quickly or should I work directly on PHP code?

    Thanks for the support.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You should check if the plugin has actions or filters which you can use to modify the output. You shouldn’t change a plugin’s code, because you’ll overwrite the changes with any future updates. I also urge you to upgrade to the latest versions of WP and BP, if only for security reasons.


    mirza17
    Participant

    @mirza17

    Thank you very much for the answer.

    Unfortunately we can’t upgrade to the latest versions. I know the security on old version is not good…

    I also know that changing the source code I’ll loose my changes every time I upgrade, but as already explained, we can’t upgrade this website.

    Someone knows something else?

    Thanks again!

    There are no good reason why you cannot upgrade.


    r-a-y
    Keymaster

    @r-a-y

    If you’re planning on sticking with older versions of WP, BP and Group Email Subscription, you might as well modify the Group Email Subscription code to remove the links for your own use.

    If you want to do this without modifying the Group Email code and you are familiar with WordPress filters, hook into these filters:

    ‘bp_ass_new_topic_content’
    ‘bp_ass_forum_reply_content’
    ‘bp_ass_activity_notification_content’

    And write your own functions to remove the links in the content.  This will not remove the email footer links.

    Hope that helps!


    mirza17
    Participant

    @mirza17

    Thank you for your response, today I try with your proposal


    mirza17
    Participant

    @mirza17

    I tried with your suggestions but does not work.

    Someone knows something else?


    GANESH
    Participant

    @gvanamu

    Hello, is there a plugin to make this work? how about the welcome pack?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Mail without links’ is closed to new replies.
Skip to toolbar