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 Eduan

Eduan

Moderator

My Latest Replies (From Various Topics)

Viewing 25 replies - 2,651 through 2,675 (of 3,367 total)
Author Replies
Author Replies
Posted: Thursday Jul 26th, 2012 at 4:03 pm #20337
Eduan
Username: Eduan
Moderator

Hello Christopher,

I believe you are better off checking this info on their documentation or from their support, since only a member that has experience with Google Analytics could offer support.

Hope this helps. :)

Posted: Thursday Jul 26th, 2012 at 3:49 pm #20335
Eduan
Username: Eduan
Moderator

You’re welcome, glad I was able to help. :)

Posted: Thursday Jul 26th, 2012 at 3:45 pm #20334
Eduan
Username: Eduan
Moderator

Hello Tim,

What I can suggest you do first is make a theme compatibility test and the same with the plugins.

For the theme simply change the theme back to the default WordPress theme (TwentyEleven) and check if the problem still remains. For the plugins simply deactivate all the plugins, except s2Member, and check if the problem still remains, if it doesn’t, then reactivate them one-by-one and find the one that causes the problem.

Hope this helps. :)

Posted: Thursday Jul 26th, 2012 at 2:16 pm #20325
Eduan
Username: Eduan
Moderator

Hello Lisa,

Have you followed the instructions on how to import/export found in this article?:
Knowledge Base » Importing existing subscriptions

Hope this helps. :)

Posted: Thursday Jul 26th, 2012 at 1:30 pm #20322
Eduan
Username: Eduan
Moderator

Hello there,

This feature is not available through s2Member, and I’m not sure if there is a plugin for this.

You will probably have to integrate this yourself or pay a developer to do this for you, you can try jobs.wordpress.net for a developer.

Hope this helps. :)

Posted: Thursday Jul 26th, 2012 at 12:27 pm #20319
Eduan
Username: Eduan
Moderator

My membership options page has check boxes that are attributed with the different capabilities. Then depending on which capabilities the user selects they are sent to a new page where the shortcode is generated based on their selections. If an existing member views the membership options page they are presented only with the options that they do not currently have the capabilities for. If an existing member chooses to purchase a new capability, will the new capability be added to their profile and not override the existing capabilities?

For example a user checks out using the shortcode [… level=”1″ ccaps=”cap_one” …] and then comes back later and checks out using [… level=”1″ ccaps=”cap_two” …]. Will this give the member both ccaps?

I believe this is correct, if the user doesn’t have a ccap then it will just add it to the user, there also methods to remove them and then put them back again.

Also, I believe you would accomplish this with advanced conditionals, which you can find under Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals.

Another follow-up question. Does the free version of the plugin have an s2member configuration export option? I copied my database to a live webserver to test some of the paypal steps. WHen I copied the database over, none of the s2member settings were copied over with the database.

I’m not sure it does, the current version of s2Member saves it settings somewhere else I believe, if you copy the s2Member folders it should also come with the settings I think, never tried it though.

Hope this helps. :)

Posted: Thursday Jul 26th, 2012 at 8:47 am #20312
Eduan
Username: Eduan
Moderator

Well, there is of course the option of using custom capabilities (a.k.a. ccaps), you can have an unlimited amount of them.

You can check them out in these links:
Dashboard -› s2Member® -› API / Scripting -› Custom Capabilities
Video » s2Member (Custom Capabilities)

Hope this helps. :)

Posted: Thursday Jul 26th, 2012 at 8:45 am #20311
Eduan
Username: Eduan
Moderator

Glad I was able to help Greg. :)

It’s actually just the same code, just another coding style, didn’t change anything except for one thing, I renamed the variable $_g with $var, otherwise it could cause problems with PHP itself, because PHP uses the $_ to start it’s variables.

Hope this helps. :)

Posted: Thursday Jul 26th, 2012 at 8:41 am #20310
Eduan
Username: Eduan
Moderator

Hello Alex,

To be honest, there wouldn’t be an easy way. This would require for someone to do a whole affiliate system that works with content, and not money.

And I believe there isn’t something like that.

You can probably hire a developer over at jobs.wordpress.net to do this for you though. It will not be cheap though.

