Announcement

Collapse
No announcement yet.

Conditionals is it moderator?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Conditionals is it moderator?

    hello,
    on template (forumdisplay) i would like to show some special text to the moderator of that forum (just to moderator of that forum (not all moderators group),

    i try ..
    <if condition="$show['adminoptions'">
    ABC TEXT

    it worked as i see ,, so is that right ? or there is something more accurate ?

    Regards,

  • #2
    Originally posted by Dr_HUS View Post
    hello,
    on template (forumdisplay) i would like to show some special text to the moderator of that forum (just to moderator of that forum (not all moderators group),

    i try ..
    <if condition="$show['adminoptions'">
    ABC TEXT

    it worked as i see ,, so is that right ? or there is something more accurate ?

    Regards,
    That condiotional will not work it should be

    Code:
    <if condition="$show['adminoptions']">
    .........
    </f>
    and

    Code:
    <if condition="can_moderate($forum['forumid'])">
     
    ........
     
    <else />
     
    ........
     
    </if>
    i think it will work
    Last edited by DelphiVillage; Mon 6 Aug '07, 6:42am.

    Comment


    • #3
      thank you dear DelphiVillage,
      I'll try it now..

      Regards

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X