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 - 726 through 750 (of 1,909 total)
Author Replies
Author Replies
Posted: Thursday Jan 24th, 2013 at 3:33 am #39307
Staff Member

Details received. Thank you!

I found a couple of minor issues with your configuration that could be causing some confusion for s2Member. Having your Home Page protected is the likely cause of the redirection issues. A visit to your Home Page by a public visitor results in a redirection, which is something s2Member would not expect to encounter.


This video tutorial goes over some the gotchyas like this. I recommend watching segments #2 and #3 here. See: Video » s2Member (Content Restriction Trouble?)

Please let us know if problems persist :-)

Posted: Thursday Jan 24th, 2013 at 3:11 am #39302
Staff Member

Thanks for your reply :-)

I would contact the plugin developer and explain that it’s blocking the server itself, when one script on the server is attempting to POST data to another script. A quick review of this plugin would suggest that a SESSION cannot be established during this form of communication, and could be the underlying cause.

On the other hand, I didn’t write this plugin, so it’s difficult to know for sure. It could be a simple as whitelisting the server’s IP address to prevent this from happening. It looks like you can do that from the Dashboard with this plugin. Please let us know what you find out. Thanks!

Posted: Thursday Jan 24th, 2013 at 2:56 am #39300
Staff Member

Thanks for your inquiry. ~ We appreciate your patience :-)

The question is : what directory structure (if needed) should be on Amazon S3 and can I call directly the directory structure of Amazon S3 (as I did) without worrying at all about the MOD Rewrite ?

Yes, the directory structure is the same, the way you link to files is same too. You can still use s2Member’s Mod Rewrite functionality if you like. If you’ve been using Custom Capabilities to protect files with sub-directories, you will simply mirror that directory structure in your S3 Bucket please.

So for instance, if I have an audio file that requires the “music” Capability, I might have it here.

BUCKET: /access-s2member-ccap-music/audio.mp3

You would link to that file like this (taking advantage of s2Member’s Mod Rewrite functionality).

http://www.example.com/wp-content/plugins/s2member-files/access-s2member-ccap-music/audio.mp3

The file is served from your S3 Bucket, but your on-site links remain the same.

Of course, if you’re streaming audio/video, you can just use the new [s2Stream /] shortcode if you like.
See: Knowledge Base » JW Player® w/ [s2Stream /] Shortcodes


For the benefit of other readers, we’re discussing File Downloads protected by Custom Capabilities.
See: Dashboard -› s2Member® -› API / Scripting -› Custom Capability and Member Level Files

Posted: Thursday Jan 24th, 2013 at 2:34 am #39298
Staff Member

Thanks for reporting this important issue.

If this happens in the future, I would generate a Registration Access Link yourself from the Dashboard.
See: Dashboard -› s2Member® -› ccBill® Buttons -› Registration Access Links


Also, if you’re having a problem with emails being delivered to the SPAM folder, I would suggest that you contact your hosting company to find out if your server has been blacklisted in some way. Maybe there is something they can do for you. Another option would be this plugin (WP-Mail SMTP), which can work with an offsite mail server that can do a better job of getting mail delivered to your customer’s inbox.

Posted: Wednesday Jan 23rd, 2013 at 10:08 pm #39273
Staff Member

Thanks for reporting this important issue.

Please see these replies from accounting.
http://www.s2member.com/forums/topic/payment-for-pro-not-showing-in-my-account-2/
http://www.s2member.com/forums/topic/payment-for-pro-not-showing-in-my-account/

It looks your like your account was flagged for review.
You should be good now. Please let us know if problems persist.

Posted: Wednesday Jan 23rd, 2013 at 10:02 pm #39272
Staff Member

Thanks for your inquiry. ~ We appreciate your patience :-)

Could this be caused by setting PayPal sandbox to yes? I don’t remember turning sandbox on at all. Has there been any case of s2Member Pro installation resetting PayPal options?

No, not that I’m aware of. I haven’t seen that reported by anyone.

If you are using HTML code for your PayPal Buttons, you will need to regenerate your PayPal Buttons after turning Sandbox Mode off, so that URLs in your Button Code do not reference sandbox.paypal.com. It appears you’ve already done this.

If you’re running s2Member Shortcodes for your PayPal Button (recommended), then you will not need to worry about this, because turning Sandbox Mode off will automatically modify the HTML generated by s2Member’s Shortcodes.

If problems persist, please use s2Member’s Shortcodes. Please post a copy of your Shortcode for us to review with you. If we can’t resolve the issue after a review of your Shortcode, we’ll run diagnostics for you.

Posted: Wednesday Jan 23rd, 2013 at 9:57 pm #39271
Staff Member

Thanks for your inquiry. ~ We appreciate your patience :-)

Correct. Please check your “My Account” page for upgrade links :-) Please let us know if you have any trouble.

Posted: Wednesday Jan 23rd, 2013 at 9:56 pm #39270
Staff Member

Thanks for your reply :-)

Oh, I’m sorry. I’m unavailable at this time. If you post a project on Elance.com and send me a link to it, I’ll direct some folks that I know for you. Please post a link to the project here in the forums if you do that :-)

Posted: Wednesday Jan 23rd, 2013 at 9:46 pm #39269
Staff Member

Thanks for your inquiry. ~ We appreciate your patience :-)

Posted: Wednesday Jan 23rd, 2013 at 9:31 pm #39268
Staff Member
Posted: Wednesday Jan 23rd, 2013 at 9:26 pm #39266
Staff Member

I’ve read about the filters and hooks but this is beyond me. I was hoping to just configure the two. Does anybody have code that will allow for multiple payment gateways?

Please note. s2Member® is designed to operate with all payment gateways simultaneously if that’s what you need from it. Let’s work to help you resolve the issue with ClickBank and go from there :-)

Please see Bruce’s reply. Thanks!

Posted: Wednesday Jan 23rd, 2013 at 8:58 pm #39264
Staff Member

Thanks everyone. ~ We appreciate your patience :-)

Are these new shortcodes that are part of S2 suitable to replace the plugin now?
Is there a way of setting the image for example? HD/ SD versions? Dimensions?

Yes I believe this could do fine as an alternative.

It looks like some of you found this section in your Dashboard already.
See: Dashboard -› s2Member® -› Download Options -› Shortcode Attributes & API Functions
See also: http://www.s2member.com/kb/jwplayer-s2stream-shortcodes/#using-s2stream-shortcodes

NOTE: While we DO support just about everything else, the JW Player documentation listed here for SD/HD is currently NOT supported by s2 in a simple way. This will come in a future release. It will be nice — I agree. Until then you would need to implement your own JW Player JavaScript to get this working. That is also discussed in this article (but it’s NOT simple yet).

I haven’t been able to figure out how to pass a the license key for the pro version of JWplayer.

This is coming in the next maintenance release. It’s already documented here, but it will not work properly until you’re running s2Member® v120123+.

It’s accomplished with player_key="my-license-key".

The next maintenance release will be available later today.
~ You will get an update notice in your Dashboard, under the Plugins menu in WP.

The size of the videos seems to be about 480 wide on the wordpress post and does not seem to be changed via the short codes. I wonder if there is a default set somewhere? I would rather it be 640x. I also noticed that the JWPlayer has an option for choosing resolution. I didn’t see that on the one video I tested.

Example: player_width="480" player_height="270"
Adding an image: player_image="URL to your image"
Please see: Knowledge Base » JW Player® w/ Shortcodes

Screenshot from: http://www.s2member.com/kb/jwplayer-s2stream-shortcodes/#using-s2stream-shortcodes

Posted: Wednesday Jan 23rd, 2013 at 5:06 am #39148
Staff Member

Thanks for the follow-up :-)

Yes, definitely a possible alternative. I was hoping they might have something a little simpler, but you could always query the database for that information. The username in WordPress should match up with the username in iDevAffiliate. So you would just query the iDevAffiliate database for the affiliate’s ID number, and then generate an affiliate link based on that.

Perhaps a better approach would be a custom API script integrated with iDevAffiliate.

Instructions

Step #1.

Create this file: /idevaffiliate/API/scripts/affiliate_url_via_username.php
This assumes you’re running iDevAffiliate with the SEO Links Module.

<?php
require_once('../../API/config.php');
include_once('../../includes/validation_functions.php');

if (isset($_REQUEST&#91;'username'&#93;) && mysql_num_rows($select = mysql_query("SELECT `id` FROM `idevaff_affiliates` WHERE `username` LIKE '".mysql_real_escape_string($_REQUEST&#91;'username'&#93;)."' LIMIT 1")))
{
$ID = mysql_result($select, 0);
$URL = 'http://'.$_SERVER&#91;'HTTP_HOST'&#93;.'/'.$ID.'.html';
echo "document.write('".$URL."');";
}
&#91;/hilite&#93;

<h4>Step #2.</h4>

Add this code snippet into a Post or Page within WordPress®, where a logged-in User will be.
This will display the affiliate URL wherever it is inserted in your HTML code.

<script type="text/javascript" src="/idevaffiliate/API/scripts/affiliate_url_via_username.php?username=&#91;&#91;s2Get user_field="user_login" /&#93;&#93;"></script>
Posted: Wednesday Jan 23rd, 2013 at 4:38 am #39147
Staff Member

Thanks for the follow-up :-)

Interesting! Please submit a Dashboard login and I’ll run diagnostics for you.
See: s2Member® » Private Contact Form

Posted: Wednesday Jan 23rd, 2013 at 4:35 am #39145
Staff Member
@User: RandyKing
Your account has been upgraded at no charge to an Unlimited Site License of s2Member® Pro — for dedication to helping others in the s2Member® Forums. Thank you Randy!

Also awarded forum badges: Helpful, Advanced

Posted: Wednesday Jan 23rd, 2013 at 4:29 am #39142
Staff Member

Thanks for your inquiry. ~ We appreciate your patience :-)

No I’m sorry but s2Member® is NOT yet integrated with PayPal Payments Advanced. It is integrated with PayPal Payments Standard and also with PayPal Payments Pro. Please see this article for details about compatibility and payment gateway requirements.

Knowledge Base » s2Member® Pro-Forms

Please let us know if you have any other questions/concerns :-)

Posted: Wednesday Jan 23rd, 2013 at 4:26 am #39141
Staff Member

Thanks for reporting this important issue.

It sounds like you’re experiencing the same issue discussed in this thread.
See: http://www.s2member.com/forums/topic/user-export-not-working-properly/#post-38530

If you’re unable to resolve this on your own, please submit a Dashboard login privately and we’ll fix you up.
See: s2Member® » Private Contact Form

Posted: Wednesday Jan 23rd, 2013 at 4:23 am #39139
Staff Member

Thanks for reporting this important issue.

I’m not aware of any bug in s2Member® that would cause this, but if the problem continues, please send us a Dashboard login privately and we’ll investigate it for you. See: s2Member® » Private Contact Form

NOTE: The URL that your Members are being redirected to, includes s2Member’s MOP Vars, which offers details about why the redirection occurred. The link you posted indicates that a User attempted to access Post ID 292547 which is Restricted by your configuration of s2Member® at Level #1. This person did not have access to this Membership Level.

See also: Dashboard -› s2Member® -› API / Scripting -› Membership Options Page Variables (MOP Vars)

Posted: Wednesday Jan 23rd, 2013 at 4:14 am #39135
Staff Member

Thanks for your inquiry. ~ We appreciate your patience :-)

You can allow people to set their own password during registration if you like.
Please see: Dashboard -› s2Member® -› General Options -› Registration/Profile Fields

If you want to customize the email that goes out with the password, please see:
Dashboard -› s2Member® -› General Options -› Email Configuration

Please let us know if you have any other questions/concerns :-)

Posted: Wednesday Jan 23rd, 2013 at 4:09 am #39132
Staff Member

Thanks for your inquiry. ~ We appreciate your patience :-)

Please see this KB article regarding Pro Forms and payment gateway requirements. Yes, you CAN run Pro Forms without having a PayPal Pro account if you like, and this article goes over the details of that.

Knowledge Base » s2Member® Pro Forms
See also: Pre Sale FAQs » To use s2Member® Pro Forms, will I have to use PayPal® Pro?

Or would the pro forms work with the new PayPal Payments Advanced?

s2Member® Pro Forms can work with PayPal Standard Accounts, and also with PayPal Pro accounts. However, we do not support PayPal Payments Advanced at this time. Please see: Knowledge Base » PayPal® Pro

My client wants to have the ability to have a 30 day trial without having their customer put in payment information up front. Then once the 30 days have passed they are blocked until they pay for a subscription.

Please see: Dashboard -› s2Member® -› PayPal® Pro Forms -› Free Registration Forms
See also: Video » s2Member (Free Registration On Multiple Levels?)

When generating a Free Registration Form with s2Member® Pro, please set the tp="" and tt="" attributes. For instance, if you want to allow Free Registration that automatically expires after 30 days if the customer has not upgraded to a paid plan yet, you would set tp="30" tt="D" in your Pro Form Shortcode.

See also: Dashboard -› s2Member® -› PayPal® Pro Forms -› Shortcode Attributes (Explained)

Please let us know if you have any other questions/concerns :-)

