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)
-   -   Image in profile (https://vborg.vbsupport.ru/showthread.php?t=38258)

Zzed 05-04-2002 10:00 PM

Image in profile
 
This hack was requested by NerdNations.

Here is what you need to do to add a image field to user profiles.

That's it. ;)

Zzed 05-05-2002 06:53 AM

Here is a sample screen shot of my profile: http://www.ls1.com/forums/member.php...fo&userid=4112

Also note that if the image is larger than 640x480, the code will automatically scale it to fit witin a 640x480 area. ;)

Floris 05-05-2002 09:56 AM

Thank you! I will look into it. Very nice :)

TECK 05-05-2002 10:03 AM

nice car ed.. :) the hack also.

inetd 05-05-2002 10:14 AM

i want this car :)
Zzed, gift me, please :D :lol:

Hack also cool ;) And I have one question:
If user don't post Picture, field picture showed in profile or not?

RDX1 05-05-2002 10:27 AM

i already know how to do the picture, like this

<add this to postbit>

Code:

<tr>
<td bgcolor="#13486D"><normalfont><b>User Picture:</b></normalfont></td>
        <td bgcolor="#13486D"><normalfont><img src="$userinfo[field7]" width="" height=""></normalfont></td>
</tr>

replace #13486d with { firstaltcolor }, since for some reason it keeps replacing it with that color code


i wanted to know how to do it like sitepoint, where if there isnt a picture submited it will put a blank image in its place

Zzed 05-05-2002 11:40 AM

Thank you guys for the kind words. :)

inetd, If the user does not enter a vlaue, the field still shows up, but it will be empty.

Here is a sample of one of my alter egos on my site: http://www.ls1.com/forums/member.php...o&userid=24578

Chris M 05-05-2002 12:24 PM

Very nice Zzed...

I am glad you released it...

:tup:

Satan

Zzed 05-05-2002 02:46 PM

Thank you hellsatan.

Slynderdale 05-05-2002 02:48 PM

nice hack, but ill stick with the one i made

https://vborg.vbsupport.ru/showthrea...threadid=37851


All times are GMT. The time now is 01:44 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.01123 seconds
  • Memory Usage 1,727KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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