Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Matthew K. on September 18, 2009, 08:40:43 AM

Title: Hide Ignored Boards
Post by: Matthew K. on September 18, 2009, 08:40:43 AM
Hide Ignored Boards

Author: crazysince95 (http://www.simplemachines.org/community/index.php?action=profile;u=202437)Current version: 1.1
Updates: Available on this topic
Suitable for: 2.0 RC1.2, 2.0 RC2Supported languages: (https://www.simplemachines.org/site_images/lang/english.gif) (https://www.simplemachines.org/site_images/lang/english_british.gif)
Original author: Arantor (http://www.simplemachines.org/community/index.php?action=profile;u=53626) (his mods (http://custom.simplemachines.org/mods/index.php?action=profile;u=53626))

Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=2131) | Mod support topic (http://www.simplemachines.org/community/index.php?topic=337325.0)




Summary

This extends the Ignored Boards feature of 2.0 so that ignored boards are also hidden on display (including child boards)

All boards a user has marked as hidden are not visible, and are excluded from 'unread posts', however any topics the user post in the ignored boards that receive replies will show up in the 'Show new replies to your posts' facility.

This mod cannot and will not be made available for 1.1 users as the ability to ignore boards is not present in 1.1.

Installation

Package Manager should work in most cases. If you need to make any edits, the full list can be obtained from the Parse function on the right.

Translations
Translations for any language are more than welcome, and you will be noted for your work. :)

Useful links
Manual Installation Of Mods (http://docs.simplemachines.org/index.php?topic=402)
How Do I Modify Files? (http://www.simplemachines.org/community/index.php?topic=24110.0)

Support

Questions, bugs, and feature requests should be addressed on the mod support topic (http://www.simplemachines.org/community/index.php?topic=337325.0).

Updating

The only update made in 1.1 is to support 2.0 RC2. Please remove 1.0 and install 1.1 of the mod in that case.

Changelog

1.1 - 26 October 2009
Added support for RC2.

1.0 - 14 September 2009
First release

beta - 6 September 2009
beta release

Files modified by Hide Ignored Boards

Sources/Subs-BoardIndex.php
Themes/default/languages/Profile.english.php

Optional edits for languages:
Themes/default/languages/Profile.english-utf8.php
Themes/default/languages/Profile.english_british.php
Themes/default/languages/Profile.english_british-utf8.php
Title: Re: Hide Ignored Boards
Post by: Membre on February 26, 2010, 08:03:40 PM
Spanish_es / Spanish_latin / Spanish ( add utf8 also please :) )

         <search position="replace"><![CDATA[$txt['ignoreboards_info'] = 'Esta pagina te deja ignorar foros particulares.  Cuando un foro es ignorado, no se activara el indicador de mensajes nuevos en el indice.  Los nuevos mensajes no se mostraran al usar la busqueda de mensajes no leidos. Sin embargo los foros ignorados apareceran en el indice del sitio y al entrar te mostraran que temas tienen nuevos mensajes.  Si usas la busqueda de nuevas respuestas los mensajes dentro de los foros ignorados tambien se mostraran.';]]></search>
Title: Re: Hide Ignored Boards
Post by: Nick Whetstone on February 26, 2010, 08:13:39 PM
Thanks, Membre. I will add that into the next version of the Mod and credit you. :)
Title: Re: Hide Ignored Boards
Post by: Darkness_ on March 03, 2010, 05:00:59 PM
How can I let ignore the post that are showed in the show post (profile) of an user?
Title: Re: Hide Ignored Boards
Post by: robg2251 on April 27, 2010, 11:36:28 AM
Will this be compatible with RC3 anytime soon?
Title: Re: Hide Ignored Boards
Post by: Nick Whetstone on April 27, 2010, 11:49:17 AM
I can update it for RC3 later this week, but don't have any code/text editors on this computer. You might try emulating the version number in the meantime if you'd like to install it before I get the package updated.

Admin -> Packages -> Browse Packages -> (bottom of the page, under the packages list) Advanced -> Emulate Version {enter: SMF 2.0 RC2} -> Apply
Title: Re: Hide Ignored Boards
Post by: Darkness_ on November 05, 2010, 12:39:48 AM
can you please update it for RC4?
Title: Re: Hide Ignored Boards
Post by: Darkness_ on January 03, 2011, 07:25:00 AM
Will this mod be updated?
Title: Re: Hide Ignored Boards
Post by: HunterP on January 18, 2011, 05:59:07 AM
Quote from: Ha² on September 18, 2009, 08:40:43 AMAll boards a user has marked as hidden are not visible, and are excluded from 'unread posts', however any topics the user post in the ignored boards that receive replies will show up in the 'Show new replies to your posts' facility.

This mod cannot and will not be made available for 1.1 users as the ability to ignore boards is not present in 1.1.

Would it be possible to hide recent messages in 1.1 if their category is collapsed?
Title: Re: Hide Ignored Boards
Post by: Arantor on January 25, 2011, 06:02:57 AM
Not with this mod, this mod is absolutely nothing to do with what you're thinking of. It was originally written for the 'Ignore Boards' functionality in 2.0.

What you're asking for is a totally different mod, really.
Title: Re: Hide Ignored Boards
Post by: hcfwesker on July 27, 2011, 03:12:49 PM
I'm kinda lost.  where is it that I have the option to "Ignore a Board" on SMF2 2.0?  I been looking everywhere.

EDIT:::

nm, just found it.   Nice MOD to go along with it :)
Title: Re: Hide Ignored Boards
Post by: Jessica. on August 18, 2011, 08:45:19 PM
update to 2.0 final please?
Title: Re: Hide Ignored Boards
Post by: Srinib on September 26, 2013, 11:37:37 PM
For the requirement i have for one of my forums, this is a good MOD. It would have been great if it also had the following two options.

(1). After the members have selected the boards of their choice, there are chances that more number of boards or categories get added. In such a situation, every time the member needs to "check those boards" in their profile. For this, is there anything we can do? I mean, i am looking for the reverse of this MOD.

(2). Admin should have the ability restrain a member from "checking" a particular board(or an entire category). Like, News and Updates.
Title: Re: Hide Ignored Boards
Post by: Arantor on September 26, 2013, 11:41:49 PM
When the mod was written, it was simply in response to a user's request, nothing more. Plus most of the surrounding logic was already implemented making this a quick and easy fix.

1) I'm not entirely sure what you mean by 'the reverse of this mod'. So users have to check the boards in their profile... it happens, but if they want to ignore a board when it comes out, that's up to them.

2) I've thought for a while this should really be a core feature of SMF.
Title: Re: Hide Ignored Boards
Post by: Srinib on September 26, 2013, 11:57:55 PM
Quote1) I'm not entirely sure what you mean by 'the reverse of this mod'. So users have to check the boards in their profile...

