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.

Jason (Lead Developer)

Staff Member

My Latest Replies (From Various Topics)

Viewing 25 replies - 1,551 through 1,575 (of 1,909 total)
Author Replies
Author Replies
Posted: Friday Mar 23rd, 2012 at 4:48 am #8879
Staff Member

Thank you. This will be fixed in the next update.

Posted: Friday Mar 23rd, 2012 at 4:46 am #8878
Staff Member

Investigating this now. Thanks for your patience.

Posted: Tuesday Mar 20th, 2012 at 8:24 pm #8667
Staff Member

Details received via email. Investigation completed.

I found that you nested two /s2member-pro/s2member-pro/ directories. I resolved this and now s2Member and s2Member Pro are both available in your Dashboard.

For future reference…
Make sure you don’t accidentally nest two /s2member-pro/s2member-pro directories together. For example, this is NOT correct: /wp-content/plugins/s2member-pro/s2member-pro/pro-module.php
Posted: Tuesday Mar 20th, 2012 at 8:17 pm #8666
Staff Member

Thanks for your inquiry.
~ Details received via email.

NOTE: The FTP access credentials you provided are not working properly for us. Can you please check those and try again? Please re-submit your FTP login details through this form: s2Member® » Private Contact Form

Also, please let us know what version of s2Member you upgraded from, and point us to the page on your site where your s2Member payment button and/or Pro Form shortcodes are located.

Posted: Tuesday Mar 20th, 2012 at 8:06 pm #8664
Staff Member

Hi there. Thanks for your inquiry.

Yes, a good DIFF tool is your best bet.

Regarding this line of text: Math Required! What is the sum of …
That’s not something s2Member introduces anywhere. Perhaps that’s being added by another plugin, or through something you’ve configured in the Dashboard? I can confirm that text is not introduced by the POT file.

Posted: Tuesday Mar 20th, 2012 at 7:38 pm #8657
Staff Member

Hi there. Thanks for your inquiry.

No, I’m sorry but that documentation is no longer available. That being said, we’ll be happy to assist in any way that we can. Here is the CSS needed to accomplish what you mentioned. This can go into your Dashboard -> Theme Options -> Custom CSS box please.

div.fullpage-share-save,
div.page-share-save,
div.single-share-save
	{
		display: none;
	}
div.fullpage-title,
div.page-title,
div.single-title
	{
		display: none;
	}
Posted: Tuesday Mar 20th, 2012 at 3:02 am #8580
Staff Member

Hi Benny. That sounds like you don’t have logging enabled yet.
Please see: Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Logging

Regarding emails. Who is your hosting provider please? Have you integrated with s2Member Pro Forms I presume? If so, please tell us a little bit more about what your configuration looks like. If emails are simply being delayed, that’s often a problem at the server level, and you might consider an email to your hosting provider.

Please let us know if problems persist.

Posted: Tuesday Mar 20th, 2012 at 2:59 am #8579
Staff Member

Hi Shawn. I followed up with your email today.
Please let us know if you continue to have trouble.

Posted: Tuesday Mar 20th, 2012 at 2:54 am #8578
Staff Member

Note. It’s OK for your theme to use hard-coded URLs to http://. s2Member can work around this if you specify s2member_force_ssl = yes in a Custom Field for the Posts/Pages that you place Pro Forms into. Or, you can simply link to the Post or Page with a URL that ends with ?s2-ssl=yes

https://www.crossfitulster.com/90month-recurring-loyalty-discount/?s2-ssl=yes

Here are things that s2Member does NOT have the ability to work around:

1. If you have external CSS stylesheets that use hard-coded http:// links (that’s not very common though, and I don’t find any of that on your site).

2. s2Member cannot force a particular server to support the HTTPS protocol. Your site works fine in Firefox/IE when I access secure pages with /?s2-ssl=yes on the end. However, in Google Chrome, all resources in the page must actually support the HTTPS protocol.


So the reason you’re having trouble is as follows:

1. Be sure to link to those Posts/Pages with /?s2-ssl=yes on the end. Or, supply the Custom Field s2member_force_ssl = yes for each Post/Page that contains an s2Member Pro Form. See also: http://codex.wordpress.org/Custom_Fields#Usage

2. Remove any external dependencies from your site, where the external dependencies do NOT support the HTTPS protocol. On your site, I find these resources which cannot be served over HTTPS, because the server they reside on is external from your own site, and they don’t support SSL.

https://thefoodee.com/mod/?verif=yes&mod_w=180&desc_l=100&mod_h=230&format=vert&text_size=9&bg=222222&text_color=cccccc

That’s it. Remove this dependency and you should be good.

Posted: Tuesday Mar 20th, 2012 at 2:28 am #8576
Staff Member

Hi Adam. Thanks for your inquiry.

Unfortunately our organization can only process one-time payments, so a lot of times Members are having a hard time renewing, and creating duplicate memberships.

This issue can be avoided by instructing existing Users/Members to log into their existing account before purchasing anything new for their account. If an existing User/Member is logged in when they complete their purchase, s2Member will automatically update their existing account, instead of asking them to create a new one.

If you’re running s2Member Pro Forms, you can generate a Pro Modification Form, which will automatically require a customer to be logged in before completing checkout. Any attempt to complete checkout through a Pro Modification Form (without first being logged into the site) will result in an error message to the User/Member, asking them to first log into the site.

(my main problem), is that the Search Users feature within the WP Dashboard is not returning some recently added members. I have a custom built Admin area where I can query the Member table and find all member records, however I cannot find the same results within Search Users within the WP Dashboard. Are there any Member Record quantity restrictions? Currently we have over 1000 user records.

Yes, there are limits, but these are mostly related to server capacity. In a default installation of WP/s2Member, 1000 users is nowhere close to problematic. Have you tried to reproduce this with a clean installation of WordPress/s2Member, with no other plugins and the default theme?

If problems persist, here are a couple of issues that I’m aware of, and might be worth looking into.

1. Current versions of WP have a minor problem with filters applied against search patterns. If you search for Users, often times your result set will contain multiple results, but only 1 or 2 will display on each page of the search results. If you click the “next/prev” links, you can get to them however. We’re working to resolve this issue, either through changes to s2Member, or through updates to WP, we’re not sure which are required yet.

In the mean time, the “next/prev” links still yield the results needed.

2. You mentioned a custom admin panel. I’d try your searches without that applied. Changes to the administrative panels in WP can sometimes produce unexpected results that we really have no way to troubleshoot for you. Also, what are you searching for exactly?

Posted: Tuesday Mar 20th, 2012 at 2:15 am #8575
Staff Member

Hi there. Thanks for the heads up on this thread.

@epsilonweb: I’ve just taken a look at your report on this.
There are two issues here, and each of them has obstacles to overcome, before they could be changed.

1. The reason we show option values instead of option labels in your list of Users, is because each User may have values that no longer exist in the current configuration of a particular Registration/Profile Field. For instance, if a customer registered in Jan 2011 when you had a different set of options, we need to show the values they actually have, which might not be available in your current configuration.

2. The reason we show Field IDs in the column heading, is because many site owners use HTML code in their Registration/Profile Field labels, which can create clutter in a list of Users. So using the ID is a way to avoid this. However, I agree that we need to work at overcoming these issues, and we’ll certainly keep your suggestions in mind as work continues on the next generation of s2Member.

In the mean time, if you’d like to update your copy of s2Member, so that Labels are used in column headers, you could make the following change, if you like.

In file: /s2member/includes/classes/users-list.inc.php at line #141 find:

$cols["s2member_custom_field_" . $field_var] = $field_title;

Change that to the following:

$cols["s2member_custom_field_" . $field_var] = $field["label"];
Posted: Tuesday Mar 20th, 2012 at 1:55 am #8574
Staff Member

And secondly, just to double check, when a person hits a buy now button for new ccaps will it add to their existing ccaps rather than overwriting? If not, can you give any advice on ensuring new ccaps are added to the existing ones?

Right. s2Member “adds” to any that already exist, by default.

If you wanted to change that, you can tell s2Member to remove any that already exist, and then add new ones that you specify. This is accomplished with ccaps="-all,music,videos", where upon purchase, all existing Custom Capabilities are first removed, and then s2Member will add music & videos.

By default though, this would just add music & videos to any that existing already.

ccaps="music,videos"

See also: Dashboard -› s2Member® -› PayPal® Buttons -› Capability (Buy Now) Buttons
See also: Dashboard -› s2Member® -› PayPal® Pro Forms -› Capability (Buy Now) Forms

Posted: Tuesday Mar 20th, 2012 at 1:52 am #8573
Staff Member

Hi Kezz. Thanks for your inquiry.
~ and for the KUDOS!

So the question I have is, is it possible for me to set up an email notification that goes out when an existing user purchases a new ccap?

If you’ve integrated with s2Member’s Independent Custom Capability Buttons, where the Level number in your Shortcode is set to level="*" and ccaps="something,something", an email notification is already processed for this by s2Member :-)

You can learn more about Independent Custom Capabilities here:
Dashboard -› s2Member® -› PayPal® Buttons -› Capability (Buy Now) Buttons

If you’re running s2Member Pro Forms, try this instead please:
Dashboard -› s2Member® -› PayPal® Pro Forms -› Capability (Buy Now) Forms

When an existing User/Member purchases a new Custom Capability, s2Member will just shoot them a quick email that reads something simple like this:

Thank you! You now have access to: Watch Videos

(where “Watch Videos” is what your shortcode desc="" attribute was set to).


This email could be further configured through Filters made available to advanced site owners.

Create this directory and file:
/wp-content/mu-plugins/s2-hacks.php
( these are MUST USE plugins, see: http://codex.wordpress.org/Must_Use_Plugins )

<?php
add_filter("ws_plugin__s2member_capabilities_email_sbj", "my_capabilities_email_sbj", 10, 2);
function my_capabilities_email_sbj($sbj, $vars = array())
	{
		return "Thank you! Your account has been updated.";
	}

add_filter("ws_plugin__s2member_capabilities_email_msg", "my_capabilities_email_msg", 10, 2);
function my_capabilities_email_msg($msg, $vars = array())
	{
		return "Thank you! You now have access to: ".$vars&#91;"paypal"&#93;&#91;"item_name"&#93;;
	}
?>

I’ll answer your other question momentarily.

Posted: Tuesday Mar 20th, 2012 at 1:32 am #8572
Staff Member
@cassel Forum rank/icon updated to “Advanced” user.
Thanks for your continued involvement Carole!

Tip: Your Gravatar image could be updated here: http://www.gravtar.com/
(this way we’ll have a face to put with your profile at s2Member.com)
~ optional of course

I am facing a new (and exciting) challenge. I will be selling a course, on my site, from someone else. I can set it up no problem with s2M as it will be similar to my other products, however, since the sale price will be split, i would like her to have a copy of an “invoice” or some other kind of email notification so she does not have on just rely on my word to say she sold 2, or 10 or none in a specific time period. Is there a way to do that?

There are a few different ways to go about this.

1. Add your partner’s email address to an API Notification for new payments.
Dashboard -› s2Member® -› API / Notifications -› Payment Notifications
(this would be a fast/simple approach)

2. OR: Ask your partner to install something like iDevAffiliate,
and then integrate this with your installation of s2Member.
Dashboard -› s2Member® -› API / Tracking -› Integrating iDevAffiliate®

3. OR: Create a custom script of your own, which you could then attach to s2Member’s API Notification for new payments. Your custom script can receive the amount, break things down, and send a custom email to your partner. Dashboard -› s2Member® -› API / Notifications -› Payment Notifications

Create your custom PHP script, then give s2Member the URL leading to your custom script. When a new payment is processed, s2Member will notify your custom script, and your script can perform any additional action necessary. Your custom script can be configured with s2Member to receive variables in the query string.

http://www.example.com/my-script.php?txn_id=%%txn_id%%&amount=%%amount%%

Posted: Tuesday Mar 20th, 2012 at 1:19 am #8570
Staff Member

Hi there. Thanks for your inquiry.

1- How can I include the avatar in the Modify Profile window?

You can use the WordPress template tag: get_avatar()
See also: http://codex.wordpress.org/Function_Reference/get_avatar

2- Is there a built-in shortcode to obtain the current user level/capability?

I recommend this Codex document for current_user_is()
See also: http://codex.wordpress.org/Function_Reference/current_user_can

If you want to pull a Level # itself, for a particular User, you could also do this.

<?php
	$user_id = 123;
	$user = new WP_User($user_id);
	$user_s2_member_level = c_ws_plugin__s2member_user_access::user_access_level($user);
?>
Posted: Tuesday Mar 20th, 2012 at 1:12 am #8569
Staff Member
@Philly Forum rank/icon updated. Helpful/Experienced awards granted.
Thanks for your continued involvement!
Posted: Monday Mar 19th, 2012 at 11:50 pm #8568
Staff Member

Thanks for your inquiry.

are there any gateways besides PayPal that can be used by a site without SSL?

The following partial list of payment gateways supported by s2Member Pro,
includes only those which support “Button” integration, where no SSL certificate is required.

– PayPal Website Payment Standard (supports “Button” integration)
– ClickBank (supports “Button” integration)
– Google Checkout (supports “Button” integration)
– ccBill (supports “Button” integration)
– AliPay (supports “Button” integration)

Posted: Saturday Mar 17th, 2012 at 2:43 am #8447
Staff Member

Upon investigation I find that your site already has s2Member installed, but you’re running an older version of the s2Member Framework (i.e. the free version, s2Member v110815).

There is a notice across the top of your Dashboard in the plugins panel that reads as follows:

In order to load the s2Member Pro Module, you need the s2Member Framework, v120219+.

I would be happy to install s2Member Pro for you, but since you’ve already been running an older version of s2Member for awhile, you’ll need to perform the upgrade yourself, and I highly recommend that you do a full backup of your entire site and database before doing so, just to be safe.

Please follow the instructions here to upgrade.
s2Member® » Pro » Install/Upgrade Instructions

Posted: Saturday Mar 17th, 2012 at 2:38 am #8446
Staff Member

Details received (held in spam queue). Investigating now.

Posted: Saturday Mar 17th, 2012 at 2:31 am #8445
Staff Member
The documentation on this API function is available here.
a:4:{s:5:"level";s:10:"1325623762";s:6:"level1";s:10:"1325623762";s:6:"level3";s:10:"1329175184";s:6:"level4";s:10:"1329678808";}

There’s no specific order. This is stored in the DB as a serialized associative array. Each *paying* customer will have the "level" array element, indicating the first paid registration time, at whatever Membership Level they paid for initially. When you call s2member_paid_registration_time(), that’s what you get; the value of the "level" array element. If you call s2member_paid_registration_time("level1"), you’re pulling the array element for "level1", indicating the paid registration time specifically at Membership Level #1.

The documentation on this API Function should help to clarify this.
All timestamps returned by this API Function are in GMT (Universal Time).

If you call s2member_paid_registration_time("level4"), and the current User has never paid you for Level #4 access (ever), the function will return 0.

Posted: Thursday Mar 15th, 2012 at 6:23 pm #8293
Staff Member

Ni Nathan. Thanks for writing in.

Looking good! You just need to tell s2Member that your new option keys should be saved. You can accomplish this by filtering s2Member’s set of default option key/value pairs. Just set them to a default empty string value is fine.

<?php
add_filter("ws_plugin__s2member_default_options", "my_extra_default_options");
function my_extra_default_options($defaults = array())
	{
		for($n = $GLOBALS&#91;"WS_PLUGIN__"&#93;&#91;"s2member"&#93;&#91;"c"&#93;&#91;"levels"&#93;; $n >= 0; $n--)
			{
				$defaults["level".$n."_ncb_getresponse_list_ids"] = "";
			}
		return /* Return with extra default option keys. */ $defaults;
	}
?>
Posted: Thursday Mar 15th, 2012 at 6:06 pm #8291
Staff Member

Thanks guys, I’m making a note of this so future versions of that popup are not Flash dependent.

Posted: Tuesday Mar 13th, 2012 at 2:21 pm #8032
Staff Member

Hi there. Thanks for your inquiry.

Yes, what you’ve described could certainly be accomplished with s2Member as a framework on which to build such a site. You would need to make use of s2Member’s Simple and/or Advanced Conditionals within your content, or perhaps directly inside your theme template files, if you prefer.

Please check this documentation in your Dashboard, with the free version of s2Member installed.
See: Dashboard -› s2Member® -› API / Scripting -› Simple/Shortcode Conditionals
See: Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals
See: Dashboard -› s2Member® -› API / Scripting -› Advanced Query Conditionals

Posted: Tuesday Mar 13th, 2012 at 2:18 pm #8031
Staff Member

Thanks for the follow-up.

Please use our Private Contact Form to submit your Dashboard/FTP login, as this forum remains open to public access, and you will NOT want to post those details here openly.

Also, please include an FTP login when you complete the form.
See: s2Member® » Private Contact Form

Posted: Tuesday Mar 13th, 2012 at 2:13 pm #8029
Staff Member

Thank you. Investigation completed.

I find that your /wp-config.php file contains this line:
define( 'DOMAIN_CURRENT_SITE', 'the-tma.org' );
Indicating that your installation is NOT using the www. prefix.

So if you change your download link over to the following, it should work as expected.

http://the-tma.org/oilandenergy/wp-content/plugins/s2member-files/s2member-file-inline/Cara-Bartek_1.flv

See Also: this forum topic… Don’t mix WWW and without!

Viewing 25 replies - 1,551 through 1,575 (of 1,909 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.