Hello, <div>I am re-posting my question as it seems to have been ignored due to be placed in</div><div>a thread of related topic started earlier by me. <br><div><br class="webkit-block-placeholder"></div><div>Summary: When I have AuthUser enabled, why does the following not work:
<span class="Apple-style-span" style="border-collapse: collapse; "></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; "> (:if authgroup @special:)this is special group(:if:)</span></div><div>
<span class="Apple-style-span" style="border-collapse: collapse;"><br class="webkit-block-placeholder"></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; ">Since group @special is not defined, it should not display "this is special group",
</span></div><div><span class="Apple-style-span" style="border-collapse: collapse;">but it does. </span></div><div><span class="Apple-style-span" style="border-collapse: collapse;"><br class="webkit-block-placeholder"></span>
</div><div><span class="Apple-style-span" style="border-collapse: collapse;">Details: </span></div><div><span class="Apple-style-span" style="border-collapse: collapse;"><br class="webkit-block-placeholder"></span></div><div>
<span class="Apple-style-span" style="border-collapse: collapse; ">Thank you (:if auth admin:) works well. <div>I tried to refine this and did some study of the online pmwiki doc, so</div><div>now got stuck with following example, which does not work;
</div><div><br></div><div>The doc says at: <a href="http://www.pmwiki.org/wiki/Cookbook/ConditionalMarkupSamples" target="_blank" style="color: rgb(0, 0, 204); ">http://www.pmwiki.org/wiki/Cookbook/ConditionalMarkupSamples
</a> </div><div><br></div><div><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; line-height: 19px; font: normal normal normal 18px/normal Arial; ">if authgroup</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 19px; font: normal normal normal 15px/normal Arial; ">
Displays following text only if the viewer is currently authenticated in the given group. (ie. logged in, and a member of the given authorization group) via optional AuthUser authentication scheme.</p><ul style="list-style-type: disc; ">
<li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; line-height: 19px; font: normal normal normal 13px/normal 'Andale Mono'; margin-left: 15px; "><span style="font: normal normal normal 15px/normal Arial; ">
Markup: </span>(:if authgroup @groupname:)<span style="font: normal normal normal 15px/normal Arial; "> or even </span>(if authgroup id:sally)</li><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; line-height: 19px; font: normal normal normal 13px/normal 'Andale Mono'; margin-left: 15px; ">
<span style="font: normal normal normal 15px/normal Arial; ">Definition: </span>$Conditions['authgroup'] = '$GLOBALS["AuthList"][$condparm] > 0';</li></ul><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 19px; font: normal normal normal 13px/normal 'Andale Mono'; min-height: 15px; ">
<br></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 19px; font: normal normal normal 13px/normal 'Andale Mono'; min-height: 15px; "><span style="font-family: arial; ">
<div>So I tried this example: </div><div><br></div><div><div><span style="font-size: 16px; white-space: pre-wrap; ">* %rel=nofollow%(:if authgroup @special:)this is special group(:if:)
</span></div><div><span style="font-size: 16px; white-space: pre-wrap; "><br></span></div><div><span style="font-size: 16px; white-space: pre-wrap; ">
<span style="font-family: arial; font-size: 13px; white-space: normal; "><div>I have no group named @special defined, but I have enabled AuthUser. </div><div>If I understand correctly, the text "this is special group" should not be displayed.
</div><div><br></div><div>What am I doing wrong: </div><div><br></div><div>Iannis Zannos</div><div><br></div></span></span></div></div></span></p></div></span></div></div>