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)

Platinum [JSI] 05-17-2002 09:50 PM

the $avatarimage bit isnt working for me, ive added the code to the index.php and added $avatarimage where i want it but i get no image, am i missing some code somewhere?

Admin 05-18-2002 06:20 AM

Where did you add $avatarimage?

ceo_tfw 05-27-2002 07:33 AM

works great on mine and thanks, I have a question?

I would like to have more user info on the main page (index page) like how many posts they have made, there awards, threads they have replied to and their posts made in that day,

can anyone help me

mrdave 06-26-2002 05:27 PM

Please help, the problem is in the new avatar.php

pharcyde 07-07-2002 12:35 AM

firefly, is there a script that will make it work with 2.2.6???

Admin 07-07-2002 02:11 PM

What error are you getting when trying to use it with 2.2.6?

pharcyde 07-07-2002 09:07 PM

the avatar wont show up at all... www.turbine7.com in the "aeternalis" skin and the others that use the welcome panel hack

iblis 07-21-2002 11:18 AM

Im using vbhome, anyone know how to add this to my index site?

Kuipo 11-03-2002 12:34 PM

Im useing an off site avatar hack too, so the url is stored in a field (field7)

i trid to change this:

Quote:

if ($bbuserinfo[userid]!=0) {
$avatarurl=getavatarurl($bbuserinfo[userid]);
if ($avatarurl=='') {
$avatarurl='images/avatars/noavatar.gif';
}
to this:

Quote:

if ($bbuserinfo[userid]!=0) {
$avatarurl=$bbuserinfo[field7];
if ($avatarurl=='') {
$avatarurl='images/avatars/noavatar.gif';
}
But it doesnt seem to be working, is there somthing im doing wrong?

Esdee 11-24-2002 11:37 AM

Hiya
I love your hack, but I have a huge problem with it.

I'm using Vb2.2.8 and the noavatar isn't showing. I just get a red X. The guestavatar works perfectly. I checked the path multiple times and it is correct.

Here's my code

Please help me, someone :(

Code:


if ($bbuserinfo[userid]!=0) {
  $avatarurl=getavatarurl($bbuserinfo[userid]);
  if ($avatarurl=='') {
  $avatarimage='<a href="usercp.php?s='.$session[sessionhash].'"><img src="images/avatars/noavatar.jpg" border="0"></a>';
  }
  $avatarimage='<img src="'.$avatarurl.'">';
} else {
  $avatarimage='<a href="register.php?s='.$session[sessionhash].'&action=signup"><img src="images/avatars/guestavatar.jpg" border="0"></a>';
}



All times are GMT. The time now is 09:42 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.01141 seconds
  • Memory Usage 1,734KB
  • 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_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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