The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
HELP! Profile Pictures
How do I get the profile pictures to display on FORUMHOME?
$prepared is not working |
#2
|
||||
|
||||
$bbuserinfo would be what you would use for the user viewing the forumhome page.
|
#3
|
|||
|
|||
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> |
#4
|
||||
|
||||
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.
|
#5
|
|||
|
|||
Quote:
I am using it in a side column on Forumhome |
#6
|
||||
|
||||
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.
|
#7
|
|||
|
|||
I have no idea how to do plugins or hooks, I just thought it would be able to show on FORUMHOME
|
#8
|
|||
|
|||
Hi guys,
I am having the same problem. Any help would be appreciated. TIA |
#9
|
||||
|
||||
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.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|