Reply To: Redirect if user does not have the correct ccap
› Forums › General › Redirect if user does not have the correct ccap › Reply To: Redirect if user does not have the correct ccap
2015-11-12 at 22:31
#386
Cristián Lávaque
Keymaster
Thanks!
Okay, I wrote a new simpler one, and tested it to confirm it works.
http://s2member.net/?_s2member_vars=ccap..ccap..element..page..4286
<?php
if (!empty($_REQUEST['_s2member_vars']) && strpos($_REQUEST['_s2member_vars'], 'ccap..ccap..element') !== false) {
header('Location: http://scrapbookcampus.com/creative-scrap/creative-scrap-register/');
exit;
}
🙂