Reply To: Redirect if user does not have the correct ccap

Untitled Forums General Redirect if user does not have the correct ccap Reply To: Redirect if user does not have the correct ccap

#386

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;
}

🙂