News:

Join the Facebook Fan Page.

Main Menu

mark topic solved

Started by peter_mein, August 19, 2022, 06:28:05 AM

Previous topic - Next topic

peter_mein

Hello
Is it possible this Button as modification for all user ?


peter_mein

That is not the same.
This mod don´t set a green stick.
And i can´t see which topic is solved.

Dzonny

You haven't specified what exactly the mod should do. Can you try this one maybe:
https://github.com/SimpleDesk/Team-Mods-TopicSolved

That one should work like the one we have installed here though.

Diego Andrés

Quote from: peter_mein on August 19, 2022, 07:14:51 AMThat is not the same.
This mod don´t set a green stick.
And i can´t see which topic is solved.

The mod does this, what do you mean exactly?
I added screenshots to the mod page so you can see it.


SMF Tricks - Free & Premium Responsive Themes for SMF.

Speed King

Quote from: Diego Andrés on August 19, 2022, 07:49:43 PM
Quote from: peter_mein on August 19, 2022, 07:14:51 AMThat is not the same.
This mod don´t set a green stick.
And i can´t see which topic is solved.

The mod does this, what do you mean exactly?
I added screenshots to the mod page so you can see it.

Yes, but maybe there is a conflict with another mod - Avatars Display Integration.
On my test forum, Topic Solved works fine, but testing on my working forum with ADI installed results what @peter_mein says.

Diego Andrés

#6
Oh yea it's an issue with the Avatar Display mod, already reported it but the author didn't fix it.
@Pipke is replacing the class instead of concatenating.
$context['topics'][$topic['id_topic']]['css_class']

SMF Tricks - Free & Premium Responsive Themes for SMF.

peter_mein

Hello
Yes that is the problem with mod ADI.
I write this to the forum: https://www.simplemachines.org/community/index.php?topic=571891.160
Maybe he'll get in touch

Pipke

Quote from: Diego Andrés on August 19, 2022, 11:16:42 PMOh yea it's an issue with the Avatar Display mod, already reported it but the author didn't fix it.
@Pipke is replacing the class instead of concatenating.
$context['topics'][$topic['id_topic']]['css_class']

So what's wrong with my code? That's how I built the mod and it works...so what's wrong with that ;)
i just 'hook' in the array so the avatar can be placed in that spot, if your mod does the same i can't help it.
"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! ☕

peter_mein

Then the mod Basic Topic Solved go to another place.
Perhabs the green hook at the place from message icon.
And the other mod from here https://github.com/SimpleDesk/Team-Mods-TopicSolved
need also another place.
I hope a solution will be found.

Peter


Diego Andrés

#10
Quote from: Pipke on August 21, 2022, 12:49:29 PMSo what's wrong with my code? That's how I built the mod and it works...so what's wrong with that ;)
Well there are some small issues actually, for starters the HTML issues, one per topic

You cannot view this attachment.


PS: I'll mark this as solved as the original question got an answer.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Advertisement: