vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   New Posting Features - Thread Thumbnails (https://vborg.vbsupport.ru/showthread.php?t=214755)

Zaki Shafqat 08-23-2009 04:46 PM

great job i loved this MOD

but its not showing the thumbnail for the sticky posts? what do i edit to show so it shows for sticky posts too? please help

CGhostGroup 09-02-2009 03:55 PM

Nice Plugin but where can I find one with Attachments? I Only found one for 3.6* but with that I can't exclude the Forum-IDs

Canadians360 09-08-2009 12:09 AM

Quote:

Originally Posted by Zaki Shafqat (Post 1872814)
great job i loved this MOD

but its not showing the thumbnail for the sticky posts? what do i edit to show so it shows for sticky posts too? please help

This is what you have...
Code:

<if condition="$show[threadicons]">
    <td class="alt2" align="center" valign="middle">
            <if condition="$thread[thumbnaildisplay] AND !$thread[sticky]">
                    <a href="showthread.php?$session[sessionurl]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>



This is what you need. All I did was delete the "is not a sticky" part of the conditional wich is bold and red above.
Code:

<if condition="$show[threadicons]">
    <td class="alt2" align="center" valign="middle">
            <if condition="$thread[thumbnaildisplay]">
                    <a href="showthread.php?$session[sessionurl]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>

That was the threadbit template by the way.

Note: This will make all forums with thumbnails enabled have thread stickies with thumbnails. So you cant have some thumbnail threads with icons for stickies and some thumbnail threads with thumbnails for stickies.

elenh 09-09-2009 12:45 PM

how do i make this addon working with the first [IMG] tag from the topic too?

Great hack thanks!

ravi_9793 09-10-2009 07:14 PM

Hi,
great mod, just installed and its working with no problem. Thanks for the MOD.

Is there any way to show same thumbnail as Post Icons at very first post of the thread.

SoloX 09-17-2009 03:51 PM

Quote:

Originally Posted by elenh (Post 1882013)
how do i make this addon working with the first [IMG] tag from the topic too?

Great hack thanks!

i want this as well. [IMG] tag thumbnail.

Charged 09-25-2009 11:13 PM

Would it be possible to do either of the following:

When a user selects a thread prefix, automatically use a predefined thumbnail image, with a diff thumbnail per prefix.

or

have a selection of radio buttons under the box where they can just click on one of them and it puts the predtermined thumbnail img url into the thumbnail box for them?

this would greatly avoid users not putting one in

Null Parameter 09-26-2009 06:00 PM

Hey guys, sorry for the very long delay, but don't worry, I've returned.
Been doing things in life, like work and having a beautiful daughter, hopefully you can forgive me. ;)


I'm working on a new version at this very moment, including the following features:
  • Option to use Thumbnail from First Attachment
  • Option to use Thumbnail from First Image in Thread
  • Option to include/exclude Sticky Threads
  • Automatic Template Edits
Still contemplating adding in
  • Displaying Thumbnail in Search
  • Displaying Thread Icon instead of requiring No Thumbnail Image
Hoping to get this out relatively soon, for all of your enjoyment, because I know a lot of you have been asking for many of these features!

SoloX 09-26-2009 06:02 PM

Quote:

Originally Posted by Null Parameter (Post 1890958)
[*]Option to use Thumbnail from First Image in Thread

yaaay!!!!

Null Parameter 09-26-2009 06:07 PM

Almost forgot, also thinking about adding in an option to specify CSS for the image, or something similar, so you get a lot more flexibility instead of just the standard "Set Width".

And I also have custom code that I might adapt that makes a Media RSS Feed using the thumbnails, which gives you the ability to have built in Cooliris support.

Despite those being cool features to add in, I might put it off for a while to get these more pertinent features out to you more quickly.


All times are GMT. The time now is 03:23 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01385 seconds
  • Memory Usage 1,752KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete