prema wrote:
Thats Great!!
One more doubt.
Can we get these restricted IDs after a s2Member login ?
Coz, Before logging in its working fine, didnt give any output after login.
Statistics: Posted by Jason Caldwell — March 26th, 2011, 9:36 pm
Statistics: Posted by prema — March 26th, 2011, 7:03 am
<?php
$protected_level1_posts_array = preg_split ("/[\r\n\t\s;,]+/", $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["level1_posts"]);
$protected_level1_pages_array = preg_split ("/[\r\n\t\s;,]+/", $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["level1_pages"]);
$protected_level1_posts_pages_array = array_merge ($protected_level1_posts_array, $protected_level1_pages_array);
$my_protected_ids = $protected_level1_posts_pages_array;
?>
Statistics: Posted by Jason Caldwell — March 26th, 2011, 4:09 am
Statistics: Posted by prema — March 25th, 2011, 6:28 am
$my_protected_ids = array(123,345,456,567);
Statistics: Posted by Cristián Lávaque — March 25th, 2011, 12:11 am
Statistics: Posted by prema — March 24th, 2011, 3:51 am
Statistics: Posted by Cristián Lávaque — March 23rd, 2011, 9:01 pm
Statistics: Posted by prema — March 23rd, 2011, 10:43 am