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,676 through 1,700 (of 3,367 total)
Author Replies
Author Replies
Posted: Monday Oct 29th, 2012 at 10:17 am #30017
Eduan
Username: Eduan
Moderator

Ah I see, well glad you solved the problem. :)

Posted: Sunday Oct 28th, 2012 at 8:00 pm #29987
Eduan
Username: Eduan
Moderator

Hello Riccardo,

For that you would go to your Edit My Profile page, and update your profile, and save the changes.

Hope this helps. :)

Posted: Sunday Oct 28th, 2012 at 6:37 pm #29982
Eduan
Username: Eduan
Moderator

What was the problem? If you don’t mind sharing for future reference. :)

Posted: Sunday Oct 28th, 2012 at 4:16 pm #29971
Eduan
Username: Eduan
Moderator

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

Posted: Sunday Oct 28th, 2012 at 1:38 pm #29968
Eduan
Username: Eduan
Moderator

Hello Paddy,

The s2Member level 0 is actually the WordPress subscriber role, so you just need to assign a user the subscriber role and he will be an s2Member level 0.

Hope this helps. :)

Posted: Sunday Oct 28th, 2012 at 1:17 pm #29966
Eduan
Username: Eduan
Moderator

No problem, glad I was able to help. :)

Posted: Sunday Oct 28th, 2012 at 11:19 am #29963
Eduan
Username: Eduan
Moderator

Hello Geoffrey,

Have you made sure that you are logged out of your admin account when you tested it?

– Eduan

Posted: Saturday Oct 27th, 2012 at 4:00 pm #29932
Eduan
Username: Eduan
Moderator

Hello there,

That is because when s2Member gets updated those hacks get re-written. Basically you just gotta hack it again. :)

Hope this helps,
Eduan

Posted: Saturday Oct 27th, 2012 at 11:49 am #29925
Eduan
Username: Eduan
Moderator

Great! Glad I was able to help. :)

Posted: Saturday Oct 27th, 2012 at 9:23 am #29920
Eduan
Username: Eduan
Moderator

Hello Leonardo,

By default this is not possible with the free version of s2Member, you would have to code this change in yourself, and I’m not sure where.

The pro version however, allows you to make this return page absolutely any page you want, it could be an entirely different website if you want. It would be the success attribute when you use the pro version.

Hope this helps. :)

Posted: Saturday Oct 27th, 2012 at 9:07 am #29919
Eduan
Username: Eduan
Moderator

No problem, glad I was able to help. :)

Posted: Friday Oct 26th, 2012 at 10:41 pm #29887
Eduan
Username: Eduan
Moderator

Hello David,

You can easily achieve this s2Member conditionals. Here’s an article about them: Knowledge Base » s2Member® Conditionals

Hope this helps. :)

Posted: Friday Oct 26th, 2012 at 8:41 pm #29884
Eduan
Username: Eduan
Moderator

Hello Tobias,

Check out this article on how to achieve that you mention:
Knowledge Base » Force Terms & Conditions agreement

Hope this helps. :)

Posted: Friday Oct 26th, 2012 at 8:38 pm #29883
Eduan
Username: Eduan
Moderator

No problem, glad I was able to help. :)

Posted: Friday Oct 26th, 2012 at 6:42 pm #29880
Eduan
Username: Eduan
Moderator

Glad I was able to help Deb. :)

Posted: Friday Oct 26th, 2012 at 6:41 pm #29879
Eduan
Username: Eduan
Moderator

No problem. :)

Posted: Friday Oct 26th, 2012 at 5:16 pm #29875
Eduan
Username: Eduan
Moderator

Try this, see if it achieves what you want, or what Raam meant:

