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 - 1,576 through 1,600 (of 3,367 total)
Author Replies
Author Replies
Posted: Wednesday Nov 14th, 2012 at 7:43 pm #31635
Eduan
Username: Eduan
Moderator

You’re welcome! Glad I was able to help, Justin! :)

Posted: Wednesday Nov 14th, 2012 at 7:42 pm #31634
Eduan
Username: Eduan
Moderator

Seems to be correct… I did notice an error with your mail function, change:

function wp_mail( $to, $subject, $message, $headers ){};

to:

wp_mail( $to, $subject, $message, $headers );

Otherwise you will be defining the function, instead of using it.

See if that works. BTW, I suggest you have a test website if you’re gonna be making tests, otherwise it’s gonna be hard to know if it works or not. :)

– Eduan

Posted: Wednesday Nov 14th, 2012 at 7:35 pm #31631
Eduan
Username: Eduan
Moderator

Nothing really specific comes to mind… Really what’s left is the theme I guess. :/

Posted: Wednesday Nov 14th, 2012 at 11:57 am #31586
Eduan
Username: Eduan
Moderator

I see, then I suggest you just keep increasing that limit until it stops. :)

Also, use the following script: http://www.s2member.com/r/server-check/
Just upload that to your main WordPress directory and open it with a browser.

– Eduan

Posted: Wednesday Nov 14th, 2012 at 10:55 am #31582
Eduan
Username: Eduan
Moderator

Here’s an image:
Click here to view in full size.

– Eduan

Posted: Wednesday Nov 14th, 2012 at 10:46 am #31581
Eduan
Username: Eduan
Moderator

I see, well, then s2Member is not protecting the content. What happens when you’re asked to login? What happens if you go to a page that’s not supposed to be protected?

Do you get redirected to the membership options page? To the login page? Where?

– Eduan

Posted: Wednesday Nov 14th, 2012 at 10:44 am #31580
Eduan
Username: Eduan
Moderator

No problem, hope you solve your problem. :)

Posted: Tuesday Nov 13th, 2012 at 7:51 pm #31515
Eduan
Username: Eduan
Moderator

Hello Justin,

I’m afraid currently you can’t have a 100% discount coupon, the lowest you can get it to is to $00.01 cents.

Does this answer your question?

Posted: Tuesday Nov 13th, 2012 at 7:49 pm #31513
Eduan
Username: Eduan
Moderator

I see, well hope nothing important was hacked, and hope you solve the problem. :)

Posted: Tuesday Nov 13th, 2012 at 7:04 pm #31504
Eduan
Username: Eduan
Moderator

Hello Danny,

I haven’t played around with this myself, so I’m not sure if it would work, but if you followed Bruce’s instructions correctly then there shouldn’t be any problem. :)

BTW, you can freely test this in your website, since this can easily be fixed if it messes something up, which again, if you followed Bruce’s instructions correctly, it shouldn’t be any problem.

– Eduan

Posted: Tuesday Nov 13th, 2012 at 7:01 pm #31503
Eduan
Username: Eduan
Moderator

Hello Andy,

I’m afraid this is not part of s2Member’s functionality currently, you can however introduce some PHP in your post which does this, the WordPress way, which is not as simple as it would be with s2Member shortcodes.

You need a plugin like the PHP Execution plugin in order to introduce PHP in your posts.

– Eduan

Posted: Tuesday Nov 13th, 2012 at 6:57 pm #31502
Eduan
Username: Eduan
Moderator

Hello Mark,

1. PAYPAL BUTTONS: The shortcode that has been generated is not producing any visible buttons after placing it in my page editor.

This is most probably caused by a plugin/theme conflict, follow the instructions in this article in order to find out if this info is correct: Knowledge Base » Common Troubleshooting Tips

2. NAVIGATION PROBLEMS: Once the plugin is activated, much of the site’s navigation takes the user to the Membership Options Page…I don’t know why.

This is to be expected if the pages to which those menu entries lead to, are protected by s2Member.

Hope this helps. :)

Posted: Tuesday Nov 13th, 2012 at 6:55 pm #31501
Eduan
Username: Eduan
Moderator

Hello there,

Well this is possible, but not easy to do, you need a good understanding of WordPress, and hack this functionality in yourself.

In case you have a developer, you have to tell them the following (if he understands English), tell him that he needs to modify the theme in order to check what posts should be dripped, and only show those posts/pages.

P.S.: Your English is pretty good. :) Just one thing, it’s “whole”, not “hole”. ;)

– Eduan

Posted: Tuesday Nov 13th, 2012 at 6:46 pm #31499
Eduan
Username: Eduan
Moderator

OK, yes I was gonna suggest that next. Make sure you follow the instructions in this article fully (for finding conflicts):
Knowledge Base » Common Troubleshooting Tips

– Eduan

Posted: Tuesday Nov 13th, 2012 at 6:44 pm #31498
Eduan
Username: Eduan
Moderator

Well, basically you would take that piece of text that it gives you. And you would put it in the text field under Dashboard -› s2Member® -› API / Notifications -› Registration Notifications, the first one mind you.

– Eduan

Posted: Tuesday Nov 13th, 2012 at 6:43 pm #31497
Eduan
Username: Eduan
Moderator

That is correct Emily. The license is per website URL, and not serial key, the license only applies if the website is being used for selling, if it’s a test website to make sure everything works, it doesn’t count.

– Eduan

Posted: Tuesday Nov 13th, 2012 at 11:29 am #31452
Eduan
Username: Eduan
Moderator

Hello Brian,

Could you please put the following script in your main WordPress folder, and open it in a browser: http://www.s2member.com/r/server-check/

It should tell you if there’s anything wrong with your server, as the error suggests.

– Eduan

Posted: Tuesday Nov 13th, 2012 at 11:25 am #31451
Eduan
Username: Eduan
Moderator

Hello George,

Could you please show us what you’re supposed to put there? It doesn’t show up for some reason. Also, could you please tell us the full message? If possible take a screenshot, because WordPress shouldn’t be telling you to go to s2Member. ;)

– Eduan

Posted: Tuesday Nov 13th, 2012 at 10:09 am #31446
Eduan
Username: Eduan
Moderator

Hello Shayne,

With s2Member you can just protect certain sections of your website, even certain sections of your content itself. But you say s2Member locks down your entire website, have you checked the settings under Dashboard -› s2Member® -› Restriction Options -› URI Access Restrictions and made sure that you’re not protecting your entire website there?

– Eduan

Posted: Tuesday Nov 13th, 2012 at 9:29 am #31444
Eduan
Username: Eduan
Moderator

Not sure what else I can suggest. :/

I do suggest you use MailChimp if it works. (And cause I like it more, don’t really use it though. :P)

– Eduan

Posted: Tuesday Nov 13th, 2012 at 8:24 am #31440
Eduan
Username: Eduan
Moderator

OK, hope it does. ;)

Posted: Tuesday Nov 13th, 2012 at 8:20 am #31439
Eduan
Username: Eduan
Moderator

I compared the code against Bruce’s, and I noticed that you changed some things… Could you please try the original hack Bruce made, without the changes?

I suppose the following code is your own correct?

// hack to deliver paypal button with date based expiration
// no longer used now that club expires all memberships on 7/1
add_action("ws_plugin__s2member_before_sc_paypal_button", "s2_hacks_eot_by_date");
function s2_hacks_eot_by_date($vars = array()) {
	if ($vars["attr"]["expire"] && $vars["attr"]["cutoff"]) {
		$expire = strtotime($vars["attr"]["expire"] . "+1 day"); // Include all of the last day
		$cutoff = strtotime($vars["attr"]["cutoff"] . "+1 day"); // Include all of the last day
		$now = time();
		if($now > $cutoff) {
			$expire = strtotime(date("Y-m-d", $expire) . "+1 year"); // Add one year if after cutoff
		}
		$timeleft = $expire-$now;
		$daysleft = round((($timeleft/24)/60)/60) + 1; // Add one day to include the last day
		$vars["attr"]["rp"] = $daysleft; // Set the number of days
		$vars["attr"]["rt"] = "D"; // Set the rate term to days
		$vars["attr"]["custom"] .= "|" . date("Y-m-d", $expire); // Append computed EOT to the custom field
		unset($vars["attr"]["expire"]);
		unset($vars["attr"]["cutoff"]);
	}
	return;
}

– Eduan

Posted: Monday Nov 12th, 2012 at 9:38 pm #31405
Eduan
Username: Eduan
Moderator

Hello James,

Add the following to your wp-settings.php file:

define('WP_MEMORY_LIMIT', '32M');

You can follow the instructions here: http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

Hope this helps. :)

Posted: Monday Nov 12th, 2012 at 3:04 pm #31341
Eduan
Username: Eduan
Moderator

Hello Emily,

You’re correct, you can only use it on one live website at a time, but you can change the website it is affecting. Change that under Edit My Profile.

Hope this helps. :)

Posted: Monday Nov 12th, 2012 at 1:38 pm #31333
Eduan
Username: Eduan
Moderator

Hello Melissa,

You can check under Dashboard -› s2Member® -› General Options -› URL Shortening Service, you can change that to the Google shortener and see if that fixes it.

Hope this helps. :)

Viewing 25 replies - 1,576 through 1,600 (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.