latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Scott Foster

Sorry, I've not written a description yet. I'll get to it soon!


My Favorite Topics

Viewing 4 topics - 1 through 4 (of 4 total)
Topic Count Last Reply
Blog Post redirecting to sign up form?

By:  Scott Foster in: Community Forum

voices: 2
replies: 2

3 years, 10 months ago  Jason (Lead Developer)

Can I stop editors from restricting content?

By:  Scott Foster in: Community Forum

voices: 2
replies: 6

3 years, 11 months ago  Scott Foster

Change default user role…

By:  Scott Foster in: Community Forum

voices: 3
replies: 8

3 years, 11 months ago  Scott Foster

welcome email design

By:  Scott Foster in: Community Forum

voices: 2
replies: 1

4 years, 1 month ago  Bruce

Viewing 4 topics - 1 through 4 (of 4 total)

Topics I'm Subscribed To

Viewing 6 topics - 1 through 6 (of 6 total)
Topic Count Last Reply
Can I stop editors from restricting content?

By:  Scott Foster in: Community Forum

voices: 2
replies: 6

3 years, 11 months ago  Scott Foster

Change default user role…

By:  Scott Foster in: Community Forum

voices: 3
replies: 8

3 years, 11 months ago  Scott Foster

Not recognizing custom post types?

By:  Scott Foster in: Community Forum

voices: 2
replies: 2

3 years, 11 months ago  Bruce

Login and user role question

By:  Scott Foster in: Community Forum

voices: 3
replies: 3

4 years ago  Cristián Lávaque

welcome email design

By:  Scott Foster in: Community Forum

voices: 2
replies: 1

4 years, 1 month ago  Bruce

Viewing 6 topics - 1 through 6 (of 6 total)

My Latest Replies (From Various Topics)

Viewing 13 replies - 1 through 13 (of 13 total)
Author Replies
Author Replies
Posted: Saturday Mar 16th, 2013 at 2:04 am #44899

Sorry, as you can see no one ever responded to me…i had to hack the file and remember to refix after upgrading.

Posted: Wednesday Feb 13th, 2013 at 3:08 pm #41621

Nevermind, just noticed someone set a level on that content. :(

Posted: Monday Feb 4th, 2013 at 3:46 pm #40784

I tried adding this code after another snippet I got from Jason for something else to s2-hacks.php as per this post:
http://www.s2member.com/forums/topic/better-solutions-for-html-in-welcome-email/

But I get this error….
Fatal error: Class ‘c_ws_plugin__s2member_email_configs’ not found in /home/thetaste/public_html/wp-content/mu-plugins/s2-hacks.php on line 11
Am I missing something or should I directly edit the email file?

<?php
add_filter('ws_plugin__s2member_add_meta_boxes_excluded_types', 's2_meta_box_exluded_post_types');
function s2_meta_box_exluded_post_types($what_s2_says)
	{
		if(!is_super_admin())
			return array_keys (get_post_types ()); // Block in all Post Types.
			
		return $what_s2_says;
	}

c_ws_plugin__s2member_email_configs::email_config () . wp_mail ($user->user_email, $sbj, $msg, "From: \"" . preg_replace ('/"/', "'", $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["reg_email_from_name"]) . "\" <" . $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["reg_email_from_email"] . ">\r\nContent-Type: text/html; charset=utf-8") . c_ws_plugin__s2member_email_configs::email_config_release ();
Posted: Monday Feb 4th, 2013 at 2:53 pm #40771

Yes it worked! My masterpiece is complete, for now…lol. Jason your the man!

Posted: Monday Feb 4th, 2013 at 2:39 pm #40768

Jason I created the directory and files like you said, but I get an error:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/thetaste/public_html/wp-content/plugins/s2member/includes/classes/meta-boxes.inc.php on line 51

I tried with and without the closing php tag if that was missing in your code…

Posted: Sunday Feb 3rd, 2013 at 12:36 pm #40559

Awesome, Im assuming I can also use regular admin role in place of super admin since im not running multisite right? Thanks Jason for your support.

Posted: Saturday Feb 2nd, 2013 at 12:02 pm #40458

Do you have any ideas for my other problem? http://www.s2member.com/forums/topic/can-i-stop-editors-from-restricting-content/

After that, Ill be ready to go!

Posted: Saturday Feb 2nd, 2013 at 11:20 am #40436

Thank YOU thank you thank you. That would have saved me hours!

Posted: Thursday Jan 31st, 2013 at 7:17 pm #40219

Nevermind… finally got help from another persons site.
http://www.freeandeasyblog.com/changing-the-default-role-in-s2member/

Posted: Thursday Jan 31st, 2013 at 11:14 am #40153

I tried asking this before here http://www.s2member.com/forums/topic/login-and-user-role-question/ , but was never really given an answer. I know s2 is more for content access and restrictions, byt their must be a way to change role to author or editor instead of subscriber!

Posted: Wednesday Jan 30th, 2013 at 9:40 pm #40044

The default role is set to “subscriber”. I need my members to have posting capabilities so I changed it to level 1 and used Role Editor plugin to add posting capabilities, but the custom taxonomy I need them access will not show. See screenshot… All that shows when member is logged in is Dashboard and Posts. I need the outlined plugin to show too. If this cant be done then how can I just change the default “subscriber” to something higher and just use Adminimize plugin to limit there access?

Here is what current member view with level 1 is…

  • This reply was modified 3 years, 11 months ago by  Scott Foster.
Posted: Wednesday Jan 30th, 2013 at 12:12 am #39965

*bump

Posted: Sunday Dec 9th, 2012 at 4:23 pm #34074

Thank you. One question though, you said “you may just want to add permissions to do what you want to the s2Member levels that you have set up.”….if I want to allow them certain dashboard functions, is that configured in s2 or is it a hack?

Viewing 13 replies - 1 through 13 (of 13 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.