Announcement

Collapse
No announcement yet.

How do I hide my actions as Admin from Mods and Super Mods

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

  • Cloud_Strife
    replied
    Originally posted by falconking View Post

    Still looking for a way to hide my actions as admin (pls see first post).
    Has anyone figured this one out?!
    Take this and you are ok! Admins can see all activity to Moderation Log, but Mods can only see Mods Log!
    Code:
    <if condition="is_member_of($bbuserinfo, 6)"><tr>
        <td class="$bgclass" nowrap="nowrap">$log[dateline]</td>
        <td class="$bgclass" nowrap="nowrap">$log[username]</td>
        <td class="$bgclass">$log[action]</td>
        <td class="$bgclass"><if condition="$log['postid']"><a href="showthread.php?$session[sessionurl]p=$log[postid]">$log[title]</a><else />&nbsp;</if></td>
        <if condition="$show['ipaddress']"><td class="$bgclass"><if condition="$log['ipaddress']"><a href="postings.php?$session[sessionurl]do=getip&amp;ip=$log[ipaddress]">$log[ipaddress]</a><else />&nbsp;</if></td></if>
    </tr></if>
    
    <if condition="is_member_of($bbuserinfo, 7)"><if condition="is_member_of($log, 7)"><tr>
        <td class="$bgclass" nowrap="nowrap">$log[dateline]</td>
        <td class="$bgclass" nowrap="nowrap">$log[username]</td>
        <td class="$bgclass">$log[action]</td>
        <td class="$bgclass"><if condition="$log['postid']"><a href="showthread.php?$session[sessionurl]p=$log[postid]">$log[title]</a><else />&nbsp;</if></td>
        <if condition="$show['ipaddress']"><td class="$bgclass"><if condition="$log['ipaddress']"><a href="postings.php?$session[sessionurl]do=getip&amp;ip=$log[ipaddress]">$log[ipaddress]</a><else />&nbsp;</if></td></if>
    </tr></if></if>

    Leave a comment:


  • falconking
    replied

    Still looking for a way to hide my actions as admin (pls see first post).
    Has anyone figured this one out?!

    Leave a comment:


  • falconking
    replied
    After heartily thanking you, I juss wanna say:

    Let's wait for someone else to come and save ... I mean, help us, my luv

    Leave a comment:


  • Gray Matter
    replied
    Then I'm afraid I have run out of ideas.

    Leave a comment:


  • falconking
    replied
    Same result

    Leave a comment:


  • Gray Matter
    replied
    This?

    Code:
    <if condition="is_member_of($log, 6)">
    <if condition="is_member_of($bbuserinfo, 6)">
    <tr>
        <td class="$bgclass" nowrap="nowrap">$log[dateline]</td>
        <td class="$bgclass" nowrap="nowrap">$log[username]</td>
        <td class="$bgclass">$log[action]</td>
        <td class="$bgclass"><if condition="$log['postid']"><a href="showthread.php?$session[sessionurl]p=$log[postid]">$log[title]</a><else />&nbsp;</if></td>
        <if condition="$show['ipaddress']"><td class="$bgclass"><if condition="$log['ipaddress']"><a href="postings.php?$session[sessionurl]do=getip&amp;ip=$log[ipaddress]">$log[ipaddress]</a><else />&nbsp;</if></td></if>
    </tr>
    </if>
    <else />
    <tr>
        <td class="$bgclass" nowrap="nowrap">$log[dateline]</td>
        <td class="$bgclass" nowrap="nowrap">$log[username]</td>
        <td class="$bgclass">$log[action]</td>
        <td class="$bgclass"><if condition="$log['postid']"><a href="showthread.php?$session[sessionurl]p=$log[postid]">$log[title]</a><else />&nbsp;</if></td>
        <if condition="$show['ipaddress']"><td class="$bgclass"><if condition="$log['ipaddress']"><a href="postings.php?$session[sessionurl]do=getip&amp;ip=$log[ipaddress]">$log[ipaddress]</a><else />&nbsp;</if></td></if>
    </tr>
    </if>

    Leave a comment:


  • falconking
    replied
    Now both of us can view everything .. looool

    Leave a comment:


  • Gray Matter
    replied
    Then I guess you could use this.

    Code:
    <if condition="is_member_of($log, 6) AND !is_member_of($bbuserinfo, 6)">
    <else />
    <tr>
        <td class="$bgclass" nowrap="nowrap">$log[dateline]</td>
        <td class="$bgclass" nowrap="nowrap">$log[username]</td>
        <td class="$bgclass">$log[action]</td>
        <td class="$bgclass"><if condition="$log['postid']"><a href="showthread.php?$session[sessionurl]p=$log[postid]">$log[title]</a><else />&nbsp;</if></td>
        <if condition="$show['ipaddress']"><td class="$bgclass"><if condition="$log['ipaddress']"><a href="postings.php?$session[sessionurl]do=getip&amp;ip=$log[ipaddress]">$log[ipaddress]</a><else />&nbsp;</if></td></if>
    </tr>
    </if>

    Leave a comment:


  • falconking
    replied
    Nopes neither of us now can view anything.

    Leave a comment:


  • Gray Matter
    replied
    Try this.

    Code:
    <if condition="is_member_of($log, 6)"><if condition="is_member_of($bbuserinfo, 6)"></if>
    <tr>
        <td class="$bgclass" nowrap="nowrap">$log[dateline]</td>
        <td class="$bgclass" nowrap="nowrap">$log[username]</td>
        <td class="$bgclass">$log[action]</td>
        <td class="$bgclass"><if condition="$log['postid']"><a href="showthread.php?$session[sessionurl]p=$log[postid]">$log[title]</a><else />&nbsp;</if></td>
        <if condition="$show['ipaddress']"><td class="$bgclass"><if condition="$log['ipaddress']"><a href="postings.php?$session[sessionurl]do=getip&amp;ip=$log[ipaddress]">$log[ipaddress]</a><else />&nbsp;</if></td></if>
    </tr>
    <if condition="is_member_of($log, 6)"></if></if>

    Leave a comment:


  • falconking
    replied
    After switching the numbers, I can view all, but they can't see anything at all (the 'Moderator Log' is collapsed and connot be opened)

    Leave a comment:


  • falconking
    replied
    It is 6.

    Gray, what I want is:

    1. Admin can view all activities
    2. SuperMods/Mods can view their own activities, but not Admin's activities

    I will try replacing the usergroup numbers and retest. Just a minute.

    Leave a comment:


  • Tigurius
    replied
    try replacing the 6 with 5,7 ... unless for some reason your admin group id is not 6

    Leave a comment:


  • falconking
    replied
    Originally posted by Tigurius View Post
    Gray Matter: Gah you beat me to it! I was about to post that too lol

    Leave a comment:


  • falconking
    replied
    Originally posted by Gray Matter View Post
    This should work, but hasn't been tested.

    Change your threadadmin_logbit template to this:

    Code:
    <if condition="!is_member_of($bbuserinfo, 6)"><if condition="!is_member_of($log, 6)"></if>
    <tr>
        <td class="$bgclass" nowrap="nowrap">$log[dateline]</td>
        <td class="$bgclass" nowrap="nowrap">$log[username]</td>
        <td class="$bgclass">$log[action]</td>
        <td class="$bgclass"><if condition="$log['postid']"><a href="showthread.php?$session[sessionurl]p=$log[postid]">$log[title]</a><else />&nbsp;</if></td>
        <if condition="$show['ipaddress']"><td class="$bgclass"><if condition="$log['ipaddress']"><a href="postings.php?$session[sessionurl]do=getip&amp;ip=$log[ipaddress]">$log[ipaddress]</a><else />&nbsp;</if></td></if>
    </tr>
    <if condition="!is_member_of($bbuserinfo, 6)"></if></if>
    Thanx Gray Matter I have just tested it, but guess what it worked the other way around; they (as Super Mods/Mods) can view my activites, while I (as Admin) can't ....... loool.

    Leave a comment:

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