Announcement

Collapse
No announcement yet.

current activity

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

  • current activity

    Can I turn off this profile function? In case, where?

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


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

      Comment


      • #4
        Any suggestion?

        Comment


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


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


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

              Comment


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


                • #9
                  Originally posted by Dr House View Post
                  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


                  • #10
                    Originally posted by Theater View Post
                    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...
                    X