PDA

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


MelH
07-02-2010, 02:22 AM
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
03-09-2011, 12:14 PM
i need this too!

angeljs
09-21-2011, 11:24 AM
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. :(