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 Bruce

Bruce

Staff Member

My Latest Replies (From Various Topics)

Viewing 25 replies - 1,151 through 1,175 (of 2,703 total)
Author Replies
Author Replies
Posted: Friday Apr 26th, 2013 at 9:15 pm #48522
Bruce
Username: Bruce
Staff Member

Oh no…..did that and got this now on my own admin user…

Call to undefined function bbp_is_user_keymaster()

That error is coming from your theme, as it is calling a bbPress API Function before it’s loaded. I don’t see how it’s possible s2Member could be causing this at all.

Posted: Friday Apr 26th, 2013 at 9:12 pm #48521
Bruce
Username: Bruce
Staff Member

The htaccess file that I have within the S2Member “includes” folder has the following (only):

deny all.

I believe you’re talking about the deny from all command that s2Member uses. This is to prevent Users or bots from firing s2Member’s included PHP and JavaScript files. This shouldn’t be affecting anything through PHP or other server-side scripts because it’s only blocking Users coming from HTTP/HTTPS (i.e. through their browser).

Could you post the exact error you’re getting?

Posted: Friday Apr 26th, 2013 at 8:59 pm #48520
Bruce
Username: Bruce
Staff Member

The s2member_paypal_return_success variable can be set to a custom return URL that you’d like to use by tacking it to the end of the return attribute of your button. However, please note that your custom URL should be URL encoded. See: http://meyerweb.com/eric/tools/dencoder/

Example:

<input type="hidden" name="return" value="http://example.com/?s2member_paypal_return=1&s2member_paypal_return_success=http%3A%2F%2Fwww.example.com%2Fthank-you" />
Posted: Friday Apr 26th, 2013 at 8:42 pm #48519
Bruce
Username: Bruce
Staff Member

Great. Let us know if you have any other issues. :-)

Posted: Friday Apr 26th, 2013 at 8:42 pm #48518
Bruce
Username: Bruce
Staff Member

The modification form displays all fields just like it was a new signup. It even has a “Create Profile” section which asks for name,username and password. Is this normal? I would think that you wouldn’t need to provide the username/password info if you’re logged in.

Would you mind posting the Shortcode you’re using for this?

Posted: Friday Apr 26th, 2013 at 8:40 pm #48517
Bruce
Username: Bruce
Staff Member

My suspicion is that my PayPal sandbox settings are wrong….? :-)

No, I don’t believe so. I think the problem here is that you’re using a direct link to the plugin file in these two URLs:

http://*****.bluehost.com/~****/wp-content/mu-plugins/s2-payment-notification.php?s2_payment_notification=yes&%%user_login%%&%%user_email%%&%%user_first_name%%&%%user_last_name%%&%%item_number%%&%%item_name%%
http://kismetwebdesign.com/ann-emailer/ann-emailer.php&%%user_login%%&%%user_email%%&%%user_first_name%%&%%user_last_name%%&%%item_number%%&%%item_name%%

You need to create a URL like shown in the example in our Knowledge Base, like you’re using here:

http://*****.bluehost.com/~****/?s2_payment_notification=yes&%%user_login%%&%%user_email%%&%%user_first_name%%&%%user_last_name%%&%%item_number%%&%%item_name%%

This one should be working correctly (or at least not throwing this error), but the others are not loading WordPress, so the add_action() function is both not being loaded and not needed.

Posted: Friday Apr 26th, 2013 at 8:33 pm #48516
Bruce
Username: Bruce
Staff Member

Thanks for the information!

I’m sure it will be helpful for other Users in the future.

Posted: Friday Apr 26th, 2013 at 8:30 pm #48514
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

It is possible to have Users register for free and upgrade them manually. You can do this through the WordPress Dashboard in your Users List. Alternatively, if you’re looking have some automated way to accomplish this you’ll need to use the information provided here to upgrade Users for free.

See: Knowledge Base » Changing Roles/Capabilities via PHP

Posted: Friday Apr 26th, 2013 at 8:26 pm #48513
Bruce
Username: Bruce
Staff Member

I took a look at your site, and the problem is that s2Member’s JavaScript and CSS are not being loaded into your theme. I’m not totally sure why that is at this point. I took a look and you’re not explicitly stopping JavaScript/CSS from being blocked through a Must-Use Plugin as far as I can see, but for some reason it is not loading. I’d recommend following the first few steps of our Common Troubleshooting Tips regarding deactivating plugins and your theme.

See: Knowledge Base » Common Troubleshooting Tips

Let us know what happens after you’ve done that.

Posted: Friday Apr 26th, 2013 at 8:15 pm #48512
Bruce
Username: Bruce
Staff Member

Details Received.

I’m taking a look now.

Posted: Friday Apr 26th, 2013 at 8:01 pm #48511
Bruce
Username: Bruce
Staff Member

If we’re using the default Mailchimp S2 Member signups/upgrades, it’ll be using the email field, which is editable — so unless we replaced everything with custom scripts, we’d still need to disable both the username and email (and edit by admin if required). Like I say I guess JS could be used to add “disabled” to the inputs, though perhaps not the best way.

I understand. Thanks for the clarification. This brings up a good point. This will require some custom code, but I believe you could stop the User from changing their email via overwriting the profiles file that I mentioned in my last file, disabling/deleting this field and filtering the POST response that s2Member receives. That’s the only way I see possible.

Posted: Friday Apr 26th, 2013 at 4:04 am #48451
Bruce
Username: Bruce
Staff Member

So through WordPress, I believe.

What URL are you using in your API Notifications area? Is it pointing directly to the Must-Use Plugin file?

Posted: Friday Apr 26th, 2013 at 3:59 am #48449
Bruce
Username: Bruce
Staff Member

Does this work? We’ll want to make sure that the value is being set at all. Make sure to replace $user_id with an ID of a User that should have an EOT Date.

get_user_option(‘s2member_auto_eot_time’, $user_id);
Posted: Friday Apr 26th, 2013 at 3:57 am #48448
Bruce
Username: Bruce
Staff Member

Thank you for reporting this important issue.

It sounds like there might be some corruption with your Roles. Try using the Reset Roles/Capabilities button here:

Dashboard -› s2Member® -› General Options -› Membership Levels/Labels

And you’ll then want to also use the button here:

Dashboard -› s2Member® -› Other Integrations -› bbPress®

Let us know if problems persist after you’ve done that.

Posted: Friday Apr 26th, 2013 at 3:55 am #48447
Bruce
Username: Bruce
Staff Member

Thank you for reporting this important issue.

I just tested this in a development environment and it appears to be working fine in my tests. Could you post a screenshot of the New User Registration box? Also, are you receiving nothing (or an empty value) in this email, or are you getting back the replacement code?

Posted: Friday Apr 26th, 2013 at 3:49 am #48446
Bruce
Username: Bruce
Staff Member

– I need to be able to have multiple profile fields on the same line in the forms and be able to control their width (example – child 1 first name, child 1 last name, child 1 date of birth, child 1 gender – all on one line and field width just the size needed for the data) instead of each field being on its own line and beign the width of the form page

To do this you’ll need to edit the form with CSS, if what you’re looking to do it possible that way, or by using the information here:

Pre Sale FAQs » Is it possible to modify s2Member® Pro Form templates?

– I need to be able to have the system automatically generate the Member number based on their unique variables (Sequenced Member # with a suffix of A for Spouse/Domestic Partner & B-Z for Dependents, Relationship – 0 = the Member; 1 = Spouse or Domestic Partner; 2 = a Dependent)

You’ll need to run a hook for this. You can find the validation for the PayPal Pro Forms for regular checkout here. You’ll need to change the value of the level variable based on your Custom Registration/Profile Field.

/s2member-pro/includes/classes/gateways/paypal/paypal-checkout-in.inc.php

You should be able to use the ws_plugin__s2member_pro_paypal_checkout_post_attr filter to handle this.

That’s about as far as we can go with custom code. If you need further assistance, we recommend http://jobs.wordpress.net, or another freelance web site where WordPress® experts are offering their expertise through a bid on your project.
Posted: Friday Apr 26th, 2013 at 3:42 am #48445
Bruce
Username: Bruce
Staff Member
Please do not create duplicate threads.

Cristián is actively working on this thread and will get back to you within 48 hours of your last reply. For more information see s2Member® » Support Policy.


Closing Thread.
Posted: Friday Apr 26th, 2013 at 3:39 am #48444
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

This video should give you what you need.

Video » s2Member (Custom Fields Dynamically?)

Posted: Friday Apr 26th, 2013 at 3:36 am #48442
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

I’d recommend using s2Member’s URI Restrictions.

See: Dashboard -› s2Member® -› Restriction Options -› URI Access Restrictions

Posted: Friday Apr 26th, 2013 at 3:35 am #48441
Bruce
Username: Bruce
Staff Member

Thank you for reporting this important issue.

Are you getting this issue when you try to get to the file directly, or when WordPress loads?

Posted: Friday Apr 26th, 2013 at 3:30 am #48439
Bruce
Username: Bruce
Staff Member

Thanks for your patience.

The standard button code, sends people from my site to a purchase order form. (the standard order form). I have created a custom order form inside of click bank with my logo and such – in order to get this page to display when people click the buy now button, I must in some way get the ?cb=**** into the link…..

I see. This is what I was trying to understand before. You’re wanting to send Users directly to Clickbank instead of to your Membership Options Page. So what you’ll want to do is use the information provided in this article, and have your affiliate program send Users to the URL that you create with the code.

See: Knowledge Base » ClickBank buttons outside the site with s2Member

That will have Users sent straight to ClickBank via the button code you provide. You can do your customization to the URL there.

Posted: Friday Apr 26th, 2013 at 3:28 am #48438
Bruce
Username: Bruce
Staff Member

Thank you for the assistance. I have set up the forms. I do have one other question. We have two membership levels (#4 and #3). When the EOT occurs all members are demoted to the free level. I need to determine, in a conditional, which level the user was before the demotion so I can show the appropriate form.

This is possible, but it requires a (simple) hack. I posted here on this:

http://www.s2member.com/forums/topic/changing-the-eot-demotion-level-dynamically/

I just noticed that the billing modification form does not populate the current user data. It is simply a blank signup form. Is this by design or have I missed a step?

Modification Forms don’t auto fill any data, as they assume that a User is logged in, and doesn’t display unneeded data.

Posted: Friday Apr 26th, 2013 at 3:26 am #48436
Bruce
Username: Bruce
Staff Member

Thank you for reporting this important issue.

Based on the link you posted it looks like this is a URI Restriction. What do you have set up here?

Dashboard -› s2Member® -› Restriction Options -› URI Access Restrictions

Posted: Friday Apr 26th, 2013 at 3:15 am #48435
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

You’d need to do this through PHP, using s2Member’s Advanced PHP Conditionals.

You can find the PHP Conditionals here:

Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals

And you may find this WordPress function useful:

http://codex.wordpress.org/Function_Reference/get_template

Posted: Friday Apr 26th, 2013 at 1:20 am #48429
Bruce
Username: Bruce
Staff Member

Thank you for reporting this important issue.

Do you have Deactivation Safeguards enabled?

See: Dashboard -› s2Member® -› General Options -› Deactivation Safeguards

Viewing 25 replies - 1,151 through 1,175 (of 2,703 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.