vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Display Enhancements - Thread Thumbnails (https://vborg.vbsupport.ru/showthread.php?t=237404)

Aceman 06-08-2010 01:46 PM

You know.. I think the icon I need to hide is the thread status icon.. the one that shows if it's a new or old thread. I'm to figure out if it's possible to remove that.

Additionally, I may try and add a conditional that if you are unregistered, then threadthumbnails don't display.

Winter Sonata 06-08-2010 02:34 PM

will this take effect to the older threads ? or only will apply to the new ones ?

Dark_Wizard 06-08-2010 02:54 PM

Quote:

Originally Posted by Winter Sonata (Post 2050485)
will this take effect to the older threads ? or only will apply to the new ones ?

Can you be more specific? Are you asking about the threadicons I added above?

Dark_Wizard 06-08-2010 02:55 PM

Quote:

Originally Posted by Aceman (Post 2050463)
You know.. I think the icon I need to hide is the thread status icon.. the one that shows if it's a new or old thread. I'm to figure out if it's possible to remove that.

Additionally, I may try and add a conditional that if you are unregistered, then threadthumbnails don't display.

I'll post working code as soon as my damn server is backup... :mad:

Dark_Wizard 06-08-2010 07:38 PM

Quote:

Originally Posted by Aceman (Post 2050463)
You know.. I think the icon I need to hide is the thread status icon.. the one that shows if it's a new or old thread. I'm to figure out if it's possible to remove that.

Additionally, I may try and add a conditional that if you are unregistered, then threadthumbnails don't display.

Here you go...in threadbit do the following:

find:
Code:

<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>

change to this:
Code:

<vb:if condition="!$thread['thumbnail']"><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>


james shadle 06-08-2010 09:23 PM

Hello,
I'm new at this.
How do I run the script to repopulate the thumbnails after switching to "first image in post"?
Thanks!!!

Dark_Wizard 06-08-2010 11:25 PM

There is a script that is posted to do this for you otherwise you need to edit every first post to get it to work....

james shadle 06-09-2010 01:37 AM

Thanks.
I saw the script. I just don't know how to run it.
James

martin1 06-11-2010 03:09 PM

After upgrade from vbulletin 4.0.2 to 4.0.3 pl1 , hack showed only thumbnails, on thread edit there were no edit link to the picture line, so I unninstalled it and import it again, but now nothing happening!

On 4.0.2 I used 3.0.0. version that worked fine.

Daniel_HBK 06-13-2010 04:22 PM

WOW great hack !! , Installed + 5 Stars + nominated MOTM

can you make it for vbadvanced news module ?


All times are GMT. The time now is 06:52 PM.

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.01476 seconds
  • Memory Usage 1,740KB
  • 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