Ok, i modified my set up in my V4.0.6 and with codes and reference that i found in here and...it works OK! Lolll
Here's the changes i made (Tks to every one who has posted Codes and ideas, as none of these are my creation)
These changes have to be done in every skins that you have in order to make it work. Also, the option for "First Image In Post" and "First Attachment" are working well but got stuck with the "User entered URL" and this one is not showing properly
Still, it works as it should in V4.0.6
Now, replace or copy these in the templates:
In the Threadbit:
Find:
PHP Code:
<vb:if condition="$show['threadicon']">
<img src="{vb:raw thread.threadiconpath}" alt="{vb:raw thread.threadicontitle}" border="0" />
</vb:if>
Paste this after:
PHP Code:
<!----autothumbnail--->
<vb:if condition="!$thread['thumbnailurl']">
<a class="threadstatus" rel="vB::AJAX" title="
<vb:if condition="$show['threadcount']">
{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw thread.dot_count}, {vb:raw thread.dot_lastpost}}
</vb:if>
"></a>
</vb:if>
<!----/autothumbnail--->
In the template "thread_thumbnail_threadbit"
You should have this code in it:
PHP Code:
<vb:if condition="$thread['thumbnaildisplay'] AND (!$thread[sticky] OR ($vbulletin->options[thread_thumbnails_sticky] == '1'))">
<a href="{vb:link thread, {vb:raw thread}}" id="thread_gotonew_{vb:raw thread.realthreadid}" style="float:left;clear:right;display:block;margin:2px;"><img style="{vb:raw thread.thumbnailstyle}" src="{vb:raw thread.thumbnailurl}"></a>
</vb:if>
In the plugin manager : New Thread - Save Thumbnail, Datamanager >>> "Modify with this" :
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]);
}
}
As for the rest of the normal template edit from the main post, i haven't modify anything from it.
The options in the "Thread Thumbnails Options" are all set to yes and the "Thumbnail Location" works fine in both before or after the Threadicon.
Also, if you want to re-size the thumbnail you can use this:
PHP Code:
max-width:40px;max-height:60px;border: 1px ridge;
and change the px to the one you would like to see.
If no images are in the posts, i made myself a small pic that i FTP to the images root of my site and this part of it worked OK too
EX: /vb4/images/misc/test-posbit.gif
Hope it will help a few of you guys that wanted this cool plugin