vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   helllppppp ::whines:: (https://vborg.vbsupport.ru/showthread.php?t=43503)

nocturnix123 09-13-2002 11:28 PM

helllppppp ::whines::
 
Ok d3wds and d3wd3ts...

Heres my problemo...Im hoping its not something simple i overlooked and i have to embarrass myself to figure it out.

I am trying to display the member's [edit]AVATAR[/edit] image in my header...as seen here...

http://www.az5.com/postimages/scrn1.jpg

Now I have the welcome panel hack installed [LINK] And I tried just inserting $avatarimage in the 80x80 table i built into my header, but it didnt work.

I think it has something to do with where the welcome panel code is located, maybe i need some avatar related code in the headinclude?

Please help, if you have any questions or need me to post any code i can...

Thanks in advance,
-Nocturnix

[D]Vincent 09-14-2002 12:52 AM

Vincent]Well the code for $avatarimage only applys in index.php so it will only work there. You need someone to write up a set of instructions to do what you want :D

nocturnix123 09-14-2002 01:36 AM

Ok, well maybe somone will take pity on me and help me out. At least I know now that its not just me being stupid.

futureal 09-14-2002 02:25 AM

Quote:

Originally posted by nocturnix123
I am trying to display the member's SIG image in my header...as seen here...
Do you mean avatar image?

If it's sig image, good luck. It would have to be in the database (something most forums would not want to do for bandwidth reasons) and you'd have to have a uniform size restriction.

[D]Vincent 09-14-2002 02:40 AM

I think he means avatar.

nocturnix123 09-14-2002 06:39 AM

I meant avatar....whoops...whats this of databases? Hmm it should definately not be this complex...The avatar is stored already and used frequently, what difference does it make if its displayed in the header...and there will be size restrictions...80x80pixels and possibly file size restrictions as well if i need them...it shouldnt be a huge strain, as there are already tons of avatars AND sigs that are loaded in each thread.

I simply want to display an 80x80 avatar in my header.

Thanks,

-nocturnix

Erwin 09-14-2002 07:18 AM

Easy.

Put this line anywhere in any of your templates. If you want it in your header, put it in your header template. But it works in ALL templates.

Code:


<img src="avatar.php?userid=$bbuserinfo[userid]">

Note: It only works for custom avatars.

nocturnix123 09-14-2002 07:53 AM

Can you provide me the code to display default av, and non-custom avs?

should be simple ill try and figure it out on my own but if you know it plz post.


All times are GMT. The time now is 04:07 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.01083 seconds
  • Memory Usage 1,732KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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