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 - 2,176 through 2,200 (of 2,703 total)
Author Replies
Author Replies
Posted: Sunday Dec 30th, 2012 at 2:33 am #35781
Bruce
Username: Bruce
Staff Member

Hi Dan,

I believe that this code should work, but you’ll want to create a Must Use plugin with the name s2-a.php, or s2member-a.php. These file names give access to your Must-Use plugin to s2Member’s JavaScript processes, which is what you need to do.

Posted: Sunday Dec 30th, 2012 at 2:30 am #35780
Bruce
Username: Bruce
Staff Member

Hi there,

As per Pre Sale FAQs » Can I add support for other payment gateways?, s2Member does not support the feature to add additional payment gateways, and we do not currently have an API to do this with. s2Member does have, however, a few test files outlining the way the IPN processor works within /s2member/includes/classes/, and several payment gateways to use as a guideline. A developer familiar with s2Member can use these files to add an additional payment gateway, but it would require many hours of work and very good understanding of both s2Member and the payment gateway that you’re looking to get set up.

Posted: Sunday Dec 30th, 2012 at 2:24 am #35779
Bruce
Username: Bruce
Staff Member

Hi there,

sorry to bother you again , if i purchase this plugin is I am getting full source code and the I need to hire some one to get this function enable

Buying s2Member Pro will give you access to the source code, and support through the Customer Support forums. If you’d like to add this functionality, we’d recommend posting your job on Elance.com or jobs.wordpress.net.

Posted: Sunday Dec 30th, 2012 at 2:23 am #35778
Bruce
Username: Bruce
Staff Member

If I log in as a Level #1 — My login gets checked and then I’m sent a message that says “You are logged in click here to go to the homepage”.

I checked the Restriction Options URi’s — the page is set to Level 0. Why can’t I see it? How do I make the login check then pass me on to the page I’m trying to reach instead of cycling me back to the home page?

This is not something that s2Member’s doing, unless you have it set up to with Dashboard -› s2Member® -› API / Scripting -› Simple/Shortcode Conditionals. Try disabling all plugins but s2Member, and see if that helps the issue. If it does, reactivate all of your plugins 1-by-1 and find the plugin that’s doing this. Then, if you can post the plugin’s name that’s doing this I’d be happy to take a look and see what may fix the issue.

Posted: Sunday Dec 30th, 2012 at 2:18 am #35775
Bruce
Username: Bruce
Staff Member

the site i’m working on trying to get s2m to run on now does not show x2m in the directory??? I have checked to make sure but it is definitely installed and activated. I would attach a screen shot but it looks like I can not insert it here.

Are you running a Multisite Installation on your main site?

Also, I noticed that you didn’t post your paypal-rtn.log. Is that in your /s2member-logs/ directory?

  • This reply was modified 4 years ago by  Bruce. Reason: Sorry, missed it at the bottom there
Posted: Sunday Dec 30th, 2012 at 2:09 am #35774
Bruce
Username: Bruce
Staff Member

Hi Alex,

You could put a duplicate shortcode into another page, and use JavaScript to change the action attribute of your Pro Form. If your theme is loading jQuery, this should work:

$(document).ready(function() {
	$('#s2member-pro-paypal-registration-form').attr('action', 'http://yoursite.com/my/other/page/with/the/shortcode');
});
Posted: Sunday Dec 30th, 2012 at 2:02 am #35773
Bruce
Username: Bruce
Staff Member

Hi Vincent,

Is it possible that your theme is doing this automatically because of how much content you have in the page, or perhaps because the page appears in the list in that sidebar? This isn’t something that s2Member’s controlling directly.

Posted: Sunday Dec 30th, 2012 at 2:01 am #35771
Bruce
Username: Bruce
Staff Member

Hi Yvette,

The error you’re getting is coming from register-plus-redux.php, which is a file from another plugin. Perhaps Register Plus Redux? Try disabling this plugin.

Posted: Saturday Dec 29th, 2012 at 9:28 pm #35767
Bruce
Username: Bruce
Staff Member

Mark,

I refreshed your options, and it appears that your tax configuration is now working correctly. Can you run some of your own tests and let me know if problems persist?

Posted: Saturday Dec 29th, 2012 at 9:23 pm #35766
Bruce
Username: Bruce
Staff Member

Hi Mark,

tax issue is still the same. I have put our Authorize.net account back into test mode.

I’m taking a look now. Some first things I notice are as follows:

your Security Encryption Key is not the correct 60 characters or longer
your theme is throwing 2 JavaScript errors on your Membership Options Page, unrelated to s2Member
you’re not forcing SSL with your Pro Form

Also, please tell me how to remove the download pop up (the popup that tells my members they only have 29…28…27…downloads left. I only want them to see a popup when they run out of downloads (hit zero).

You should be able to add &s2member_skip_confirmation to the end of your links, or skip_confirmation="yes" to shortcodes, if that’s what you’re using.

Also, I would like to change the copy for the “your membership has been updated” email sent. (upon renewal/subsequent payment by existing member). Where do I do this.

s2Member doesn’t let you edit this through the admin panel. Instead you’ll need to hook into the wp_mail function.

Something like this:

I also want to change the price to $139/yr. Where do I change the product description?

You’ll want to change the desc attribute in the shortcode in your signup page.

Posted: Saturday Dec 29th, 2012 at 4:41 pm #35751
Bruce
Username: Bruce
Staff Member

Hi Alex,

The first thing I notice is that s2Member is not actually getting any data from PayPal’s PDT. Are you getting emails from s2Member when you do these tests? You should get an email that will upgrade you.

Posted: Saturday Dec 29th, 2012 at 4:24 pm #35749
Bruce
Username: Bruce
Staff Member

Hi Michael,

s2Member currently is not able to handle something like this, as it’s meant for more strictly-online transactions. I’d recommend altering the form templates under /s2member-pro/includes/templates/, and add some JavaScript to handle this. Or, perhaps, you could simply only allow users to select the United States under the country dropdown within this template.

Posted: Saturday Dec 29th, 2012 at 4:22 pm #35748
Bruce
Username: Bruce
Staff Member

Hi Nina,

This error with the forms not working generally is caused by themes, and not plugins. Could you try reverting to the default 2010/2011 theme, and see if that helps? If it does, you should contact your theme designer. They should update your theme to be able to work correctly.

Alternatively, you can install a PHP execution plugin, and wrap your shortcodes in <?php do_shortcode(''); ?>, putting the shortcode data within the quotes. I’m uncertain if this would work any better, however, because your theme seems to be pulling data directly from the database, and not filtering the data to allow for other plugins to display dynamic content.

Posted: Saturday Dec 29th, 2012 at 4:18 pm #35747
Bruce
Username: Bruce
Staff Member

Hi there,

s2Member does allow users to update site-specific info with Authorize.net, such as the billing address, with Dashboard -› s2Member® -› Authorize.Net® Pro Forms -› Billing Update Forms. Other info that the user may need to edit is not needed for s2Member to work correctly, and should be updated via Authorize.net. Authorize.net does not have an API for changing additional functionality, as far as I know.

Posted: Saturday Dec 29th, 2012 at 4:13 pm #35746
Bruce
Username: Bruce
Staff Member

Hi Mike,

You’ll need to check out the info under Knowledge Base » Offering a Free Coupon Code (100% Discount). You’ll need to use a modified version of these instructions and create a coupon form outside of s2Member’s processes. s2Member does not support adding coupons to free registration forms. If, however, you’d rather just add this functionality to the free registration forms, you can try editing the file /s2member-pro/includes/templates/forms/paypal-registration-form.php.

Posted: Saturday Dec 29th, 2012 at 4:09 pm #35745
Bruce
Username: Bruce
Staff Member

Hi there,

You could possibly do this, but you’ll have to handle user creation manually. You can send users access through Dashboard -› s2Member® -› PayPal® Pro Forms -› Registration Access Links. Because the user doesn’t get a Subscription ID, you’ll need to set up this form with a fake Subscription ID, and s2Member will not be able to demote/upgrade the user normally this way.

Posted: Saturday Dec 29th, 2012 at 4:07 pm #35744
Bruce
Username: Bruce
Staff Member

Hi there,

s2Member populates these fields through a shortcode, and does not support this functionality. I’ll ask if there’s a possibility of this changing in a future version of s2Member, but in the meantime if you’d like to check out the possibility of adding this in to your version of s2Member, check out the file /s2member-pro/includes/classes/gateways/paypal/paypal-form-in.inc.php, at line 292.

Posted: Saturday Dec 29th, 2012 at 4:04 pm #35742
Bruce
Username: Bruce
Staff Member

Hi Charles,

Currently this is the only way to stop a subscription / cancel with s2Member. I’ll make a request for a possible change in the future on this, but for now you’ll need to use the forms within Dashboard -› s2Member® -› PayPal® Pro Forms -› Billing Cancellation Forms, or Dashboard -› s2Member® -› PayPal® Buttons -› Subscr. Cancellation Buttons.

Posted: Saturday Dec 29th, 2012 at 4:03 pm #35741
Bruce
Username: Bruce
Staff Member

Hi there,

Could you post a link to your website?

Posted: Saturday Dec 29th, 2012 at 4:01 pm #35740
Bruce
Username: Bruce
Staff Member

Hi there,

I didn’t notice this before, but it appears that the problem is that you’re using double-equals (==) where you should be using 1 equals.

Do this instead:

Posted: Saturday Dec 29th, 2012 at 3:41 pm #35738
Bruce
Username: Bruce
Staff Member

If I set up url based restriction to ‘forum-name’
domain.com/forums/forum-name/

as soon as a user is aware of a thread eg. domain.com/forums/topic/thread-name
the url restriction set in ‘forum-name’ is bypassed.

There’s no way to use url restriction to set a top level protection and have all threads protected within the forum-name structure.

It’s also conflicting with the logic of the breadcrumb path which shows the correct structure.
Home › Forums › Forum Name › Topic
which would allow the uri restriction to be effective.

This seems to be the default bbPress permalink structure. I found some info online about changing these permalinks: http://wp.smashingmagazine.com/2011/11/15/getting-started-with-bbpress/

That should work, but if it does not, you will need to alter the template for bbPress topics to check which forum the topic is in, and redirect based on that, which will require custom code outside of s2Member.

Posted: Saturday Dec 29th, 2012 at 3:25 pm #35735
Bruce
Username: Bruce
Staff Member

Hi Dimitrios,

s2Member’s Cookies (temporary storage that is set up within the user’s browser) are all set up to last for 31556926 seconds (365 days). s2Member only checks to make sure that these cookies are correctly formatted and still valid, and does not check the time that they were created. This tells me that the problems most likely is occuring when a user clicks to sign up, and the cookie is deleted when they reach the signup page. If they proceed with the signup while they’re there, then they should be able to sign up any time within 365 days. If, however, they leave the page and try to return later they will not be able to access the page. The only way to keep this from happening is making sure users know this is the case.

Posted: Saturday Dec 29th, 2012 at 3:12 pm #35734
Bruce
Username: Bruce
Staff Member

Hi there,

See: Knowledge Base » Offering a Free Coupon Code (100% Discount). What you’ll want to do here, is instead of using a specific keyword to have the free registration form, you’ll want to verify the user’s magazine subscription code by passing it through $_GET/$_POST variable. You should be able to just set up a regular HTML <input />. Note that this has to be set up outside of s2Member’s processes, and you’ll need a PHP Execution plugin installed. A basic example of this, which you can customize, is below.

<?php if(empty($_GET&#91;'subscription_id'&#93;) || magazine_subscription_code_verify($_GET&#91;'subscription_id'&#93;)) { ?>

<form method="get" action="">
<label for="subscription_id">If you've already got your magazine subscription code, input it here to get FREE access.</label><input type="text" name="subscription_id" />
</form>

Here's where my Button/Pro Form goes

<?php } else { // otherwise, this is a valid code ?>
Put the free pro form here
<?php } ?>

You’ll want to set up the function magazine_subscription_code_verify() in a Must-Use plugin, or change it to work with whatever technique you’re currently using to verify these codes.

Posted: Saturday Dec 29th, 2012 at 3:03 pm #35732
Bruce
Username: Bruce
Staff Member

Hi Alan,

This action hook comes while s2Member is still setting up variables, at line 609. s2Member begins processing the user at line 763, so you still have the opportunity to die() or exit() the script.

Posted: Saturday Dec 29th, 2012 at 2:55 pm #35731
Bruce
Username: Bruce
Staff Member

Hi Evan,

I’m assuming you’re using Domain Mapping, correct? This is something that happens within WordPress’s processes, this is the code from the source docs:

if ( !is_multisite() ) {
wp_redirect( get_option( 'siteurl' ) . "/wp-login.php?action=register" );
die();
}
if ( !is_main_site() ) {
wp_redirect( network_home_url( 'wp-signup.php' ) );
die();
}

There is a post on WordPress regarding this: http://wordpress.org/support/topic/plugin-wp-multi-network-wp-signupphp-redirect-loop

To deal with this, I’d recommend not using the /wp-login.php?action=register page, and instead using s2Member’s Pro Forms to allow users to register (Dashboard -› s2Member® -› PayPal® Pro Forms -› Free Registration Forms). Alternatively, you can use the hacked code in the WordPress forums topic I linked to. I’m unsure of if that code works, but you could try it.

Viewing 25 replies - 2,176 through 2,200 (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.