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,051 through 5,075 (of 7,376 total)
Author Replies
Author Replies
Posted: Saturday Jul 7th, 2012 at 10:16 pm #18587

Hi Edward. No, nothing firmer yet.

Posted: Saturday Jul 7th, 2012 at 10:13 pm #18586

Ah I see. You can edit where it links to when you configure the widget in your admin. [hilite path]WP Admin -> Appearance -> Widgets -> s2Member Pro Login[/hilite]

If you’re using the PHP method for the widget, here’s the documentation with the parameters: http://www.s2member.com/codex/stable/s2member/api_functions/package-functions/#src_doc_s2member_pro_login_widget%28%29

Posted: Saturday Jul 7th, 2012 at 10:04 pm #18585

Got ya. Yeah, it doesn’t make sense…

I’m emailing Jason to notify him of this problem. Is the login info you submitted before still valid? He will probably need it.

Posted: Saturday Jul 7th, 2012 at 9:58 pm #18584

Hi Ed.

The hack doesn’t have that many lines. Do you have other things there? Could you post all the code in your s2hacks.php file? Please put it inside [hilite mono]<code>[/hilite] tags or it won’t display properly.

Posted: Saturday Jul 7th, 2012 at 9:32 pm #18582

Well, MySQL is not super efficient when it comes to complex queries either… I think doing the two quick queries and then working with the results in PHP may be faster. You get the complete list of users, get the list of users with last_activity time and then add it to the other.

You could have the user_id as the keys of the users array. Then when you loop the results fo the last_activity query, just do something like [hilite code]$users[$user_id]['last_activity'] = $last_activity_time;[/hilite]

Posted: Saturday Jul 7th, 2012 at 7:08 am #18546

Hi John.

You can try using the [hilite mono]skip_confirmation[/hilite] var in your URL, or attribute in your shortcode for the file. [hilite path]Dashboard -› s2Member® -› Download Options -› Shortcode Attributes -> skip_confirmation[/hilite]

I hope it helps. :)

Posted: Saturday Jul 7th, 2012 at 5:22 am #18538

Okay. :)

Posted: Saturday Jul 7th, 2012 at 4:52 am #18537

Maybe he didn’t have enough funds in his selected source so he needs to pick another one.

I searched for the error and this is what I found: https://cms.paypal.com/uk/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_soap_errorcodes

10422
Customer must choose new funding sources.
The customer must return to PayPal to select new funding sources.

Posted: Saturday Jul 7th, 2012 at 4:48 am #18536

Well, I’m not very experienced with MySQL…

Are you trying to get a list of all the user IDs and their last_activity time if they have one? I don’t know if a single query could return that.

The problem with usermeta is that -from what I’ve seen- if the user doesn’t have that field, it’s not just empty, it doesn’t even exist for the user. No row is created with that user_key for that user if it was never stored.

What I’d do is two queries: one for the [hilite mono]`users.ID`[/hilite] list and another for the [hilite mono]`usermeta`.`user_id`[/hilite] with a [hilite mono]last_activity[/hilite]. Then work with the results in PHP.

I hope that helps. :)

Posted: Saturday Jul 7th, 2012 at 4:00 am #18527

We’ll do what we can to help you. :)

Posted: Saturday Jul 7th, 2012 at 3:59 am #18526

Hi Dean.

Are you talking about a link in BuddyPress? I guess you’d have to find if there’s a setting for it or edit the template where it is.

Posted: Saturday Jul 7th, 2012 at 3:58 am #18525

Cool. :)

Posted: Saturday Jul 7th, 2012 at 3:57 am #18524

No problem. :)

Posted: Saturday Jul 7th, 2012 at 3:55 am #18523

Then I don’t know why you got the memory problem… Are you in a shared host? maybe at that moment the available resources were low? I don’t know.

s2Member is a large plugin and sometimes WordPress could have memory problems when decompressing it on installation. The FTP upload is reliable and a good solution if the installation/update from the dashboard has issues.

Posted: Saturday Jul 7th, 2012 at 3:51 am #18522

Hi Malin.

In my form I have set accept=”paypal” (only paypal) and if I only put one form an o page it looks great. If I put more than one form there they ask for billing adress and card information. This should only appear if I accept cards, which I don’t.

This is because of the JavaScript problem that happens with more than one pro-form in the page. The other payment options in the pro-form are enabled/disabled by the JS.

Posted: Saturday Jul 7th, 2012 at 3:49 am #18521

Hi James. I’m very sorry about the delay to reply, for some reason I missed your thread before now. :/

I’ve discovered that I cannot place more than one PayPal Pro form on one page or post

This is correct. Having more than one pro-form in the same page will cause problems with the JavaScript for them.

I also have this happening when I use Pro Forms to generate a Billing Modification Form so users can upgrade from level 0 to level 1.

The billing modification won’t prepopulate the fields, since they aren’t profile fields, they’re payment information for the gateway.

The update to the profile information also varies depending on browsers but they all eventually have the same issue.

This one may have to do with caching, I’m not sure. Do you have a caching plugin? If so, make sure that it doesn’t have object caching enabled, which can cause different random problems.

Once I did that everything worked great.

Cool. So you solved it now or do you still have a problem pending?

Posted: Saturday Jul 7th, 2012 at 3:39 am #18520

Thanks.

Are both for the same transaction? I ask because I noticed the RTN log entry with the error is missing the item number, but the IPN log has it and the entry looks okay. The item number should not be missing.

Are you using the s2Member shortcodes? Could you quote the shortcode you’re using?

Could you send me the link to the page where you’re using the shortcode, please? s2Member® » Private Contact Form

Thanks!

Posted: Saturday Jul 7th, 2012 at 3:14 am #18519

Thanks for the heads up! When you say “standard”, do you mean s2Member’s or WordPress’?

Anyway, glad you solved it! Thanks for the update. :)

Posted: Saturday Jul 7th, 2012 at 3:13 am #18518

Hi Derek,

Could you try this?

Create this folder/file: /wp-content/mu-plugins/s2hacks.php

[hilite pre_code]

Posted: Saturday Jul 7th, 2012 at 2:59 am #18517

Alex, is the user logged in when he gets there and the fields are empty? The profile fields will be prepopulated only when the user is logged in, because they can be gotten from his profile, otherwise they’ll be empty and need to be filled out in order to create the account.

Posted: Saturday Jul 7th, 2012 at 2:51 am #18516

Hi Brian.

1. Is it possible?
2. If Yes, is it difficult?

If WP E-Commerce is a WP plugin, then you may be able to restrict access to it using s2Member’s URI restriction. [hilite path]Dashboard -› s2Member® -› Restriction Options -› URI Access Restrictions[/hilite]

Or do you mean selling s2Member access through WP E-Commerce? If so, then no, unless you create a customization/hack to achieve it.

3. Is there any way to track purchases and downloads of free materials (i.e., whitepapers, etc) for those who are logged in?

The tracking of what you sell with WP E-Commerce may be a question for them. Or you can try tracking services like Google Analytics or scripts like Prosper202, but this is not something I can help with.

Bonus: I know there’s been chatter about greater integration with ecommerce on the next major upgrade, so when is that expected???

Sometime this Summer is the last estimate Jason gave and that I have. This integration may help in the case of you wanting to sell s2Member access through another system like WP E-Commerce.

Posted: Saturday Jul 7th, 2012 at 2:32 am #18515

Okay, sorry about the delay. I now had a chance to do the test purchase and review the logs and your installation.

I could checkout without a problem, no errors, and got taken to the default thank-you page:

http://inner********.com/?s2member_paypal_return=1&s2member_paypal_return_tra=<snip>&tx=<snip>&st=Completed&amt=0.01&cc=USD&cm=inner********%2ecom&item_number=1::1%20D

It had a link to register at:
http://inner********.com/wp-login.php?action=register

But that redirects to:
http://prana********.tv/inner********-com/wp-login.php

Although I thought it wouldn’t work as desired, I registered from
http://prana********.tv/inner********-com/wp-login.php?action=registered

I reviewed the logs after this and the transaction looks fine there, but I never got the confirmation email after payment or the new user meail after registration.

I also checked the account in the users list and it is there, but with role “Subscriber” instead of “s2Member Level 1”:
http://prana********.tv/inner********-com/wp-admin/users.php

I’m suspecting that the problem is being caused by the way the child blogs are managed. It’s weird it’d be prana********.tv/inner********-com instead of just inner********-com. Are you using a standard WP multisite network or a WPMU Dev version of it? I ask because I saw WPMU mentiond in the dashboard.

You may want to have that blog outside that network, or use a normal multisite network where the child blog will all be under the same domain name.

I hope that helps figure out what’s going on in your installation. :)

Posted: Friday Jul 6th, 2012 at 10:53 pm #18510

Where do I put this? I dont see a mu_plugin dir

/wp-content/mu-plugins/s2hacks.php

If you don’t have the folder or file, just create it. :)

2) Thats fine I will create my own, however. I need to know a few things, where does the Token
thats in the email creation link (http://screencast.com/t/mVmlvr83Mb) stored? Like I after
successfull checkout. I want the user to be taken to the signup page immediatly. Not wait for
and email. This will cause us plently of support headaches, as i have experince in my market.

The short link is created in this file: s2member\includes\classes\utils-urls.inc.php. The link isn’t stored anywhere, it’s just sent to the user. You could hack the file to save a copy of the link somewhere.

You can use other URL shortening services, too. [hilite path]Dashboard -› s2Member® -› General Options -› URL Shortening Service[/hilite]

Also, how does it verify that it was a successfull payment, so that the use can create an account
I do not see any custom DB tables that would store this info. Can you please advise how this
process works so i can code the solutions I need here

When the person is taken from ClickBank to your site’s [hilite mono]s2member_pro_clickbank_return[/hilite] URL, s2Member reviews the data ClickBank includes there and s2Member, after confirming the payment was done, sets a cookie in the user’s browser that will let him register (even when registrations are closed) and give him the access he just paid for.

There are rare exceptions when s2 can’t confirm the payment right away because of a delay in ClickBank, so the user won’t be able to register with a regular link to the registration page, but the special registration link in the Confirmation Email will still be sent as soon as possible and that link includes authentication that will let him register and give the paid access to the new account too.

The successful payment is not stored in the database either, only in the logs if you have those enabled. If the registration link is being sent in the confirmation email, then the payment was successful in s2Member’s eyes, and you could go with that.

4&5) These are both recurring.

I see. s2Member currently only works with a single subscription. If the user started a new subscription, then s2Member would replace the previous one with the new one.

Now say the user buys the First Recurring product. He will be sent to
an upsell where we will offer another recurring upgrade. The way it is now. This will make the user
go through the clickbank checkout proccess twice, and create 2 subscriptions. Which is fine
however I was talking to a former clickbank employee about the upsell process. All they do is
store the payment data for that session internally, and then when the user clicks the upsell button
it simply rebills the user and then it goes to the thank you page. I dont know all the variables yet
but this would be cool if s2 would keep this in mind on a future release.

Yes, this, and several things related to the previous points mentioned, are being improved in or considered for the new s2Member being developed. :)

Posted: Friday Jul 6th, 2012 at 7:52 am #18469

Yeah, a backup would be your best solution.

Did you verify that there’s nothing left of those posts in the database?

If that’s not available, I’d try Google’s cache, or the Internet Archive’s WayBack Machine for copies of the pages to simplify recreating them.

Posted: Friday Jul 6th, 2012 at 7:50 am #18468

No problem. :)

Viewing 25 replies - 5,051 through 5,075 (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.