Posted: Wednesday Jan 23rd, 2013 at 3:48 am #39129
Staff Member

Thanks for your inquiry. ~ We appreciate your patience :-)

Please see: Pre Sale FAQs » Can s2Member® be translated into other languages?
See also: http://www.s2member.com/forums/forum/community/translations/

Or, if you don’t want to translate ALL of s2Member®, you can also perform translations on-the-fly using the gettext_with_context Filter provided by WordPress®.

Please create this directory and file:
/wp-content/mu-plugins/s2-hacks.php
(NOTE: these are MUST USE plugins, see: http://codex.wordpress.org/Must_Use_Plugins)
(See also: http://www.s2member.com/kb/hacking-s2member/)

Another option is to use a custom Pro Form Template.
Please see: Knowledge Base » s2Member® Pro Forms
Posted: Wednesday Jan 23rd, 2013 at 3:41 am #39128
Staff Member

Thanks for the follow-up :-)

Along with the last Filter that I posted in the KB article, try something like this please.

// Don't show the s2Member® administrative menu to the User Manager Role in the Dashboard.
// However, we WILL create a new menu that allows User Manager access to s2Member's Import/Export page.

add_filter('ws_plugin__s2member_during_add_admin_options_create_menu_items', 'create_s2_menu_items');
function create_s2_menu_items($what_s2_says)
	{
		if(current_user_is('user_manager'))
			{
				add_menu_page('Import/Export', 'Import/Export', 'user_manager', 's2-import-export', 'c_ws_plugin__s2member_pro_menu_pages::import_export_page');
				return FALSE;
			}
		return $what_s2_says; // Default return value.
	}
Posted: Wednesday Jan 23rd, 2013 at 3:30 am #39127
Staff Member

Thanks for your inquiry. ~ We appreciate your patience :-)

When this “tour/demo” account user upgrades now, their downloads don’t get reset and they are basically paying for less items then we advertise for.

I was wondering if the PRO version has more options regarding this! If so I’m more then happy to upgrade and probably will in a few days anyway!

No, I’m sorry but s2Member® Pro does not provide any additional options that would allow you to control this aspect of your configuration. However, what you’ve stated seems to indicate a problem with your installation. If any existing User/Member (including Free Subscribers) upgrades by completing checking; upon completion of checkout, s2Member® will automatically reset their File Download counter and logs, giving them a fresh start on whatever billing plan they now have.

If this is not working properly on your installation, I suspect an issue with s2Member’s post-processing of each transaction. Please enable logging here and we’ll be happy to review the log files with you if assistance is needed. I can confirm this is working properly when I tested on WordPress® v3.5 and s2Member® v130121.

See: Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Logging

I am running another website with Clickbank and will want to use one-click up-sells. Since we are able to put the order page in-front of the register, it should be possible to create this right?

Are you referring to ClickBank’s Pitch-Plus feature? If so, s2Member® does NOT support this yet. We’re hoping to support this feature very soon however. See: http://www.s2member.com/pro/ under ClickBank features please. Pitch-Plus is mentioned there.

Please let us know if you have any other questions/concerns :-)

Posted: Wednesday Jan 23rd, 2013 at 3:12 am #39126
Staff Member

Thanks for your inquiry. ~ We appreciate your patience :-)

The default timeout is based on browser session. A login cookie will last for a single browser session. So closing all tabs and your browser down completely will log you out. That ends a browser session. The default behavior also sets a maximum of 2 days on a single session. If you should NOT close your browser down for 2 days, you will still be logged-out automatically, because of this maximum time limit.

If the “Remember Me” box is checked during login, you will stay logged in for 14 days. Even if you close your browser and come back later, you are still logged in.


It is also possible to change the expiration times if you like. This requires a small MU plugin.

Please create this directory and file:
/wp-content/mu-plugins/s2-hacks.php
(NOTE: these are MUST USE plugins, see: http://codex.wordpress.org/Must_Use_Plugins)
(See also: http://www.s2member.com/kb/hacking-s2member/)

Posted: Wednesday Jan 23rd, 2013 at 2:30 am #39124
Staff Member

Thanks for your inquiry. ~ We appreciate your patience :-)

Not out-of-the-box I’m afraid. However, I’ve done a video tutorial that goes over this type of scenario. We can get you most of the way there, but it does take some work on your part as well.

Please see: Video » s2Member (Free Registration for Sub-Accounts)

Please let us know if you have any other questions/concerns :-)

Viewing 25 replies - 726 through 750 (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.