The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Thread Thumbnails Details »» | ||||||||||||||||||||||||||||||||||||||
Thread Thumbnails
Created By: Null Parameter The Thread Thumbnails mod allows users of a forum to specify, in several possible ways, a thumbnail for their thread to be displayed on Forumdisplay thread list. I had created the mod for vB 3.8, but people we're crying out for a ported version to vB4, and, thanks to help from several of the members, here it is! Description of Features Thumbnails are displayed on the Forumdisplay next to the threadicon. In the ACP Options, assuming you are using the Auto-Template Edits, you can choose which side of the icon to display it on. Forum Display Screenshot When submitting a new thread or editing the first post of a thread, a thumbnail can be specified directly if the User Entered URL option is chosen in the ACP. Another option is to Require the thumbnail. If the thumbnail isn't required, it may be left blank by the user, and it can either not be shown at all on forumdisplay or be replaced by a default thumbnail image specified in the ACP. New Thread Screenshot Edit Post Screenshot All available options in the ACP include...
This version is also now using phrases, so it can more easily be translated! Installation Install the product XML file. That's it! If you have a highly customized style, there is a chance that the auto-template edits will not work. In that case, you will need to make the template edits manually. See the included README for more details. Thumbnail Style The style for thumbnails is specified in the ACP. It is used to choose exactly how thumbnails will be displayed, including width, height, margins, borders and many other attributes. The style is specified in CSS, and is applied directly to the HTML img tag. Here are some examples of possible thumbnail styles, along with a description of what they will do. If you don't know much about CSS, you can learn more here.
FAQs The version of this mod for vB 3.8 showed thumbnails in the search results. Where did they go? The search system between vB 3.x and vB4 changed significantly. I didn't have the time to figure out the complexity of it, and was unable to find any examples of other mods that integrated into the search results.Does this mod work for RTL Languages, such as Arabic? There is a separate product XML file available for download that has the appropriate changes to support RTL languages.When I choose the First Image in Post option, no thumbnails show up in my current threads. Why? Thumbnails are only updated when a new thread is created or when the first post is edited. Parsing through every forum/thread whenever the options are changed could be disastrous for performance.Translations Arabic Versions v3.1
I am fully willing to support this mod and continue to add new feature to it when they are desired enough to make them applicable to the product as a whole. The issue is that I do not have access to a vB4 installation, and therefore cannot develop. Several people were gracious enough to offer up a test installation for me to use, and that is how this mod exists today. If any new features/fixes are wanted, other people will need to be just as gracious. Also, since I don't own a vB4 instance, I'm supporting this strictly out of the kindness of my heart. So, if you wish to Support me as a developer, it would be much appreciated. Enjoy! Download Now
Screenshots
Show Your Support
|
Благодарность от: | ||
misericorde |
Comments |
#202
|
|||
|
|||
I have the settings to pull the first image in the post as the thumbnail and for some reason, it will not show up after initially posting. I have to post the thread then edit for the thumbnail to show up. Could this be because of another modification? Initially, I thought it was because of the MOD System, like vbulletin.org has so, I disabled it but, it's still giving me the same issue.
|
#203
|
|||
|
|||
I'm using 4.1.0PL2. I can only see the NO THUMB COVER!
All used links to the right covers are not shown. There is also only the NO COVER to see! What to do to get this mod working?? |
#204
|
||||
|
||||
Going to repost this as it works the exact some for this version as the old:
Quote:
|
#205
|
|||
|
|||
How can I enable this to work with First Attachment AND First Image in post?
Right now, if set to First Attachment, it doesn't display thumbnails for images hosted outside of the site (entered in IMG tags). If it's set to First Image in Post, then the external image thumbnails are displayed but not the attachment ones. |
#206
|
|||
|
|||
Working for 4.0.1? If not there for 4.1.0;
|
#207
|
||||
|
||||
Quote:
Great question Chris. I could use that feature on my board as well. James |
#208
|
||||
|
||||
Ok guys! i manage to make the thumbnail to work perfectly with the "User Entered URL"
function !! The way i work on my forum, is, i have sections that i want to display the thumbnails for each thread, so, in the option menu, i use "User Entered URL" and "Thumbnails Required" set to yes. Now, u can also put the option "Thumbnails Required" to NO and it will also get automatically the thumbnail image you set up in the "No Thumbnail Replacement Image". The way i made it work in my V4.1.1 is like this: In New posting Templates / newthread Find: HTML Code:
<img id="display_posticon" src="{vb:raw selectedicon.src}" alt="{vb:raw selectedicon.alt}" /> </div> HTML Code:
<!---urlthumbnail---> <vb:if condition="$show['thumbnailurl']"> <div class="blockrow"> <label for="thumbnailurl" class="full">{vb:phrase thumbnail_url}:</label> <input type="text" name="thumbnailurl" id="thumbnailurl" class="primary full textbox" value="" maxlength="250" /> </div> </vb:if> <!---urlthumbnail---> in editpost find: HTML Code:
<img id="posticon_preview" src="{vb:raw selectedicon.src}" alt="{vb:raw selectedicon.alt}" title="Selected post icon" /> </div> HTML Code:
<!---autothumbnail---> <vb:if condition="$show['thumbnailurl']"> <div class="blockrow"> <label for="thumbnailurl">{vb:phrase thumbnail_url}:</label> <input type="text" name="thumbnailurl" id="thumbnailurl" class="primary textbox" value="{vb:raw threadinfo.thumbnailurl}" maxlength="250" /> </div> </vb:if> <!---/autothumbnail---> In plugin manager for "Product : Thread Thumbnails" in the : "New Thread - Save Thumbnail, Datamanager" replace everything with this: HTML 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)\]\s*(https?:\/\/([^*\r\n]+|[a-z0-9\/\\\._\- !]+))\[\/(img|IMG)\]/', $post['message'], $matches); $dataman->setr('thumbnailurl', $matches[1]); } if($vbulletin->options['thread_thumbnails_required'] == '1' && empty($post['thumbnailurl'])) { if($vbulletin->options['thread_thumbnails_thumbnail_source'] == '0') { $errors[] = $vbphrase['thumbnail_error_one']; } else if($vbulletin->options['thread_thumbnails_thumbnail_source'] == '2') { $errors[] = $vbphrase['thumbnail_error_two']; } } } |
#209
|
|||
|
|||
Quote:
|
#210
|
||||
|
||||
Thanks (y)
Would it be possible to have this custom icon INSTEAD of the threadicon, instead of having it left or right to it? |
#211
|
|||
|
|||
Does not work on vB 4.1.2, the thumbnail URL bar does not appear.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|