The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi,
this should be simple for someone who-know-how. We would like to have blog img under avatars instead of Blogs #. Blue IMG should be under avatars of users who have more than 0 blogs. Grey IMG should be under avatars of users who have 0 blogs. |
|
#2
|
|||
|
|||
|
I don't know what the variable is for number of blogs but you can use an if condition in the postbit(_legacy) template. It would go something like:
Code:
<if condition="$post[blogs]">
<img src="path/to/blue/img.gif" alt="$post[username] has $post[blogs] blogs" />
<else />
<img src="path/to/grey/img.gif" alt="$post[username] has no blogs" />
</if>
|
|
#3
|
|||
|
|||
|
Hi, thanks for posting. However it seems if $post[blogs] is not correct variable, as it write below all avatars Users has no post.
|
|
#4
|
|||
|
|||
|
Anyone?
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|