![]() |
Strike thread thread title on Closed NonSticky Thread
This was requested by J82980BA3E43 in this thread
https://vborg.vbsupport.ru/showthread.php?t=98927 What this does is it will add a line through the thread title of a closed thread that is not a sticky. 1 Template edit and your done :) EDIT template -- threadbit FIND: Code:
<if condition="$show['gotonewpost']"> Code:
<!-- ##### START HACK - Strike through close threads ##### --> If you use the ajax moderation to close a thread you won't see the effects until you refresh the page. Though anyone just loading the page of course will see the strike. |
It's too fricken early... will a mod please move this to the forumdisplay modifications forum :P
|
Thanks, ticks install.
|
Moving now. :)
|
thanks for your fast answer, ticks install. :nervous:
|
The [high]<strike>[/high] tag is not XHTML valid... Use:
HTML Code:
<span style="text-decoration: line-through;">...</span> Other than that, nice :) If you want a plugin version, use the one attached :) Chris |
Quote:
|
Quote:
|
Instead of doing the template edit you would go to your Admincp -> Plugin System -> Download / Upload Plugins -> Scroll to the very bottom of the screen and click Browse. Locate the file and then click Import.
Thanks Chris!!! If you want, release yours as a plugin and I'll have a moderator delete this thread :) |
Quote:
|
Thanks for the plugin Chris, I also thought it would be good to have a closed thread in a different colour font, this shouldnt be hard for anyone to do anyway but this is what i done
if u used Chris M's plugin, edit the plugin and replace the PHP code with this code Code:
if (!$thread['open'] && !$thread['sticky']) |
Quote:
Chris |
Quote:
PHP Code:
Chris |
Chris already made a hack like this.
|
Cyricx actually made this first - I then posted a plugin version earlier in this thread, and Cyricx said I could release the plugin if I liked :)
Chris |
Quote:
are you talking about the post in this thread? or did you make a complete different thread with your plugin? (I'm always paranoid I'm not using the most recent version of something. lol) ie: where should I download the plugin from? |
I really like this. But, is there a way to display the strike through for search results?
|
All times are GMT. The time now is 12:40 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|