Advertisement:

Author Topic: Different default thread icons for different boards?  (Read 2670 times)

Offline bayonetbrant

  • Semi-Newbie
  • *
  • Posts: 40
  • Gender: Male
  • Onward and upward!
    • Armchair Dragoons
Different default thread icons for different boards?
« on: June 23, 2018, 08:52:07 PM »
We've got a variety of gaming-related boards on our forum.

Right now, any message created in any forum uses the same default icon.

Is there a mod out there to specify different a different default icon depending on the board in which the thread was created?

For instance, I want to have a different icon for "mobile gaming" from "console gaming" from "tabletop gaming" and others default for "writing staff" or "moderator staff"


I searched the mods archive, but looking for changes to thread icons isn't nearly specific enough.

Thanks!

Offline br360

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,398
    • GenXcommunity
Re: Different default thread icons for different boards?
« Reply #1 on: June 23, 2018, 09:19:25 PM »
This may be close to what you are looking for- https://custom.simplemachines.org/mods/index.php?mod=4038

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,498
  • Gender: Male
    • Kindred-999 on GitHub
Re: Different default thread icons for different boards?
« Reply #2 on: June 23, 2018, 09:24:58 PM »
Do you mean the on/off/on2 icons that indicate if there are new messages in the board?

There are 2 mods that do that.   Custom board icons  and one by adk, I think only available on their own site...
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline bayonetbrant

  • Semi-Newbie
  • *
  • Posts: 40
  • Gender: Male
  • Onward and upward!
    • Armchair Dragoons
Re: Different default thread icons for different boards?
« Reply #3 on: June 23, 2018, 11:01:15 PM »
This may be close to what you are looking for- https://custom.simplemachines.org/mods/index.php?mod=4038

That will add some labels to the board, but not change the default for that board :(

Offline bayonetbrant

  • Semi-Newbie
  • *
  • Posts: 40
  • Gender: Male
  • Onward and upward!
    • Armchair Dragoons
Re: Different default thread icons for different boards?
« Reply #4 on: June 23, 2018, 11:03:23 PM »
Do you mean the on/off/on2 icons that indicate if there are new messages in the board?

No, not what I'm after.

I want the default message icon (below) to be different in boards with different topics

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,498
  • Gender: Male
    • Kindred-999 on GitHub
Re: Different default thread icons for different boards?
« Reply #5 on: June 23, 2018, 11:08:06 PM »
Then no, there is nothing of that sort
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,104
  • Gender: Male
    • Macedonian electronics forum
Re: Different default thread icons for different boards?
« Reply #6 on: June 23, 2018, 11:27:03 PM »
You could change the icons manually and the text too. The text resides in Post.yourlanguage.php or Post.yourlanguage-utf8.php, depending whether you're using an UTF-8 language pack or not.

Code: [Select]
$txt['standard'] = 'Standard';
$txt['thumbs_up'] = 'Thumb Up';
$txt['thumbs_down'] = 'Thumb Down';
$txt['excamation_point'] = 'Exclamation point';
$txt['question_mark'] = 'Question mark';
$txt['lamp'] = 'Lamp';

Change the translation to whatever suits your needs.

The icons reside in forum_root/Themes/default/images/post if your theme uses the icons from the default theme, or in forum_root/Themes/your_theme/images/post if you're using a different theme. By the looks of it, you're using the default theme.
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Offline bayonetbrant

  • Semi-Newbie
  • *
  • Posts: 40
  • Gender: Male
  • Onward and upward!
    • Armchair Dragoons
Re: Different default thread icons for different boards?
« Reply #7 on: June 24, 2018, 12:05:43 AM »
You could change the icons manually and the text too.

yep, we've got a bunch of custom icons all over our forum

I'm just trying to find a way to force a different default depending on the board they're in, but it sounds like that's a mod too far  :-\

Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,104
  • Gender: Male
    • Macedonian electronics forum
Re: Different default thread icons for different boards?
« Reply #8 on: June 24, 2018, 12:25:12 AM »
I'm just trying to find a way to force a different default depending on the board they're in, but it sounds like that's a mod too far  :-\

Yep, a bit too far for what I had in mind too :-\.
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Offline br360

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,398
    • GenXcommunity
Re: Different default thread icons for different boards?
« Reply #9 on: June 24, 2018, 12:34:25 AM »

Offline bayonetbrant

  • Semi-Newbie
  • *
  • Posts: 40
  • Gender: Male
  • Onward and upward!
    • Armchair Dragoons
Re: Different default thread icons for different boards?
« Reply #10 on: June 24, 2018, 01:31:47 AM »
What about something like this mod- https://custom.simplemachines.org/mods/index.php?mod=3216

That *might* be able to be 'hacked' into doing it.  I'll have to play with it and see.

In the meantime, though, that's a very useful mod that'll make some of the icon distro much easier across our boards :)

Meanwhile, if anyone with mad mod'ing skillz wants to take up this challenge, I can write up a sec of testable IT req's for it (I've been an IT BA for a decade now...)

Offline bayonetbrant

  • Semi-Newbie
  • *
  • Posts: 40
  • Gender: Male
  • Onward and upward!
    • Armchair Dragoons
Re: Different default thread icons for different boards?
« Reply #11 on: July 14, 2018, 10:18:57 PM »
Just one more flare going up to see if someone has any ideas, or knows of any mods in progress that might meet the need for this.

Thanks!

Offline Bigguy

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,970
  • Gender: Male
  • Be nice, or else....
    • smfbigguy on GitHub
    • What's Ur Beef

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,605
    • StoryBB/StoryBB on GitHub
Re: Different default thread icons for different boards?
« Reply #13 on: July 15, 2018, 05:13:05 AM »
I don't know:

https://custom.simplemachines.org/mods/index.php?mod=511

That changes the board icons, but the request is to change the thread icons per board. While there is some functionality for that in core, it isn’t really that useful for what the OP wants.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,498
  • Gender: Male
    • Kindred-999 on GitHub
Re: Different default thread icons for different boards?
« Reply #14 on: July 15, 2018, 08:51:52 AM »
exactly...   the OP wants to change the message icon set displayed on a per board level.

It actually shouldn't be that hard to code... but I haven't seen anyone ever do it.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,605
    • StoryBB/StoryBB on GitHub
Re: Different default thread icons for different boards?
« Reply #15 on: July 15, 2018, 08:59:18 AM »
Well, you can do it out of the box by going to Admin > Forum > Smiley Sets and Message Icons > Enable customised message icons, but you then have to be super tedious about configuring which icons go with which boards. Given that it's even configured that way on this very site, anyway... ;)

Emanuele did a mod some time ago to make this interface less painful to configure icons for boards but it's still tedious and far short of what the OP seems to have been talking about.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline bayonetbrant

  • Semi-Newbie
  • *
  • Posts: 40
  • Gender: Male
  • Onward and upward!
    • Armchair Dragoons
Re: Different default thread icons for different boards?
« Reply #16 on: August 30, 2018, 04:13:03 PM »
Yes, there are definitely some tedious ways around this.  The 'easiest' way is to only allow 1 icon/board so it kind of has to be the default.

I accept that this might not be too hard to code...  for someone who knows how to write code.


I'm a rare IT weenie in that I can write some very detailed, testable requirements (10 years as a biz analyst) but I can't write the code for it :(

Offline EthanR

  • Semi-Newbie
  • *
  • Posts: 27
Re: Different default thread icons for different boards?
« Reply #17 on: September 04, 2018, 08:51:37 PM »
Cant help unfortunately but just chiming in that this would be a useful mod for me too  :)