Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: live627 on September 08, 2009, 11:39:57 PM

Title: Ignore Another User
Post by: live627 on September 08, 2009, 11:39:57 PM
Ignore Another User





Written by: Arantor (http://www.simplemachines.org/community/index.php?action=profile;u=53626) (my other mods (http://custom.simplemachines.org/mods/index.php?action=profile;u=53626))Current version: 1.1
Updates: Arantor's Developments (http://ara.ixos.org/)
Suitable for: SMF 1.1.11Supported languages: (https://www.simplemachines.org/site_images/lang/english.gif) (https://www.simplemachines.org/site_images/lang/english_british.gif) (https://www.simplemachines.org/site_images/lang/spanish.gif) (https://www.simplemachines.org/site_images/lang/german.gif)

Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=2118) | Mod support topic (http://www.simplemachines.org/community/index.php?topic=335550.0) | Mod bugtracker (http://ara.ixos.org/index.php?project=23) | Donate (https://www.paypal.com/cgi-bin/webscr&cmd=_s-xclick&hosted_button_id=7164850)





Summary

In 2.0, by default, any users listed in your ignore list for private messages will by default have their posts hidden as well - you can see them by clicking on the 'Show me the post link'.

This mod adds the same feature for 1.1 users - no 2.0 version is required.

Installation
Package Manager should work in most cases.

The manual edits are to Display.php with some language edits, as in the package

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 should be address to the mod support topic (http://www.simplemachines.org/community/index.php?topic=335550.0). Anything that is a bug or feature request can additionally be reported to the mod bugtracker (http://ara.ixos.org/index.php?project=23).

Updating

Updating to 1.1 is only required to add German support. Please remove 1.0 before installing 1.1.

Changelog

1.1 - October 25, 2009
Added Spanish support thanks to 130860 and German support thanks to twg

1.0 - August 29, 2009
First release

Files modified by Ignore Another User

Sources/Display.php
Themes/yourtheme/languages/Modifications.english.php

Optionally if file is present:
Themes/yourtheme/languages/Modifications.english-utf8.php
Themes/yourtheme/languages/Modifications.english_british.php
Themes/yourtheme/languages/Modifications.english_british-utf8.php
Themes/yourtheme/languages/Modifications.spanish_es.php
Themes/yourtheme/languages/Modifications.spanish_es-utf8.php
Themes/yourtheme/languages/Modifications.spanish_latin.php
Themes/yourtheme/languages/Modifications.spanish_latin-utf8.php
Themes/yourtheme/languages/Modifications.german.php
Themes/yourtheme/languages/Modifications.german-utf8.php
Title: Re: Ignore Another User
Post by: ttuu on September 09, 2009, 03:17:15 AM
its possible to hide all post and details poster?
Title: Re: Ignore Another User
Post by: Blinker on September 09, 2009, 05:21:59 AM
Another good mod, thanks Arantor...you're on a roll dude. :)
Title: Re: Ignore Another User
Post by: Arantor on September 09, 2009, 06:47:08 AM
Quote from: ttuu on September 09, 2009, 03:17:15 AM
its possible to hide all post and details poster?

It's possible however that would be a huge amount of modding to do; this simply backports functionality already in 2.0 to 1.1. If you wanted to completely hide that post as though it had never been written - from your personal ignore list - likely you'd miss parts of the conversation, and there would be a performance hit too.

Note that even 2.0 does not offer that as an option.
Title: Re: Ignore Another User
Post by: ttuu on September 09, 2009, 09:24:13 AM
Quote from: Arantor on September 09, 2009, 06:47:08 AM
Quote from: ttuu on September 09, 2009, 03:17:15 AM
its possible to hide all post and details poster?

It's possible however that would be a huge amount of modding to do; this simply backports functionality already in 2.0 to 1.1. If you wanted to completely hide that post as though it had never been written - from your personal ignore list - likely you'd miss parts of the conversation, and there would be a performance hit too.

Note that even 2.0 does not offer that as an option.

i using 1.1.10
Title: Re: Ignore Another User
Post by: Arantor on September 09, 2009, 09:39:01 AM
I guessed you were, otherwise you wouldn't be looking at the mod.

Like I said, it's a lot of work to physically strip the post from the query if they're on your ignore list, and having been in forums where this was implemented it actually makes it more confusing because you're not seeing the full conversation. Note also that there will be a LARGE performance hit across the forum for this.

This way the post is hidden by default but you can opt to see it if you want.

I won't be adding that functionality to this mod. It may be done for a future mod, but I doubt it unless you want to make it a paid for request.
Title: Re: Ignore Another User
Post by: Sabre™ on September 09, 2009, 11:20:55 AM
This is cool!
Similar to the 'marked as spam' thing I see at Utube.
Very nice, and thanks :)
Title: Re: Ignore Another User
Post by: mandukar on September 09, 2009, 11:22:34 AM
this is a feature for 2.0 already implanted.
Title: Re: Ignore Another User
Post by: ttuu on September 09, 2009, 11:27:11 AM
Quote from: Arantor on September 09, 2009, 09:39:01 AM
I guessed you were, otherwise you wouldn't be looking at the mod.

Like I said, it's a lot of work to physically strip the post from the query if they're on your ignore list, and having been in forums where this was implemented it actually makes it more confusing because you're not seeing the full conversation. Note also that there will be a LARGE performance hit across the forum for this.

This way the post is hidden by default but you can opt to see it if you want.

I won't be adding that functionality to this mod. It may be done for a future mod, but I doubt it unless you want to make it a paid for request.

On second thought. You're right. It's totally unnecessary.
Title: Re: Ignore Another User
Post by: alex30 on September 11, 2009, 04:51:05 PM
Arantor, how do you add members to your list?
Title: Re: Ignore Another User
Post by: Arantor on September 11, 2009, 05:22:29 PM
Same way you add them to your PM ignore list - Profile > Personal Message Options > add the name in the big box.

It's never been clear in 2.0 that this also hides the messages. I will at some point tidy up the readme.
Title: Re: Ignore Another User
Post by: Richardgm on September 30, 2009, 06:54:42 PM
Love it. As others suggested it would be great to disregard the user totally... not just ("you are ignoring this user")...

Title: Re: Ignore Another User
Post by: Arantor on September 30, 2009, 06:55:52 PM
Completely ignoring a user isn't in either 1.1 or 2.0, and doing so raises a number of issues, such as performance considerations, not to mention the fact it would break a large number of other mods.
Title: Re: Ignore Another User
Post by: Richardgm on September 30, 2009, 06:57:14 PM
Ah! Well, thanks for this anyhow; I'm sure my members will be happy.
Title: Re: Ignore Another User
Post by: Shannar on October 06, 2009, 11:04:07 AM
How about hide attachments from ignored users?
Title: Re: Ignore Another User
Post by: Arantor on October 06, 2009, 11:05:43 AM
It's only geared to the main post content, though I can look at this next week when I'm back home.
Title: Re: Ignore Another User
Post by: ოկtђ on October 06, 2009, 11:13:01 AM
Turkish

$txt['ignoringuser'] = 'Bu kullanıcıyı yok saydınız.';
$txt['showmepost'] = 'Bana bu mesajı göster.';

Title: Re: Ignore Another User
Post by: Arantor on October 06, 2009, 11:16:03 AM
Thanks for the Turkish translation :)

I'll add that when I get back next week.
Title: Re: Ignore Another User
Post by: LuminaRS on October 13, 2009, 12:23:09 PM
Are you able to ignore administrators/global moderators? Looking to install this, but I don't want regular members to be able to ignore admins/global mods.
Title: Re: Ignore Another User
Post by: Arantor on October 13, 2009, 12:26:53 PM
This mod makes no differentiation. If the user puts an admin or global moderator on their ignore list, their posts will be hidden, just as they would in 2.0's feature (and this is a form of backport)
Title: Re: Ignore Another User
Post by: LuminaRS on October 13, 2009, 12:27:46 PM
I was afraid of that. Thanks for the quick reply
Title: Re: Ignore Another User
Post by: Arantor on October 13, 2009, 12:44:47 PM
It doesn't remove the post though, all it does is hide it under "You are ignoring this user", almost the same as 2.0 does.
Title: Re: Ignore Another User
Post by: mirahalo on October 19, 2009, 11:18:32 AM
oh, me again :P   heres spanish xml file:  ;)

