vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Post icons in search results? (https://vborg.vbsupport.ru/showthread.php?t=235881)

Geez 02-14-2010 10:58 PM

Post icons in search results?
 
I found the best advantage to having post icons is to be able to tell the difference between the types of threads found in the "new posts" search results page. in vb4 they no longer show up there. is there a way to "activate" them to show up? or is there some coding required to do something like that now?

thank you in advance

Geez 02-17-2010 06:00 PM

anyone?

oz_moses 05-31-2010 05:12 AM

I got this working, required some changes to the searchbit template and I think some CSS changes as well. All my post icons are 40x40 pixels..

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


With
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>
                            " style="background-image: url('{vb:raw thread.threadiconpath}'); background-size: 40px"</a>


OurCouponHome 10-22-2010 12:13 AM

That didn't work for me...this is driving our members crazy,


All times are GMT. The time now is 05:01 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.01099 seconds
  • Memory Usage 1,714KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete