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 - 326 through 350 (of 407 total)
Author Replies
Author Replies
Posted: Wednesday Feb 29th, 2012 at 4:36 pm #6809
David Welch
Username: dwbiz05

It does not do that by default. I’ve never had that issue with s2member and I’ve used it on multiple sites.

I would go through and de-activate your plugins 1 by 1 to see if one of them is causing the issue.

Dave

Posted: Wednesday Feb 29th, 2012 at 4:34 pm #6808
David Welch
Username: dwbiz05

Are you letting people select the level they want when they register or are you creating their accounts for them?

Dave

Posted: Wednesday Feb 29th, 2012 at 4:22 pm #6806
David Welch
Username: dwbiz05

Yes that looks correct at first glance. You have a trial period for the greater amount for 1 month then the regular amount charged monthly.

If you put it in a page, view it and click the link, paypal should state those same periods and prices.

Dave

Posted: Wednesday Feb 29th, 2012 at 4:19 pm #6804
David Welch
Username: dwbiz05

Send me an e-mail and I’ll show you what I mean without posting details here. :)

Dave

dwelch (at) itelves.com

Posted: Wednesday Feb 29th, 2012 at 4:17 pm #6802
David Welch
Username: dwbiz05

Let me go in reverse order.

#2
If your custom fields are set to show in the profile, then yes, they can edit them when they view their profile either in the back-end (wp-admin) or in the stand-alone shortcode version provided by s2member.

#1
In order to make this work (easily) I suggest 3 things:

1. Set your s2member->general options -> member profile modifications -> redirect members away from default control panel… set this to NO.
2. Create a link in a menu somewhere that points them to http://yoursite.com/wp-admin. This is where they will be able to view and edit their profiles and create and edit pages (based on your settings)
3. Install the plugin called User Role Editor which can be found using the search function in wordpress plugins->new plugin.

This plugin will let you change (add / remove) specific capabilites like creating new posts or editing posts to an existing user group such as s2member_level1.

It’s pretty easy to set up.

Hope that helps.

Dave

Posted: Wednesday Feb 29th, 2012 at 3:13 pm #6788
David Welch
Username: dwbiz05

BTW, you have some files (e-mail copy, video links, etc.) that can be easily accessed due to your main site being down…

I believe this is the link you are looking for:

http://comf5leaders.com/training/wp-login.php

It looks like you have your main page (or just all of them) protected by s2member. That is why it’s re-directing you when you just go to http://comf5leaders.com/training

Hope that helps.

Dave

EDIT: I would at least stick a blank index.php file in your main directory so people can’t access those files.

  • This reply was modified 4 years, 10 months ago by  David Welch.
Posted: Wednesday Feb 29th, 2012 at 3:09 pm #6786
David Welch
Username: dwbiz05

So you create your paypal payment button under s2member->paypal buttons.
Then you copy the shortcode it generates when you make your button into your “registration page”.

I’m assuming you mean that you created a page called “registration.”

That page would typically be your “membership options” page as well (see s2member->general options -> membership options page.)

MAKE SURE THE PAGE YOU PUT YOUR BUTTON ON IS NOT PROTECTED BY S2MEMBER!

This happens fairly frequently to new users, that’s why it’s in all caps. lol

So, now when a user clicks on your register page, they should see your paypal button which will get the registration process rolling.

Make sense?

Dave

Posted: Wednesday Feb 29th, 2012 at 2:51 pm #6782
David Welch
Username: dwbiz05

Is it redirecting before or after login?

Are you logging in as the admin when this happens or as a user (level 1)

Dave

Posted: Wednesday Feb 29th, 2012 at 2:47 pm #6781
David Welch
Username: dwbiz05

I think the issue is that with the standard way s2member does closed registrations.

Their steps are basically this:

1. user clicks on payment button to pay for service.
2. user pays for service and is redirected to the website registration page.
3. user registers and now has access.

So if you have a closed registration, you either have to stick with their default way of registering or you have to dig in and code your way around it using the hooks and your own registration form or manipulating the open registration process.

Hope that helps.

Dave

Posted: Saturday Feb 25th, 2012 at 5:28 pm #6424
David Welch
Username: dwbiz05

I just tested this (I don\’t use it myself) and I think you are correct that there is an issue here.

This is what I see and let me know if it\’s the same and I\’ll pass it on to Jason.

My \”category protected\” posts are showing in the blog roll but if I click on the link to view just that single post it will be protected.

Does that hold true for you as well?

Dave

Posted: Friday Feb 24th, 2012 at 11:34 am #6276
David Welch
Username: dwbiz05

