That's the thing, I'm not using it. I'm asking you kindly if you could possibly point me in the right direction as to where I can find how to use it and how to impliment it into my PHP file. I've been through API and found nothing relevant in regard to what I'm looking for, and what I require.
I'm not a vBulletin expert, so I do require help from time to time. I'm a grunt, not a development engineer. I'm looking for the code that I would be required to write into my product to fetch a user's avatar to display inside the modification for each issue and reply posted. Nothing more, nothing less. So for example, if a user posted a support issue, I would write the following to display his/her relevant avatar if applicable:
PHP Code:
<if condition="$show['avatar']">
<a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$issue[ownerid]"><img src="$vboptions[bburl]/image.php?u=$issue[ownerid]" alt="Avatar" title="$issue[ownerusername]'s Avatar" border="0" /></a>
</if>
As I explained, the conditional <if condition="$show['avatar']"> doesn't appear to work in this modification. I find it strange because both 'member' and 'guest' conditionals function correctly inside the modification, so I don't quite understand why the 'avatar' conditional does not work. My first thought was 'Perhaps I need to write a table or something to fetch the user's avatar?' as if I cannot get conditionals to work, then I am unsure of other options.
So if anybody has any information as to why the 'avatar' conditional does not work, and how I can get it to function correctly, it would be greatly appreciated.