<?php if (S2MEMBER_CURRENT_USER_IS_LOGGED_IN || get_the_ID() == 532 || get_the_ID() == 253) { ?>
	<?php get_header(); ?>

		<div id="main">
			<?php do_action('bp_before_blog_page') ?>
			<?php load_template(TEMPLATEPATH . '/includes/loop.php') ?>
			<?php do_action('bp_after_blog_page') ?>
		</div><!-- #main -->

	<?php if (!isset($_GET['w-iframe'])) get_sidebar('page'); ?>

	<?php get_footer(); ?>
<?php } else { ?>
	<!-- If user is not logged in AND the page id is not 532 or 253, then redirect somewhere else: -->
	<script type="text/javascript">
	<!--
	window.location = "http://example.com/membership-options-page/";
	//-->
	</script>
<?php } ?>

– Eduan

Posted: Friday Oct 26th, 2012 at 11:17 am #29795
Eduan
Username: Eduan
Moderator

Hello Aleksander,

Check my answer to your other post:
http://www.s2member.com/forums/topic/create-an-exception-of-an-uri-restriction/#post-29793

I believe this is supposed to be inserted in your theme’s page.php file, not sure how that file would look since I haven’t worked with any themes. Could it be possible that you post your current theme’s page.php file?

– Eduan

Posted: Friday Oct 26th, 2012 at 10:50 am #29793
Eduan
Username: Eduan
Moderator

Hello Aleksander,

I believe this has been said to Jason before, and I believe it is in the to-do list. Don’t take my word for it though. ;)

– Eduan

Posted: Friday Oct 26th, 2012 at 10:30 am #29790
Eduan
Username: Eduan
Moderator

Hello Natalie,

This is not possible with s2Member by default. You will need to modify s2Member to work with your needs. You would need some coding experience however.

You can hire a freelancer over at jobs.wordpress.net or elance.com see if they can implement this for you.

Hope this helps. :)

Posted: Thursday Oct 25th, 2012 at 10:49 pm #29730
Eduan
Username: Eduan
Moderator

Debbie, your status is set as Customer again, so you can now post in the customer support forums. :)

– Eduan

Posted: Thursday Oct 25th, 2012 at 10:47 pm #29729
Eduan
Username: Eduan
Moderator

Hello Tobias,

This is definitely a CSS problem introduced by your theme or another plugin that conflicts with s2Member (and probably the rest of WordPress, since s2Member doesn’t touch that part of WordPress as far as I am aware).

To test your theme simply change it back to the default WordPress theme (TwentyEleven), unless you are already using TwentyEleven as your theme.

Next, to test your plugins simply disable all your plugins except s2Member, and see if the problem goes away. If it does go away, then reactivate them one-by-one until the problem appears again, and there’s your culprit.

If any of these tests solve the problem, then you know who the culprit is. :)

Hope this helps. :)

Posted: Thursday Oct 25th, 2012 at 8:28 pm #29721
Eduan
Username: Eduan
Moderator

Hmm… I’m out of ideas. :/

Posted: Thursday Oct 25th, 2012 at 5:57 pm #29708
Eduan
Username: Eduan
Moderator

I suggest doing the following:

The HTML file with the content that you want to protect should be called “name-of-html-file.php“.

The contents of that file should be:

<!DOCTYPE html>
<html>
<head>
	<!-- Your HTML head content goes here, no PHP goes here -->
</head>
<body>
<?php
include_once "wp-load.php";

if (current_user_can("access_s2member_level1")) {
?>

ALL OF YOUR HTML GOES HERE, ALL YOUR CONTENT THAT YOU WANT TO PROTECT GOES HERE.

<?php
} else
	exit("Permission denied");
?>
</body>
</html>

And that’s it, you don’t need to use iFrames, just put a link directly to the file.

If you’re afraid that users will be able to download the file, then simply use s2Member’s download restrictions. Here are some videos about them: Video » s2Member® File Downloads (Complete Series)

Hope this helps. :)

Posted: Thursday Oct 25th, 2012 at 5:47 pm #29707
Eduan
Username: Eduan
Moderator

Did you check your spam folder Stan?

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