PriMoThemes — now s2Member® (official notice)
This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™
<?php
if (!isset($_GET['s2member_level_required'])) {
// Message for someone that didn't arrive from a restricted page, maybe came clicking the link to the Membership Options Page in the navigation.
} elseif ($_GET['s2member_level_required'] === '0') {
// Ask him to create a free account.
} elseif ($_GET['s2member_level_required'] === '1') {
// Ask him to get a paid account. If he already has a free account, have him login first so he upgrades it.
}
?>
<?php if (!isset($_GET['s2member_level_required'])) { ?>
Message for someone that didn't arrive from a restricted page, maybe came clicking the link to the Membership Options Page in the navigation.
<?php } elseif ($_GET['s2member_level_required'] === '0') { ?>
Ask him to create a free account.
<?php } elseif ($_GET['s2member_level_required'] === '1') { ?>
Ask him to get a paid account. If he already has a free account, have him login first so he upgrades it.
<?php } ?>
rwilki wrote:is there any way people can know which level protected link they just clicked?
Users browsing this forum: Google [Bot], Yahoo [Bot] and 0 guests