Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 8 Years, 8 Months, 3 Weeks ago Closed thread as strikeout in thread display.
#1
Solved: 8 Years, 8 Months, 3 Weeks ago
Is there an easy way to make closed threads display with a strikeout text decoration in the thread display? I have no post icons at all, so I need a way to represent this.
#2
Solved: 8 Years, 8 Months, 3 Weeks ago
You could use thread prefixes.
Random Fish and Sims Maniac
MY PLUGINS
Help MyBBSupport help you - remember to mark your threads as solved


#3
Solved: 8 Years, 8 Months, 3 Weeks ago
(2013-01-24, 10:52 PM)Leefish Wrote: You could use thread prefixes.

So I would need to change the prefix each time a thread was closed?
#4
Solved: 8 Years, 8 Months, 3 Weeks ago
Open forumdisplay_thread. Find:

<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>

Replace with:

<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class} closed{$thread['closed']}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>
(basically add a class of closed{$thread['closed']})

In global.css, add at the end:

closed1 {
text-decoration: line-through;
}
Please don't PM me for support. Smile
#5
Solved: 8 Years, 8 Months, 3 Weeks ago
I used your code, it's adding the class correctly to the link, but it's not displaying correctly. I assume I have done something wrong with the CSS. If you get a chance, check out my page.

http://smiteforums.com/forum-2.html

Community Guidelines is a closed thread.

EDIT: Nevermind, all sorted. I put the class inside the <span> tag.
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)