Quote:
Originally Posted by JerichoLFG
The code is in my header template. So I just need to put that code on top of this code?
|
Yeah, just replace the comments with the appropriate code.
Quote:
Also, in the second code, I'm trying to pull information from people when they log in so their information fills the box.
i.e
Code:
<img src="HERE" border="0" width="60" class="profilepicture" />
I'm trying to pull their avatar from their profile so it shows. I need to do that for each place that is bolded in the first post code. I'm not sure how to do that. Think you could help?
|
Some user info will be in $vbulletin->userinfo[], but to get the avatar I believe you'd need to write a plugin to get the info from the database. I don't know offhand exactly how to do it. Maybe the best thing to do is to look at how it's done for the posts - in showthread.php around line 988 is a big piece of sql that gets the posts and other info needed to display them including the avatar, then in includes/class_postbit.php around line 623 you can see how it uses that info to decide how to display it.