vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   HELP! Profile Pictures (https://vborg.vbsupport.ru/showthread.php?t=202833)

Hex_legend 01-23-2009 04:06 PM

HELP! Profile Pictures
 
How do I get the profile pictures to display on FORUMHOME?

$prepared is not working

Lynne 01-23-2009 04:21 PM

$bbuserinfo would be what you would use for the user viewing the forumhome page.

Hex_legend 01-23-2009 04:27 PM

Code:

<if condition="$bbuserinfo['profilepicurl']">
<img src="$bbuserinfo[profilepicurl]" $bbuserinfo[profilepicsize] alt="<phrase 1="$bbuserinfo[username]">$vbphrase[xs_picture]</phrase>" />
<else />
<img src="$vboptions[bburl]/styles/lightskin/misc/default2.jpg" width="143" height="199">
</if>

This is still not working, its pulling the default2.jpg picture

Lynne 01-23-2009 04:34 PM

It sounds like the profilepicurl isn't available where you are trying to use it. You need to make sure the user info has been evaled before you try to use it.

Hex_legend 01-23-2009 04:40 PM

Quote:

Originally Posted by Lynne (Post 1722509)
It sounds like the profilepicurl isn't available where you are trying to use it. You need to make sure the user info has been evaled before you try to use it.

could you tell me how to eval that?
I am using it in a side column on Forumhome

Lynne 01-23-2009 04:59 PM

Are you using a hook to get the info? What template are you putting it in? It may not even be evaled on that page because it isn't needed, which means you will need to write a plugin to get that information.

Hex_legend 01-23-2009 05:16 PM

I have no idea how to do plugins or hooks, I just thought it would be able to show on FORUMHOME

bagh1 02-01-2009 10:31 PM

Hi guys,
I am having the same problem. Any help would be appreciated.
TIA

Lynne 02-03-2009 01:36 PM

There are modifications on how to put your avatar on the homepage - I'd guess you can grab that modification and modify it to put the profile picture instead.


All times are GMT. The time now is 02:53 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.01892 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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