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

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

    From 'Edit Thread', which leads to 'Moderateor Log', it is possible for Super Mods and Mods to view my actions as Admin (see attached example).

    Is there a cP tweak somewhere to prevent them from viewing what I do?
    Attached Files

  • #2
    are you logged in as a moderator?? As I don't see this option at all on my test moderator account on my site... maybe i'm just blind.

    Comment


    • #3
      I am logged in as Admin, but Mods and Super Mods can also access this info from 'Edit Thread'. Just go to any thread you have modified then from 'Thread Tools', choose 'Edit Thread' .. scroll down and you will see a log of the activities performed on the thread, as seen in the above attached pic.

      Comment


      • #4
        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>
        Twitter

        Comment


        • #5
          Gray Matter: Gah you beat me to it! I was about to post that too lol

          Comment


          • #6
            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.

            Comment


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

              Comment


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

                Comment


                • #9
                  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.

                  Comment


                  • #10
                    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)

                    Comment


                    • #11
                      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>
                      Twitter

                      Comment


                      • #12
                        Nopes neither of us now can view anything.

                        Comment


                        • #13
                          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>
                          Twitter

                          Comment


                          • #14
                            Now both of us can view everything .. looool

                            Comment


                            • #15
                              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>
                              Twitter

                              Comment

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