Announcement

Collapse
No announcement yet.

Number of Posts

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

  • Number of Posts

    Hi there,

    I made a template set where, when you've logged in, it shows your Name, the number of posts you have and what time it is on the index.php page.

    Everything works fine EXECPT for the number of posts you have. Does anyone know what I should do?

    If I sound like someone who doesn't know what they are doing, that's becuase that's what I am. If this post confused you, go to my site (here) and log in as "Test" with password "testing" and you'll see what I mean (hopefully).

    Thanks for your help.
    - James
    http://forums.smaaash.com

  • #2
    Use this variable:

    $userinfo[posts]
    Email: [email protected]
    Site: Under Construction

    Comment


    • #3
      $post[posts]

      Make sure u got that code...I got it from postbit...

      Comment


      • #4
        Thanks, but neither of those seemed to work.
        - James
        http://forums.smaaash.com

        Comment


        • #5
          Thats is posts on the whole board.

          I think ja5es wants it for individual user stats.
          Email: [email protected]
          Site: Under Construction

          Comment


          • #6
            Yeah! I want it to display how many posts YOU have.
            - James
            http://forums.smaaash.com

            Comment


            • #7
              You added it to the template or php file ?

              Put it in the template.
              Email: [email protected]
              Site: Under Construction

              Comment


              • #8
                It is in the template.
                - James
                http://forums.smaaash.com

                Comment


                • #9
                  Ask over at vbulletin.org.

                  I am not sure why this isnt working
                  Email: [email protected]
                  Site: Under Construction

                  Comment


                  • #10
                    Ok I will. But if anyone knows how to do this without hacking, please reply to this thread. THanks everyone!
                    - James
                    http://forums.smaaash.com

                    Comment


                    • #11
                      best to ask at vbulletin.org or do a search over there someone may already have asked
                      :: Always Back Up Forum Database + Attachments BEFORE upgrading !
                      :: Nginx SPDY SSL - World Flags Demo [video results]
                      :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

                      Comment


                      • #12
                        Originally posted by eva2000
                        best to ask at vbulletin.org or do a search over there someone may already have asked
                        Eva, pointless post again isnt it ?
                        Email: [email protected]
                        Site: Under Construction

                        Comment


                        • #13
                          Well, I asked over at vbulletin.org and it's just been ignored. I know it's possible, becuase I've seen it done before! This is driving me nuts.
                          - James
                          http://forums.smaaash.com

                          Comment


                          • #14
                            Try $bbuserinfo[posts] or $bbuserinfo[user].

                            Comment


                            • #15
                              $bbuserinfo[posts] did the trick! Thanks a million Codename!
                              - James
                              http://forums.smaaash.com

                              Comment

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