vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to Display Profile Picture on any page (https://vborg.vbsupport.ru/showthread.php?t=97924)

ndahiya 10-09-2005 01:48 AM

How to Display Profile Picture on any page
 
hi

i would like to display the profile picture on the postbit template (ie, with every post).. note that i use pictures, not avatars... i was able to do it in 3.0.7, but seem to be getting stuck in 3.5 ... the pic just does not show up...

what code should i use to show the pic?

any help would be appreciated... TIA.

nd

007 10-12-2005 09:57 PM

I would appreciate knowing how to do this too.

It involves adding some queries but I'm not sure where or what they should be.

I've been trying to do this for a few hours now with no luck. :(

ndahiya 10-17-2005 02:06 PM

bump

Andreas 10-17-2005 02:13 PM

Make a join on table customprofilepic, select the necessary fields, process them and display appropriate <img>-tags

ndahiya 11-06-2005 07:12 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=83356" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=83356</a>

noonespecial 04-18-2006 05:51 PM

$post['profilepicurl'] = $vbulletin->options['profilepicurl'] . '/profilepic' . $this->post['userid'] . '_' . $this->post['profilepicrevision'] . '.gif';

Add above plugin to postbit_display_start

Then in in postbit template:

$post[profilepicurl] will give you the URL to the poster's profile pic on the postbit...

Seems to work.

hbalagh1 05-09-2006 05:02 PM

im wanting to add the profile pictures of members that are currently online to the who's online section of the "whats going on" box...any one care to assist me with this.

thanks

criscokid 01-04-2007 07:52 AM

Quote:

Originally Posted by hbalagh1 (Post 970762)
im wanting to add the profile pictures of members that are currently online to the who's online section of the "whats going on" box.

Check out the Online Thumbs mod


All times are GMT. The time now is 11:19 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.03070 seconds
  • Memory Usage 1,719KB
  • 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_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