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 - 5,251 through 5,275 (of 7,376 total)
Author Replies
Author Replies
Posted: Saturday Jun 23rd, 2012 at 6:56 am #17239

Hi Alex.

The pro-form, when the user is logged in, has the profile fields, but prepopulated. You could use CSS to hide this section of the pro-form. If you’re just using Express Checkout, then you can also hide the billing options section.

If you’re selling a subscription, as is the case with PayPal Standard, the user will be asked to login to his PayPal account. Buy Now transactions can be paid without logging in to PayPal, though.

I hope that helps. :)

Posted: Saturday Jun 23rd, 2012 at 6:16 am #17238

No problem. :)

Posted: Saturday Jun 23rd, 2012 at 6:12 am #17237

It’s weird that it works fine in posts, or with a single shortcode, but not with this new hack…

Couldy you replace the [hilite mono]wp_redirect[/hilite] line with this to see what’s being returned by [hilite mono]do_shortcode[/hilite], please?

[hilite pre_code]echo $clickbank_checkout;[/hilite]

I’ll ask Jason if he has an idea why the output is being the anchor instead of the URL.

Posted: Saturday Jun 23rd, 2012 at 6:01 am #17236

Hi Greg.

No, s2Member doesn’t really do that. The URI restriction would work fine if you wanted to give access to all profiles together, but individual ones wouldn’t be practical.

Maybe you could sell custom capabilities with the usernames of the members. Then you could customize the public profile page’s template to add a conditional that checks for the custom capability that matches the username of the profile requested, and based on that allow access or present a message charging for it.

These would help with that:
Video » s2Member (Custom Capabilities)
Video » s2Member (Advanced Conditionals)
http://www.primothemes.com/forums/viewtopic.php?f=36&t=1604

I hope that helps. :)

Posted: Saturday Jun 23rd, 2012 at 5:54 am #17235

Hi Al.

No, s2Member doesn’t do that, and I don’t know what to recommend to do it, either. :/

We’re working to make something like this possible in the new s2Member being developed, but it’s not ready for release yet and I don’t have a date either.

Posted: Saturday Jun 23rd, 2012 at 5:40 am #17234

Hi Maxim.

Sorry for the delayed reply, I missed your post when I was answering questions yesterday.

1. I would like to have there 7 user types beginning from Guest and finishing with Advanced user, can I add user roles using this plugin?

Yes. s2Member comes with 4 paid user roles for the access levels. s2Member Pro lets you increase the number to what you need, e.g. 7. [hilite path]Dashboard -› s2Member® -› General Options -› Membership Levels/Labels[/hilite]

Now, levels give incremental access (unless you edit the role capabilities with another plugin), but s2Member custom capabilities let you sell access that isn’t incremental. Video » s2Member (Custom Capabilities)

2. I need a registration form from where users can be register only as Learners and Regular. Can this be done? Also, can I change user type after some time or when I would like to do this if I would be the admin?

You can edit the user’s role or access manually from the user’s profile any time you want.

s2Member Pro has the pro-forms that you can place in any WP page or post with a shortcode. You can specify at what level or with what custom capabilities the user registers, and give that an expiration time. These can be used for paid or free registrations. [hilite path]Dashboard -› s2Member® -› PayPal® Pro Forms[/hilite]

3. Can I set what text, pages, posts and other content each user can see?

You can set what they can see/access based on the s2Member level or custom capability he has.
[hilite path]Dashboard -› s2Member® -› Restriction Options[/hilite]
[hilite path]Dashboard -› s2Member® -› API / Scripting -› Simple/Shortcode Conditionals[/hilite]

4. Can I update to Unlimited-Site License if I would buy Single-Site License first?

Yes, and you’d just pay the difference. In your Account page there is a link to do the upgrade from your license to the higher one. http://www.s2member.com/account/

I hope that helps. :)

Posted: Saturday Jun 23rd, 2012 at 5:17 am #17232

Cool. :)

Posted: Saturday Jun 23rd, 2012 at 3:45 am #17229

Wow, Kevin, thanks so much for the kudos! It’s so nice of you to take the time to write this. You made my day. :)

I’m very happy that you’re satisfied with the support and the plugin. We’ll keep trying our best!

By the way, if you have suggestions to improve the UI in some way, please don’t hesitate to tell us. Jason and I will soon move to the UI phase of the new s2Member and any feedback we get will help improve what we have now.

And Eduán, thanks so much for the heads up!

Posted: Friday Jun 22nd, 2012 at 8:07 am #17189

Hi Paul.

The URI restriction doesn’t have replacement codes. If you add %%displayed_username%%, s2Member will expect to literally find that in the URL. If you just use /members/, then you’ll have a match.

I hope that helps. :)

Posted: Friday Jun 22nd, 2012 at 8:05 am #17188

First of all, we’ve launched!

Awesome! :D

Members have been invited. Some have already signed up – at the same time. But some show up in the Membership Directory, and some don’t even though, when I look at Dashboard – – > Users they all show up and they all have the right Role.

Are you using BuddyPress? The members not showing up in the directory may not have activated their accounts yet. Account activation is something BuddyPress adds.

Posted: Friday Jun 22nd, 2012 at 8:03 am #17187

Anthony, are these real users registering like that? Like, do they leave real comments or do they seem like spammers?

I find it very odd that so many real users would be registering without JavaScript in their browsers…

Not sure how mobile browsers handle JavaScript, I don’t have a device to test it. If you do, could you try registering without filling out those required fields?

Can you find out from some of those users that didn’t fill out the fields, how they registered?

This concerns me as a security issue for the plug-in.

It’s not really a security issue, it doesn’t put anything at risk. It’s just a weakness the current s2Member has in the field requirement setting. We have this solved server-side in the new version being developed.

Posted: Friday Jun 22nd, 2012 at 7:55 am #17185

Hi Tuhin.

Scenario 1:

It’s better to avoid it giving in the sales page a clear instruction to existing users to login to their account before purchasing.

But if you had this happen, then you’d ask the user for the subscr. ID he got from PayPal and you’d edit his profile to add it there, and you’d change his role to the new level, or add the custom capabilities if you sold him any.

Or, if there’s nothing valuable in the existing account, you could change the email address in it so he doesn’t get the error when trying to register the new account.

Scenario 2:

s2Member sends a confirmation email when PayPal notifies s2Member about the payment. This email includes a registration link that will give the new account the access the user paid for. [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Signup Confirmation Email[/hilite]

This special registration link will let the user create his account even if you have Open Registration disabled. [hilite path]Dashboard -› s2Member® -› General Options -› Open Registration[/hilite]

I hope that helps. :)

Posted: Friday Jun 22nd, 2012 at 7:41 am #17184

Specifically the “because you didn’t add that part”. Which part are you referring to that I did not add?

The time part, but I didn’t word it properly, sorry.

My example earlier was:

[hilite pre_code]
S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS >= 90 ||
(current_user_can('access_s2member_ccap_show60daysearlier') && S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS >= 30)
[/hilite]

But your condition was just:

[hilite pre_code]
S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS >= 30 ||
current_user_can('access_s2member_ccap_showme30')
[/hilite]

See that yours doesn’t check the registration days together with the ccap?

Now, it’s fine if your [hilite mono]showme30[/hilite] ccap means giving him access 30 days earlier, because if the content if for day 30, so you won’t need the time check in this case, the user should get access to it immediately with that ccap.

I hope that helps understand what I meant.

First of all… Thank you for your response. Your assistance is always appreciated. Also, thank you for clarifying how I would add two separate custom capabilities as conditionals in the drip feed script. That helps out a tremendous amount.

You’re welcome! Glad to help. :)

Sorry I wasn’t more clear with my reply earlier.

Posted: Friday Jun 22nd, 2012 at 7:29 am #17183

Thanks for the screenshot, the settings look fine. Got it on the version you have.

I wonder if ccBill is informing s2Member that the subscriptions are ending.

Do you have logging enabled? [hilite path]Dashboard -› s2Member® -› ccBill® Options -› Account Details -> Logging[/hilite]

Could you put the s2member-logs folder in a zip file and email me the link to it to take a look at the logs, please? s2Member® » Private Contact Form

Thanks. :)

Posted: Friday Jun 22nd, 2012 at 7:22 am #17182

Glad I could help. :)

Posted: Friday Jun 22nd, 2012 at 7:21 am #17181

Gaper, could you post the shortcode you’re using? I re-read the thread and am not sure now what you’re trying to do. Are you trying to register members for free at Level 1 and have them demoted to Level 0 after 5 days?

About the time left, you can calculate how many days since they registered to figure out the days left in the trial. [hilite path]Dashboard -› s2Member® -› API / Scripting -› Content Dripping[/hilite]

tp=”1″ regular period = 1
tt=”W” regular term = Week

Dave, [hilite mono]tp[/hilite] and [hilite mono]tt[/hilite] are trial period and term, [hilite mono]rp[/hilite] and [hilite mono]rt[/hilite] would be the ones for the regular period and term. [hilite path]Dashboard -› s2Member® -› Authorize.Net® Pro Forms -› Shortcode Attributes[/hilite] ;)

Posted: Friday Jun 22nd, 2012 at 7:12 am #17180

Hi Megan.

I’m not sure which either, so I’m email Jason to ask what he recommends.

Or you can use the payment notifications. [hilite path]Dashboard -› s2Member® -› API / Notifications -› Payment Notifications[/hilite]

Posted: Friday Jun 22nd, 2012 at 7:07 am #17179

Awesome! Thanks for the update!

Philly, how did you know what plugin he had causing the conflict? Not the first time I see you do this. Are you an esper? :P

Posted: Friday Jun 22nd, 2012 at 7:04 am #17178

If you don’t have the Alt View restrictions active, then the post should be shown in the posts listing (category, tag, homepage), with the content up to the “more” tag (the teaser snippet).

If that’s not what is happening, could you create a test category, in it create a test post restricted at Level 0 with some content and the more tag, and post here the link to the category, please?

Thanks!

Posted: Friday Jun 22nd, 2012 at 6:59 am #17177

I’ve never edited the more link myself, so I googled it and found this article that seems may help you with that: http://digwp.com/2010/01/wordpress-more-tag-tricks/

Posted: Friday Jun 22nd, 2012 at 6:49 am #17176

Well, the user will always be shown a page when he logs in. The Login Welcome Page setting lets you specify what he’ll be shown.

If you want them to see the home page when they login, then in the Login Welcome Page redirection field just enter the URL to your home page. If it’s a WP page, then select it from the drop-down. [hilite path]Dashboard -› s2Member® -› General Options -› Login Welcome Page -> Redirection URL[/hilite]

Where do you want them to go when they login?

Posted: Friday Jun 22nd, 2012 at 6:45 am #17175

Odd… It’s as if the output of the shortcode were the linked image instead of the URL… I got redirected to

http://atraccionla.com/ahref=http:/0.lmc541.pay.clickbank.net/?s2_invoice=1&s2_p1=0+D&s2_p3=1+M&s2_desc&s2_custom=atraccionla.com&s2_customer_ip=189.226.221.75&s2_subscr_id=s2-4fe447deb84ad&_s2member_sig=1340360670-24b608620fe5f3a1a5e434df82f56536imgsrc=http://atraccionla.com/wp-content/plugins/s2member-pro/images/clickbank-button.pngstyle=width:auto;height:auto;border:0;alt=ClickBank//a

If you use the shortcodes in a post, do they ouput the URL or the button?

Not sure why that is. I rewrote the hack to use another hook, and not use the switch. Let me know if this makes any difference:

[hilite pre_code]
'[[s2Member-Pro-ClickBank-Button cbp="1" level="1" ccaps="" desc="El Arte de la Atracción + La Primera Salida + 8 Switches de Atracción" custom="atraccionla.com" tp="0" tt="D" rp="2" rt="M" rr="0" image="default" output="url" /]]',
2 => '[[s2Member-Pro-ClickBank-Button cbp="2" level="4" ccaps="" desc="Sociedad Secreta Plata + 5 Guías Especiales + CERO DUDAS" custom="atraccionla.com" tp="0" tt="D" rp="1" rt="Y" rr="0" image="default" output="url" /]]',
3 => '[[s2Member-Pro-ClickBank-Button cbp="3" level="2" ccaps="" desc="Guía Especial Frases de Repertorio + Programa Cero Dudas" custom="atraccionla.com" tp="0" tt="D" rp="1" rt="M" rr="1" image="default" output="url" /]]',
4 => '[[s2Member-Pro-ClickBank-Button cbp="4" sp="1" ids="1464,1470,1481,1479,1477,1475,1473,1471" exp="1440" desc="Description and pricing details here." custom="atraccionla.com" image="default" output="url" /]]',
5 => '[[s2Member-Pro-ClickBank-Button cbp="5" sp="1" ids="1527,1470,1481,1479,1477,1475,1473,1471" exp="1440" desc="Description and pricing details here." custom="atraccionla.com" image="default" output="url" /]]',
);
if (isset($shortcodes[$_GET['clickbank']])) {
$clickbank_checkout = do_shortcode($shortcodes[$_GET['clickbank']]);
wp_redirect($clickbank_checkout);
exit;
}
}
}
[/hilite]
Posted: Friday Jun 22nd, 2012 at 6:18 am #17173

If I’m understanding your question correctly, then those two sections have the answer:

[hilite path]Dashboard -› s2Member® -› API / List Servers -› MailChimp®[/hilite]
[hilite path]Dashboard -› s2Member® -› API / List Servers -› Automate Unsubscribes/Opt-Outs -> Transition[/hilite]

The MailChimp integration lets you specify MailChimp groups the user will be added to when getting a certain level.

The transition setting will make level changes be reflected in the MailChimp groups the user is in.

Please read the documentation and fields in those two sections for more details, please.

I hope that helps. :)

Posted: Friday Jun 22nd, 2012 at 6:00 am #17170

No problem. :)

Posted: Friday Jun 22nd, 2012 at 5:34 am #17167

No, your theme’s CSS file.

If it doesn’t change, then try adding [hilite mono]!important[/hilite] to the style.

[hilite code]width: 50% !important;[/hilite]
Viewing 25 replies - 5,251 through 5,275 (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.