I believe you can hook into the EOT system and send a message yourself via this hook:

ws_plugin__s2member_during_auto_eot_system

The following link tells more about hooks and filters:

http://www.s2member.com/codex/stable/overview-summary/#src_doc_overview_description

Dave

Posted: Friday Feb 24th, 2012 at 10:46 am #6270
David Welch
Username: dwbiz05

The base functionality of s2member is to protect content (pages/posts/documents/ect.).

It does not have any menu manipulation options.

This question really is more related to wordpress menus and wordpress themes / templates.

What I do, is create a different template for all my membership pages to use. Then I call a different menu from that template than the one called on the normal index page.

That way, I know that my members have a different set of options in the menus.

S2Member currently doesn\’t have any menu creation/manipulation options.

Dave

Posted: Friday Feb 24th, 2012 at 10:32 am #6266
David Welch
Username: dwbiz05

First thought, try removing the \”\’s in the current_user_can() function.

I don\’t see any quotes in the example given in s2member aip/scripting examples like this one:

[s2If current_user_can(access_s2member_level1)]
//content here
[/s2If]

Hope that helps,

Dave

EDIT: I just copy/pasted your code in my version and it works fine (without the \”). I don\’t get any errors. It may be a corrupt file or something when you installed it. I suggest re-installing to see if that fixes the problem.

  • This reply was modified 4 years, 10 months ago by  David Welch.
Posted: Friday Feb 24th, 2012 at 10:24 am #6265
David Welch
Username: dwbiz05

I can see it in add new and edit user options so I don\’t know why it\’s not showing for you in edit.

I don\’t think the e-mail goes out. I believe, that when they log in, they are re-directed to the payment option s page if they reach the EOT.

Dave

Posted: Friday Feb 24th, 2012 at 10:20 am #6262
David Welch
Username: dwbiz05

No, I only use the free version…

That\’s really weird…

I\’ll have to see if I can find some setting that turns it off cause it\’s always been on mine.

Your using the newest version of s2member?

Dave

  • This reply was modified 4 years, 10 months ago by  David Welch.
Posted: Friday Feb 24th, 2012 at 10:01 am #6256
David Welch
Username: dwbiz05

My suggestion would be to create a quick php page that re-directs to the current logged in user\’s portal page and add a custom link to your menu that points to that page…

This way the php page should handle getting the user\’s username or id or whatever you are using as the \”identifier.\”

Somthing like \”portal_redir.php\” with something like this:

<?php
if( is_user_logged_in() ){
	wp_redirect(site_url('/'.S2MEMBER_CURRENT_USER_LOGIN.'/'));
}
else {
	//redirect to your membership options page.
	wp_redirect(site_url('your-member-option-page'));
}
?>

Then in Apperance -> Menus -> Custom Links you would add http://yoursite.com/wp-content/themes/yourtheme/portal_redir.php or something like that.

Hope that helps,

Dave

  • This reply was modified 4 years, 10 months ago by  David Welch.
Posted: Friday Feb 24th, 2012 at 9:13 am #6247
David Welch
Username: dwbiz05

Check out using the hook function to run this process during the registration when you have all the information.

My first suggestion would be this hook:

ws_plugin__s2member_after_configure_user_registration

This should run after all the normal s2member registration processing is done.

The following link is a good explanation about using hooks in wordpres/s2member:

http://www.s2member.com/codex/stable/overview-summary/#src_doc_overview_description

Hope that helps!

Dave

Posted: Friday Feb 24th, 2012 at 8:59 am #6245
David Welch
Username: dwbiz05

On the user\’s profile, scroll down to s2Member Configuration & Profile Fields.

One of them is called: Automatic EOT Time (End Of Term).

Click the ? to see all the options for setting this, but you can set the automatic EOT time when the user will have to re-pay for continued access.

Hope that helps.

Dave

Posted: Thursday Feb 23rd, 2012 at 2:57 am #6074
David Welch
Username: dwbiz05

Yes, s2member should generate the code to override the url saved in your paypal account for it\’s own purchases.

The shortcode will be in brackets [ shortcode info here…. ].

Dave

Posted: Thursday Feb 23rd, 2012 at 12:18 am #6045
David Welch
Username: dwbiz05

Paypal only has one setting for the IPN Notifications – TRUE.

However, Paypal also understands that this situation occurs and it can use \”override notification urls\” passed to it by payment and subscription buttons.

S2member automatically adds their notification urls to the paypal buttons generated through the s2member system.

So, you should be able to set the Paypal IPN Notification URL to your shopping cart if you need to and s2member will send an \”override notification url\” for any transactions originating through their system.

Under S2Member -> Paypal Options -> PayPal IPN Integration, if you click the \”more information\” link you get this text:

*Quick Tip* In addition to the default IPN settings inside your PayPal® account, the IPN URL is also set on a per-transaction basis by the special PayPal® Button Code that s2Member provides you with. In other words, if you have multiple sites operating on one PayPal® account, that\’s OK. s2Member dynamically sets the IPN URL for each transaction. The result is that the IPN URL configured from within your PayPal® account, becomes the default, which is then overwritten on a per-transaction basis. In fact, PayPal® recently updated their system to support IPN URL preservation. One PayPal® account can handle multiple sites, all using different IPN URLs.

Hope that helps.

Dave

Posted: Wednesday Feb 22nd, 2012 at 1:09 pm #5976
David Welch
Username: dwbiz05

It looks like you started out right but are missing a couple steps…

1. Do you want open registration or closed? right now it’s closed so you won’t see the registration form. The typical set-up is to have the user pay, then they are re-directed to the s2member registration form. That is default. If you want to change that around, you need to buy the pro version or do some custom coding.

2. If you are going with default (closed registration) then you want to add your payment button(s) to your “register” page you created. You can generate those in the s2member paypal button settings then place the shortcode into your “register” page you created.

3. Once the user clicks the paypal button, s2member should take care of everything from there assuming you entered your paypal options settings correctly. see s2member -> paypal options section.

4. The login page in the menu is probably an issue with your theme. If you’re theme is trying to use specific menus that you have not created in the admin section, then it will pull all the pages and add them to the menu by default. That’s a WP thing not s2member. In fact, when you click on it, s2member is re-directing to the “register” page correctly. :)

Hope that helps…

Dave

Posted: Wednesday Feb 22nd, 2012 at 9:45 am #5945
David Welch
Username: dwbiz05

FYI, i’ve found that returning do_shortcode with the entire content doesn’t work all the time for me for some reason.. so double check that it works for any shortcode you are using.

Otherwise, you may have to use preg_replace with do_shortcode to make it work… at least I did.

Of course, I don’t always do things 100% right. lol!

Dave

Posted: Wednesday Feb 22nd, 2012 at 9:42 am #5942
David Welch
Username: dwbiz05

Custom field data is stored in the wp_usermeta table under the meta_key “wp_s2member_custom_fields.”

You will see that that data is serialized.

Some other wp data like first name, last name, etc. is also stored in usermeta under different meta keys.

Dave

Posted: Wednesday Feb 22nd, 2012 at 8:34 am #5937
David Welch
Username: dwbiz05

Karen is right that you could pull the data via phpmyadmin, however, S2member doesn’t use it’s own tables.

It uses the wp postmeta, options and usermeta tables (mostly), which is the recommended way of doing things with WP.

Also, a good number of s2member data fields are serialized, meaning they are data arrays that have been encoded to be stored in a mysql db field.

So you could export them to csv, but you would have to sift through them or unserialize them before export via php.

Of course, unserialized, they would just print out an array, if anything, if you don’t use them correctly.

So, if you are not planning to upgrade to pro, you will be limited unless you want to code your own export process or have someone do it.

Dave

Posted: Tuesday Feb 21st, 2012 at 2:43 pm #5894
David Welch
Username: dwbiz05

When someone is re-directed, there is a GET string in the url like this:

?_s2member_seeking[type]=page&amp;_s2member_seeking[page]=55&amp;_s2member_seeking[_uri]=L21lbWJlci1ob21l&amp;_s2member_req[type]=level&amp;_s2member_req[level]=0&amp;_s2member_res[type]=sys&amp;s2member_seeking=page-55&amp;s2member_level_req=0

So, if you run a query on your page like:

if(isset($_GET['_s2member_seeking[type]'])){
//what you want to say in the ''.
echo '';
}

It should do what you want… I don’t know if this is an option with the s2member shortcodes, so if not, you can create your own shortcode in your theme’s functions.php file:

function redirected_user_message($atts, $content){	
	if(isset($_GET['_s2member_seeking[type]'])){
	return $content
	}
}

add_shortcode('redir-user-msg','redirected_user_message');

Then in your page or post just add this:

[redir-user-msg]
This is the message for redirected users.
[/redir-user-msg]

Again, s2member may have an option but I haven’t checked and don’t remember one off the top of my head.

Dave

Viewing 25 replies - 326 through 350 (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.