vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Can I just have the Avatar show? (https://vborg.vbsupport.ru/showthread.php?t=256720)

RaceMediaGroup 01-07-2011 05:21 PM

Can I just have the Avatar show?
 
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.

Lynne 01-07-2011 06:41 PM

That is not a default option, no. You would need to edit all the templates to remove the username from showing.

RaceMediaGroup 01-07-2011 07:20 PM

What is all templates?

when I find the show username in each template the avatar will still show? correct?

Lynne 01-07-2011 09:52 PM

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.)

RaceMediaGroup 01-10-2011 04:32 PM

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"?

Lynne 01-10-2011 05:35 PM

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.

RaceMediaGroup 01-26-2011 03:18 PM

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.

Lynne 01-26-2011 03:43 PM

Advice still stands. You will want to go to any template that has the username and remove it.

RaceMediaGroup 01-26-2011 03:45 PM

What is the code to display the avatar?

Lynne 01-26-2011 04:11 PM

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}}" />


All times are GMT. The time now is 01:45 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02194 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete