I’m trying to customize the template where the avatar is shown. I’m able to overwrite many other templates, but for some reason post/poster-avatar.raw doesn’t work for me.
I tried e.g. the following code and tried to add it in “before /head” and in “header” and it simply doesn’t appear.
I would also like to add some text to the template where the username, full name and usergroup is displayed but can’t find the correct template, could someone point me into the right direction?
You can add text below avatars pretty easily, at least (no plugin outlet required). There’s an empty div poster-avatar-extra right underneath avatars, just use that with some CSS.
The first bit is because the poster-avatar-extra div has display: none by default. Just style it up with some more CSS and you’re good to go.
Oh, I’ll go ahead and put this here as well. If you want to use groups to decide what text goes under the avatar (wrapping the above in .group-GroupName{}, needs to be user’s primary group to show up), you’ll want to toss this in as well (or something else to handle the issue):
The embedded posts’ poster-avatar-extra (from the reply indicator expansion) has the same group membership as the main post, which means the text below the avatars will be applied incorrectly if you’re doing it by group. Only caveat I can think of off the top of my head, though.