Hope this helps. :)

Posted: Thursday Jul 26th, 2012 at 8:36 am #20309
Eduan
Username: Eduan
Moderator

Wei, did you install the hack correctly? Could you post a copy of the hack you’re using? Thanks. :)

Posted: Wednesday Jul 25th, 2012 at 8:17 pm #20242
Eduan
Username: Eduan
Moderator

Yes I understand your point, I usually try to try it myself instead of using reviews, of course reviews give me an idea if something is better or not.

Glad I was able to help. :)

Posted: Wednesday Jul 25th, 2012 at 12:53 pm #20214
Eduan
Username: Eduan
Moderator

Hello Rocwing,

I don’t know why the URL wouldn’t work.

Also, the s2Member license doesn’t allow that:
s2Member® » Prices/Licensing

Please note… if you’re a developer, your clients will need to purchase their own Single-Site and/or Unlimited-Site License. We will not support s2Member® Product instances on domains that you do NOT own and operate yourself. We invite all developers to join our affiliate program, and refer their clients to s2Member.com, where your clients may purchase an s2Member® Product of their own. This also gives your clients access to future releases.

Posted: Wednesday Jul 25th, 2012 at 12:21 pm #20213
Eduan
Username: Eduan
Moderator

Hello Rachael,

All of those errors are generated by the Zeus Dynamic plugin, and the second one is generated by s2Member, probably because this plugin is causing an incompatibility.

What happens if you deactivate that plugin?

Hope this helps. :)

Posted: Wednesday Jul 25th, 2012 at 11:57 am #20210
Eduan
Username: Eduan
Moderator

Hello Kyle,

This is not possible with s2Member, by default, but I believe it would be possible with a hack.

You would simply check, with the content dripping functions, if the user has a certain amount of time, and make a hack change the user’s level when that condition is met.

You can find the content dripping functions under Dashboard -› s2Member® -› API / Scripting -› Content Dripping.

Hope this helps. :)

Posted: Wednesday Jul 25th, 2012 at 11:50 am #20209
Eduan
Username: Eduan
Moderator

Hello Bruce,

(1) Some articles recommend the Exec-PHP plugin. I installed the plugin (I’m still in design and test mode) and it seems to be working. But I notice it’s not “officially” tested beyond WP 2.8. Do you still recommend this plugin, or do you have other alternatives you prefer? Now that I know I can embed PHP code in a post/page, I don’t think I could live without it.

I do sometimes doubt this myself, most plugins that work like this are very old, although I’m pretty sure it shouldn’t matter, since it probably just checks for the PHP tags and just tells WordPress to treat that as PHP.

(2) In a couple of forum posts I noticed code like [S2If …. ] …. [S2EndIf]. And of course there are functions being used such as current_user_can() and current_user_is(). This is very cool indeed. Where can I get a list of the statements and functions that work inside HTML this way?

Yes you can, you can find them under Dashboard -› s2Member® -› API / Scripting -› Simple/Shortcode Conditionals and Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals, here’s an article about them:
Knowledge Base » s2Member® Conditionals

(3) In some cases i merely want to do something like display the member’s first name as in “Welcome back Bruce!”. I can do this with the Exec-PHP plugin. Is there a way to do this without needing the plugin? Maybe the S2 statements noted in #2?

You can find a under Dashboard -› s2Member® -› API / Scripting -› PHP/API Constants.

(4) I learned we can have different pages display at login based on the number of logins and the membership level. Can we do a similar thing based on days? For example, at 30 days a member_level1 will be directed to an upgrade page, or at 90 days a member_level3 will be directed to a survey. I would want to base the “days” as “days within the given membership level” rather than since the initial signup.

I believe you will be able to do this with the documentation under Dashboard -› s2Member® -› API / Scripting -› Content Dripping, here’s an article about it:
Knowledge Base » Introduction to Content Dripping in s2Member®

Hope this helps. :)

Posted: Wednesday Jul 25th, 2012 at 11:37 am #20208
Eduan
Username: Eduan
Moderator

Hello Jarl,

First, I understand your point, yes it is insecure, but this is WordPress, not s2Member.

