PDA

View Full Version : Grab image from thread and display it to CMS Widget


Skierpetros
09-26-2013, 03:03 PM
Hello,

i need some help to grab an image from a thread and display it on widget on CMS.

I need something like this {vb:raw thread.image_url}

I want to grab [img] or attachments images...

Thank you!

Skierpetros
11-18-2013, 07:56 AM
any help?

tbworld
11-18-2013, 09:15 AM
The information you seek is not readily available, as a variable, to a custom static widget.

If you were interested, you would have to:

Edit "packages/vbcms/widgets/recentthreads.php" Line: 464
Alter the query there to include attachments.
Make it available to your custom widget template.

I know this is not what you are looking for, but all I have time to do is point you in the right direction. :)

__________________

Skierpetros
11-20-2013, 07:31 PM
nice!

thanks for your help

i will try write the correct query to work...