![]() |
Avatar in Showthread Template
I am using a seperate style for one forum and it's read only except for the person posting (like a blog) and I wanted to know what code could I use in the Showthread Template that would pull the avatar from the user who posted the thread to show in the top.
I have tried a few differant things but nothing seems to work. Any suggestions. Mike |
If I understand you correctly, the best I can think of is moving:
Code:
$post[avatar] Code:
<table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0"><tr><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td><td width="100%"><!-- spacer --> |
Thanks for replying.
I tried the $post[avatar] originally but it didn't seem to work in that template. I also tried an exact url similar to this http://mysite.com/forum/avatar.php?userid=$thread[postuserid] That also didn't work. Anybody else wanna have a go at it. Here is a LINK to one of my blog pages. I am just trying to insert the avatar at the top next to the user name. cheers Mike |
That should work!! the $post[avatar] , its default with vB -_-
Anyway, I cant remember the code, but add $post[avatar] above the forum title-Would look nice. Sorry if I cant help more, I dont understand why that Avatar code doesnt work:S (Btw, doing this in postbit template, right?) |
:eek: Doh!!!! I am big dummy
Stupid me, I made the request in this post totally wrong in the beginning. What I mean is I want to include the AVATAR in the SHOWTHREAD Template. ....doh.... |
Oooooh! :p Thats why it doesnt work. Sorry, methinks you need some PHP editing:( But I think you should just stick with HTML and add the avatar to the top of that lovely postbit:)
|
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|