current activity

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lille L
    Member
    • Oct 2007
    • 88

    current activity

    Can I turn off this profile function? In case, where?
  • Colin F
    Senior Member
    • May 2004
    • 17689

    #2
    You'd need to remove the code that displays this from your MEMBERINFO template.

    Find and remove this code:
    Code:
                    <!-- current activity -->
                    <if condition="$prepared['lastactivitydate'] OR $prepared['action']">
                        <div class="alt2 smallfont block_row" id="activity_info">
                            <if condition="$prepared['lastactivitydate']">
                                <div id="last_online">
                                    <span class="shade">$vbphrase[last_activity]:</span> $prepared[lastactivitydate]<if condition="!$show['detailedtime']"> <span class="time">$prepared[lastactivitytime]</span></if>
                                </div>
                            </if>
                            <if condition="$prepared['action']">
                                <span class="shade">$vbphrase[current_activity]:</span> $prepared[action] $prepared[where]
                            </if>
                        </div>
                    </if>
                    <!-- / current activity -->
    Best Regards
    Colin Frei

    Please don't contact me per PM.

    Comment

    • Dr House
      New Member
      • Dec 2008
      • 23

      #3
      Can I turn it off only to user group?
      So I can left this useful funcion to my moderators.
      Thanks

      Comment

      • Dr House
        New Member
        • Dec 2008
        • 23

        #4
        Any suggestion?

        Comment

        • jmurrayhead
          Senior Member
          • Sep 2006
          • 1642

          #5
          Try adding this underneath "<!-- current activity -->":
          Code:
          <if condition="[B]bbuserinfo[/B][[B]usergroupid[/B]]!=1">
          Where 1 is the usergroupid you don't want to have access.

          Then, above "<!-- / current activity -->":
          Code:
          </if>
          No...No...Meester vBulletin, he no work right.

          Comment

          • jmurrayhead
            Senior Member
            • Sep 2006
            • 1642

            #6
            Better yet, that first line should be changed to:
            Code:
            <if condition="is_member_of($vbulletin->userinfo, 5, 6, 7)">
            This will allow all Admins, Super Mods and Mods view this information.
            No...No...Meester vBulletin, he no work right.

            Comment

            • Dr House
              New Member
              • Dec 2008
              • 23

              #7
              Thankyou!!!
              I'll try it.

              Comment

              • Dr House
                New Member
                • Dec 2008
                • 23

                #8
                I done. It works well!!!
                But it work better if I put that code under:
                <!-- / link bar -->

                But,
                do you know how hide also in:
                User > Statistic tab ?
                Thanks

                Comment

                • Theater
                  Senior Member
                  • Jun 2003
                  • 112

                  #9
                  Originally posted by Dr House
                  But,
                  do you know how hide also in:
                  User > Statistic tab ?
                  Thanks
                  Thank you for the thread. I just made this change to give my members a little more privacy amongst themselves. As far as the above question goes, I edited the memberinfo_block_statistics template too.

                  Comment

                  • Sheltie Nation
                    New Member
                    • Jun 2007
                    • 19
                    • 3.8.x

                    #10
                    Originally posted by Theater
                    Thank you for the thread. I just made this change to give my members a little more privacy amongst themselves. As far as the above question goes, I edited the memberinfo_block_statistics template too.
                    I know this is an old thread, but being a novice, I'm a tad lost on the last option.

                    Can someone clarify for me specificially how to modify the memberinfo_block_statistics template so that only mods, admins & super mods can see the current activity status in the user > statistics tab?

                    Thanks so much!

                    Comment

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