Viewing 15 replies - 1 through 15 (of 22 total)
  • @xavierlh1,

    Yes you can. You need to write a little plugin to inject some CSS styling into the admin header to hide the ID called ‘s2_authors’.

    @xavierlh1,

    Some very basic code would look like this. You could make it more elegant to only add that CSS to the appropriate page.

    function hide_s2_sections() {
    	echo '<style type="text/css">.s2_authors, {display:none;}</style>';
    }
    
    add_action('admin_head', 'hide_s2_sections');
    Thread Starter xavierlh1

    (@xavierlh1)

    I saw elsewhere in the forum that someone had a plugin extension to display Subscription settings on a page rather than in the dashboard. I guess that what I’ll need to do and tweak.

    Thanks for the info.

    @mattyrob Is your answer still accurate? I’m also trying to hide the Select Authors section from the Admin Screen but am not seeing results after trying to create a custom plugin with your code.

    Thanks!

    P.S. I’d also like to hide the “HTML – Full” and “Plain Text – Full” options from that same screen, if you can throw in instructions for that, as well. πŸ™‚

    @mattpnolan,

    That code should still work to hide the authors section on the Subscribe2->Your Subscriptions page. If you’ve added that code and it’s active are you seeing that CSS in your page source.

    Hiding some of the email type options is harder than a simple CSS injection. It would require editing of the Subscribe2 code.

    Mariette

    (@mariette-jackson)

    Hello @mattyrob

    I am also trying to hide the Select Authors section from the Admin Screen but I am not clear where I would put the code you gave at the top of this thread to add CSS styling into the admin header to hide the ID called ‘s2_authors. Would you mind giving me a bit more help please.

    many thanks

    @mariette,

    The best method to make sure you don’t lose this adjustment when updating plugins is to create your own little plugin containing that code and put your custom plugin on your WordPress site and activate it.

    You just need to add a WordPress plugin header and the code above together to create you plugin php file. The WordPress codex contains the header information you’ll need:
    http://codex.wordpress.org/Writing_a_Plugin

    @mattyrob

    I created a plugin with that code, but the s2_authors section is still showing on the page at this extension: /wp-admin/admin.php?page=s2

    Is that the page that your code is affecting, or is there some other page that people can be redirected to? The S2 shortcode directs users to that URL above.

    Can you tell me the file/page that I’d need to edit to hide some of the email type options? I’m comfortable messing around with that myself and testing my work.

    Thank you, again!!

    @mattyrob

    Actually, is there a way to just not show the Subscribe2 page under a user’s profile, period?

    I bought the Subscribe2 Widget Pro plugin, and I’d prefer if people could only subscribe or unsubscribe from there.

    This is important to me for several reasons, but the main one is that my site is a private family site, and I don’t want anyone to be able to subscribe for emails unless they have certain access capabilities (using Members plugin).

    If I could just not show the Subscribe2 page under user profiles, that would basically address all my issues, I think.

    Thank you!

    P.S. If you’d prefer to talk about this outside of this thread, please let me know another way I can contact you.

    And one last thing, I just wanted to mention that I’d be willing to buy a “Pro” version of your plugin if it had extra features like the ones in this thread.

    Thanks!

    @mattpnolan,

    Hiding the menu pages completely is again an option via a little plugin to Subscribe2. Have a look in the FAQs under the heading “I want to change the kinds of users who can access the Subscribe2 menus. Is that possible?”.

    Mariette

    (@mariette-jackson)

    @mattyrob
    Thank you for your advice about creating a plugin. That’s helpful but unfortunately I’ve had to uninstall subscribe2 today because I discovered the service provider doesn’t allow bulk emails. Shame.

    @mariette,

    That’s too bad. I guess it’s one way of keeping spam off the servers but it makes their product less attractive when others allow this sort of activity.

    Ah, I was looking at a different FAQ on the website, so I missed that section.

    However…just looking at that section, I have to say that I am not sure what part of that I’m supposed to be changing to what in order to not show any of the S2 menu pages to non-Admins.

    I know that I only want level 8, 9, or 10 (Admins) users to see the pages listed (‘user’ or ‘manage’ or ‘settings’ or ‘send’).

    In other words, I don’t want anyone under level 8 to be able to see any of those pages.

    I’m sorry to have to keep asking you these questions, but I’m so close…

    I have built my own custom plugins, but I’m learning WP as I go, and I’ve never encountered the specific variables/code in this example…So, this is another learning opportunity for me.

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘notifications for post made by these authors’ is closed to new replies.