Lets assume a member wants to view very few boards and ignore the rest of them(assuming the forum has lots of categories and boards).
At present, we need to check those required boards. I am looking for something opposite to that. All the boxes of the boards should be "checked" and the member needs to "uncheck" just the few of the boxes which he needs.
Title: Re: Hide Ignored Boards
Post by: Arantor on September 26, 2013, 11:59:08 PM
That was, and remains, out of scope for this mod as far as I'm personally concerned; the mod just changes the underlying logic around how boards are handled. The mod's author is free to implement it, but I sincerely doubt it will happen, it's just not what this mod was designed to be.

However, I have taken it under consideration for inclusion into future SMF.
Title: Re: Hide Ignored Boards
Post by: Srinib on September 27, 2013, 12:18:12 AM
QuoteHowever, I have taken it under consideration for inclusion into future SMF.

That would be a great.

And meanwhile, if you think if the future inclusion may take a longer time(more than 3 to 4 months), i may want to request for a new MOD in the Modifications and Packages section(i guess that is the right section for paid/unpaid MOD).

Do you think it would be a simple MOD, or a lot of code change?
Title: Re: Hide Ignored Boards
Post by: Arantor on September 27, 2013, 12:19:37 AM
It's definitely not a simple mod to do what you're asking. If it was, I would have done it the first time around when I originally put this together :P

