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.

David Welch


My Latest Replies (From Various Topics)

Viewing 25 replies - 176 through 200 (of 407 total)
Author Replies
Author Replies
Posted: Friday Apr 20th, 2012 at 10:49 pm #11439
David Welch
Username: dwbiz05

1. Last time I checked, paypal standard will let you sell products to CC without an account. However, if you are creating a subscription, PP Standard requires an account where PP Pro with Subscriptions does not. That page you list simply says you can accept CC with standard, but it doesn’t list all the details.

You can still use standard but if you are using subscriptions they will have to have a paypal account or create one when signing up.

I’ve never tried to use pp standard with the pro forms. I don’t think it will work. But you can still use the normal paypal standard buttons within s2member pro.

Hope that helps,
Dave

Posted: Friday Apr 20th, 2012 at 12:40 pm #11400
David Welch
Username: dwbiz05

If they are logged in when they make the purchase, it should automatically upgrade them without re-registering.

Dave

Posted: Friday Apr 20th, 2012 at 11:48 am #11390
David Welch
Username: dwbiz05

do you have any other functions hooking into the profile form besides the normal s2member functions?

Have you tried re-installing the s2member files?

Dave

Posted: Friday Apr 20th, 2012 at 11:09 am #11380
David Welch
Username: dwbiz05

I assume you are using the administrative user profile edit form. How are you inputting the CC’s? Separated by comas?

Dave

Posted: Friday Apr 20th, 2012 at 11:04 am #11378
David Welch
Username: dwbiz05

Take a look at the code on this post. I think that might be what you are looking for.

http://www.s2member.com/forums/topic/basic-setup-to-allow-just-1-page-in-level-1/#post-9997

Hope it helps,

Dave

EDIT: Why? basically, you have your site locked down, so it’s trying to go to the membership options page. This function will instead route the user to the login screen.

  • This reply was modified 4 years, 8 months ago by  David Welch.
Posted: Friday Apr 20th, 2012 at 8:50 am #11371
David Welch
Username: dwbiz05

You would usually put it in functions.php (so a child theme may be good) or in a file located in a folder like this wp-content/mu-plugins/s2hacks.php. You may need to create this folder and file.

Yes, you should be able to ammend those redirects to whatever page you want. :)

Hope it works,

Dave

Posted: Thursday Apr 19th, 2012 at 11:23 pm #11313
David Welch
Username: dwbiz05

The only way I can think to do this is to use the full paypal button html/php provided by s2member when you generate a button and make the following modifications:

1. add an id to the paypal form

<form id="myPPform"

2. remove or hide the image input line from the paypal button.

<!-- <input type="image...... /> -->

3. add a link with the text you want.
4. add an onclick function to the tag to submit the paypal form.

<a href="" onclick="$('#myPPform').submit()">Click here to go to paypal.</a>
<!-- PS. this one is Jquery so you'll need to have jquery loaded or use a standard javascript function -->

Hope that helps,

Dave

Posted: Thursday Apr 19th, 2012 at 11:15 pm #11311
David Welch
Username: dwbiz05

As far as I know this is not possible without hacking the wordpress form itself. You can of course re-order your custom fields, however, wordpress prints out the custom fields after the initial core required fields.

Dave

Posted: Thursday Apr 19th, 2012 at 11:13 pm #11310
David Welch
Username: dwbiz05

The url you mentioned doesn’t bring up any site so I can’t see what you are talking about. Could you update that url?

Dave

Posted: Thursday Apr 19th, 2012 at 10:39 pm #11306
David Welch
Username: dwbiz05

Did you wait a full 24 hours?

Have you checked the database to see if the user had an auto EOT set?

Did their role say level 1 or did they just have access to level 1 content? (wondering if maybe the content security was set up wrong)

Dave

Posted: Thursday Apr 19th, 2012 at 10:36 pm #11305
David Welch
Username: dwbiz05

This might be a good place to start. I think it’s similar to what you described above.

http://www.s2member.com/forums/topic/problem-with-your-client-portal-system/#post-8469

Hope it helps,

Dave

Posted: Thursday Apr 19th, 2012 at 10:28 pm #11304
David Welch
Username: dwbiz05

LOL sorry, was dealling with meta values all day…

table: wp_options
(column) option_name: wp_user_roles
(column) option_value is what needs to be changed.

The value I gave you should be good. I just removed the actual s2member roles. I didn’t remove the capabilities to access those levels by admin, authors, etc. Those capabilities are what you are seeing. If you use it to replace your roles, you shouldn’t see any s2member roles in the dropdown.

You won’t find any data that starts exactly like mine because mine is already altered. since it’s a serialized array, your’s will look different as there are more roles in your array.

Unfortunately, s2member does not remove it’s role information from the database (not sure why), so unless you use some other plugin… like a Role Editor plugin or something, you’d have to do it this way. I’ve not tried removing roles via a plugin, but that may be an easier option.

Hope that helps.

Dave

Posted: Wednesday Apr 18th, 2012 at 9:17 pm #11179
David Welch
Username: dwbiz05

The s2member login widget should be found under Appearance -> Widgets. You will need to have sidebars in your theme.

You can also access the php code in s2member -> API Scripting -> Pro Login Widget via PHP

Hope that helps,

Dave

Posted: Wednesday Apr 18th, 2012 at 9:08 pm #11177
David Welch
Username: dwbiz05

The roles are set in the database as a serialized array. You will need to edit this array to remove the s2member levels from the roles.

table: wp_options
meta_key: wp_user_roles
try changing the meta_value to this:

a:5:{s:13:"administrator";a:2:{s:4:"name";s:13:"Administrator";s:12:"capabilities";a:67:{s:13:"switch_themes";b:1;s:11:"edit_themes";b:1;s:16:"activate_plugins";b:1;s:12:"edit_plugins";b:1;s:10:"edit_users";b:1;s:10:"edit_files";b:1;s:14:"manage_options";b:1;s:17:"moderate_comments";b:1;s:17:"manage_categories";b:1;s:12:"manage_links";b:1;s:12:"upload_files";b:1;s:6:"import";b:1;s:15:"unfiltered_html";b:1;s:10:"edit_posts";b:1;s:17:"edit_others_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:10:"edit_pages";b:1;s:4:"read";b:1;s:8:"level_10";b:1;s:7:"level_9";b:1;s:7:"level_8";b:1;s:7:"level_7";b:1;s:7:"level_6";b:1;s:7:"level_5";b:1;s:7:"level_4";b:1;s:7:"level_3";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:17:"edit_others_pages";b:1;s:20:"edit_published_pages";b:1;s:13:"publish_pages";b:1;s:12:"delete_pages";b:1;s:19:"delete_others_pages";b:1;s:22:"delete_published_pages";b:1;s:12:"delete_posts";b:1;s:19:"delete_others_posts";b:1;s:22:"delete_published_posts";b:1;s:20:"delete_private_posts";b:1;s:18:"edit_private_posts";b:1;s:18:"read_private_posts";b:1;s:20:"delete_private_pages";b:1;s:18:"edit_private_pages";b:1;s:18:"read_private_pages";b:1;s:12:"delete_users";b:1;s:12:"create_users";b:1;s:17:"unfiltered_upload";b:1;s:14:"edit_dashboard";b:1;s:14:"update_plugins";b:1;s:14:"delete_plugins";b:1;s:15:"install_plugins";b:1;s:13:"update_themes";b:1;s:14:"install_themes";b:1;s:11:"update_core";b:1;s:10:"list_users";b:1;s:12:"remove_users";b:1;s:9:"add_users";b:1;s:13:"promote_users";b:1;s:18:"edit_theme_options";b:1;s:13:"delete_themes";b:1;s:6:"export";b:1;s:22:"access_s2member_level0";b:1;s:22:"access_s2member_level1";b:1;s:22:"access_s2member_level2";b:1;s:22:"access_s2member_level3";b:1;s:22:"access_s2member_level4";b:1;}}s:6:"editor";a:2:{s:4:"name";s:6:"Editor";s:12:"capabilities";a:39:{s:17:"moderate_comments";b:1;s:17:"manage_categories";b:1;s:12:"manage_links";b:1;s:12:"upload_files";b:1;s:15:"unfiltered_html";b:1;s:10:"edit_posts";b:1;s:17:"edit_others_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:10:"edit_pages";b:1;s:4:"read";b:1;s:7:"level_7";b:1;s:7:"level_6";b:1;s:7:"level_5";b:1;s:7:"level_4";b:1;s:7:"level_3";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:17:"edit_others_pages";b:1;s:20:"edit_published_pages";b:1;s:13:"publish_pages";b:1;s:12:"delete_pages";b:1;s:19:"delete_others_pages";b:1;s:22:"delete_published_pages";b:1;s:12:"delete_posts";b:1;s:19:"delete_others_posts";b:1;s:22:"delete_published_posts";b:1;s:20:"delete_private_posts";b:1;s:18:"edit_private_posts";b:1;s:18:"read_private_posts";b:1;s:20:"delete_private_pages";b:1;s:18:"edit_private_pages";b:1;s:18:"read_private_pages";b:1;s:22:"access_s2member_level0";b:1;s:22:"access_s2member_level1";b:1;s:22:"access_s2member_level2";b:1;s:22:"access_s2member_level3";b:1;s:22:"access_s2member_level4";b:1;}}s:6:"author";a:2:{s:4:"name";s:6:"Author";s:12:"capabilities";a:15:{s:12:"upload_files";b:1;s:10:"edit_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:4:"read";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:12:"delete_posts";b:1;s:22:"delete_published_posts";b:1;s:22:"access_s2member_level0";b:1;s:22:"access_s2member_level1";b:1;s:22:"access_s2member_level2";b:1;s:22:"access_s2member_level3";b:1;s:22:"access_s2member_level4";b:1;}}s:11:"contributor";a:2:{s:4:"name";s:11:"Contributor";s:12:"capabilities";a:10:{s:10:"edit_posts";b:1;s:4:"read";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:12:"delete_posts";b:1;s:22:"access_s2member_level0";b:1;s:22:"access_s2member_level1";b:1;s:22:"access_s2member_level2";b:1;s:22:"access_s2member_level3";b:1;s:22:"access_s2member_level4";b:1;}}s:10:"subscriber";a:2:{s:4:"name";s:10:"Subscriber";s:12:"capabilities";a:3:{s:4:"read";b:1;s:7:"level_0";b:1;s:22:"access_s2member_level0";b:1;}}}

Hope that helps,

Dave

Posted: Wednesday Apr 18th, 2012 at 8:17 am #11101
David Welch
Username: dwbiz05

Pro works more like a plugin for s2member. So all your settings should be saved as they are now and everything should work exactly the same, just more options will appear when the Pro version is uploaded.

I would still recommend that you back up your files and db any time you make changes by adding or removing a plugin. However, it should not be a problem as long as you follow the install instructions.

Dave

Posted: Tuesday Apr 17th, 2012 at 11:23 pm #11058
David Welch
Username: dwbiz05

Are you viewing the post as a user or as the admin. Also, is the user you are viewing the post for set up with an EOT?

Not trying to say you are dumb, but people do forget to check these things some times. :)

Dave

P.S. I’ve never seen this plugin but I may check it out.

Posted: Monday Apr 16th, 2012 at 10:33 pm #10960
David Welch
Username: dwbiz05

Have you tried just using a subscription modification button instead of a form?

s2member->paypal buttons->Paypal Subscr Modification buttons

Dave

Posted: Monday Apr 16th, 2012 at 11:46 am #10900
David Welch
Username: dwbiz05

There is no native way to do this in the free version and I’m not sure about the pro version, but I don’t think so…

I would hook into the login processing with a hook like this in your functions.php file in your theme or your s2hacks.php file in wp-content/mu-plugins:

<?php
function my_oto_check($vars=array()){
	if($vars['logins'] == 1){
		wp_redirect(site_url('/oto-page-slug/')); //replace oto-page-slug with your page slug for your OTO page.
	}
}

add_action('ws_plugin__s2member_during_login_redirect','my_oto_check');
?>

I’ve not tested it thoroughly but that’s the basic idea.

Hope that helps,

Dave

Posted: Monday Apr 16th, 2012 at 9:23 am #10891
David Welch
Username: dwbiz05

I don’t think a registration page modal will work because it doesn’t send the form processing through ajax.

However, I was thinking. There is no reason why you can’t just open the registration form in a new window or even a pop-up. That way they can keep the article open and also register.

The only reason I could see that this wouldn’t work would be if you are only giving them partial access to the article and you want them to have full access to the article they were reading after they register.

If that is the case, I think you will have to go the custom hook redirection (which means you may have to also have them log in after registering so the system will know they should have access to the info.

Hope that helps,

Dave

Posted: Monday Apr 16th, 2012 at 9:13 am #10889
David Welch
Username: dwbiz05

If the modal registration form is not something that will work, then you will have to custom code your return to the page using a hook in the s2member processing.

If you are selling memberships, you will need to send that page_id through the paypal system instead of just through the registration system, so it’s a slightly different process depending on how you need to use it.

I’ll check on the modal option and get back with you. Otherwise, the only way I can think to do it is to hook into the registration processing routines to redirect to the page they were on.

Dave

Posted: Monday Apr 16th, 2012 at 8:21 am #10880
David Welch
Username: dwbiz05

1. Yes, in fact you can create multiple different paypal buttons (and payment amounts) for each level. S2member just ensures that the payment has gone through, no matter the price in the button, and gives access to the user.

2. You can add anyone at any level for free through the normal “add user” option in wordpress. Just select the proper s2member level as their “role” when creating them. You can also add an EOT (end of term) date to their profile when creating or updating the user’s info if you only want to give them access for a limited amount of time.

3. Currently S2member doesn’t have this option. However, I have read of other owners using other third party plugins to manage this part. I’m not sure what they are so hopefully someone else will chime in on that.

4. The paypal button generators will give you the option to allow a free trial period when generating your buttons.

My suggestion is to go through the video tutorials, especially the one below so you get a good feel of how it all works before jumping in.

http://www.s2member.com/videos/

Hope that helps.

Dave

Posted: Monday Apr 16th, 2012 at 12:21 am #10871
David Welch
Username: dwbiz05

I’ve never tried it, but I assume it can be done by just adding it to a page and opening that page in popup or modal window.

I might play around with it when I get a chance and report back.

Dave

Posted: Sunday Apr 15th, 2012 at 11:07 pm #10868
David Welch
Username: dwbiz05

This is all handled by Paypal. When s2member sets up the paypal subscription, they are locked in at that price unless you specifically modify their subscription. So your members should continue to pay the price they always have when you raise your prices.

This should all work the way you want out of the box. :)

Dave

Posted: Sunday Apr 15th, 2012 at 10:38 pm #10866
David Welch
Username: dwbiz05

I agree that this needs to be added. I’ve even had this issue with the s2members site. Jason told me that he set my threshold higher somehow, but I haven’t seen that function in s2member to do that anywhere. I’ll update if I find it.

Dave

Posted: Sunday Apr 15th, 2012 at 10:25 pm #10865
David Welch
Username: dwbiz05

Are you doing paid subscriptions, free subscriptions or both?

Dave

Viewing 25 replies - 176 through 200 (of 407 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.