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,376 through 2,400 (of 2,703 total)
Author Replies
Author Replies
Posted: Saturday Dec 8th, 2012 at 2:22 pm #34000
Bruce
Username: Bruce
Staff Member

Emmanuel,

Can you try adding the following line to the end of your new directory?

.((stripos(PHP_OS, "win") === 0 && stripos($_SERVER["SERVER_SOFTWARE"], "apache") === false) ? "/app_data" : "")
Posted: Saturday Dec 8th, 2012 at 2:20 pm #33999
Bruce
Username: Bruce
Staff Member

But I’m thinking now that it doesn’t necessary needs to be a problem at all since the visitor has to put the transaction code in every new eCard form to send it so the page would be asking to enter the code and that’s the moment when the last line in your script make the action to verify a used transaction code, right?

If that’s the case this is much simpler. Just use that plugin’s features.

Posted: Saturday Dec 8th, 2012 at 2:18 pm #33998
Bruce
Username: Bruce
Staff Member

1. Forums: does Pro include a forum, or is it designed to wrk with a specificwordpress forum plugin?

s2Member Pro does not come with a forums system, but has been integrated on serveral websites (including s2member.com) with bbPress.

Check out Dashboard -› s2Member® -› Other Integrations -› bbPress® for info on this when you purchase Pro.

2. Our site is using a temporary IP until the site transfer is effective – in the next few days.. Can i prchase and install Pro on the IP site withoutcausing headaches down the line? Or, should I just wait until the site is live?

You can certainly install s2Member Pro on your temporary IP. s2Member will just need the usual tweaks that WordPress needs to be on a different domain. Make sure to change your domain in Dashboard -› Settings

Posted: Saturday Dec 8th, 2012 at 2:15 pm #33997
Bruce
Username: Bruce
Staff Member

Hi Dominik,

s2Member should be able to do all this, with the help of some custom code. s2Member is not set up to be used as an affiliate program, but you can restrict access to all the pages and use s2Member’s API to help set this up.

You’ll need to add some custom code along with s2Member for notifying users through email, a few different parts of your structure for giving out links, including hooking into s2Member’s processes for creating Pro Forms to add the user’s ID to a custom registration field (Dashboard -› s2Member® -› General Options -› Registration/Profile Fields) so that you can access it.

If you do decide to go ahead with s2Member Pro, you’ll want to check out the following sections in your WordPress Dashboard:

Dashboard -› s2Member® -› PayPal® Pro Forms -› Shortcode Attributes (Explained)
Dashboard -› s2Member® -› API / Notifications -› Signup Notifications

Posted: Saturday Dec 8th, 2012 at 2:07 pm #33996
Bruce
Username: Bruce
Staff Member

Hi Rick,

Thanks for the update.

This part:

Click on the wp_usermeta table to bring up the entries.
Click on the “Insert” tab to insert a new row.
Fill in the following information
umeta_id – leave this blank it is automatically generated
user_id – this is the id of the user you created in the previous steps
meta_key – for this step insert wp_capabilities
meta_value – insert exactly this – a:1:{s:13:”administrator”;b:1;}
Insert another row with this information
umeta_id – leave this blank it is automatically generated
user_id – this is the id of the user you created in the previous steps
meta_key – for this step insert wp_user_level
meta_value – insert 10
Click the “Go” button in phpMyAdmin to insert the row.

Should give administrative privileges to your admin account, if you did it correctly. Ensure that you did that correctly and you should have another admin account. Then you can see if it fixed your problem.

Posted: Thursday Dec 6th, 2012 at 6:15 pm #33807
Bruce
Username: Bruce
Staff Member

Hi Christian,

Looking at s2Member’s PayPal buttons, these are the fields that are created for a button that does this:

<input type="hidden" name="src" value="0" />
<input type="hidden" name="srt" value="" />
<input type="hidden" name="sra" value="1" />
<!--<input type="hidden" name="a1" value="0" />-->
<!--<input type="hidden" name="p1" value="0" />-->
<!--<input type="hidden" name="t1" value="D" />-->
<input type="hidden" name="a3" value="2" />
<input type="hidden" name="p3" value="1" />
<input type="hidden" name="t3" value="Y" />

I would recommend setting up all of these forms before testing again.

Posted: Thursday Dec 6th, 2012 at 6:05 pm #33805
Bruce
Username: Bruce
Staff Member

Hi Greg,

Did you upload the s2Member Framework via FTP too?

If not you might want to ensure that the permissions for the s2member-pro file that you uploaded are correct (should be 775), and that something didn’t go wrong with the upload, causing the files to be corrupted.

Try checking the s2member-pro/pro-module.php file. It should start with:

Posted: Thursday Dec 6th, 2012 at 5:58 pm #33804
Bruce
Username: Bruce
Staff Member

Hi Eslam,

I’ve seen this happen before due to a problem with the way your PayPal IPN and/or PDT is set up within your PayPal account. Please verify that everything is set up correctly regarding IPN and PDT.

Dashboard -› s2Member® -› PayPal® Options -› PayPal® IPN Integration

Dashboard -› s2Member® -› PayPal® Options -› PayPal® PDT Integration

Posted: Thursday Dec 6th, 2012 at 5:53 pm #33803
Bruce
Username: Bruce
Staff Member

Hi Corinne,

You could try creating a new account through your database so that you can log in and clear your IP restrictions.

http://www.dnawebagency.com/how-to-add-an-admin-user-to-the-wordpress-database

Posted: Thursday Dec 6th, 2012 at 5:50 pm #33802
Bruce
Username: Bruce
Staff Member

By that, do you mean I need to add src=0 to the advanced variables box in the PayPal button generator?

Yes. That’s correct.

Posted: Thursday Dec 6th, 2012 at 5:48 pm #33801
Bruce
Username: Bruce
Staff Member

No problem. Let us know if you have any issues with that.

Posted: Thursday Dec 6th, 2012 at 5:46 pm #33800
Bruce
Username: Bruce
Staff Member

Hi Chris,

s2Member does not display info for PayPal in the Billing Modification forms because users will need to update these details via PayPal, or be signing up for a new subscription, via Dashboard -› s2Member® -› PayPal® Pro Forms -› Billing Modification Forms.

Posted: Thursday Dec 6th, 2012 at 5:37 pm #33797
Bruce
Username: Bruce
Staff Member

Emmanuel,

I just ran a test on this and it appears to be functioning correctly. I believe that the problem here are the permissions of the folder. Can you try setting the permissions of the folder to 775?

Posted: Thursday Dec 6th, 2012 at 5:09 pm #33787
Bruce
Username: Bruce
Staff Member

Hi Bryan,

You can stop login redirects by putting this into a Must Use plugin, by putting the following code into a .php file within your /wp-content/mu-plugins/ directory (create it if you don’t have it)

<?php
add_filter('ws_plugin__s2member_login_redirect', '__return_false', 10, 2);
&#91;/hilite&#93;

s2Member gives you data to get user data on this filter. You can do something like this:

&#91;hilite pre_code&#93;
<?php
add_filter('ws_plugin__s2member_login_redirect', 's2hack_s2member_redirect_stop', 10, 2);

function s2hack_s2member_redirect_stop ($bool, $vars) {
	extract($vars);
	
	if ($user->has_cap('capability_for_woothemes'))
		return false;
		
	else
		return $bool; 
}
  • This reply was modified 4 years, 1 month ago by  Bruce.
Posted: Thursday Dec 6th, 2012 at 4:54 pm #33785
Bruce
Username: Bruce
Staff Member

Hi Emmanuel,

Try it like this:

Posted: Thursday Dec 6th, 2012 at 4:44 pm #33782
Bruce
Username: Bruce
Staff Member

If you find editing the file easier, that should work fine as well.

Posted: Thursday Dec 6th, 2012 at 4:43 pm #33781
Bruce
Username: Bruce
Staff Member

Hi Brian,

You should be able to find everything you need to know about integrating iDevAffiliate with s2Member under Dashboard -› s2Member® -› API / Tracking -› Integrating iDevAffiliate®.

Posted: Thursday Dec 6th, 2012 at 4:39 pm #33779
Bruce
Username: Bruce
Staff Member

Hi Buck,

Glad to hear that you fixed your issue.

Posted: Thursday Dec 6th, 2012 at 4:37 pm #33775
Bruce
Username: Bruce
Staff Member

Hi Joann,

You will not need to upgrade your PayPal account to PayPal Pro to use s2Member Pro. Just make sure that if you switch to s2Member Pro Forms, you enable *only* PayPal as your payment gateway, and not enable credit cards, as they won’t work without PayPal Pro.

Posted: Thursday Dec 6th, 2012 at 4:34 pm #33774
Bruce
Username: Bruce
Staff Member

Hi David,

Happy to hear that helped!

Thanks for the kudos!

Posted: Thursday Dec 6th, 2012 at 4:33 pm #33773
Bruce
Username: Bruce
Staff Member

Hi Buck,

The customer sent me the registration e-mail. When I followed the Click Here to register link created by the system, I got a series of error messages like this:

Warning: Cannot modify header information- headers already sent by (output started at /path-to/index.php(l): eval()’d code:3) in
/path-to/wp-content/plugins/s2member/includes/classes/register-in.inc.php on line 64

And then more of the same only through line 69.

That series of error messages flashes for less than a moment (I had to be quick with my fingers to get a screen-print of it) and then lands on my site with a message stating “Registration Disabled”.

This is s2Member’s doing, as the link from the email is only allowed to be used once, and then will send the user to “Registration Disabled” if the link is used again.

The header errors are likely caused because of s2Member using a PHP redirect. These only show up until s2Member exit()s the script, therefore allowing the redirect to happen.

I am unable to manually create the user with the username he wants because the system has it reserved for a couple days.

Is this user shown in the Users list in your WordPress Dashboard? You should be able to delete the created user and then create another.

Posted: Thursday Dec 6th, 2012 at 4:32 pm #33771
Bruce
Username: Bruce
Staff Member

Hi Bryan,

You might want to check out the info at the bottom of Dashboard -› s2Member® -› General Options -› Login Welcome Page. You should be able to send users to a different URL when they are a different role, and then redirect them via PHP or JavaScript to the correct page.

Posted: Thursday Dec 6th, 2012 at 4:25 pm #33769
Bruce
Username: Bruce
Staff Member

Hi Rick,

Thanks for the update.

We’ll await GoDaddy’s response.

Posted: Thursday Dec 6th, 2012 at 4:22 pm #33767
Bruce
Username: Bruce
Staff Member

Try this instead:

Posted: Thursday Dec 6th, 2012 at 4:07 pm #33763
Bruce
Username: Bruce
Staff Member

Charles,

That’s interesting. Can you try running this Server Check Tool? Perhaps this is a memory issue?

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