Also, I believe WordPress expects people to use a secure email like Gmail.

so I thought about it a bit, and, how do you plan to give their passwords to users? Either way it’s gotta be given somehow, and it’s insecure anyway.

– Eduan

Posted: Wednesday Jul 25th, 2012 at 11:30 am #20207
Eduan
Username: Eduan
Moderator

Hello Wei,

Here’s a hack that might interest you:
http://www.s2member.com/forums/topic/changing-wordpress-text-in-the-login-page/

Just made it. ;)

Hope this helps. :)

Posted: Wednesday Jul 25th, 2012 at 10:46 am #20205
Eduan
Username: Eduan
Moderator

Hello Adam,

That seems like a cool idea, what exactly will it do? I had an idea for one, it basically instead of giving affiliate money it gave access to certain ccaps, levels etc. Also, how much do we have to collaborate with? Anything we want? Just so that people don’t have any questions. ;)

Looking forward to it. :)

Posted: Wednesday Jul 25th, 2012 at 9:35 am #20198
Eduan
Username: Eduan
Moderator

Hello Rocwing,

The pro-forms require s2Member pro, do you have s2Member pro?

Also, the success=”” value, does it have an URL? Cause for now it just says url, I suppose you wanted to avoid giving the whole URL.

Posted: Wednesday Jul 25th, 2012 at 9:01 am #20195
Eduan
Username: Eduan
Moderator

Hello Soporose,

Well this isn’t exactly a job s2qMember can handle, it is able to do it, but I don’t think it was meant this way.

Anyway, I would use conditionals for this, you can find an article about them here:
Knowledge Base » s2Member® Conditionals

Hope this helps. :)

Posted: Tuesday Jul 24th, 2012 at 10:45 pm #20134
Eduan
Username: Eduan
Moderator

Hello Greg,

Here’s a much smaller and cleaner version of the code:

<?php
$var = stripslashes_deep($_GET);

if(isset ($var["_s2member_seeking"]["post"])) {
	$post_id = esc_html($var["_s2member_seeking"]["post"]);
	$post_object = get_post($post_id);
}

if(has_media_embed_1($post_object->ID))
	do_action('get_teaser', $post_object->ID, absint($video_width), absint($video_height));
else
	echo get_the_post_thumbnail($post_object->ID, 'large');

Please tell me if you find any problems with it. ;)

Hope this helps. :)

Posted: Tuesday Jul 24th, 2012 at 10:19 pm #20133
Eduan
Username: Eduan
Moderator

You’re welcome Alissa, glad to be able to help. :)

One little thing, this will have to be done every time you update WordPress, so you would have to do the following:

1. Create a PHP file named “button-hack.php” (without the double quotes).

2. In that file put the following:

<?php
if(strpos($_SERVER['REQUEST_URI'], '/wp-login.php') === true) {
	add_filter('gettext', 'my_translations', 10, 3);
	
	function my_translations($translated, $original, $domain) {
		if($original === 'Register')
			$translated = 'Submit';

		return $translated;
	}
}

3. Put that file in the folder called mu-plugins, which you can find under wp-content/mu-plugins.

Now I’m not sure if this will work, but pretty sure it will, have done it before with a different text.

This will ensure the text will always get replaced, even if you update WordPress.

Hope this helps. :)

Posted: Tuesday Jul 24th, 2012 at 9:58 pm #20132
Eduan
Username: Eduan
Moderator

You’re welcome Mike, tell me how it goes. :)

Posted: Tuesday Jul 24th, 2012 at 9:28 pm #20128
Eduan
Username: Eduan
Moderator

Hello Thomas,

I made a quick search, and I found the following post which would probably interest you in this matter:
http://www.s2member.com/forums/topic/login-widget/

Hope this helps. :)

Posted: Tuesday Jul 24th, 2012 at 9:15 pm #20125
Eduan
Username: Eduan
Moderator

Hello Hari,

You might be interested in this FAQ:
Pre Sale FAQs » To use s2Member® Pro Forms, will I have to use PayPal® Pro?

Hope this helps. :)

Viewing 25 replies - 2,651 through 2,675 (of 3,367 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.