I'm certainly not going to give a timeline for inclusion; simply that I have added it to the list of things that need doing, and we'll revisit it as and when appropriate. What you're asking for is a non trivial change to the way a lot of things work, or else it's just a lot of messy fudging.
Title: Re: Hide Ignored Boards
Post by: Srinib on September 27, 2013, 12:28:17 AM
For the time being, i will stick to this MOD till SMF includes this feature. I really don't want to mess up anything. Thanks a lot.
Title: Re: Hide Ignored Boards
Post by: Arantor on September 27, 2013, 12:31:07 AM
Do note that that is NOT a definitive 'we are doing this'. It is on my list for review, that's no guarantee of anything, nor should it be construed as such.
Title: Re: Hide Ignored Boards
Post by: Srinib on November 16, 2013, 03:50:51 AM
After i installed this MOD on my test forum, i am getting this error message. Only when i click "Home", i get this error. Profile, My Messages, Members and Logout are working fine.
Title: Re: Hide Ignored Boards
Post by: Matthew K. on December 08, 2013, 08:56:11 PM
Make sure the database operations were completed (it appears they weren't). You should be able to run the "install.php" file that is in the package in your browser.
Title: Re: Hide Ignored Boards
Post by: TMR Guy on May 12, 2014, 02:53:18 AM
Where is it that I have the option to "Ignore a Board" on SMF 2.0.7?

Thanks,

TMR Guy
Title: Re: Hide Ignored Boards
Post by: Arantor on May 12, 2014, 11:07:57 AM
It's in your profile area, assuming it's enabled.
Title: Re: Hide Ignored Boards
Post by: TMR Guy on May 12, 2014, 01:56:24 PM
I don't see where to enabled/disable the mod.
Title: Re: Hide Ignored Boards
Post by: Arantor on May 12, 2014, 01:57:22 PM
This is something I never understood about mod authors and when I originally wrote this mod, I certainly didn't bother with it. If you install it, it's enabled, if you uninstall it, it gets disabled. Why does there need to be any configuration beyond that?
Title: Re: Hide Ignored Boards
Post by: TMR Guy on May 12, 2014, 03:08:29 PM
I uninstalled the mod, then deleted it, then reinstalled it and it gave me this massage, "The package was installed successfully. You should now be able to use whatever functionality it adds or changes; or not be able to use functionality it removes." So it should be enabled, right?

But I'm not seeing where to use it. I thought it would be in my profile when I clicked the "Modify Profile" button. I just don't see how to use it.

Thanks,

TMR Guy
Title: Re: Hide Ignored Boards
Post by: Arantor on May 12, 2014, 03:20:05 PM
This mod doesn't make ignored boards happen. They're already a feature in SMF, this mod just tweaks them.

Ignore boards is enabled via Admin > Forum > Settings > Allow boards to be ignored. (This setting exists regardless of whether the mod is installed)
Title: Re: Hide Ignored Boards
Post by: TMR Guy on May 12, 2014, 05:07:46 PM
I hope I'm don't getting off topic but....

I did Admin > Forum > Boards > Settings > Allow boards to be ignored. Which added the "Ignore Boards Options" to my Modify Profile drop down box/options. It shows all the boards that I can ignore but it doesn't work unless I have the mod installed. It's working fine now (with the mod installed). Was there something I did wrong for it not to work without the mod?

Also, is there a way for me to not allow members to ignore a board? If I had a "Admins Announcements" board that I didn't want anyone to ignore, is there a way for me to do that?

Arantor, thanks for all of your help on my last few questions over the last few days.
Title: Re: Hide Ignored Boards
Post by: Arantor on May 12, 2014, 05:12:20 PM
Of course it does. It just doesn't do what you think it does.

Without the mod installed, a board that is ignored is just that. Boards don't show up as having new posts, nor do said boards turn up in recent or unread posts. If you still want to see the state of topics in those boards, you can still go and see the topics and still see which ones are unread.

With the mod installed, all of that still happens - but the boards won't show up on board indexes, that's all it does.

For example, I have all the non-English boards marked ignore here because they don't interest me, as I don't speak the language. They're all excluded from recent posts, all excluded from unread posts but the boards are still visible.

No, there isn't a way in base SMF to pick and choose boards to ignore/not ignore. I don't know if there's a mod for it or not, there wasn't last time I looked for one, in the end I just wrote it myself.
Title: Re: Hide Ignored Boards
Post by: TMR Guy on May 12, 2014, 06:18:42 PM
Now I get it, thanks for explaining it to me Arantor. And thank you to the author of the mod, it's going to help me as my sites grows  8)
Title: Re: Hide Ignored Boards
Post by: Arantor on May 12, 2014, 06:23:07 PM
The mod author you say? Check the mod's page for where it says 'original author' ;D
Title: Re: Hide Ignored Boards
Post by: FrizzleFried on March 18, 2022, 09:55:41 AM
I just checked and this mod (of course) does not work with 2.1.1...


I have an exceptionally whiney segment of my userbase that is simply beside themselves that ignored boards are still showing up on the index.   Evidently in the 2.0.x version of our forum I did have this mod installed.

@Arantor ... is there any way I can convince you to update this mod to work with 2.1.1?

If cash is the key... name your price... we can go from there.

Thank you for the consideration.
Title: Re: Hide Ignored Boards
Post by: Arantor on March 18, 2022, 04:23:19 PM
The real question is what it should do with alerts.

For example, let's say I ignore a board and in a topic in that board, you @ me. Should I still receive the notification?

I am in one of two minds on the subject and it really matters because both options require quite a few changes and making it a toggle option isn't really worth the effort.
Title: Re: Hide Ignored Boards
Post by: FrizzleFried on March 18, 2022, 04:56:54 PM
Hmmm... what does it do now?  I think currently ignore boards only ignores the posts/responses in the "Unread/Updated Topics" links... right?

Does it already do any ignoring in the alerts?

NOW... if someone has an alert in a post that is in a sub-forum that he is ignoring... that's on him.  I say show him the post... unless it's just easier to not... which (again) that's on him/her.

:)

I honestly don't care which way you decide to go... go with whatever is easier IMHO.

:)
Title: Re: Hide Ignored Boards
Post by: Arantor on March 18, 2022, 05:02:51 PM
So, ignore boards in 2.0 out of the box just means they don't show up in unread/updated. The way I wrote the mod originally, the boards aren't accessible on the board index and friends either (but should be accessible if someone clicks a link)

But alerts/likes are a form of trigger that don't work that way and can be triggered by other users, rather than an individual being the owner of their own destiny.

What's *easiest*? The easiest route is not caring if someone mentions someone and letting the alert go through to the user, if I remember rightly, just not sure that's the 'correct' behaviour.
Title: Re: Hide Ignored Boards
Post by: FrizzleFried on March 18, 2022, 06:04:30 PM
Yeah, I didn't think about the mention system.  Hmmmm... yeah,  those should be blocked in ignored boards if done "right"...
Title: Re: Hide Ignored Boards
Post by: Aleksi "Lex" Kilpinen on March 19, 2022, 04:24:30 AM
Just gonna throw my opinion there, and say I don't think it's really that simple. There are many different reasons one might want to ignore a board, and usually many different positions on a forum that might all approach this from a different angle. Like, even though I may ignore a board or few because I don't usually want to see them or want them in my search results, I might still very much want to know if someone is mentioning me on purpose.
Title: Re: Hide Ignored Boards
Post by: FrizzleFried on March 19, 2022, 07:58:16 AM
Our issues aren't nearly as problematic.  WE have a NSFW and a Political forum.  Both of those are rather popular to be ignored vs the rest.   We're not harassing each other too much.  They'd rather just not see the NSFW or Political forums.  If the functionality mimiced 2.0.x version, that would be plenty good "enough" for my users.  That said,  I can see where a properly coded mod would be beneficial tot he software.  Frankly, the ignore function of SMF has always left a bit to be desired.
Title: Re: Hide Ignored Boards
Post by: Kindred on March 19, 2022, 08:45:39 AM
Quote from: FrizzleFried on March 19, 2022, 07:58:16 AMFrankly, the ignore function of SMF has always left a bit to be desired.


Only because you dont (apparently) agree with what ignore shoukd do.
Honestly, the ignore function dies exactly what i would expect it to do.  :P
Title: Re: Hide Ignored Boards
Post by: Arantor on March 19, 2022, 08:51:57 AM
An increasing number of platforms take the same view, though, Kindred.

