![]() |
$userinfo[posts] conditional does not work
Some members would not like to display the large number of posts they have. So what I would like to do is show something like "Total Posts: >1000" to those that have more then 1000 posts.
In the MEMBERINFO template I found the area that displays the Total Posts and proceeded to add this conditional in front of it. <if condition="$userinfo[posts] <= 1000"> but this does not work. Code:
<if condition="$userinfo[posts] <= 1000"> |
try: $bbuserinfo[posts] or $bbuserinfo['posts']
|
Hi Steve,
I tried both of those and it still does not work. |
Trying moving your '=' like so
Code:
= < |
That gives me this error message...
"The following error occurred when attempting to evaluate this template:" etc... |
Andy, your conditional in post1 worked fine on my 3.5.3 board. Are you looking at the same style corresponding to the MEMBERINFO template you are editing?
|
Thank you calorie, I appreciate you checking this for me.
I'm still running vBulletin Version 3.5.0 Release Candidate 2, perhaps that is the problem and I need to upgrade. |
Deffinitely need to upgrade.
|
Quote:
|
All times are GMT. The time now is 11:25 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|