vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   similar to vbulletin.org (https://vborg.vbsupport.ru/showthread.php?t=32196)

ixian 11-14-2001 12:53 PM

I've searched more than a bit, but I can't find the "avatar thing". I'm not trying to make my site like like this one, but I would like the users's avatar up top with their name.

I've tried several different options - adding this to forum_welcometext:

PHP Code:

<img src="avatar.php?userid=$post[userid]&dateline=$post[avatardateline]align="left"

Trying "$bbuserinfo[avatarurl]" instead, etc. Nothing works. By not working, I mean nothing shows up, except when I try one of the avatarurl vars - then I get a broken link image.

Can anyone show me the light?

ixian 11-14-2001 02:52 PM

Firefly,

I finally found the post you were referring to, or at least I think it is - the one where you add the info to index.php for avatarurl, and give alternate images for no avatar and guest users? (I am at work now, so I can't find it).

Anyway, I did that, and here's the weird thing - it does show the image, but only the "No avatar" one. For some reason, even when entering the "avatar.php etc etc" directly for the image link, it does not pull up the avatar. It just shows no image. In the case of using the $avatarurl in the image tag, it apparently can't look up my avatar and goes to the default one. You can see what I mean at my site below.

Any ideas?

Admin 11-14-2001 02:56 PM

ixian,
I should have mentioned that my code only works for users with custom avatars, like we have set up here.
Making it support regular avatars will be a bit different.

If you want it so bad, I'll do it...?

ixian 11-14-2001 03:35 PM

Yikes!

Darn. I was hoping I could just take the same code that makes the avatars appear in posts and move it to the front page. Could you give me an idea of what's different?


All times are GMT. The time now is 01:22 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.00967 seconds
  • Memory Usage 1,723KB
  • 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_php_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
  • (4)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