
01-20-2011, 07:09 PM
|
 |
|
|
Join Date: Feb 2007
Location: Northern Ireland
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Going to repost this as it works the exact some for this version as the old:
Quote:
Okay next fix:
If you are using the First Image in Post option, you will notice you only get a thumbnail when you update the post, and not when you create a new one. To fix this:
Goto the Manage Plugins tab in your ACP and edit New Thread - Save Thumbnail, Datamanager
You will then want to replace the Plugin PHP Code with:
PHP Code:
if ($type == 'thread') { if($vbulletin->options['thread_thumbnails_thumbnail_source'] == '0') { $dataman->setr('thumbnailurl', htmlspecialchars_uni($post['thumbnailurl'])); } if($vbulletin->options['thread_thumbnails_thumbnail_source'] == '2') { preg_match('/\[img\](.*?)\[\/img\]/i',$post['message'],$matches); $dataman->setr('thumbnailurl', $matches[1]); } }
|
|