vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Strike through Closed thread title (https://vborg.vbsupport.ru/showthread.php?t=98980)

Chris M 10-21-2005 10:00 PM

Strike through Closed thread title
 
[high]Installation Instructions[/high]

Step 1: Upload the .xml file to the Product Manager
Step 2: Click [high]INSTALL[/high]:D

Idea by: Cyricx

[high]What does this Plugin do?[/high]

Basically, this will strike through thread titles on the forumdisplay (will not show with AJAX close until you refresh) but will not strike through sticky threads :devious:

[high]Are there any screenshots?[/high]

See post below :)

[high]Version History:[/high]

1.0.0: First release

Chris

Chris M 10-21-2005 11:28 PM

Screenshot

See attached :)

To alter the colour of threads that are struck through, alter this line in the plugin:

PHP Code:

$thread[threadtitle] = '<span style="text-decoration: line-through;">' $thread[threadtitle] . '</span>'

Change it to:
PHP Code:

$thread[threadtitle] = '<span style="text-decoration: line-through; color: #FF0000;">' $thread[threadtitle] . '</span>'

Change [high]#FF0000[/high] to the colour you want :)

Chris

Onimua 10-21-2005 11:58 PM

Quote:

Originally Posted by Chris M
To alter the colour of threads that are struck through, alter this line in the plugin:

PHP Code:

$thread[threadtitle] = '<span style="text-decoration: line-through;">' $thread[threadtitle] . '</span>'

Change it to:
PHP Code:

$thread[threadtitle] = '<span style="text-decoration: line-through; color: #FF0000;">' $thread[threadtitle] . '</span>'

Change [high]#FF0000[/high] to the colour you want :)

Chris

[high]* Onimua installs and then complains. :p[/high]

Chris M 10-22-2005 12:01 AM

Yes, you have already :p

No IM support :p:p;):D

Chris

Citizen E 10-22-2005 12:04 AM

Quote:

This file appears to be a Product, not a Plugin. Please use Manage Products to add this file.
:nervous:

Citizen E 10-22-2005 12:06 AM

But it works great!

Chris M 10-22-2005 12:07 AM

Quote:

Originally Posted by Citizen E
:nervous:

Hehe - I release all new mods as Products now - I will get round to updating my previous pre-RC1 mods to Products, but haven't really had the time :p

Quote:

Originally Posted by Citizen E
But it works great!

Glad to hear it :)

Chris

Citizen E 10-22-2005 12:08 AM

Oh okie, anyway it works great-this was exactly what I was looking for!

Chris M 10-22-2005 12:10 AM

Quote:

Originally Posted by Citizen E
Oh okie, anyway it works great-this was exactly what I was looking for!

It is useful, not only for striking through threads but you can remove the strikethrough feature, and instead of having it check if a thread is sticky and not "strikethrough", you could make it so if it is a closed and sticky thread, the title appears in bold and red and has hover-over text like "READ THIS IT'S IMPORTANT" etc ;)

Chris

tanyeri24 10-22-2005 12:42 AM

please I didn't understand the plugin, please screenshot or demo link. thanks.


All times are GMT. The time now is 07:14 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.01073 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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