Topic Solved

Started by Diego Andrés, July 09, 2022, 08:21:40 PM

Previous topic - Next topic

Diego Andrés

It's done with that intend.
You can change it by editing Themes/default/css/topicsolved.css
Remove .locked from the list. of styles.
.windowbg.solved:not(.sticky, .locked)

As a matter of fact, I'll be adding the approve class in here too, seems I forgot about it...

SMF Tricks - Free & Premium Responsive Themes for SMF.

Matias-

Quote from: Diego Andrés on February 24, 2023, 09:16:30 PMIt's done with that intend.
You can change it by editing Themes/default/css/topicsolved.css
Remove .locked from the list. of styles.
.windowbg.solved:not(.sticky, .locked)

As a matter of fact, I'll be adding the approve class in here too, seems I forgot about it...

Thanks, I got it.

For me the idea of the topic solved is to be able to mark the topic as solved and that:

- The tilde of solved is seen.
- The topic is seen in green. (Since this is how it is distinguished if it is solved or not) regardless of whether the topic is closed or open.

Thanks!!

gevv

Hi,

There is a conflict with the Avatars display integration (v1.5.4)  mod. The topic solved icons do not appear.

ElkArte is a modern, powerful community building forum software. https://www.elkarte.net/

Diego Andrés

#23
Yup it's an issue with the other MOD, documented here. At the moment nothing can be done about it I'm afraid.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Pipke

Quote from: gevv on September 14, 2023, 01:04:37 PMHi,

There is a conflict with the Avatars display integration (v1.5.4)  mod. The topic solved icons do not appear.

Quote from: Diego Andrés on September 14, 2023, 01:10:41 PMYup it's an issue with the other MOD, documented here. At the moment nothing can be done about it I'm afraid.

quick fix for that conflict is here
"If something is wrong, fix it if you can. But train yourself not to worry: Worry never fixes anything."

Click here to view my mods for SMF

Hey 👋 Did i helped... you like what i do. You can now buy me a coffee! ☕

gevv

Hi,

How do I add "solved" text at the end of the titles?



ElkArte is a modern, powerful community building forum software. https://www.elkarte.net/

gevv

The method I used in old mod. (https://github.com/SimpleDesk/Team-Mods-TopicSolved) I tried it in new Topic Solved  mod it doesn't work, nothing appeared.

Find Sources MessageIndex.php

'css_class' => $colorClass,
add after;

'solved_link' => '<a href="' . $scripturl . '?topic=' . $row['id_topic'] . '.0">'.$txt['TSolved'].'</a> '
Themes MessageIndex.template.php


<div class="message_index_title">
add after;

'.(!empty($topic['solved']) ? $topic['solved_link'] : '').'

language;

$txt['TSolved'] = '<span class="solved2">Solved</span>';
css;

.solved2 {
   background-color: #2E78E8;
   border: 1px solid #1B5BBA;
   border-radius: 2px;
   color: #FFFFFF;
   font-family: sans-serif;
   font-size: 10px;
   font-weight: bold;
   padding: 1px 5px;
}
ElkArte is a modern, powerful community building forum software. https://www.elkarte.net/

Diego Andrés

Quote from: gevv on September 16, 2023, 11:18:48 AMadd after;

'.(!empty($topic['solved']) ? $topic['solved_link'] : '').'

I don't use a 'solved' column.
Try with 'is_solved'.

'.(!empty($topic['is_solved']) ? $topic['solved_link'] : '').'

SMF Tricks - Free & Premium Responsive Themes for SMF.

gevv

ElkArte is a modern, powerful community building forum software. https://www.elkarte.net/

durangod

i installed the mod but i dont see the new button anywhere on topics
My name is short for durango dave (i am not a god lol)

Diego Andrés

You need to enable it per board when editing each, or select the boards where it applies in the settings of the MOD.

SMF Tricks - Free & Premium Responsive Themes for SMF.

durangod

Yeah ok got it... It seems to be enabled by default but one board it was not, i just happen to be in that board.  But i see it now.....  Thanks
My name is short for durango dave (i am not a god lol)

Steve

When using checkboxes for 'Show quick-moderation as', would it be difficult to add 'Mark Solved' to the dropdown list of options?
DO NOT pm me for support!

Diego Andrés

Could be, is it something that would be useful? I've personally never really needed to mark many as solved at once.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Steve

I would use it but I don't know that it would be useful for others.
DO NOT pm me for support!

durangod

#35
Diego, not sure if this is a theme issue or a mod issue but have a look, this is how the solved topic highlight is displayed.  Looks like its using the original default theme color and just needs a color change.  :)  maybe just make a note for the next version :)

You cannot view this attachment.

found it... its in

minified_8b486e37369017d0b309b03d104fe32e.css?smf214_1703261977

.windowbg.solved:not(.sticky,.locked,.approvetopic) {
    background: #c5edc5;
}

suggestions green gold and red, i prefer the red but its up to you what you think is best :)


suggestions only #133a13  or #46230e a red #340909

:)
My name is short for durango dave (i am not a god lol)

durangod

Just FYI i had to do them separately because my editor was tossing errors if i combined them.  However according to the docs your combined syntax is perfect.  So its my editor issue..


.windowbg.solved:not(.sticky) {
    background: #340909 !important;
}

.windowbg.solved:not(.locked) {
    background: #340909 !important;
}

.windowbg.solved:not(.approvetopic) {
    background: #340909 !important;
}


My name is short for durango dave (i am not a god lol)

Steve

The highlighted background was a deal-breaker for me too. Couldn't the background code be eliminated or made to match the current windowbg?
DO NOT pm me for support!

durangod

Quote from: Steve on December 23, 2023, 07:51:53 AMThe highlighted background was a deal-breaker for me too. Couldn't the background code be eliminated or made to match the current windowbg?

Well yeah it could im sure but the problem is that there are also colors for sticky, locked, and approvetopic items so if noone cares about this being different then sure but if not then it has to be a different color for those that want a different color.  However, yeah i see what your saying just have the checkmark and leave the hightlight alone (meaning dont have one at all).  I guess maybe have a config value for that, highlight on or off, and color lol
My name is short for durango dave (i am not a god lol)

Diego Andrés

Quote from: durangod on December 22, 2023, 10:34:14 PMDiego, not sure if this is a theme issue or a mod issue but have a look, this is how the solved topic highlight is displayed.  Looks like its using the original default theme color and just needs a color change.  :)  maybe just make a note for the next version :)

That's something you'd need to adjust for a custom theme.
For Repulse, you could add this at the end of custom_edits.css

:root[data-colormode="dark"] .windowbg.solved:not(.sticky, .locked, .approvetopic) {
background: #4e654e;
}

SMF Tricks - Free & Premium Responsive Themes for SMF.

Advertisement: