News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

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/

Advertisement: