Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Thread Thumbnails Details »»
Thread Thumbnails
Version: 2.20, by Null Parameter Null Parameter is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.8.x Rating:
Released: 05-27-2009 Last Update: 04-08-2010 Installs: 258
DB Changes Uses Plugins Auto-Templates
Re-useable Code Translations  
No support by the author.

Thread Thumbnails
--------------------------------------
Created By: Null Parameter

This mod is officially tested with 3.8.1, but has been reported to work with many other versions.

Please leave any comments, suggestions or bugs.

Description

This mod allows a user, when creating or editing a thread, to specify a Thumbnail image to be used for display next to the thread in the Thread Listing.

With this mod you can define a set of forums that have thumbnails enabled, then in those forums whenever a user creates or edits their thread they can change their thumbnail, based on the method that you choose to allow.

This image is then shown in the Forum Display, in place of the Thread Icon.
The image also appears in Search & Tag Search, and I can add it to the regular Search if somebody requests it. And possibly have options for displaying in each area.

Forum Display:
Forum.jpg

Search:
Search.jpg

ACP Options:
ACP Options.jpg

Installation

Install the Product XML File. That's it!

All Template Edits Are Now Automatic.

If you are Upgrading from the older version, see directions in the README file on how to undo the template edits.

Demo

Possible Future Features (With Request)
  • Additional column instead of replacing Thread Icon
  • Displaying Thumbnail within thread
  • Edit thumbnail through Thread Edit
  • Thumbnail Preview in Edit Window
Fixes
  • Version 2.2
    • Fix Attachment + Default Thumbnail Option Combo
  • Version 2.1
    • Fix DB Error when using First Attachment option
    • Fix issue with New threads not saving thumbnail
  • Version 2
    • Added Features:
      • Automatic Template Edits
      • Thumbnails in Search
      • Thumbnails from First Image/First Attachment
      • Thumbnails on Sticky Threads
    • Fixes:
      • Miscellaneous Fixes

Download Now

File Type: zip product-thread_thumbnails_v22.zip (401.1 KB, 1523 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
chikkoo, vijayninel

Comments
  #272  
Old 04-09-2010, 07:20 PM
Null Parameter's Avatar
Null Parameter Null Parameter is offline
 
Join Date: Jun 2008
Location: Minnesota, USA
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cybershaolin View Post
That would be nice to get some kind of answer on the bug I'm experimenting.
It would be nice if people realized that developers don't surround their lives around a single project. Seriously, if people can't have patience, then I'm just going to mark this as Not Supported and be done with it, especially since I don't even have a vBulletin forum anymore and I'm doing this ONLY for you.

I uploaded a new version that should fix this issue, but again, since I don't have a forum of my own anymore, I have no way to actually test it.


You should theoretically be able to extract the template edits yourself from the product file, just as easily as I could, but because I'm just that nice, here they are....
  • In editpost, find <!-- / subject field --> and put this below it:
    Code:
    <if condition="$isfirstpost AND $showthumbnailedit">
                    <if condition="$vbulletin->GPC[advanced]">
                    <input type="hidden" name="desc_adv_thumb" value="1" />
                    </if>
            <table cellpadding="0" cellspacing="0" border="0" style="margin-bottom:$stylevar[formspacer]px\">
            <tr>
                <td class="smallfont" colspan="3">Thumbnail URL:</td>
            </tr>
            <tr>
                <td><input type="text" class="bginput" name="thumbnailurl" value="$threadinfo[thumbnailurl]" size="50" maxlength="250" tabindex="1.5" title="" /></td>
            </tr>
    </table>
    </if>
  • In newthread, find <!-- / subject field --> and put this below it:
    Code:
    <if condition="$showthumbnailedit"><table cellpadding="0" cellspacing="0" border="0" style="margin-bottom:$stylevar[formspacer]px"><tr><td class="smallfont" colspan="3">Thumbnail URL:</td></tr><tr><td><input type="text" class="bginput" name="thumbnailurl" value="$threadinfo[thumbnailurl]" size="50" maxlength="250" tabindex="1.5" title="" /></td></tr></table></if>
  • In threadbit, find
    Code:
    <if condition="$show[threadicons])>
            <td class="alt2"><if condition="$show[threadicon]><img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /></if></td></if>
    and replace it with
    Code:
    <if condition="$show[threadicons]">
        <td class="alt2" align="center" valign="middle">
                <if condition="$thread[thumbnaildisplay] AND (($vbulletin->options[thread_thumbnails_sticky] == '1') OR !$thread[sticky]))>
                         <a href="showthread.php?t=$thread[threadid]">
                          <img src="$thread[thumbnailurl]" alt="" border="0" width="$thread[thumbnailwidth]"/>
                        </a>
                <else />
                    <if condition="$show[threadicon]>
                     <img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" />
                    </if>
                </if>
        </td></if>
    Truthfully, this one's a little rough, but it should be right.
Reply With Quote
  #273  
Old 04-10-2010, 01:45 AM
Cybershaolin Cybershaolin is offline
 
Join Date: Nov 2006
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the update but this does not resolve the "First attachment" option. There is still nothing that shows if no attachment is there. There is no thread icon or nothumb.jpg picture showing depending on what I want to be displayed.

Also, in your last template edits, for threadbit, when I change it according to what you are saying, it vbulletin does not want to update it saying there are errors. Having no coding skills, I'm back to square one.

It's such a nice hack, just too bad that it's not working entirely. I hope that you can still fix the bugs but without vbulletin to test, I have no idea how you can manage to do it. Therefore if you don't update it anymore, I guess you're right and you should think about marking it as not supported.
Reply With Quote
  #274  
Old 04-12-2010, 06:21 AM
siliconfinance siliconfinance is offline
 
Join Date: Mar 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just out of curiosity, could you make it possible to display a thumbnail of the first image displayed in a thread and if there is none, then display a thumbnail of the attached image.

So based on this page:
http://www.vbulletin.com/docs/html/t...e_conditionals

Code:
 
<If condition="there is an image in IMG tags in the first post">Display a thumbnail of that image in the forum display</if>
 
<else /> 
 
<if condition="there is an image attached to the first post of a thread">Display a thumbnail of that image in the forum</if>
 
<else />
 
Display default thumbnail NoImage.jpg
Reply With Quote
  #275  
Old 04-12-2010, 05:22 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just noticed a bug which does the following on my site.

In the admincp in feature Show in what forums? I have forum ID 225 which means that the thread thumbnail option should only be available in forum 225 and not others is not working, in fact it shows up in just about every forum???????
What is the deal with this? I am running vb 3.8.3
Reply With Quote
  #276  
Old 04-12-2010, 11:27 PM
AllinJac AllinJac is offline
 
Join Date: Nov 2009
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Null Parameter View Post
It would be nice if people realized that developers don't surround their lives around a single project. Seriously, if people can't have patience, then I'm just going to mark this as Not Supported and be done with it, especially since I don't even have a vBulletin forum anymore and I'm doing this ONLY for you.

I uploaded a new version that should fix this issue, but again, since I don't have a forum of my own anymore, I have no way to actually test it.


You should theoretically be able to extract the template edits yourself from the product file, just as easily as I could, but because I'm just that nice, here they are....
WOW...

I do not think anyone responded to your statement... Do they not read it or do they not really care???

Just wanted to tell you that I use this product and I APPRECIATE your efforts on this project even though you do not have vBulletin site anymore...

If you need to test it I would be willing to give you access to my test site as well as testing it on my live board!

Hope this helps you out and again THANK YOU for taking your time to offer a FREE product to us all!
Reply With Quote
  #277  
Old 04-13-2010, 12:56 AM
Cybershaolin Cybershaolin is offline
 
Join Date: Nov 2006
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uninstalled since what I need is not working. Period.
Reply With Quote
  #278  
Old 04-13-2010, 05:01 AM
AllinJac AllinJac is offline
 
Join Date: Nov 2009
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cybershaolin View Post
Uninstalled since what I need is not working. Period.
To bad it is not working for you... It is working just fine for me... Looks absolutely great, especially since this is a FREE plugin that you do not have to pay for!

Maybe you are missing the point... If you are patient and as for help the right way maybe you will get the answers you are looking for... And if not then oh well uninstall...

THIS IS A FREE FORUM for us to add products to our site... No need to be harsh... PERIOD...
Reply With Quote
  #279  
Old 04-13-2010, 07:32 AM
MrRem MrRem is offline
 
Join Date: Jun 2009
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would there be a chance of allowing more than one default image.
So if a user didnt put in a thumbnail image, it would pull a random image from a group of 10?

default1.jpg
defaultt2.jpg
etc

picks one and displays that.
Reply With Quote
  #280  
Old 04-13-2010, 11:56 AM
Cybershaolin Cybershaolin is offline
 
Join Date: Nov 2006
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AllinJac View Post
To bad it is not working for you... It is working just fine for me... Looks absolutely great, especially since this is a FREE plugin that you do not have to pay for!

Maybe you are missing the point... If you are patient and as for help the right way maybe you will get the answers you are looking for... And if not then oh well uninstall...

THIS IS A FREE FORUM for us to add products to our site... No need to be harsh... PERIOD...
Wow, if it's working for you fine man. For the situation I described it's not for me, that's it. No need to repeat the same thing over and over. Nobody's was rushing anybody here and yes it's a free forum with a liberty of free speech from everybody so relax, take your pills and get a life.
Reply With Quote
  #281  
Old 04-13-2010, 12:07 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bada_bing View Post
I just noticed a bug which does the following on my site.

In the admincp in feature Show in what forums? I have forum ID 225 which means that the thread thumbnail option should only be available in forum 225 and not others is not working, in fact it shows up in just about every forum???????
What is the deal with this? I am running vb 3.8.3
Any help with this please..
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:05 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05046 seconds
  • Memory Usage 2,360KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete