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,476 through 2,500 (of 2,703 total)
Author Replies
Author Replies
Posted: Monday Dec 3rd, 2012 at 4:51 pm #33371
Bruce
Username: Bruce
Staff Member

Thanks Marco.

I’m going to take a look at these plugins and see if there is anything that could be filtering these queries.

As I mentioned before, it would be great if you could try adding something to a custom field in your WordPress Dashboard, and see if it saves the changes correctly.

Could you also run the Server Check Tool?

Posted: Monday Dec 3rd, 2012 at 4:41 pm #33369
Bruce
Username: Bruce
Staff Member

Hi Boudewijn,

You’ll need to filter the translation with 'gettext_with_context'. Try something like this in a Must Use plugin:

Posted: Monday Dec 3rd, 2012 at 4:25 pm #33368
Bruce
Username: Bruce
Staff Member

PayPal® Pro Forms / Recurring Profile Behavior:
( only affects first payment of Recurring Profiles )
Realtime or consolidate

I recommend changing this to Realtime.

Posted: Monday Dec 3rd, 2012 at 4:23 pm #33367
Bruce
Username: Bruce
Staff Member

Hi Jeremy,

Also one customer said they received a message, “DPRP is disabled “

DPRP being disabled is something that you should be able to control within your PayPal account:
https://www.paypal.com/cgi-bin/webscr?cmd=_payflow-recurring-billing-overview-outside

I mentioned this before on another problem I had and I believe you guys told me it was an SSL issue. I fixed the SSL problem, but it still hasn’t ever worked.

I took a look at your link and it appears that you are not using s2-ssl=yes, which may still be causing problems with the way s2Member is handling this. You should add this to the custom field in your WordPress page. From the FAQs:

With s2Member® installed, you can add the Custom Field s2member_force_ssl = yes to any Post/Page, using the Custom Fields section of your WordPress® Editor. s2Member® will buffer output on those special Posts/Pages, converting everything over to https:// for you automatically (in a very logical fashion), thereby forcing those specific Posts/Pages to be viewed over a secure SSL connection (including all embedded resources); so long as your server supports the https protocol (once you have an SSL certificate, your server should support this protocol). In this way, s2Member® can resolve about 95% of all theme/plugin incompatibilities related to SSL vs. non-SSL embedded resources. However, if you experience difficulties with this, you are advised to contact your theme developer, and ask if their theme was designed to support SSL-enabled Posts/Pages.

Custom fields are not shown by default, and you may have to turn them on at the top right of the edit page screen to add this field.

Posted: Monday Dec 3rd, 2012 at 4:13 pm #33365
Bruce
Username: Bruce
Staff Member

Glad to hear it fixed the issue.

Posted: Monday Dec 3rd, 2012 at 3:25 pm #33359
Bruce
Username: Bruce
Staff Member

Hi Leo,

but the problem is, that the member can see all excerpts of the posts, even If he/she only can see the whole content if they have paid for the actual month and this can seem somewhat confusing.

Is there a way I can divide the posts into month1, 2,3 and so on ?

You may want to separate Posts into months by using tags or categories. You can then use the forms in Dashboard -› s2Member® -› Restriction Options -› Tag Access Restrictions and Dashboard -› s2Member® -› Restriction Options -› Category Access Restrictions to protect this content by month.

You can use the is_permitted_by_s2member() function to check if specific users can access posts, pages, tags, and/or categories through PHP.

If you’d like to provide more specific examples of what you’d like to happen I’d be happy to assist you further.

Posted: Monday Dec 3rd, 2012 at 3:17 pm #33358
Bruce
Username: Bruce
Staff Member

Hi Eslam,

It looks like you may have conflicting payment setups between you and PayPal.

Try this code:

[s2Member-Pro-PayPal-Form level="3" ccaps="" desc="$65 USD / Bi-Monthly ( recurring charge, for ongoing access )" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="www.privacy3.com" ta="0" tp="0" tt="D" ra="65" rp="2" rt="M" rr="1" rrt="" rra="2" accept="paypal" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" /]

The above takes out the custom PayPal page to hopefully stop any incompatibilities that there are, and brings the price for subscription up to $65 from $5, as specified in the description.

Also, I noticed that PayPal is allowing the payment to fail twice before canceling the subscription, meaning that if a user does not have the necessary funds within their PayPal account the transaction would go through still, and then be canceled afterwards. There are a number of reasons a payment might fail, so you should check your PayPal options for something that might be causing this.

Posted: Monday Dec 3rd, 2012 at 3:00 pm #33355
Bruce
Username: Bruce
Staff Member

Eslam,

Could you please copy the shortcode that you’re using and show it to me?

Posted: Monday Dec 3rd, 2012 at 2:47 pm #33350
Bruce
Username: Bruce
Staff Member

Hi Jeremy,

Would you mind sending us a link to the topic in which this issue first came up, and a link to the page where your Pro Form is?

Also, could you copy the shortcode that you’re using to create your Pro Form?

Thank-you.

Posted: Monday Dec 3rd, 2012 at 2:45 pm #33349
Bruce
Username: Bruce
Staff Member

Hi Eslam,

Are your customers revoked access to your site after the transaction is canceled?

Posted: Monday Dec 3rd, 2012 at 2:41 pm #33347
Bruce
Username: Bruce
Staff Member

i use paypal express but i use paypal pro and delete credit card option in button and i work good else 10 days ago

What do you mean by this? Do you have a PayPal Pro account set up?

If not, try using standard PayPal buttons for transactions instead of Pro Forms. This may be causing an issue.

Can you send a link to the page with your Pro Form on it?

Also, please run this Server Check Tool on your server to check for incompatibilities.

Posted: Monday Dec 3rd, 2012 at 2:33 pm #33346
Bruce
Username: Bruce
Staff Member

Hi Eslam,

I’m going to start an investigation on this. To prevent further issues from arising, you may want to disable credit cards for the time being.

Posted: Monday Dec 3rd, 2012 at 2:22 pm #33343
Bruce
Username: Bruce
Staff Member

Hi Joshua,

I understand the login widget. But, I don’t understand the PHP part. Is there anyway that I can post the login form on a regular word press page, and style it accordingly?

Yes, you will need to have a PHP Execution plugin installed. You should then put <? echo s2member_pro_login_widget(); ?> into your WordPress post/page and the Widget will be styled based on your theme.

Also, I’ve figured out how to use the free registration forms…

But it is true that I do have to have one or multiple payment gateways set up in order to make this work, correct?

Yes, this is correct. If you do not want to have paid subscription, and are only looking to create free registration forms, you can put dummy data into the forms within Dashboard -› s2Member® -› PayPal® Options -› Account Details, and it will work fine.

Posted: Monday Dec 3rd, 2012 at 2:17 pm #33341
Bruce
Username: Bruce
Staff Member

If you copy the source code link of the fallback (which looks like: d11111.cloudfront.net/video.mp4?Policy=11111?signature=11111?key-pair-id=11111) and you paste it in a browser on a different computer it is accessible. Is this normal, or is there still something I am overseeing?

This is the expected behavior, as Amazon is allowing connections to this URL for a designated amount of time with this signature. A user should only be able to access the file through this URL for a specific amount of time, which I believe depends on the file size, set up by Amazon.

Posted: Monday Dec 3rd, 2012 at 2:12 pm #33340
Bruce
Username: Bruce
Staff Member

Hi Max,

The only thing that doesn’t work is appending a note upon renewal. Any thoughts?

Try formatting your code like this:

<?php
if(($status = CheckReturnurl( $rtlo,  $_GET&#91;'trxid'&#93; )) === '000000 OK') {
	global $current_user;
	$user = new WP_User($current_user->ID);
	
	update_user_option($user->ID, 's2member_auto_eot_time', strtotime('+3 months'));
	if(!current_user_can('administrator')) // Added this to ensure that you do not end up getting locked out during testing
		$user->set_role("s2member_level2");
	c_ws_plugin__s2member_user_notes::append_user_notes (get_current_user_id(), "Renewed on: " . date ("D M j, Y g:i a T"));	
	echo "Thanks for renewing your membership!";

  }
 
 // IF PAYMENT UNSUCCESSFUL, STATUS REPLIED HERE
 	else die( $status );

}
Posted: Monday Dec 3rd, 2012 at 1:56 pm #33333
Bruce
Username: Bruce
Staff Member

Hi Ben,

Thanks for the kudos! Happy to hear that Raam helped you.

Posted: Monday Dec 3rd, 2012 at 1:55 pm #33332
Bruce
Username: Bruce
Staff Member

Hi Boudewijn,

There is no built-in way to alter the text for the login widget, other than the WordPress I18N translations, which is supported by s2Member. If you internationalized your plugin using I18N, you could change the text.

I18N:
http://codex.wordpress.org/Translating_WordPress

Otherwise, if you’d like a quick-and-dirty solution, you could create an edited /includes/classes/login-widget.inc.php file, and put it into a Must Use plugin file by creating a .php file within /wp-content/mu-plugins/ on your server (create the directory if you don’t have it).

You should be able to simply CTRL + F and find where s2Member echos the data you’d like to change.

Posted: Monday Dec 3rd, 2012 at 1:48 pm #33329
Bruce
Username: Bruce
Staff Member

I use the more tag to protect the main part of my articles. The introduction is a teaser for readers.

This is also a great way to do snippets, and s2Member will not disable this unless you have it set up to under Dashboard -› s2Member® -› Restriction Options -› Alternative View Protection.

Posted: Monday Dec 3rd, 2012 at 1:46 pm #33328
Bruce
Username: Bruce
Staff Member

Hi Hamid,

No dice… I removed the recurring charges but it still requires that one set up a Paypal account.

PayPal will only allow users to NOT make a PayPal account for One-time Buy Now transactions. If you are doing anything fancy with your transactions PayPal will force users to create a PayPal account so that they can keep track of future transactions.

It sounds to me like you will need to upgrade to PayPal Pro, or set up with a different payment gateway in the short term.

Posted: Monday Dec 3rd, 2012 at 1:10 pm #33324
Bruce
Username: Bruce
Staff Member

Hi Marco,

I just checked the feature on multiple development servers and it appears to be functioning correctly in default instances of s2Member.

This leads me to believe that this is most likely a plugin conflict. Can you try editing a custom profile in one of your already-created members and see if it saves the changes? If not, then the issue most likely lies in a plugin or hack that is editing or adding data to users automatically. If it does save changes, then this could be an issue with a plugin blocking queries, or hooking into the user_register hook/filter.

If you could send a list of activated plugins, and any Must-Use plugins that you have running that would help greatly.

Posted: Monday Dec 3rd, 2012 at 1:53 am #33271
Bruce
Username: Bruce
Staff Member

Hi Marco,

s2Member should fill these forms for users that have checked out through PayPal. If these fields are not being populated, then there is likely an issue with the queries that are being performed, or a plugin conflict.

I would begin troubleshooting by verifying that none of your users have these fields populated. The easiest way to do this would be to browse your users with the custom column for Paid Subscr. ID turned ON in your WordPress Dashboard.

Posted: Monday Dec 3rd, 2012 at 1:51 am #33270
Bruce
Username: Bruce
Staff Member

I have a button short code (theme shortcodes) that allow me to place a link inside the button. Can’t I just place the generated link for that button?

No, this is not possible because the data given to PayPal from the buttons is not passed through URL, but through PHP POST variables. This allows s2Member to pass the necessary data dynamically to PayPal, and also verify that transactions that are recorded by s2Member were originally processed by s2Member.

I’m not wanting to use another gateway, I’m just wanting to use an additional plug-in that has a few more features for e-commerce. I still want to use PayPal… So couldn’t I theoretically allow registration for new users, and not do anything with payments and S2 member Pro? Couldn’t I just use s2 member Pro for user access and rely on another plug-in for the payment process?

You could potentially allow another plugin to process payment. However this plugin would also need to create the user’s new account, or upgrade the account separate from s2Member. As mentioned above, s2Member only handles transactions that were originally sent to PayPal from s2Member.

Therefore if you wanted to use another plugin for transactions, s2Member would only control whether users could access content, not give access to content.

Posted: Monday Dec 3rd, 2012 at 1:44 am #33268
Bruce
Username: Bruce
Staff Member

Hi Chad,

The options laid out above are things that are required by PayPal itself and not something that you can control.

If you’d like to hide these options, we suggest using a Pro Form with PayPal Pro. This data will then be suppressed.

Posted: Monday Dec 3rd, 2012 at 1:31 am #33267
Bruce
Username: Bruce
Staff Member

1) So, do I have to use an S2Member Pro payment gateway selection in order to make the registration form work on my website?

Yes, that’s correct. You must set up a payment gateway within s2Member to use the Pro Forms. These Pro Forms correspond to the payment gateway that you created them for.

2) How customizable will it be to use the PayPal pro buttons for buy now? Will I be able to use a short code button like the ones in my WP theme?

Using the PayPal standard buttons for buy now, instead of Pro Forms, offers the ability for users to sign up and pay for access to your site through an external PayPal checkout page. You can change the image that is used using the details outlined in Dashboard -› s2Member® -› PayPal® Buttons -› Shortcode Attributes (Explained). These buttons should be created through Dashboard -› s2Member® -› PayPal® Buttons, with a Shortcode.

3) Will I be able to use other plug-ins that are for payment gateway with S2Member Pro?

You will not be able to charge users for access through s2Member with another payment gateway.

Based on what you outlined in your post, I suggest creating a free registration form via Dashboard -› s2Member® -› PayPal® Pro Forms -› Free Registration Forms, and set up email notifications in Dashboard -› s2Member® -› General Options -› Email Configuration.

You can then use the shortcodes within Dashboard -› s2Member® -› API / Scripting -› Simple/Shortcode Conditionals to protect the links you need protected for s2Member Level 0 / Subscriber.

Posted: Monday Dec 3rd, 2012 at 1:19 am #33266
Bruce
Username: Bruce
Staff Member

Hi Doyle,

Unfortunately s2Member does not have this feature yet. However if you would like this set up we’d be happy to assist you. This is a feature that has been requested multiple times and I plan on creating a s2Member® » Knowledge Base arcticle on this soon.

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