vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Avatar on homepage (https://vborg.vbsupport.ru/showthread.php?t=32560)

JTMON 12-06-2001 10:43 AM

Quote:

Originally posted by Airwaves


Yeah sorry, not being a PHP/HTML guru, I didnt realise until I made a test account.

Anyway, thanks for your help, I now have it sorted. :D

take a look at http://www.airwavescomms.co.uk/forums

Looking Good

VolsReport 12-06-2001 06:05 PM

Quote:

Originally posted by Lesane


Yes

Thanx...Ima add it now...

TechTalk 12-15-2001 10:03 PM

What if the user has uploaded their own avatar (goes into the customavatar table in DB) How can we make that show up?

Admin 12-16-2001 11:30 AM

[QUOTE]Originally posted by TechTalk
What if the user has uploaded their own avatar (goes into the customavatar table in DB) How can we make that show up?

TechTalk 12-16-2001 01:48 PM

It sure does :) I was having errors that were causing me problems.

A note to evryone else.... if you use this hack in global.php like I did your users will have problem uploading their avatar (real nasty error). I posted on it here:
http://www.vbulletin.com/forum/showt...threadid=35489

The only solution I could find was to change the variable names from "$avatarurl" and "$avatarimage" to "$theavatarimage" and "$theavatarurl"

Im not sure if the original variables were already in use by Vb or what, but it was causing me loads of problems.

zajako 04-01-2002 04:45 AM

umm is there anything simialr to make it so the profile fields can be used on teh index page. an ex is I want a custom field to be displayed under the avatar.

Admin 04-01-2002 05:03 AM

Just stick $bbuserinfo[field7] for example in the template.

zajako 04-01-2002 04:15 PM

ok, i tried that... but there is a problem.

if ($bbuserinfo[userid]!=0) {
$hpmax=getavatarurl($bbuserinfo[field7]);
if ($hpmax=='') {
$hpmax='0';
}

}

THe function for getavatarurl I know.
but what would be the get function used for field 7 and so on.
Right now it just ignores my variable for $hpmax

Admin 04-01-2002 04:21 PM

Huh? Why do try to get an avatar for the field7 as a userid? If you just want to display field7, stick $bbuserinfo[field7].

zajako 04-01-2002 05:44 PM

Quote:

Originally posted by FireFly
Just stick $bbuserinfo[field7] for example in the template.
you said stick into the template I though you meant the avatar templet you made.....

awesome it worked thanks so much.


All times are GMT. The time now is 06:15 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.01159 seconds
  • Memory Usage 1,733KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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