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.

Home Forums Eduan

Eduan

Moderator

My Latest Replies (From Various Topics)

Viewing 25 replies - 826 through 850 (of 3,367 total)
Author Replies
Author Replies
Posted: Monday Feb 18th, 2013 at 3:02 pm #42315
Eduan
Username: Eduan
Moderator

Well you would do something like this:

[s2If !is_user_logged_in()]
Here I display a player with a sample clip

Here you put a PayPal button that gives access to a certain ccap (custom capability), in this case "full_podcast" and level 1.
[/s2If]
[s2If current_user_can(access_s2member_ccap_full_podcast)]
Then put the content for download and make it require that certain ccap, called "full_podcast" in this case.
[/s2If]

Understand? So basically make the user buy a ccap, and then restrict that download only if he has that ccap.

I hope this is not confusing. :)

Posted: Monday Feb 18th, 2013 at 2:54 pm #42314
Eduan
Username: Eduan
Moderator

I see. But how did you expect them to look like?

Options in one column and checkboxes in another?
Option and then checkbox and then next option and next checkbox etc.?

– Eduan

Posted: Monday Feb 18th, 2013 at 1:35 pm #42303
Eduan
Username: Eduan
Moderator

Andaluzo, it seems that this problem is caused because your translation is recognizing a different string.

It’s trying to find the string with the spaces inside the parentheses, but now it doesn’t have them so it doesn’t translate it.

To fix this you need to fix your translation, not s2Member. :)

Posted: Monday Feb 18th, 2013 at 1:30 pm #42301
Eduan
Username: Eduan
Moderator

Hello James,

I’m kind of confused as to what you want to achieve. :/
Basically you want to offer file downloads in posts/pages that are protected with s2Member’s specific post/page restrictions?

And you only want them to download the file if they have access to that specific post/page right?

– Eduan

Posted: Monday Feb 18th, 2013 at 1:28 pm #42300
Eduan
Username: Eduan
Moderator

I see. So right now you’re using your (custom) registration form successfully? It works correctly as a registration form right?

What you describe you need is really not related to s2Member, make it popup after a certain amount of time. That is’nt really related to s2Member…

In relation to s2Member, what do you need help with?

– Eduan

Posted: Monday Feb 18th, 2013 at 12:15 pm #42290
Eduan
Username: Eduan
Moderator

Glad the problem was solved James. :D

Posted: Monday Feb 18th, 2013 at 12:07 pm #42289
Eduan
Username: Eduan
Moderator

Hmm… I see.
So if I understood correctly, you’re using a script that modifies the WordPress profile edit page? And you’re using s2Member’s shortcode there?

Or you just made a script that modifies the WordPress profile edit page?

– Eduan

Posted: Monday Feb 18th, 2013 at 12:04 pm #42288
Eduan
Username: Eduan
Moderator

Hello Gurdal,

I’m afraid the image is too small for us to see the problem. :/

Could you please show us a big image of the problem, and how it should be? So that we are able to help you. :)

– Eduan

Posted: Monday Feb 18th, 2013 at 12:03 pm #42286
Eduan
Username: Eduan
Moderator

Excellent! Glad you figured it out Antoine! :)

Posted: Monday Feb 18th, 2013 at 11:53 am #42282
Eduan
Username: Eduan
Moderator

No problem. :)

Posted: Monday Feb 18th, 2013 at 11:52 am #42281
Eduan
Username: Eduan
Moderator

I’m sorry it didn’t work. :(
I’ll see if I can figure something out later. If I do I’ll post it here, however again, most probably it will not be tested. ;)

Posted: Monday Feb 18th, 2013 at 11:50 am #42280
Eduan
Username: Eduan
Moderator

I’m not sure how you would stop this.

I will ask Jason for his advice. :)

Posted: Monday Feb 18th, 2013 at 11:46 am #42279
Eduan
Username: Eduan
Moderator

Hello Hengjin,

I’m afraid no users have shared a Chinese translation yet. :/
You will have to translate it yourself.

– Eduan

Posted: Monday Feb 18th, 2013 at 10:16 am #42266
Eduan
Username: Eduan
Moderator

Hello Ronnie,

Perhaps this is because of the behavior for EOT, in which s2Member gives the user 24 extra hours added to the EOT you give him.

This is all explained under Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior and you might be able to configure some (I believe not this one) of this behavior under Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior as well. :)

– Eduan

Posted: Monday Feb 18th, 2013 at 10:14 am #42265
Eduan
Username: Eduan
Moderator

I’m sorry I can’t provide any more help Boudewijn. :/ :(

Andaluzo, I will pass this on to Jason as a feature request, a way to modify all the emails that go out in a more concise place and with more advanced features if possible. Is that OK with you?

– Eduan

Posted: Monday Feb 18th, 2013 at 10:11 am #42264
Eduan
Username: Eduan
Moderator

NOT sure if this would work, but you can try this:

// Get the user ID by URL
$userID = $_GET['author'];

// Get user's info
$user_info = get_userdata($userID);

// Get field's value
// Replace `custom_field` with the field's Unique ID that you gave it
$userCustomField = $user_info->custom_field;

Now, this works by using get_userdata(), one of WordPress’ functions.

Again, not sure if this will work, I haven’t tested it myself but it’s worth a shot.

Now, the s2Member way of getting the value of this field would be with the shortcode [s2Get user_field="custom_field" /], so to get this in code you would do something like:

// Get field's value
// Replace `custom_field` with the field's Unique ID that you gave it
$userCustomField = do_shortcode('[s2Get user_field="custom_field" /]');

Hope this gives you some clues. :)
I repeat, you gotta try these first cause I’m not sure if they would work.

Posted: Monday Feb 18th, 2013 at 9:50 am #42262
Eduan
Username: Eduan
Moderator

Hello Gina,

I would be happy to provide a refund, however that is not decided by me. :)

Just some questions so that Jason can judge if the refund is valid:

What are you encountering problems with? In the process of importation/exportation, what is turning out to be not what was promoted?

Have you asked for help from us in order to help you resolve this issue?

– Eduan

Posted: Monday Feb 18th, 2013 at 9:48 am #42261
Eduan
Username: Eduan
Moderator

One thing I would like to point out that I forgot until now.

I’m not completely sure, but pretty sure, that this URL can be configured using the success attribute available in the pro version of s2Member.

After payment/registration the user will be redirected to the URL you set in this attribute, so basically you could skip this page I believe and replace it with your own page.

– Eduan

Posted: Monday Feb 18th, 2013 at 9:46 am #42260
Eduan
Username: Eduan
Moderator

Hello Nevin,

Well the first 3 emails are from PayPal, telling the user that things have been done with his account.

The last 3 emails are from WordPress and AWeber.

So to remove the first 3 emails I’m afraid that depends on the user, I personally don’t have a PayPal account yet so I’m not sure if this is possible, but it should be possible to configure when you get sent an email.

The last 3 emails are unavoidable I’m afraid. The notification of new user registration is only received by the admin user and any other emails you have configured to receive it I believe. I believe you can configure that under Dashboard -› s2Member® -› General Options -› Email Configuration.

The other 2 are sent by WordPress (you would have to modify WordPress to remove it) and AWeber, which is a confirmation email that HAS to be sent in order to confirm their signup to that mailing list or whatever.

– Eduan

Posted: Monday Feb 18th, 2013 at 9:41 am #42259
Eduan
Username: Eduan
Moderator

Hello James,

Could you please provide an example of the button that works, and an example of one of the buttons that don’t work?

Also, just to clarify, they are buttons and not pro-forms correct?

– Eduan

Posted: Monday Feb 18th, 2013 at 9:37 am #42257
Eduan
Username: Eduan
Moderator

Hello Gary,

In which way do you need to integrate it? What do you need from s2Member in this form?
Do you mean for the custom fields, the user’s data and all that stuff?

– Eduan

Posted: Monday Feb 18th, 2013 at 9:30 am #42256
Eduan
Username: Eduan
Moderator

I’m afraid I can’t provide any help Antoine. :/
I’m pretty much a newbie when it comes to the code side of WordPress.

Perhaps you could hire a freelancer to check the code and fix it for you? At websites like jobs.wordpress.net or elance.com for example.

– Eduan

Posted: Sunday Feb 17th, 2013 at 10:38 pm #42226
Eduan
Username: Eduan
Moderator

Hello Paul,

So basically you don’t want users to be able to use this offer twice, correct?

If that’s so, why don’t you make that form assign the user a custom capability (ccap)? That way you just have to check that the user hasn’t already used it before.

Of course if they do it with a new username they can do it, or with another email address.

– Eduan

Posted: Sunday Feb 17th, 2013 at 10:30 pm #42225
Eduan
Username: Eduan
Moderator

Hmm… Didn’t really examine all of it (I’m just too lazy :P), but I can tell you that the success attribute is incorrect.

It should point to a FULL URL, not a relative URL, so instead of /welcome/ it should be http://www.yourdomain.com/welcome/.

That is all. :)

Posted: Sunday Feb 17th, 2013 at 10:18 pm #42223
Eduan
Username: Eduan
Moderator

Hello Jason,

s2Member does not provide any custom login page. Users (admin users as well) still have to login through the WordPress login page (http://www.excel-course.com/wp-login.php).

So I’m not sure what your problem is… It might be that you misunderstood this restriction.

To make sure, this restriction ONLY restricts the profile edits, it does NOT restrict anything else from the admin areas, that is done automatically by WordPress after all.

I’ll ask Jason to see if he could clarify this in the option text. :)

– Eduan

Viewing 25 replies - 826 through 850 (of 3,367 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.