PDA

View Full Version : Modify Recent Forum Posts widjet to show attachments?


MelH
02 Jul 2010, 04:22
I guess I've been spoilt by VBAdvanced. I'm finding one of the features they have is hard to implement with the VBulletein CMS. I would prefer to try and make it work if I can as it's preferable to only have to upgrade one software program.

What I need to do is to modify the Recent Forum Posts widget so it shows the attached image thumbnail where the avatar is currently displayed. Don't want to show the avatar.

I know how to create a custom widjet and I found the template to edit (vbcms_searchresult_post). I figured out how to remove the avatar but for the life of me I cant find the code that displays the thumbnail to put in its place. Nothing I try works (I'm not a coder so I'm limited to copy and pasting bits of code from other templates then looking at the result).

I would be extremely grateful if some one has the solution or could point me in the right direction.

tocheli
09 Mar 2011, 13:14
i need this too!

angeljs
21 Sep 2011, 13:24
Me too! I've been trying to do it by using this link:

attachment.php?attachmentid=".$thread[attachmentid]."&stc=1&thumb=1

but that doesn't work. :(