Results 1 to 10 of 22
-
22nd Oct 2011, 11:10 PM #1OPMember
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">
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: 5vBulletin-Mods.co.uk - vBulletin-Mods.co.uk is a global community dedicated to extending vBulletin and educating vBulletin users everywhere.
-
22nd Oct 2011, 11:18 PM #2
Thats because you forgot to use closing tag for that template </if>
-
22nd Oct 2011, 11:18 PM #3OPMember
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.
-
22nd Oct 2011, 11:20 PM #4
If the template is written properly then you wont get adding child to non-existent node! error i guarantee.
-
22nd Oct 2011, 11:25 PM #5OPMember
I was editting the navbar template, added that code and tried putting TEST between the condition and it didnt work.
-
22nd Oct 2011, 11:34 PM #6
Paste your navbar code here or put it in notepad document so i can download and so i can check it myself.
-
22nd Oct 2011, 11:35 PM #7OPMember
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.
-
22nd Oct 2011, 11:46 PM #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>
-
22nd Oct 2011, 11:48 PM #9OPMember
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.
-
22nd Oct 2011, 11:51 PM #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.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Show thanks count for each post on threadbit & forumdisplay
By itsHERO in forum vBulletinReplies: 5Last Post: 19th Nov 2011, 03:30 AM -
Post Count does not increase in same thread
By vorazeal in forum IP.BoardReplies: 9Last Post: 30th Nov 2010, 01:56 PM -
why post count shows 0 ?
By Mr.Bean in forum Feedback and SuggestionsReplies: 13Last Post: 3rd Nov 2010, 10:03 PM -
post count not increasing
By hdPARADOX in forum IntroductionsReplies: 4Last Post: 16th Oct 2010, 04:15 AM
themaCreator - create posts from...
Version 3.47 released. Open older version (or...