Advertisement:

Author Topic: @mention members  (Read 187471 times)

Offline Badboy

  • SMF Hero
  • ******
  • Posts: 1,456
  • Gender: Male
Re: @mention members
« Reply #160 on: May 11, 2014, 03:19:12 PM »
No, post moderation is enabled in core settings.
Nothing is true, everything is permitted.

Offline Alex_Ita

  • Semi-Newbie
  • *
  • Posts: 43
Re: @mention members
« Reply #161 on: May 11, 2014, 03:19:35 PM »
here you are

Offline Dragooon

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 6,738
  • Gender: Male
  • I'm bIn
    • ShitizGarg on Facebook
    • Dragooon on GitHub
    • dragooon on LinkedIn
    • SMF-Media
Re: @mention members
« Reply #162 on: May 11, 2014, 03:27:03 PM »
here you are
You had modification's changes applied twice, I've cleaned it up. Replace the file with the attached one

Offline Dragooon

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 6,738
  • Gender: Male
  • I'm bIn
    • ShitizGarg on Facebook
    • Dragooon on GitHub
    • dragooon on LinkedIn
    • SMF-Media
Re: @mention members
« Reply #163 on: May 11, 2014, 03:33:13 PM »
No, post moderation is enabled in core settings.
That's strange, is it when a post is posted or modified/

Offline Badboy

  • SMF Hero
  • ******
  • Posts: 1,456
  • Gender: Male
Re: @mention members
« Reply #164 on: May 11, 2014, 03:37:45 PM »
Just modified.
Nothing is true, everything is permitted.

Offline Dragooon

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 6,738
  • Gender: Male
  • I'm bIn
    • ShitizGarg on Facebook
    • Dragooon on GitHub
    • dragooon on LinkedIn
    • SMF-Media
Re: @mention members
« Reply #165 on: May 11, 2014, 03:40:04 PM »
Ah okay, find both instances of
Code: [Select]
mentions_process_store($msgOptions['mentions'], $msgOptions['id'], $msgOptions['subject'], $msgOptions['approved']);and replace them with
Code: [Select]
mentions_process_store($msgOptions['mentions'], $msgOptions['id'], $msgOptions['subject'], isset($msgOptions['approved']) ? $msgOptions['approved'] : 1);in Subs-Post.php

Offline Alex_Ita

  • Semi-Newbie
  • *
  • Posts: 43
Re: @mention members
« Reply #166 on: May 11, 2014, 03:41:28 PM »
Thank you Dragooon. A lot of thanks.

You're very kind.

Your file works fine.

Offline Badboy

  • SMF Hero
  • ******
  • Posts: 1,456
  • Gender: Male
Re: @mention members
« Reply #167 on: May 11, 2014, 04:01:01 PM »
Ah okay, find both instances of
Code: [Select]
mentions_process_store($msgOptions['mentions'], $msgOptions['id'], $msgOptions['subject'], $msgOptions['approved']);and replace them with
Code: [Select]
mentions_process_store($msgOptions['mentions'], $msgOptions['id'], $msgOptions['subject'], isset($msgOptions['approved']) ? $msgOptions['approved'] : 1);in Subs-Post.php
Thx works.
Nothing is true, everything is permitted.

Offline JustOneOldMan

  • Semi-Newbie
  • *
  • Posts: 78
  • It was a dark and stormy night...
    • Two Track Music
Re: @mention members
« Reply #168 on: May 11, 2014, 05:48:49 PM »
Quick question.  Just downloaded and installed the mod.  Installation went well, and when I use the @ <username> in a post it comes up with name suggestions fine.  Everything looks good, except I don't see any notifications anywhere.  I'm using my admin login and a test login to test it.

I don't have the email notifications enabled, but I'm not seeing anything related in the "Profile" menu dropdown as shown in the mod page images, nor is there a number beside the menu item.  I do have Permissions set, number of days to delete mentions, and activated the scheduled task.

Apparently I'm missing something, though.  It appears to be working, but no notifications.  I do have other mods installed.  Looks like just the mod I need, any thoughts would be appreciated...

SMF 2.0.7
A computer once beat me at chess, but as it turns out it was no match for me at kickboxing...

Offline OCJ

  • Full Member
  • ***
  • Posts: 494
  • Gender: Male
Re: @mention members
« Reply #169 on: May 11, 2014, 11:09:03 PM »
Installed the latest version - works ok.

@username is linked to profile.
I can see the mention menu tab in the profile.
The email notifications are working.

But
I can't get any drop down auto-selection though in the message editor.
Perhaps another mod Im using?

Do the javascript files need manually uploading to custom themes?





1.    Register Redirect    1.0    
2.    Edit All Message Titles    0.1.1    
3.    BoardColor    V1    
4.    Remove "Last edit" mod    0.2.5    
5.    Simple Hide BBC - Hide the Goodies from Lurkers    1.0    
6.    Menu Editor Lite    1.0.5    
7.    Ohara YouTube Embed    1.2    
8.    Akismet Spam Blocking    1.2    
9.    Look But No Read    1.3    
10.    Auto Lock Old Topics    2.0    
11.    Advanced Language Menu    3.0.1    
12.    Post Template Mod    0.1.3    
13.    FancyBox 4 SMF    0.5    
14.    Optimus Brave    1.8.7    
15.    Admin Notepad    2.0.2    
16.    Hide ip stuff for users    1.04    
17.    Remove Post Count    1.0.2    
18.    Topic Descriptions    1.3    
19.    Send Locked Topics To Bottom    1.0    
20.    SimpleColorizer    1.1    
21.    Email Template Editor    1.0
22.    Disable to send EMail with Forum-System for Users lower than Admin    1.0    
23.    PM Warning    1.0    
24.    Order Custom Profile Fields    1.1.1    
25.    Scrolling Buttons    0.3    
26.    Users Online Today    2.0.3    
27.    Topic Author    0.1    
28.    @mention members    1.1.2    
29.    SimplePortal    2.3.5    
30.    Avatar on Member List    2.0    
31.    Force Topic Read On Login Mod    2.1    
32.    MetaTags Modification    2.0.2    
33.    mp notification style    v0.2    
34.    Drafts    2.0.5    
35.    Expire Attachments mod    1.0



Offline bfeist

  • Semi-Newbie
  • *
  • Posts: 30
  • Gender: Male
  • Admin of temac.ca/smf
    • http://www.linkedin.com/in/feist on LinkedIn
    • @benfeist on Twitter
    • Articles and Interests
Re: @mention members
« Reply #170 on: May 12, 2014, 10:55:52 AM »
So I finally got round to installing this Mod (1.1.2). It works flawlessly.

Thank you for this amazing Mod, great work!

+1! Great mod. The only part that caught me out was that I needed to allow mentions within permissions for non-administrators before it would work for all users.

Offline ileami

  • Newbie
  • *
  • Posts: 2
Re: @mention members
« Reply #171 on: May 12, 2014, 12:20:11 PM »
Great Mod,
can I show the mention notify on upper section?
I've tried with this code
Code: [Select]
<li><a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a></li><li><a href="', $scripturl, '?action=profile;area=mentions">', $txt['mentions'] . (!empty($user_settings['unread_mentions']) ? ' [' . $user_settings['unread_mentions'] . ']' : ''), '</a></li>'but It shows only Mention link, not number of unread mention.
Any suggestion?
Thanks,
Lia

Offline Badboy

  • SMF Hero
  • ******
  • Posts: 1,456
  • Gender: Male
Re: @mention members
« Reply #172 on: May 12, 2014, 01:28:02 PM »
@ileami open index.template.php

In addition to your code;

Code: (FIND) [Select]
function template_body_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;

Code: (REPLACE) [Select]
function template_body_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings, $user_settings;
Nothing is true, everything is permitted.

Offline b.williams127

  • Newbie
  • *
  • Posts: 5
Re: @mention members
« Reply #173 on: May 12, 2014, 02:57:33 PM »
Another great feature would be to somehow integrate with eNotify  :)

Offline ileami

  • Newbie
  • *
  • Posts: 2
Re: @mention members
« Reply #174 on: May 12, 2014, 03:12:41 PM »
@ileami open index.template.php

In addition to your code;

Code: (FIND) [Select]
function template_body_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;

Code: (REPLACE) [Select]
function template_body_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings, $user_settings;

It Works! Great and thank You so much Badboy  :) :) :)

Offline JustOneOldMan

  • Semi-Newbie
  • *
  • Posts: 78
  • It was a dark and stormy night...
    • Two Track Music
Re: @mention members
« Reply #175 on: May 12, 2014, 03:39:51 PM »
I've tried this on three of my forums now (all 2.0.7) and all do the same thing.  Everything installs correctly, permissions set, works as it should in post (name suggestions come up), but I still can't see any indication anywhere that there has been a mention.

I'm sure after three installs on different forums with different mods installed and getting the same results it must be something I'm missing or doing wrong, but I can't see what.  Any ideas would be greatly appreciated...
A computer once beat me at chess, but as it turns out it was no match for me at kickboxing...

Offline Dragooon

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 6,738
  • Gender: Male
  • I'm bIn
    • ShitizGarg on Facebook
    • Dragooon on GitHub
    • dragooon on LinkedIn
    • SMF-Media
Re: @mention members
« Reply #176 on: May 12, 2014, 03:47:10 PM »
I've tried this on three of my forums now (all 2.0.7) and all do the same thing.  Everything installs correctly, permissions set, works as it should in post (name suggestions come up), but I still can't see any indication anywhere that there has been a mention.

I'm sure after three installs on different forums with different mods installed and getting the same results it must be something I'm missing or doing wrong, but I can't see what.  Any ideas would be greatly appreciated...
Which language are you using? Profile -> Mentions is where it should show the mentions and you cannot mention yourself

Offline JustOneOldMan

  • Semi-Newbie
  • *
  • Posts: 78
  • It was a dark and stormy night...
    • Two Track Music
Re: @mention members
« Reply #177 on: May 12, 2014, 04:13:09 PM »
Thanks, Dragoon.  I'm using myself and a test member to test it.  But I'm not seeing anything under "Profile" except the standard stuff.  And no indication anywhere there was a mention.

Tested it with a couple members too, and they're not seeing anything either.  Their names come up as I start to type in the post fine, but after posting none of us are seeing anything...
A computer once beat me at chess, but as it turns out it was no match for me at kickboxing...

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,444
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: @mention members
« Reply #178 on: May 12, 2014, 04:23:50 PM »
I've tried this on three of my forums now (all 2.0.7) and all do the same thing.  Everything installs correctly, permissions set, works as it should in post (name suggestions come up), but I still can't see any indication anywhere that there has been a mention.

I'm sure after three installs on different forums with different mods installed and getting the same results it must be something I'm missing or doing wrong, but I can't see what.  Any ideas would be greatly appreciated...

Do you have the Ultimate Profile mod installed on all of them?  By the way I just mentioned you, (I think) Joom?

Offline JustOneOldMan

  • Semi-Newbie
  • *
  • Posts: 78
  • It was a dark and stormy night...
    • Two Track Music
Re: @mention members
« Reply #179 on: May 12, 2014, 04:26:50 PM »
Yes I do, lurk.  Figured you were somebody from here. :P

Have UP installed on all of them...
A computer once beat me at chess, but as it turns out it was no match for me at kickboxing...