Activity Stream
48,167 MEMBERS
62046 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 3 123 LastLast
Results 1 to 10 of 22
  1.     
    #1
    Member

    Default User Post Count

    I'm looking for a way to use an if condition on my forumhome page which uses post count. I want to display certain messages for members with different post counts.

    Example

    User A has 10 posts, he see message one.
    User B has 100 posts, he sees message two.

    I tried using this:

    Code: 
    <if condition="$bbuserinfo['posts'] > 10">
    But it said soemthing like: adding child to non-existent node!


    Anyone know how to incorporate a users post count on pages?
    Tempus Reviewed by Tempus on . User Post Count I'm looking for a way to use an if condition on my forumhome page which uses post count. I want to display certain messages for members with different post counts. Example User A has 10 posts, he see message one. User B has 100 posts, he sees message two. I tried using this: <if condition="$bbuserinfo > 10">But it said soemthing like: adding child to non-existent node! Rating: 5
    vBulletin-Mods.co.uk - vBulletin-Mods.co.uk is a global community dedicated to extending vBulletin and educating vBulletin users everywhere.

  2.   Sponsored Links

  3.     
    #2
    Thats because you forgot to use closing tag for that template </if>

  4.     
    #3
    Member
    I know that lol. In my template I did add it. I was just being quick and posting the actual condition lol
    vBulletin-Mods.co.uk - vBulletin-Mods.co.uk is a global community dedicated to extending vBulletin and educating vBulletin users everywhere.

  5.     
    #4
    If the template is written properly then you wont get adding child to non-existent node! error i guarantee.

  6.     
    #5
    Member
    I was editting the navbar template, added that code and tried putting TEST between the condition and it didnt work.

  7.     
    #6
    Paste your navbar code here or put it in notepad document so i can download and so i can check it myself.

  8.     
    #7
    Member
    Its never been altered. Its standard vb navbar but with my condition.

    Just add my condition and type test between. Save and see for yourself.

  9.     
    #8
    OMG i just saw it i though you wrote it well ofcourse it wont work it should be different but i cant find it right now trust me, try something like this:
    Code: 
    <if condition="$bbuserinfo['posts'] == 10">  </if>

  10.     
    #9
    Member
    What should be different? Is there a condition for it?

    I know you can do it via notices but cant find the code that uses either.

  11.     
    #10
    Your conditional is tottaly wrong and thats why your getting that error, depends on what you need because there are different modifications regarding user require xx posts to do something.

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 19th Nov 2011, 03:30 AM
  2. Post Count does not increase in same thread
    By vorazeal in forum IP.Board
    Replies: 9
    Last Post: 30th Nov 2010, 01:56 PM
  3. why post count shows 0 ?
    By Mr.Bean in forum Feedback and Suggestions
    Replies: 13
    Last Post: 3rd Nov 2010, 10:03 PM
  4. post count not increasing
    By hdPARADOX in forum Introductions
    Replies: 4
    Last Post: 16th Oct 2010, 04:15 AM

Tags for this Thread

BE SOCIAL