Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-13-2002, 11:28 PM
nocturnix123 nocturnix123 is offline
 
Join Date: Mar 2002
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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...



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
Reply With Quote
  #2  
Old 09-14-2002, 12:52 AM
[D]Vincent's Avatar
[D]Vincent [D]Vincent is offline
 
Join Date: Jun 2002
Location: In my own little world?
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 09-14-2002, 01:36 AM
nocturnix123 nocturnix123 is offline
 
Join Date: Mar 2002
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 09-14-2002, 02:25 AM
futureal futureal is offline
 
Join Date: Feb 2002
Location: Del Mar, CA, USA
Posts: 556
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 09-14-2002, 02:40 AM
[D]Vincent's Avatar
[D]Vincent [D]Vincent is offline
 
Join Date: Jun 2002
Location: In my own little world?
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think he means avatar.
Reply With Quote
  #6  
Old 09-14-2002, 06:39 AM
nocturnix123 nocturnix123 is offline
 
Join Date: Mar 2002
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 09-14-2002, 07:18 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 09-14-2002, 07:53 AM
nocturnix123 nocturnix123 is offline
 
Join Date: Mar 2002
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:50 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.04687 seconds
  • Memory Usage 2,224KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete