Mentions

Started by live627, May 26, 2014, 05:14:48 AM

Previous topic - Next topic

live627

Link to Mod

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 

Squash

How is this different than the other mod that's exactly like it? I mean it seems exactly the same to me...... :o

littlenicki

Will there be a SMF 1.1 Version of this mod? Thank you
Fomer SMF user. Switched to Invision Power Board and VBulletin

norristh

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!

Burke ♞ Knight

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.

radu81

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
sorry for my bad english

live627

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

ryan_dwight

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?

live627

his has the auto suggester and is included in SMF 2.1.

misus

I just installed this mod, but it doesn't work for member with a username like "name secondname", it works just for "name"

Advertisement: