Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: live627 on May 26, 2014, 05:14:48 AM

Title: Mentions
Post by: live627 on May 26, 2014, 05:14:48 AM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=3861)

Mentions 1.1.1 by live627

This mod adds a link to mentioned users in posts.

Also adds an area in your profile to view all posts which mention you.

Changelog
1.1.1
! Don't send an email unless the member can access that board

1.1
+ Number of unread mentions appended to the profile menu
+ Will respect approval status
+ Mentions get emailed
@ Optional kill switch - Forum Profile settings

1.0
Initial release




Licence: CC-BY-ND 3.0 (http://creativecommons.org/licenses/by-nd/3.0/deed.en_GB)  (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.creativecommons.org%2Fl%2Fby-nd%2F3.0%2F88x31.png&hash=d06fa86a4b0913b28b938f2c4f19e5f7b97b0ecd)
Title: Re: Mentions
Post by: Squash on May 26, 2014, 06:10:49 AM
How is this different than the other mod that's exactly like it? I mean it seems exactly the same to me...... :o
Title: Re: Mentions
Post by: littlenicki on May 29, 2014, 12:23:18 PM
Will there be a SMF 1.1 Version of this mod? Thank you
Title: Re: Mentions
Post by: norristh on July 18, 2014, 04:59:06 PM
Thanks so much for this mod; it's really helpful for our forum!

One bug we encountered: when more than one person is @mentioned in a post, I think the first email is correct, but subsequent emails have a body like:

"Joe mentioned you in the post "Bob, you have been mentioned at a post in Your Forum", you can view the post at http://..."

instead of giving the subject of the thread.

I fixed this by editing Sources/Mentions.php - function mentions_process_store

The problem is that $subject gets overwritten on each loop.

After line 237 I added a new line:

   $topicsubject = $subject;

Then I changed the current line 253 from

            'POSTNAME' => $subject,

to

            'POSTNAME' => $topicsubject,

I think that fixes it!
Title: Re: Mentions
Post by: Burke ♞ Knight on July 18, 2014, 05:11:26 PM
Quote from: Squash on May 26, 2014, 06:10:49 AM
How is this different than the other mod that's exactly like it? I mean it seems exactly the same to me...... :o

If you are talking about Breeze, there are several differences.

QuoteBreeze
Social mod for your SMF, wall, status, mentions and comments

QuoteMentions
This mod adds a link to mentioned users in posts.

One is a Social mod that does several things, this mod is mentions only, for those who do not want all the rest.
Title: Re: Mentions
Post by: radu81 on July 18, 2014, 07:27:51 PM
Quote from: BurkeKnight on July 18, 2014, 05:11:26 PM
Quote from: Squash on May 26, 2014, 06:10:49 AM
How is this different than the other mod that's exactly like it? I mean it seems exactly the same to me...... :o

If you are talking about Breeze, there are several differences.

I think he is talking about this mod http://custom.simplemachines.org/mods/index.php?mod=3860
Title: Re: Mentions
Post by: live627 on July 18, 2014, 09:29:41 PM
Quote from: norristh on July 18, 2014, 04:59:06 PM
Thanks so much for this mod; it's really helpful for our forum!

One bug we encountered: when more than one person is @mentioned in a post, I think the first email is correct, but subsequent emails have a body like:

"Joe mentioned you in the post "Bob, you have been mentioned at a post in Your Forum", you can view the post at http://..."

instead of giving the subject of the thread.

I fixed this by editing Sources/Mentions.php - function mentions_process_store

The problem is that $subject gets overwritten on each loop.

After line 237 I added a new line:

   $topicsubject = $subject;

Then I changed the current line 253 from

            'POSTNAME' => $subject,

to

            'POSTNAME' => $topicsubject,

I think that fixes it!
404 - code not found
Title: Re: Mentions
Post by: ryan_dwight on July 24, 2014, 05:45:07 PM
Quote from: radu81 on July 18, 2014, 07:27:51 PM
Quote from: BurkeKnight on July 18, 2014, 05:11:26 PM
Quote from: Squash on May 26, 2014, 06:10:49 AM
How is this different than the other mod that's exactly like it? I mean it seems exactly the same to me...... :o

If you are talking about Breeze, there are several differences.

I think he is talking about this mod http://custom.simplemachines.org/mods/index.php?mod=3860
yes, what is the difference between the 2 mods?
Title: Re: Mentions
Post by: live627 on July 25, 2014, 01:17:55 AM
his has the auto suggester and is included in SMF 2.1.
Title: Re: Mentions
Post by: misus on August 31, 2014, 10:31:18 AM
I just installed this mod, but it doesn't work for member with a username like "name secondname", it works just for "name"