![]() |
Quote:
|
Quote:
|
What if the user has uploaded their own avatar (goes into the customavatar table in DB) How can we make that show up?
|
[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? |
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. |
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.
|
Just stick $bbuserinfo[field7] for example in the template.
|
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 |
Huh? Why do try to get an avatar for the field7 as a userid? If you just want to display field7, stick $bbuserinfo[field7].
|
Quote:
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|