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.

Cristián Lávaque


My Latest Replies (From Various Topics)

Viewing 25 replies - 2,726 through 2,750 (of 7,376 total)
Author Replies
Author Replies
Posted: Friday Dec 7th, 2012 at 8:04 am #33875

You’d put that code in a file, e.g. s2hacks.php, and put the file in the must-use plugins directory, i.e. /wp-content/mu-plugins/ (create it if it’s not there yet). Must-use plugins are loaded automatically by WordPress. http://codex.wordpress.org/Must_Use_Plugins

Posted: Friday Dec 7th, 2012 at 8:01 am #33874

If it’s an upgrade, you need to make sure that the user is logged in to his account when he loads the page where the pro-form is. Protect that page at level 0 so only logged in users can access it.

If he’s not logged in, then the payment will go towards a new account and his existing account won’t be upgrade, will remain at Level 0.

What do the log entries for the transaction say? Could you post them here x’ing any private info? /wp-content/plugins/s2member-logs/

Posted: Friday Dec 7th, 2012 at 7:56 am #33873

Is there any way to Re Download S2 member pro that way we can see if that is the problem.

http://www.s2member.com/pro/#!s2_tab_jump=s2-pro-archive

Posted: Friday Dec 7th, 2012 at 7:54 am #33872

I’ll let Jason reply to your questions, but I wanted to mention that the post-registration auto-login hack is known to cause the Notifications API to not work, the redirection in the hack causes the script to not get to the part where notifications happen. I don’t know if it may be affecting something else that, in your case, is causing part of your trouble. Could you test after deactivating the hack? Just as you’d test for a conflict with other plugins.

Posted: Friday Dec 7th, 2012 at 7:46 am #33869

The URL you posted would be for the page you set as the Membership Options one, and the vars give data on what restriction was applied to what content and what access is required. [hilite path]Dashboard -› s2Member® -› API / Scripting -› Membership Options Page Variables (MOP Vars)[/hilite]

It says there that the page that you were redirected from requires Level 0. The Login Welcome page is restricted to logged in users only, that’s why the Level 0 requirement.

If you have this problem right after logging in, could you please read this article? Knowledge Base » Logged in but am considered logged out

Let me know if that helps. :)

Posted: Friday Dec 7th, 2012 at 7:40 am #33867

Could you try this?

[hilite pre_code]

You do not have access to this page.

They have access to the page. Put content here

[/hilite]
Posted: Friday Dec 7th, 2012 at 7:34 am #33865

If this issue hasn’t been resolved yet, do I need to re-apply the patch after every update until it is?

Yes. Or you can place the file in the must-use plugins directory (/wp-content/mu-plugins/) so it isn’t overwritten with each update. Just remember to remove that file when it’s finally included in the update.

I’ll ask Jason about that, it probably fell through a crack and he missed it. Thanks for the reminder. :)

Posted: Friday Dec 7th, 2012 at 7:31 am #33864

[hilite mono]srt[/hilite] is for subscriptions that should be charged only a certain number of terms, instead of indefinitely until cancelled. [hilite path]Dashboard -› s2Member® -› PayPal® Buttons -› Shortcode Attributes -> srt[/hilite]

[hilite mono]src=0[/hilite] would still be a subscription, even if only one payment, so the EOT time won’t be set right away, it’ll be set when PayPal notifies s2Member that the subscription ended. It results in an EOT time similar/same to the Buy Now transaction in the end, but with the latter you have the EOT time set right away and no subscription created over at PayPal: [hilite code][/hilite]

For single payments it’s best to use Buy Now. Single payment subscriptions are only there in case you need an initial/trial term.

Posted: Friday Dec 7th, 2012 at 7:20 am #33863

I will temporarily give existing members a super easy way to get to the update-billing-information page.

Why? I’m not sure I understand what you meant… You don’t want them to update the billing information in their existing subscription, you need them to end that subscription and create a new one in your new PayPal account. Right?

Posted: Friday Dec 7th, 2012 at 7:09 am #33861

Keep in mind that there can be multiple buttons in the same page, but not pro-forms, only one per page. So you’d create a page for each different pro-form. You can see that’s what we did here: http://www.s2member.com/prices/

Or you can use variables to modify the same pro-form depending on what pricing the user chose, adding a variable to the URL of the page of the pro-form when linking to it. Knowledge Base » Using variables in a shortcode

I hope that helps. :)

Posted: Friday Dec 7th, 2012 at 7:03 am #33860

Thanks, got the email.

I was able to login to the WP admin area, but not to the FTP. I’m also replying to your email about it, could you reply back with the correct FTP login?

I see you have deactivated s2Member, do you give me permission to activate it for a moment to see the problem? If so, I’d like to have FTP access in case I need to deactivate s2Member and for some reason can’t do it from the dashboard.

Thanks. :)

Posted: Friday Dec 7th, 2012 at 6:45 am #33858

When we shop around, how will we know a premium theme will support s2Member correctly?

The best way to tell is trying them together. If they have a trial, use it together with s2Member and look for common problems that are usually caused by a theme: paypal button shortcodes, pro-forms, s2Member admin pages.

Short of trying them together, research like what Bruce suggested is very important.

Posted: Friday Dec 7th, 2012 at 6:36 am #33857

Hi Andy.

The thing is that the import process is already quite resource intensive, processing the list server with each user imported, would make it that much heavier. You could process the list servers with a PHP script and process the users in steps instad of quickly in a row.

Please read this, http://www.s2member.com/forums/topic/s2member-mailchimp-and-ccaps/#post-17078 from where I start talking about [hilite mono]c_ws_plugin__s2member_list_servers::process_list_servers[/hilite], after the code block.

You’d use that in a script and have it process the users in steps, probably reloading the script with the updated offset to process the next batch.

I hope that helps. :)

Posted: Friday Dec 7th, 2012 at 6:19 am #33856

It’s something that we’ll solve in the next generation of s2Member, but won’t be doing it with the WP Users list.

I’m afraid that Jason would need to code the hack first in order to share it, and he doesn’t mean to since it’s complicated and already has a better approach for the next generation. The current s2Member is only being updated to fix existing features if needed, but not to add new ones.

I suggest that you try getting a freelance develpoer from a site like jobs.wordpress.net, odesk.com or elance.com.

Posted: Friday Dec 7th, 2012 at 6:07 am #33853

Thanks, got the email.

In the logs I see one entry where you had purchased while being logged in to the admin, but I’m sure you realized it then and tried again while logged out.

Could you create a test page, password protect it so it’s protected but I can access it without logging in, and put the same pro-form but change the amount to 1 cent? I’ll do a purchase to see what happens and the log entries for it.

Posted: Friday Dec 7th, 2012 at 5:46 am #33851
Posted: Friday Dec 7th, 2012 at 5:43 am #33850

For example, if I want the membership to last for 1 year, I would add the following to the “advanced variables” box in the PayPal button generator:

Do you mean recurringly every year, or just last that year? If the latter, a Buy Now transaction may be best.

When you create the button over at PayPal, you do it with a graphic interface and won’t be editing code. The button code it gives you is just a sort of ID for the button and PayPal uses it to pull all the button’s settings from its database, so you won’t be editing variables as the [hilite mono]p3[/hilite] or [hilite mono]t3[/hilite].

Posted: Friday Dec 7th, 2012 at 5:36 am #33849

It’d be good to fix that error then.

If that doesn’t solve the problem with the hack, though, could you try the suggestions in this article to troubleshoot it, please? Knowledge Base » Common Troubleshooting Tips

Posted: Thursday Dec 6th, 2012 at 10:25 pm #33837

is there a conditional tag or a meta data that i can extract from the account that can show the difference?

If the access is the same, I guess you can give both the same level or ccap, instead of mixing them. To differentiate free from paid, you could create a custom profile field hidden from the user, just for you. [hilite path]Dashboard -› s2Member® -› General Options -› Registration/Profile Fields[/hilite]

Posted: Thursday Dec 6th, 2012 at 10:21 pm #33834

Hi Brian.

But it hasn’t worked. Any ideas?

It didn’t load the URL at all? or the URL was loaded but the variables didn’t have values?

Could you explain in detail what you tried so I can try reproducing the problem? Thanks.

Posted: Thursday Dec 6th, 2012 at 3:17 pm #33740

When I created a mu-plugins folder, a php file with the function, and dropped it into the folder my site went blank. Both the frontend and the admin user interface were blank pages. Any ideas? Is there a bug in that snippet?

The code seems fine and Bruce just confirmed that it doesn’t cause an error…

Make sure there’s nothing outside the PHP block: no spaces or line breaks.

Posted: Thursday Dec 6th, 2012 at 8:15 am #33695

Yes, you can send me the site info so I have access to the log files, and if you permit it, test the checkout too. s2Member® » Private Contact Form

The paypal log files are generated for every gateway in s2Member, since the post-processing uses the inner PayPal processing routines in s2Member from before the other gateways were integrated on top of it. So those log files are relevant for the Authorize.Net integration too.

Posted: Thursday Dec 6th, 2012 at 8:12 am #33693

lol, yeah, I understand what you’re saying and think it wise. :)

Glad I could help!

Posted: Thursday Dec 6th, 2012 at 8:11 am #33692

Hi Emily.

You could protect the page where the pro-form is, with the Specific Page Access Restriction and then generate an access link for each person. The access link will be subject to the Unique IP protection, which would limit it from being shared.

Video » s2Member (Specific Posts/Pages)
[hilite path]Dashboard -› s2Member® -› PayPal® Buttons -› Specific Post/Page Access Links[/hilite]
[hilite path]Dashboard -› s2Member® -› Restriction Options -› Unique IP Access Restrictions[/hilite]

I hope that helps. :)

Posted: Thursday Dec 6th, 2012 at 8:07 am #33691

Hi Les.

I don’t see other site owners reporting this, so it seems to be something specific to your installation. It may be a plugin conflict causing s2Member to have trouble, or maybe a server configuration…

Could you please test following this article? Knowledge Base » Common Troubleshooting Tips

Let us know how it goes, please. I hope that helps. :)

Viewing 25 replies - 2,726 through 2,750 (of 7,376 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.