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 - 426 through 450 (of 7,376 total)
Author Replies
Author Replies
Posted: Wednesday Jul 3rd, 2013 at 10:21 pm #52976

Thank you for your response. I apologize for my earlier tone. As I said, I was very frustrated. The code you posted worked like a charm for the dynamic link, and was exactly what I was looking for. Thank you.

Great. :)

Upon viewing the profile, I can still see all of the html tags. I logged out, logged in as admin and checked, and I can see the tags as well. Viewing the profile looks exactly like the code I posted above. I went to my profile as admin, and tried the edit profile from the buddypress edit profile area, with the same results.

I’m guessing this is BuddyPress encoding the HTML code, so it doesn’t work as code anymore, but is displayed as text. The URLs are auto-linked when parsed, that’s why they’re clickable.

s2Member itself is not breaking the HTML, you can verify it displaying the field’s value with an s2Get shortcode in a WP post/page. If you edit the profile field, you’ll notice under the “Unique Field ID” box, that it shows an s2Get shortcode example. So if you called your field bio_test, the shortcode would be: [hilite mono][[s2Get user_field="bio_test" /]][/hilite].

From the pages you linked to, viewing the source code, it looks like you named your custom profile fields with spaces in them. I don’t recommend that, either put the words together or use an underscore.

In this site, s2member.com, we don’t use BuddyPress, just bbPress, and I don’t know if bbPress will allow HTML in the profile fields by default or if Jason had to customize it for that to work. You may need to customize your installation too.

Posted: Wednesday Jul 3rd, 2013 at 2:09 pm #52962

Well, whether they changed the limit recently or not, that’s the error you’re getting with that page: 414. And your hosting should help you solve it, since they’re the ones with access to the setting to fix it. :)

Posted: Wednesday Jul 3rd, 2013 at 2:07 pm #52961

Great. Glad I could help. :)

Posted: Wednesday Jul 3rd, 2013 at 5:13 am #52938

I’m very sorry about that. I didn’t have much time earlier, so I was going quickly through the threads and I replied to yours having only read the last replies, instead of the whole thread, so you wouldn’t have to wait much longer. I’m back with more time now, so I went over your posts and am answering your two questions below:

You see the link you have in your sidebar widget that says “My public Profile”? How do I do that?

For example… The link for me to view my profile is http://mysite.com/members/steve/. That’s great. I can create a link to that, maybe even in php and have it actually read “View Your Profile”. The problem is that that link will always point to MY profile. How do I make that link so that it takes the logged in member to their own profile?

Of course the username will have to vary depending on the logged in user, so you have to get the current username to change that URL dynamically.

You can do it with a function that gets it, like our get_user_field or WP’s wp_get_current_user, or use one of the constants we provide. Please see the documentation here: [hilite path]Dashboard -› s2Member® -› API / Scripting -› PHP/API Constants[/hilite]

In the box Bruce highlighted in his image:

Try entering something like this (please change “mysite.com” to your actual domain name):

<a href="http://mysite.com/members/<?php echo S2MEMBER_CURRENT_USER_LOGIN; ?>/">View Your Profile</a>

Can we, or can we not allow members to use HTML tags when filling out the multi-line text box in the edit profile page? I have been searching for hours on this. Everything I read said that that is not possible, but your site allows it!

I did a test just now. I set the “Form Field Type” to [hilite mono]Textarea (multi-line)[/hilite] and the “Expected Format” to [hilite mono]Anything Goes[/hilite], saved the field, saved all changes. Logged in as a regular user and entered HTML there, which I then, logged back in as the admin, echoed in a test page to verify that the HTML wasn’t broken, and it was fine.

I don’t understand why you couldn’t use HTML. Could you show me a screenshot of the settings for that field so I copy them and try to reproduce it? How did you test that HTML wasn’t working? Could you show me what you used to display it so I try it too?

Since you’re using BuddyPress, and you most likely want that field to show in the public profile, did you enable the integration of the s2Member profile fields with BuddyPress? [hilite path]Dashboard -› s2Member® -› General Options -› Registration/Profile Fields -> BuddyPress[/hilite], where it says “Integrate Custom Registration/Profile Fields with BuddyPress.”


I hope that helps. :)

Posted: Wednesday Jul 3rd, 2013 at 12:47 am #52934

I am talking about these:

I don’t have access to this site’s configuration, but if I’m not mistaken, that’s a custom profile field created here: [hilite path]Dashboard -› s2Member® -› General Options -› Registration/Profile Fields[/hilite]

tell me how to get the link in the login widget (that points to the logged in users profile)?

In your widget’s settings, please see the section that starts with Profile Title (when logged-in). [hilite path]WP Admin -> Appearance -> Widgets -> s2Member Pro Login -> Profile[/hilite]

Posted: Wednesday Jul 3rd, 2013 at 12:45 am #52933

No, I’m not talking about Amazon’s side, but s2Member’s. If you had configured s2Member to work with Amazon before and you’re having trouble and needed to reconfigure or remove the integration, it’s good to reset s2Member’s settings for it. The link to the must-use plugins is just to show you what “mu” meant, to answer your question.

The article that explains how to reset s2Member’s integration with Amazon is the one I linked to in the first paragraph. This article: Knowledge Base » Reset the Amazon S3/CloudFront integration

Posted: Tuesday Jul 2nd, 2013 at 11:07 pm #52930

Did you fully remove the s2Member integration with Amazon? Knowledge Base » Reset the Amazon S3/CloudFront integration

Before I try the fix above I notice that you install the plugin in the following directory: /wp-content/mu-plugins/s2-hacks.php

I’m not using mu. Will this work in a normal plugins directory as well?

“mu” there means “must use”. See: http://codex.wordpress.org/Must_Use_Plugins

Posted: Tuesday Jul 2nd, 2013 at 11:01 pm #52929

Public profiles like you mention, I think are added by BuddyPress and you can ask them about it. http://buddypress.org

If you mean the profile page we have here (http://www.s2member.com/profile/) that’s a regular WP page where we put the profile edit form shortcode. See:
[hilite path]Dashboard -› s2Member® -› General Options -› Member Profile Modifications[/hilite]
[hilite path]Dashboard -› s2Member® -› API / Scripting -› Member Profile Modifications[/hilite]

Posted: Tuesday Jul 2nd, 2013 at 10:54 pm #52928

This is a login session issue, and s2Member doesn’t change it, it’s managed by WordPress.

First thing that came to mind was the use of www, but you seem to be consistent with that. See: Knowledge Base » Logged In, But Am I?

You could test if there’s a plugin or the theme causing you this problem. Try these: Knowledge Base » Common Troubleshooting Tips

First off I’m making a living using your plugin – it’s awesome! Can’t thank you guys enough.

That is awesome! I’m so happy for you. Thanks for the kudos! :)

Posted: Tuesday Jul 2nd, 2013 at 10:48 pm #52927

I checked and got a 414, your webhost probably changed the URI length limit recently. Please see this article: Knowledge Base » Blank page, 414 error, request URI too long

Posted: Tuesday Jul 2nd, 2013 at 10:44 pm #52926

Great. Thanks for the update. :)

Posted: Tuesday Jul 2nd, 2013 at 10:43 pm #52925

Actually, no, I didn’t know that download keys were affected by the browser at all.

Could you try these, please? Knowledge Base » Common Troubleshooting Tips

Posted: Tuesday Jul 2nd, 2013 at 10:41 pm #52923

