$infractionbits - PRIORITARE!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Luggruff
    Senior Member
    • Apr 2005
    • 206
    • 3.6.x

    $infractionbits - PRIORITARE!

    HOW can I change the "posted by" username in the userprofile?
    Currently it shows the moderator that gave the infraction's username!

    I want to be able to view it through the admin CP, though I DON'T want my users to know who warned them!
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    The infraction records on the profile pages are only viewable to moderators and admins. Try logging in with a regular user to confirm this.

    Comment

    • Luggruff
      Senior Member
      • Apr 2005
      • 206
      • 3.6.x

      #3
      I had missing parts in the template since I updated to 3.6 and so I simply updated it to the new template for 3.6.. and well, yes I can see my own infractions (on my testaccount.. that is nothing more or less than a regular user)

      So now, the templatebit looks like this (to keep my users to view their own infractions.. as the infractioninflictor is shown to my users)

      PHP Code:
      <!--



      <if 
      condition="$show['infractions']">
      <!-- 
      infractions row -->
      <
      table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
      <
      tr>
          <
      td class="tcat" colspan="$colspan"><span style="float:$stylevar[right]class="smallfont"><phrase 1="$userinfo[ipoints]">$vbphrase[x_points_total]</phrase>&nbsp; &nbsp;</span>$vbphrase[infractions]</td>
      </
      tr>
      <
      tr>
         <
      td class="thead" colspan="2">&nbsp; &nbsp;$vbphrase[post]</td>
         <
      td class="thead">$vbphrase[date]</td>
         <
      td class="thead">$vbphrase[expires]</td>
         <
      td class="thead">$vbphrase[points]</td>
         <
      td class="thead">$vbphrase[reason]</td>
         <
      td class="thead" nowrap="nowrap">$vbphrase[posted_by]</td></td>
         <if 
      condition="$show['reverse']"><td class="thead">$vbphrase[details]</td></if>
      $infractionbits
      </table>
      <if 
      condition="$pagenav">
      <
      table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
      <
      tr valign="bottom">
          <
      td align="$stylevar[right]">$pagenav</td>
      </
      tr>
      </
      table>
      </if>
      <!-- / 
      infractions row -->
      <
      br />
      </if>


      --> 
      ..and yes, obviously I'm talking about the MEMBERINFO template.

      Comment

      • Luggruff
        Senior Member
        • Apr 2005
        • 206
        • 3.6.x

        #4
        *bump!!*

        Comment

        • Gomjaba
          Senior Member
          • Jan 2005
          • 970
          • 3.5.x

          #5
          Originally posted by Jake Bunce
          The infraction records on the profile pages are only viewable to moderators and admins. Try logging in with a regular user to confirm this.
          I'm not under the alkafluence of inkahol like some thinkle peep I am!

          Comment

          • Luggruff
            Senior Member
            • Apr 2005
            • 206
            • 3.6.x

            #6
            Originally posted by utw-mephisto
            And you are what? Slow?

            The only thing that keeps my users from viewing the infractionbits is a hide tag.. and that's a fact.

            Do you really think I would have answered what I answered.. if it was wrong and hadn't tested it out?

            Comment

            • Luggruff
              Senior Member
              • Apr 2005
              • 206
              • 3.6.x

              #7
              Ok seriously, BUMP!

              Comment

              • Jake Bunce
                Senior Member
                • Dec 2000
                • 46598
                • 3.6.x

                #8
                Are you still having a problem with this? What exactly is the problem?

                Comment

                • Luggruff
                  Senior Member
                  • Apr 2005
                  • 206
                  • 3.6.x

                  #9
                  I thought I pretty much made it clear when I said:
                  On the user profile, each user can view their infractions, but they can also view who warned them in the right column.
                  I tried to change it, though that whole bit was inside $infractionbits, and I don't have a clue where to find $infractionbits or what to replace the neccessary code with =\

                  Please check this print:


                  Simply, again, I just want out moderators to be anonymous right here, and anywhere else the infractions might be shown to the users of our forum (and if there are any other places, please tell me)

                  Because as of for now, I just hide this whole table, and that's not right to the users.. not being able to view their infractions =\

                  Comment

                  • Jake Bunce
                    Senior Member
                    • Dec 2000
                    • 46598
                    • 3.6.x

                    #10
                    Admin CP -> Styles & Templates -> Style Manager -> « » -> User Infraction Templates -> userinfraction_infobit

                    Remove the red code near the bottom:

                    Code:
                    	<td class="alt2"><span class="smallfont">$infraction[points]</span></td>
                    	<td class="alt1" width="50%"><span class="smallfont">$infraction[reason]</span></td>
                    	<td class="alt2">[color=red]<a class="smallfont" href="member.php?$session[sessionurl]u=$infraction[whoadded]">$infraction[username]</a>[/color]</td>
                    	<if condition="$show['reverse']"><td class="alt1"><span class="smallfont"><a href="infraction.php?$session[sessionurl]do=view&amp;infractionid=$infraction[infractionid]">$vbphrase[view]</a></span></td></if>
                    </tr>

                    Comment

                    • Luggruff
                      Senior Member
                      • Apr 2005
                      • 206
                      • 3.6.x

                      #11
                      Love to the bouncy jake ^^

                      Comment

                      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                      Working...
                      😀
                      😂
                      🥰
                      😘
                      🤢
                      😎
                      😞
                      😡
                      👍
                      👎