Announcement

Collapse
No announcement yet.

postcount not show for a single user

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

  • postcount not show for a single user

    how would i make a single users postcount not show ?
    Rebel Designs Studios

  • #2
    On what? The postbit?

    If you want don't want it on the postbit, edit the postbit or postbit_legacy and replace:

    Code:
    $vbphrase[posts]: $post[posts]
    With:

    Code:
    <if condition="$post['userid']!=USER ID">$vbphrase[posts]: $post[posts]</if>
    Bugdar: PHP bug tracking software that is beautiful, fast, and robust.

    Comment


    • #3
      duhhhhh Thank you sooo much.
      Rebel Designs Studios

      Comment


      • #4
        works great in the postbit but what about in the Users Profile ? ? what template do i edit for that
        Rebel Designs Studios

        Comment


        • #5
          You dont want it to show for the user? what varible is used in that template for all the other info?

          is it $user or $userinfo?

          Comment


          • #6
            NO, i dont want any of the members to see User"x"'s postcount
            Rebel Designs Studios

            Comment


            • #7
              ok i got it not to show in the users profile thru the MEMBERINFO template but theres one left i want to hide, the one on the memberslist page where it says POSTS
              Rebel Designs Studios

              Comment


              • #8
                Steve ? ? Jake ? ? Zac ? ? Anyone ?
                Rebel Designs Studios

                Comment


                • #9
                  Same idea
                  in memberlist_resultsbit
                  find

                  $userinfo[posts]

                  change to

                  <if condition="$userinfo[userid] != X">$userinfo[posts]</if>

                  Comment


                  • #10
                    PERFECT thanks, i must have been editing the wrong thing earlier cuz i know i edited the resultbit template earlier

                    THANKS ZAC

                    oh BTW can you take a look at mey other HELP URGENT thread
                    Rebel Designs Studios

                    Comment

                    Loading...
                    Working...
                    X