
Originally Posted by
Pokemon Trainer Sarah
It would probably have to be an admin-only field and if you wanted it updated you would need to ask,
Can be done by modifying the postbit_legacy template. Only thing I can get off the top of my head (lol).
I'm sure one could make a modification to make it simpler but I have no idea how to do that.
Here's how you'd do that for this forums though...
In template "postbit_legacy",
FIND:
Code:
{vb:raw post.onlinestatus}
Add underneath:
Code:
<vb:if condition="$post['userid'] == X"><img src="IMAGE URL HERE" /></vb:if>
By doing this and replacing X with the userid of whomever requested the pokemon in their name and "IMAGE URL HERE" with the small sprite url, it'd add the image next to their name(and only their name in posts), after the online status. If you want the icon to be to the left, before the online status, put it before the post.onlinestatus code.
If you want to add multiple people (which will most definitely happen), just add the image code again right underneath the first one and assign the userid/image to the code as you did the first, to meet the request of the other user.
@Pokemon Trainer Sarah
Bookmarks