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 (current_user_can("access_s2member_level1")){
header("address here");
} else {
header("address here");
} ?>
<?php if (current_user_can("access_s2member_level1")){
wp_redirect( a url() ); exit;
}else{
wp_redirect( another_url() ); exit;
} ?>
<?php
$redirect_url = "http://www.url.co.uk/?page_id=53" . S2MEMBER_CURRENT_USER_ACCESS_LEVEL === 1 . "/";
?>
<script type="text/javascript">
window.location = "<?php echo $redirect_url; ?>";
</script>
niallw wrote:I literally want to redirect, almost skip, the login welcome page if they have access level 1
I looked at the options for specific redirection url in the login welcome page. Surely this would solve the issue as it would direct to a specific page based on user level. Here is the url i typed in.
http://www.url.co.uk/?page_id=53/%%current_user_level%%/s2member_level1/
this didnt work either.
http://www.url.co.uk/?page_id=53/s2member_level%%current_user_level%%/
Users browsing this forum: Google [Bot] and 1 guest