Title: Re: Ignore Another User
Post by: lrodri7418 on January 17, 2010, 10:36:27 AM
Congrats for this mod...pretty useful
Title: Re: Ignore Another User
Post by: digit on February 22, 2010, 07:44:01 AM
Hmm, I just installed this - and it looks cool....  however....  as the admin - I just tried ignoring a user in the personal message prefs area, and their pm's are still showing - (I guess after 6+ years, I have never tried to do that!) 

Can admins ignore user pm's?   :o
Title: Re: Ignore Another User
Post by: Arantor on February 22, 2010, 11:21:38 AM
I don't believe in 1.1.x that admins can ignore other users' PMs. Not so sure about 2.0 for that matter.
Title: Re: Ignore Another User
Post by: Scratching my Head on March 11, 2010, 10:47:04 PM
Quote from: digit on February 22, 2010, 07:44:01 AM
Hmm, I just installed this - and it looks cool....  however....  as the admin - I just tried ignoring a user in the personal message prefs area, and their pm's are still showing - (I guess after 6+ years, I have never tried to do that!)  

Can admins ignore user pm's?   :o

Quote from: Arantor on February 22, 2010, 11:21:38 AM
I don't believe in 1.1.x that admins can ignore other users' PMs. Not so sure about 2.0 for that matter.

I always tell them that I'm ignoring them -- which is impossible, because
I'm responding to them -- but my members appreciate the ironic --

So... you can say you are ignoring them.

;D

Sorry.  

Carry on...


Great Mod - BTW. And thanks!
Title: Re: Ignore Another User
Post by: runvs on April 19, 2010, 10:08:38 PM
Great mod!

This mod does not Ignore individual topics for the purposes of RecentPosts/Recent/UnreadReplies/Unread sections of SMF.

Anyway of adding this.
Title: Re: Ignore Another User
Post by: live627 on April 20, 2010, 05:29:13 PM
no... that feature is way out of scope for this mod.

Also, it is way too harsh on the server
Title: Re: Ignore Another User
Post by: Arantor on April 20, 2010, 05:31:20 PM
I'd point out that I originally made this as a partial port of what 2.0 does, and even 2.0's built in feature doesn't do that.
Title: Re: Ignore Another User
Post by: h4ni on July 03, 2010, 06:18:21 AM
Can we add a button to ignore user?
Title: Re: Ignore Another User
Post by: live627 on August 06, 2010, 01:38:02 AM
Ignore User Button (http://www.simplemachines.org/community/index.php?topic=354179.0)
Title: Re: Ignore Another User
Post by: anakmacan on October 29, 2010, 06:49:39 AM
Quote from: mandukar on September 09, 2009, 11:22:34 AM
this is a feature for 2.0 already implanted.

Quote from: Arantor on October 13, 2009, 12:26:53 PM
This mod makes no differentiation. If the user puts an admin or global moderator on their ignore list, their posts will be hidden, just as they would in 2.0's feature (and this is a form of backport)

I dont understand this cos in my case, this feature only works on "PRIVATE MESSAGES", but topics and replies posted by ignored user still exist.
Title: Re: Ignore Another User
Post by: Oya on October 29, 2010, 06:52:18 AM
all this mod does, as arantor says (he originally wrote this mod) is hide the posts under a message 'you are ignoring this user, click here to see the message' - it doesn't hide them completely (it works almost the same as 2.0 does)
Title: Re: Ignore Another User
Post by: anakmacan on October 29, 2010, 05:37:15 PM
I know the answer, it's because of my theme. I want to edit the theme to make it work, anyone can help me out about which file i must edit  ?
Title: Re: Ignore Another User
Post by: Oya on October 29, 2010, 05:58:34 PM
admin > themes > member options > hide messages posted by users on my ignore list

you will have to use that area to reset everyone's options to make that work
Title: Re: Ignore Another User
Post by: anakmacan on October 30, 2010, 12:58:16 AM
Nevermind, it's just a simple javascript problem and ive fixed it :D
Title: Re: Ignore Another User
Post by: studiowi33 on November 10, 2010, 05:09:56 AM
Bravo.
Title: Re: Ignore Another User
Post by: CDM on December 03, 2010, 12:48:44 AM
Quote from: Arantor on September 11, 2009, 05:22:29 PM
Same way you add them to your PM ignore list - Profile > Personal Message Options > add the name in the big box.

It's never been clear in 2.0 that this also hides the messages. I will at some point tidy up the readme.

So if one places another user in the ignore box as stated above, that user's posts are hidden on the forum (in addition to his PMs), with an option to see the posts if you click on a button? Or does this only hide the user's personal messages?
Title: Re: Ignore Another User
Post by: CDM on December 03, 2010, 12:03:53 PM
Nevermind- my users say it works! Thanks!!
Title: Re: Ignore Another User
Post by: tsis_k on June 21, 2011, 12:21:43 AM
How do I disable or remove the "Show me the post" link.

I don't want user to have any access to the post/message they're ignoring.

Thanks.
Title: Re: Ignore Another User
Post by: anakmacan on June 22, 2011, 04:18:10 AM
^ Good idea, and not just that button but THE WHOLE part of their posts (their user info block and post itself). It's tempting to open the post and at the same time an annoying feeling as well.  It would be cool if this mod can let certain membergroup set "IGNORE ALL MEMBERS" (from each user settings page) except the ones they exclude from being ignored. I think it's not a bad idea to add those extra feature in "premium version" of this mod,  a mod like that can make fortune if the owner sells it with very affordable price like $5 or less (1000 dowloads = $5000).. i dont mind to buy a mod like that in affordable price and im sure a lot other forum admins dont mind to pay for it.
Title: Re: Ignore Another User
Post by: jrstark on July 08, 2011, 08:52:08 PM
Is there any way to force two users to ignore each other?  I've got some folks who just do not get along, and they didn't take the hint when I added them to each other's ignore lists.
Title: Re: Ignore Another User
Post by: live627 on July 09, 2011, 03:37:02 AM
Install a script to annoy them?
Title: Re: Ignore Another User
Post by: Harvester on May 21, 2012, 02:32:08 PM
I'm using 1.1.16 and manually installed this using the parser. I see no way to ignore a users post tho now. Do I have to enable this mod? Where do we go to ignore users?
Title: Re: Ignore Another User
Post by: live627 on May 21, 2012, 08:03:39 PM
QuoteI see no way to ignore a users post tho now.
Maybe you have a custom theme with its own profile template

EDIT: Not the reason

QuoteDo I have to enable this mod?
no

QuoteWhere do we go to ignore users?
the profile landing page, just like in SMF 2

EDIT: Not it. In your PM options, add a user to ignore.