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 - 126 through 150 (of 7,376 total)
Author Replies
Author Replies
Posted: Wednesday Aug 28th, 2013 at 8:08 am #58785

Your shortcode has some errors with the quotes:

[hilite pre_code]
[[s2Member-PayPal-Button level="1" ccaps="" desc="YOUR BUSINESS ACCOUNT / description and pricing details here." ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="www.smi-10k.com| ta="0" tp="1" tt="D" ra="1.50" rp="1" rt="M" rr="1" rrt="" rra="1" image=http://www.smi-10k.com/wp-content/uploads/2013/08/d1-1-730x1024.png output="button" /]]
[/hilite]

I fixed those for you:

[hilite pre_code]
[[s2Member-PayPal-Button level="1" ccaps="" desc="YOUR BUSINESS ACCOUNT / description and pricing details here." ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="www.smi-10k.com" ta="0" tp="1" tt="D" ra="1.50" rp="1" rt="M" rr="1" rrt="" rra="1" image="http://www.smi-10k.com/wp-content/uploads/2013/08/d1-1-730x1024.png" output="button" /]]
[/hilite]

See if that solves the issue. If not, please complete the troubleshooting actions suggested here: Knowledge Base » Common Troubleshooting Tips

Posted: Wednesday Aug 28th, 2013 at 8:05 am #58784

Well, it’d require inspecting your theme to find what style is the one causing that. But it could also be that it’s causing a problem with the JavaScript, making the pro-form look that way.

Is the theme queueing its script and styles?
http://codex.wordpress.org/Function_Reference/wp_enqueue_script
http://codex.wordpress.org/Function_Reference/wp_enqueue_style

You could ask the theme developer for help to find what may be wrong with the theme that’s causing this conflict in the page with the pro-form.

Posted: Wednesday Aug 28th, 2013 at 7:46 am #58780

Sorry, I just saw your reply. Thanks for the info.

It looks like the hack works, it’s sending the data for those fields. What doesn’t seem to be happening is MailChimp saving it. I wonder if they changed something on their side since the hack was written.

I don’t have a MailChiimp account to test this with. I’ll ask Jason about it and let you know when I hear back from him.

Posted: Wednesday Aug 28th, 2013 at 7:36 am #58779

Well, first I’d make sure button encryption is enabled in s2Member and PayPal. [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Account Details -> Button Encryption[/hilite]

This video may help too: Video » s2Member PayPal Integration

If you have PayPal button encryption enabled in s2Member and PayPal, then I’d do some troubleshooting following the advice in this article: Knowledge Base » Common Troubleshooting Tips. I’d start with the server one in this case.

Posted: Wednesday Aug 28th, 2013 at 7:32 am #58778

Sorry I didn’t see your reply until now.

I couldn’t load the page, it’s just blank. You’re probably working on it. Let me know when I can take a look again, please.

If you’re having trouble with the s2Member Pro login widget, what I’d try is the troubleshooting advice in this article: Knowledge Base » Common Troubleshooting Tips

Posted: Wednesday Aug 28th, 2013 at 7:29 am #58777

What would be different about those registration forms? The custom profile fields you created with s2Member? If so, you can specify what levels the fields will apply to. [hilite path]Dashboard -› s2Member® -› General Options -› Registration/Profile Fields -> Field -> Applicable Membership Levels[/hilite]

What are you using for the registration form? The default or an s2Member pro-form?

Posted: Wednesday Aug 28th, 2013 at 7:26 am #58776

But I nee a more intermediary page that allows someone to either login or subscribe. And I want to be able to customize that page.

You’d use the Membership Options page for that, since it’s the one where the user is taken when he tries to open content he doesn’t have the access for. That is just a WP page that you choose for this redirection, and it can have any message you put in it. It can say that if he has an account to login to it and if he doesn’t then get one and explain the subsription and payment options. http://www.youtube.com/watch?v=2SMp9DYL3nM

Right now it seems that s2Membver has taken over my WP login page and later I want to re-theme that page ass well.

seems that s2Member does not contain a facility to customize your user login page so you need to install the WP Plugin “Theme My Login”

The login page is still WP’s wp-login.php. s2Member does add an image, but you can customize it.

s2Member helps you customize things wp-login.php, which aren’t in a default WP. [hilite path]Dashboard -› s2Member® -› General Options -› Login Registration Design[/hilite]

That said, if you want to use regular WP pages for your registration and login, s2Member Pro does have a registration form and a login widget that you can use for that purpose. And there may be other plugins that let you achieve this too.

Theme My Login may let you do that too, but I’m not familiar with it. I do remember that some years ago it had a conflict with s2Member, but it may not be the case anymore. Just a heads up, since you’re trying that plugin.

Posted: Wednesday Aug 28th, 2013 at 7:12 am #58775

I’m sorry, the Allow Profile Edits setting for custom profile fields, doesn’t have a value that would do what you describe (invisible during registration, visible in profile but not editable).

I’m adding it to the feature requests. :)

Posted: Wednesday Aug 28th, 2013 at 7:12 am #58774

Do I need to edit this code, i.e. replace $key with $blogurl, the custom field slug I am using?

It looks like you’d need to edit it if the field’s key is not [hilite mono]user_url[/hilite], then you’d need to change it to the correct meta key.

This would just filter the value but not actually update the WP blog_url field?

That seems correct. The hack doesn’t seem to update anything in the database, and also, the meta key used is [hilite mono]user_url[/hilite], not [hilite mono]blog_url[/hilite].

Posted: Friday Aug 23rd, 2013 at 11:25 pm #56625

No, you need the pro-form for the coupons, but that doesn’t require PayPal Pro, it can be used with just Express Checkout, which is similar to PayPal Standard.

Posted: Friday Aug 23rd, 2013 at 5:14 pm #56601

Thank you! We really appreciate it. :D

As a form of thanks, I gave you the “Supporter” badge and a discount for your next upgrade. :)

Posted: Friday Aug 23rd, 2013 at 7:55 am #56538

It works perfectly. I just need to figure out now how to change the button to make it look more appealing, but I’ll figure that out.

Oh, you can customize it using the [hilite mono]image[/hilite] or [hilite mono]output[/hilite] attributes. [hilite path]Dashboard -› s2Member® -› ClickBank® Buttons -› Shortcode Attributes (Explained)[/hilite]

I’m so glad you sorted it out! Thanks for the update, and don’t worry, it could happen to anyone. I’m very glad I could help you with that. :)

Ah, if you could take a minute, we’d really appreciate a rating and review for s2Member over at WordPress. http://s2member.com/r/wp-rate/

A “like” over at Facebook would be great too. http://facebook.com/s2Member

Thanks in advance! :)

Posted: Thursday Aug 22nd, 2013 at 7:51 am #56432

Great! Glad I could help. :)

Posted: Thursday Aug 22nd, 2013 at 7:50 am #56431

Thanks. Yeah, those are the ones I had seen before. The salespage buttons point to the Membership Options Page, and that has a PayPal pro-form. Where is the ClickBank button generated with the s2Member shortcode? Sorry, I can’t find it. :P

Posted: Thursday Aug 22nd, 2013 at 4:04 am #56414

Thanks for the kudos, John. :)

You can do most of that with s2Member Pro, because it has the login widget and the pro-forms.

Knowledge Base » s2Member® Login Widgets
Knowledge Base » s2Member® Pro Forms

The lost password, though, still goes to the default WP page for it.

You can also customize the default page a bit with s2Member. See [hilite path]Dashboard -› s2Member® -› General Options -› Login Registration Design[/hilite]

That’s what can be done with s2Member’s help, but if what you want is move the wp-login.php file to a page themed as the rest of the site, you’ll need to Google a hack for it.

I hope that helps!

Posted: Thursday Aug 22nd, 2013 at 3:53 am #56413

If it’s a buy-now then it would be possible to pay without logging into a PayPal account. Did you make sure you allowed it? Go to [hilite path]PayPal -> Profile -> My Selling Tools -> Website Preferences -> PayPal Account Optional[/hilite]

Posted: Thursday Aug 22nd, 2013 at 3:49 am #56412

Something seems to be wrong with your shortcode or its parsing. Could you post here the shortcode you’re using?

If the shortcode is okay, then I’d suspect the parsing is being affected by the theme or another plugin. Please follow the suggestions in this article: Knowledge Base » Common Troubleshooting Tips

Posted: Thursday Aug 22nd, 2013 at 3:43 am #56411

You mean giving the user a navigation with links to the pages he bought access to? if so, you’ll need the user to register, otherwise you won’t have a way to link separate purchases by the same person.

You could use custom capabilities, the difference would be that he’d register and be logged in when purchasing, so the ccaps are all under his account. The Specific Page restriction can’t do that, because it isn’t tied to any user account.

Then for the navigation, you’d have some conditionals that check if the user has access to a page, and gives the link based on that. Or check the custom capabilities he has and link to the pages they give access to.

Posted: Thursday Aug 22nd, 2013 at 2:25 am #56409

Well, when you create the pro-form shortcode, you’d have the initial term set to 90 days at the regular price.

Then create a coupon that’d get the initial term discounted to $1. [hilite path]Dashboard -› s2Member® -› Pro Coupon Codes -› Coupon Code Configuration File[/hilite]

In your coupons box, you’d add something like:

YOURCOUPONCODE|1.00||ta-only
Posted: Thursday Aug 22nd, 2013 at 2:06 am #56408

Heather, you will need to write a script to integrate s2Member with ConstantContact. If you don’t know PHP, you may want to get a freelancer to do it for you. Some sites where you could post this job would be jobs.wordpress.net, odesk.com, freelancer.com, rent-a-coder.com.

Basically, you need a PHP file that receives the user data from the s2Member notification and using ConstantContact’s API, adds him to your email list there.

[hilite path]Dashboard -› s2Member® -› API / Notifications -› Registration Notifications[/hilite]
Knowledge Base » Building An API Notification Handler
http://developer.constantcontact.com/get-started.html

I hope that helps. :)

Posted: Thursday Aug 22nd, 2013 at 1:52 am #56406

Yeah, check with PayPal, this is something on their side. When you were using the PayPal buttons, the service you were using is PayPal Standard, but the pro-forms integrate with the Express Checkout or PayPal Pro services. It’s very likely that the latter behave differently than the former.

One thing you could do, also, is setup an s2Member Payment Notification so it emails you each time s2Member gets notified by PayPal of a payment. See: [hilite path]Dashboard -› s2Member® -› API / Notifications -› Payment Notifications[/hilite]

:)

Posted: Thursday Aug 22nd, 2013 at 1:47 am #56405

It seems like this plugin may do what you want: http://wordpress.org/plugins/wplike2get/

Posted: Thursday Aug 22nd, 2013 at 1:42 am #56404

Melinda, this sounds like a question for the BuddyPress guys. http://buddypress.org :)

Posted: Thursday Aug 22nd, 2013 at 1:40 am #56403

Custom profile fields are not something s2Member includes when sending the user data to MailChimp, that’s why it’s not described in the integration’s documentation, it needs a customization similar to the one you found in other threads to achieve it.

When you created the custom profile field, you gave it an ID. You can get the value of that field for the user using that id with the function get_user_field. http://s2member.com/codex/stable/s2member/api_functions/package-functions/#src_doc_get_user_field%28%29

Here’s an example with two custom fields I made up (country, phone):

Create this dir/file: /wp-content/mu-plugins/s2-hacks.php
See Knowledge Base » Hacking s2Member® Via Hooks/Filters

[hilite pre_code]
get_user_field('country', $vars['user_id']),
'phone' => get_user_field('phone', $vars['user_id']),
);

return array_merge($merge, $custom_merge);
}
[/hilite]

So you’d use your own custom field IDs instead of the ones I put in the example, and you can add more if you have more than two.

I hope that helps. :)

Posted: Thursday Aug 22nd, 2013 at 12:46 am #56402

Additionaly, I only want to allow the first 30 people to use this coupon code.

This is not included in the coupons system yet, so you’d either have to customize your pro-form page a bit so it keeps count of the coupon uses and disabled the coupon field after the 30th. Or you can monitor it yourself and disable it manually.

I am trying to create a coupon that will allow people to get a 90 day subscription for $1. After 90 days they revert to the regular price.

You can do that if you use the initial term for the subscription. The coupons system lets you apply the discount to just the initial term, leaving the regular ones at their normal price. :)

Viewing 25 replies - 126 through 150 (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.