Any idea why this works:<br><br>if (substr_count($pagename,'edit') <br>|| substr_count($pagename,'SiteAdmin') <br>|| substr_count($pagename,'Blog/NewBlogPage') <br>) { <br>$EnableAccessCode = false; <br>
} else { <br>## enter access code to write comment <br>$EnableAccessCode = true; <br>} <br><br>But if I use EnablePostCaptchaRequired instead of EnableAccessCode, it no longer works? (no longer works means it thinks I should be entering a code for all pages:<br>
<br clear="all">if (substr_count($pagename,'edit') <br>
|| substr_count($pagename,'SiteAdmin') <br>
|| substr_count($pagename,'Blog/NewBlogPage') <br>
) { <br>$EnablePostCaptchaRequired = 0; <br> } else { <br>
## enter access code to write comment <br>$EnablePostCaptchaRequired = 1; <br>}<br><br>This does work:<br><br>if (CondAuth($pagename,'edit') <br> { $EnablePostCaptchaRequired = 0; <br>} else { <br>## enter access code to write comment <br>
$EnablePostCaptchaRequired = 1; <br>} <br><br>But, I can't look at or edit SiteAdmin pages.<br><br>thanks,<br>maria<br>