The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Can I just have the Avatar show?
Can I just have the Avatar show instead of a username? I'm looking to have my new forum with avatars for each member shown instead of a username where no other member can know who that person is.... Please help and thank you. |
#2
|
||||
|
||||
![]()
That is not a default option, no. You would need to edit all the templates to remove the username from showing.
|
#3
|
|||
|
|||
![]()
What is all templates?
when I find the show username in each template the avatar will still show? correct? |
#4
|
||||
|
||||
![]()
Which templates? I don't know - I don't want to go through all the pages to find them. You can find the template by doing this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)
|
#5
|
|||
|
|||
![]()
So everytime I see 'postusername'
Is that were I need to delete so the username doesn't show up on certain templates? is there such thing as "postavatar"? |
#6
|
||||
|
||||
![]()
postusername is only going to be used in posts. It will have a different name on profile pages. I think you will want to go to the pages you want to remove the avatar from and then find the template and edit it. I would not just randomly start removing code from any template that has "postusername" (or similar) in it.
|
#7
|
|||
|
|||
![]()
I don't want to remove the avatar. I only want the avatar to show where any username is exposed. then I want to entirely remove the username from the public. So basically the Avatar is their username.
|
#8
|
||||
|
||||
![]()
Advice still stands. You will want to go to any template that has the username and remove it.
|
#9
|
|||
|
|||
![]()
What is the code to display the avatar?
|
#10
|
||||
|
||||
![]()
What do you mean "what is the code to display the avatar"? The actual code? You can look up the function fetch_avatar_from_userinfo in the API. Or do you mean the html in the templates? In the postbit, it is this:
HTML Code:
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|