Honestly you should try some of the other platforms in the world sometimes, see the design choices they made and their consequences (for better and worse). It's fascinating to see what resonates with what audience and context.

In this case part of me feels like it needs to be almost actually supporting both from the user's general perspective and giving them the option.
Title: Re: Hide Ignored Boards
Post by: Kindred on March 19, 2022, 09:08:26 AM
I have tried others... I don't like many of their choices,  lol

Then again, I'm old.
Title: Re: Hide Ignored Boards
Post by: Arantor on March 19, 2022, 09:12:51 AM
And with that you have missed the point of the journey :( It's not to see whether you *like* it, but to see what they're doing, and why they're doing it. And I'm not just talking about forums here.

The behaviour in question where a user can curate their own outlook on the world is rapidly becoming a more popular idea in pretty much every corner of the world except for forums. Defending that status quo is not healthy because it just guarantees forums slid further into irrelevance.
Title: Re: Hide Ignored Boards
Post by: FrizzleFried on March 19, 2022, 09:17:10 AM
Honestly Kidred,  I couldn't care less how the ignore board function works.  I'm simply comparing the functionality to other forum software.  It leave a lot to be desired.  It doesn't even actually ignore the boards in the index.

Nothing personal... it's just not a very good solution vs others that are out there IN MY (and many of my users) HUMBLE OPINION.

Xenforo(sp?) has a pretty decent ignore function in comparison... again,  IMHO.

I am guessing that the SMF team really didn't spend a lot of time working on the functionality of something that PREVENTS what the forum is for.  Frankly... I am not a big fan of any ignore function as I'm a big boy and can choose to NOT click on something if I want.... but apparently there are some that have a differing opinion than I.
Title: Re: Hide Ignored Boards
Post by: FrizzleFried on March 19, 2022, 09:18:45 AM
Quote from: Kindred on March 19, 2022, 09:08:26 AMI have tried others... I don't like many of their choices,  lol

Then again, I'm old.

See... I'm right there too.  I'm old.  I find the whole notion of a software "ignore" ludicrous... but there is a segment of people who don't think the way we do.

Hell,  I don't own a cell phone! (no,  I'm not kidding).

On purpose!

Title: Re: Hide Ignored Boards
Post by: Arantor on March 19, 2022, 09:32:06 AM
XenForo's ignore out of the box is arguably worse than SMF's - ignoring boards at all is not an option, while ignoring users is presented slightly more aggressively than SMF. Plugins exist to fill the spacethough.

Ignoring a board as per 2.0 is convenient for 'I don't care about...' content - here I have all the non-English boards muted so I don't get told about them in unread.

But I think there is an argument for people to 'I never want to interact with that even by accident' and this certainly helps deal with the more 'free for all' areas forums do sometimes produce. Especially if you have a demographic that trends towards the 'I know I should let it go but...' mentality.
Title: Re: Hide Ignored Boards
Post by: Aleksi "Lex" Kilpinen on March 19, 2022, 10:25:41 AM
Quote from: Arantor on March 19, 2022, 08:51:57 AMIn this case part of me feels like it needs to be almost actually supporting both from the user's general perspective and giving them the option.
Yup, I think this would really be the best approach in this. Because like I said, there are different reasons for wanting to ignore something, and similarly different expectations towards the actual coverage of ignoring content.
Title: Re: Hide Ignored Boards
Post by: chaos40 on August 27, 2022, 10:57:04 AM
Hello all,

This mod seems like a really nice feature to have, however, after I make the manual changes to the Subs-BoardIndex.php file as per the instructions I get a message that ignore_boards entry does not exist in the database

I opened the database and found there is indeed an entry under smf_members so I'm really stumped

can anyone help? I can post screen prints if needed

thanks in advance
Title: Re: Hide Ignored Boards
Post by: chaos40 on August 28, 2022, 02:31:25 PM
Please disregard ^^^^ this post

I'm an idiot and didn't apply all of the settings instructed within the mod manual edits

I thought I did .. .but sometimes , with the "virtually impossible" editor  :P