WordPress.org

Forums

Subscribe2
Dont show on User options the otions to change "Receive email as" (4 posts)

  1. ferreira2u
    Member
    Posted 3 years ago #

    Hello

    I want user dont have de options to change their:
    Receive email as: HTML-Full HTML-Excerpt Plain Text-Full Plain Text-Excerpt

    So what to do for this options dont show on User menu.

    http://wordpress.org/extend/plugins/subscribe2/

  2. mattyrob
    Member
    Posted 3 years ago #

    @ferreira2u,

    You will have to make amendments to the code for that. It's in the user_menu() function in the subscribe2.php file.

    Either that or use the built in 's2_capability' filter to deny your users access to that menu. See the FAQs for more on how to do that.

  3. ferreira2u
    Member
    Posted 3 years ago #

    I change subscribe2.php file, delete lines 2505 to 2513 (echo lines)

    That's it ?
    This dont make a conflit on working script ?

  4. mattyrob
    Member
    Posted 3 years ago #

    @ferreira2u,

    That should work but it will set everyone who updates to the plain text excerpt due to the way the code handles the returned input.

    Either enter a hidden input with your preferred value or also edit the code at line 2423.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Subscribe2
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags