Thanks for the follow-up :-)
Gotchya. Well unfortunately, this is not possible with a hook/filter, so it will require some changes to the code directly, which might get wiped out during a future upgrade of s2Member. If you can deal with this, no biggy. I’ll outline it below. If you don’t like this solution, you might consider adding a jQuery-driven script to the Post/Page editing station in the Dashboard, that would set that meta-box drop-down value to a default selection. That way you’re not making changes to the s2Member source code directly, but handling this with JavaScript in the Dashboard instead.
If you’d like to make the changes to the source code, here is what you’ll need to do.
Open this source file please:
/s2member/includes/classes/meta-box-security.inc.php
Find these two snippets of code. One for Pages, another for Posts.
<option value="'.$n.'"'.((in_array($page_id, $pages[$n])) ? ' selected="selected"' : '').'>
<option value="'.$n.'"'.((in_array($post_id, $posts[$n])) ? ' selected="selected"' : '').'>
Change these to the following:
<option value="'.$n.'"'.((in_array($page_id, $pages[$n]) || (empty($pages[$n]) && $n === 0)) ? ' selected="selected"' : '').'>
<option value="'.$n.'"'.((in_array($post_id, $posts[$n]) || (empty($posts[$n]) && $n === 0)) ? ' selected="selected"' : '').'>
Please let us know if problems persist :-)