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 |
#102
|
||||
|
||||
I really like this mod and have been using it for a while, but I was wondering if it was possible to display either attachment or, if no attachment, then an [img]
e.g. if attachments are present then it uses the first one of them, but if no attachments are present it uses the first [img] if present? That would be a really handy addition! Alex |
#103
|
||||
|
||||
Well now really official -- version 3.1 of thread thumbnails don't works -- it's tested on clear vbulletin 4.0.3.
I used clean installation since it don't know why it don't works in my forum since I upgrade it. Those are the problems (I just installed the hack from acp as it says in readme): a) once you define link in thread thumbnail , row is not visible anymore on edit post action! b) when you set link to thumbnail, nothing is showed c) all what is visible is the default thumbnail on each thread ( if it's set in admin panel) |
#104
|
|||
|
|||
Quote:
Example http://www.thamesvalleybirds.co.uk/bird-photos-general/ |
#105
|
|||
|
|||
Quote:
|
#106
|
||||
|
||||
Quote:
On my forum I have it so that if there is a thumbnailurl set then it shows the thumbnail, otherwise it shows the standard thread status icon. See here: http://www.thestalkingdirectory.co.u...21-Classifieds To do this, edit threadbit template and change: Code:
<!-- status icon block --> <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> Code:
<!-- status icon block --> <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> Alex |
#107
|
|||
|
|||
i need to edit thread to appear this is after installization
|
#108
|
|||
|
|||
Thanks Dark Wizard, I appreciate people have their own forums to run.
Thanks Alex, tried that, but thumnails then disappeared, what I have at the moment is: Code:
<!-- status icon block --> <a class="threadstatus" rel="vB::AJAX" <vb:if condition="$show['threadcount']">title="{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw thread.dot_count}, {vb:raw thread.dot_lastpost}}"</vb:if>></a> |
#109
|
||||
|
||||
Looking at your source it should work... basically you need to put the tags around the part of the template that you want to disappear if a thumbnail is specified.
<vb:if condition="!$thread['thumbnailurl']"> ----bit that makes the status icon show---- </vb:if> Deleting the <a class="threadstatus"..... part on your site using firebug works, so it should work in theory... e.g. here I have tested by removing the top two status icons, the third is highlighting the part of the source responsible for displaying the status icon... |
#110
|
|||
|
|||
Nope, if I add the
Code:
<vb:if condition="!$thread['thumbnailurl']"> Code:
</vb:if> I'm obviously doing something wrong, but have to say that I'd sort of got used to the old style code and this new code is confusing. |
#111
|
|||
|
|||
please help
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|