You can have the EOT system not demote the user. See here: [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior[/hilite]

Posted: Tuesday Jul 2nd, 2013 at 10:39 pm #52922
Posted: Tuesday Jul 2nd, 2013 at 10:33 pm #52921

Well, if someone paid one-time, he could then start a subscription, that’s not a problem. s2Member won’t take into account the paid time left, though, the subscription would start when it’s purchased.

To prorate you’d need a bit of PHP to calculate the paid time left (using the EOT time) and give that in the initial term of the subscription. These may help:
http://www.s2member.com/forums/topic/membership-upgrade-questions/#post-52394
http://www.s2member.com/r/codex_get_user_field/ (for the EOT time)

Posted: Tuesday Jul 2nd, 2013 at 6:32 am #52889

Yeah, if you have users with subscriptions on the site you’re moving the users from, you’ll need to redirect the IPN connections from PayPal, so they go to the new site without losing the data, which is what the central IPN script would do.

With s2Member Pro with provide a zip file full of helpful files, including a sample script to help you with this, which you’d then customize for your installation. We don’t offer the customization service, though, if you need help, you could get a freelancer from sites like jobs.wordpress.net, odesk.com or elance.com.

To migrate the users, you can use the Export/Import tools. Features » Mass Update & Import/Export Functionalities

i’ve really got on quarms with it as it’s made me a lot of money over the past 6 months

That’s wonderful. I’m very glad about that. :)

Posted: Tuesday Jul 2nd, 2013 at 6:09 am #52886

Does she get any errors when she can’t login successfully?

If she gets something about the login credentials, she should make sure she’s using the correct ones. If it’s about the password, she could get a new one using the lost password tool. /wp-login.php?action=lostpassword

If she gets something about too many failed login attempts, or too many IPs for that account, then it may be one of these restrictions, which you can reset from her profile:
[hilite path]Dashboard -› s2Member® -› Restriction Options -› Brute Force IP/Login Restrictions[/hilite]
[hilite path]Dashboard -› s2Member® -› Restriction Options -› Unique IP Access Restrictions[/hilite]

Posted: Tuesday Jul 2nd, 2013 at 6:03 am #52885

Right, we haven’t gotten much help from PayPal about this. I’m sorry. :/

Posted: Tuesday Jul 2nd, 2013 at 6:01 am #52884

Okay. Let us know how it goes.

Posted: Tuesday Jul 2nd, 2013 at 5:58 am #52883

No, s2Member can’t do this. s2Member doesn’t store the card’s information, so the user does need to enter the details again in your pro-form. And if did a one-time payment to Auth.Net instead of a subscription, then they won’t have saved the card to reprocess it later as would be the case with recurring payments.

Posted: Tuesday Jul 2nd, 2013 at 5:54 am #52882

So the error is in the payment gateway?

And what does the user profile in WP say? Does it show the gateway, a subscr. ID, an EOT time?

What does your IPN log say about this subscription? Did the payment gateway notify s2Member about the subscription ending? [hilite path]Dashboard -› s2Member® -› Log Files (Debug) -› s2Member® Log Viewer[/hilite]

Are other users being demoted when their subscriptions end?

Posted: Tuesday Jul 2nd, 2013 at 5:51 am #52881

Right, you’d do a check of that kind in a PHP conditional to protect the content of those pages.

These should help:
[hilite path]Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals[/hilite]
[hilite path]Dashboard -› s2Member® -› API / Scripting -› Content Dripping[/hilite]
http://codex.wordpress.org/Template_Tags/get_post_time
http://php.net/time
http://php.net/strtotime

Posted: Tuesday Jul 2nd, 2013 at 5:46 am #52880

s2Member doesn’t have links to auto-login by just using them, nor do I know a hack for it.

But there is a hack to auto-login after registration: Knowledge Base » Auto-Login Upon Registration

Posted: Tuesday Jul 2nd, 2013 at 5:45 am #52879

From what he said, it seemed like the tracking wasn’t behind the problem after all.

Do the Signup Confirmation and New User emails get sent to the user? If not, please try these:
Knowledge Base » Troubleshooting Email Delivery Problems

If those are getting sent, then I’d try these:
Knowledge Base » Debugging the AWeber integration
Knowledge Base » Common Troubleshooting Tips

Posted: Tuesday Jul 2nd, 2013 at 5:38 am #52878

I’ve asked Jason about this, I’ll let you know as soon as I hear back from him. :)

Viewing 25 replies - 426 through 450 (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.