If you have RSS posts going to a forum like I do, you will have to do this:
in includes/cron/rssposter.php find
PHP Code:
$threadactiontime = (($feed['threadactiondelay'] > 0) ? (TIMENOW + $feed['threadactiondelay'] * 3600) : 0);
Put this below
preg_match('/\[img\](.*?)\[\/img\]/i',$pagetext,$matches);
$thumburl = ($matches[1]);
$itemdata->set('thumbnailurl', $thumburl);
now the thumbnail will appear on forum display like regular thread posts
The code work on my 3.8.4
it will draw the thumb from {feed:description}
any one know how to edit the {feed:description} and make it shorter or delete some characters?
|