vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Help ! i want to add an extra avatar under user name (https://vborg.vbsupport.ru/showthread.php?t=137647)

V-S 01-27-2007 09:18 AM

Help ! i want to add an extra avatar under user name
 
Hi everyone


I`ve been browsing this site for a while and its been a real big help but i`m now stuck...

I`m running vb 3.5.7 and what i`m trying to do is .

where you have the user name on the left handside below that you have the user rank title and then the user set avatar

i want to add an extra avatar below the user name and still keep the user rank title so the order it will run in is

Username
New avatar
rank title
existing avatar
and under that the usual stuff thats already there such as location and posts which i want to keep as it is

can anyone please help me

Thanks :up:

Forgot to mention this is to be used only for one user group if it makes any difference

KingPuyol 01-27-2007 03:18 PM

Create a new user profile field.

Select Single-Line Text Box.

Call it for example HONOURS, or something if for giving medals to your users.
After that, note the FIELD NUMBER.

Then go to Postbit or Postbit_legacy, and find:
Code:

                        <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
After that add:
Code:

                                <if condition="$post[fieldX] != ''"><div>
                                <img src="$post[fieldX]">
                                </div></if>

Or place it wherever you want.

NOTE: Replace X with the profile field number.

V-S 01-27-2007 04:09 PM

cheers kingpuyol :D


All times are GMT. The time now is 05:26 AM.

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.01859 seconds
  • Memory Usage 1,709KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete