Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Support request] Emoticon and Custom Messages Addon

Simple Membership Plugin › Forums › Simple Membership Plugin › Emoticon and Custom Messages Addon

Tagged: Custom Messages Addon, emoticons

  • This topic has 7 replies, 3 voices, and was last updated 4 years, 6 months ago by Eric iStudio101.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • January 3, 2022 at 10:56 am #23432
    Eric iStudio101
    Participant

    Hi,
    I would like to add emoticons 👋🏻 🚫 within my message, but there looks to be rejected.
    Is it something that could be supported? (Where can I submit a new feature?)
    Thank you
    Eric

    January 3, 2022 at 11:51 pm #23437
    mbrsolution
    Moderator

    Thank you for reaching out to us. I have submitted a message to the developers to investigate further your request.

    Kind regards.

    January 4, 2022 at 12:40 pm #23438
    admin
    Keymaster

    These messages will strip certain HTML characters when the sanitization function is called (this done for security). So this is something you may be able to do by using the filter hook and custom code on your site.

    Please give me an example of which message you want to customize and what is the HTML that you want to use so I can check it.

    January 4, 2022 at 1:12 pm #23439
    Eric iStudio101
    Participant

    Thank you!

    As an example, for “Restricted More Tag” at
    …/wp-admin/admin.php?page=swpm-custom-message
    I would like to set :

    🚫Vous n’avez pas le niveau d’abonnement suffisant pour lire la suite de ce contenu.<br/> <a href=”mailto:eric@myemail”> Contactez-moi pour toute question.

    I would like to use emoticons in most/all of the “Custom Messages Addon” customizable fields.

    Thank you very much for your help!

    January 5, 2022 at 6:23 am #23446
    admin
    Keymaster

    The swpm_restricted_more_tag_msg filter is triggered for that message. So you should be able to use this filter to specify your custom HTML content that you want to output for it. The following is just an example code to show how this filter can be used in your custom code:

    
    add_filter('swpm_restricted_more_tag_msg', 'custom_restricted_more_tag_msg');
    function custom_restricted_more_tag_msg ( $output ){
        $output .= "My custom more tag message test";
        return $output;
    }
    
    January 5, 2022 at 8:17 am #23448
    Eric iStudio101
    Participant

    Thank you so much!

    January 5, 2022 at 9:11 am #23450
    Eric iStudio101
    Participant

    (
    One or two more things…
    – “Custom Messages Addon” should be deactivated, or
    – The concerned field should be empty in the “Custom Messages Addon” panel
    )

    January 5, 2022 at 10:04 am #23451
    Eric iStudio101
    Participant

    One last question… what is the mean to include the value of {login_url} ?
    thanks
    Eric

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy