vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to highlight threads? (https://vborg.vbsupport.ru/showthread.php?t=323839)

XYZ500 11-08-2016 02:38 PM

How to highlight threads?
 
How to highlight threads? Is this a plugin? If yes, which?

Examples:
http://prnt.sc/d4p54l
http://prnt.sc/d4p5ob

In addition to this, is it somehow possible to make this highlight blink? Like flashing lights? Meaning highlight on, highlight off, highlight on. Like a flashing amber light on a traffic signal.

MarkFL 11-08-2016 02:47 PM

I have a vBulletin product for vB 4.2.x here that will allow you to highlight threads (and add additional CSS):

Additional Thread Tools

XYZ500 11-08-2016 05:41 PM

Quote:

Originally Posted by MarkFL (Post 2577991)
I have a vBulletin product for vB 4.2.x here that will allow you to highlight threads (and add additional CSS):

Additional Thread Tools

Thank you.

Is this a paid or free product?

I see it does the highlighting that I mentioned in OP. Can it also do the flashing thing I mentioned?

MarkFL 11-08-2016 05:56 PM

Quote:

Originally Posted by ECZ (Post 2578000)
Thank you.

Is this a paid or free product?

I see it does the highlighting that I mentioned in OP. Can it also do the flashing thing I mentioned?

All of my products are free and supported. The product to which I linked doesn't support blinking backgrounds by default, however you could likely add a flashing background via the additional CSS you can add with the setting "Additional Threadbit CSS" and adding some kind of animation CSS selector to the page.

XYZ500 11-08-2016 06:09 PM

Quote:

Originally Posted by MarkFL (Post 2578001)
All of my products are free and supported. The product to which I linked doesn't support blinking backgrounds by default, however you could likely add a flashing background via the additional CSS you can add with the setting "Additional Threadbit CSS" and adding some kind of animation CSS selector to the page.

Thank you. That's great. I'm installing your product now.

I am not a techie and hence can't do that on my own without instructions. Could you be so kind to give me step by step instructions on how to add the flashing highlight feature?

--------------- Added [DATE]1478636999[/DATE] at [TIME]1478636999[/TIME] ---------------

Quote:

Originally Posted by MarkFL (Post 2578001)
All of my products are free and supported. The product to which I linked doesn't support blinking backgrounds by default, however you could likely add a flashing background via the additional CSS you can add with the setting "Additional Threadbit CSS" and adding some kind of animation CSS selector to the page.

Just installed it. Absolutely wonderful thing. Great job.
Any chance I can change the pink highlight to yellow highlight?

MarkFL 11-08-2016 06:46 PM

Okay, after you have the product installed, add a plugin as follows:

Product: MarkFL: Additional Thread Tools

Hook Location: parse_templates

Title: Blinking Highlighted Threads

Execution Order: 5

Plugin PHP Code:

PHP Code:

if (in_array(THIS_SCRIPT, array('forumdisplay''search')))
{
    
$template_hook['headinclude_css'] .= '<style>threadbit.markfl_highlight .deleted, .threadbit.markfl_highlight .sticky, .threadbit.markfl_highlight .nonsticky, .threadbit.markfl_highlight .discussionrow, .threadbit.markfl_highlight .alt, .threadbit.markfl_highlight .ignored {animation: blink 1s steps(1) infinite; -webkit-animation: blink 1s steps(1) infinite;} @keyframes blink {50% {background: transparent;}} @-webkit-keyframes blink {50% {background: transparent;}}</style>';


Plugin Is Active: Yes

Click "Save" and that should do it. :)


All times are GMT. The time now is 09:06 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.00987 seconds
  • Memory Usage 1,731KB
  • 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
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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