Advertisement:

Author Topic: @mention members  (Read 180392 times)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,166
    • StoryBB/StoryBB on GitHub
Re: @mention members
« Reply #580 on: July 27, 2018, 12:27:12 PM »
What about everywhere else that profile pages are linked?
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline brettuk

  • Jr. Member
  • **
  • Posts: 160
Re: @mention members
« Reply #581 on: July 29, 2018, 04:51:03 AM »
What about everywhere else that profile pages are linked?

Ideally I need all of those with rel nofollow too, but it's a big job!

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,166
    • StoryBB/StoryBB on GitHub
Re: @mention members
« Reply #582 on: July 29, 2018, 05:26:13 AM »
No, ideally what you need is not having the links there at all. nofollow has long been discouraged.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline boydster

  • Newbie
  • *
  • Posts: 3
Re: @mention members
« Reply #583 on: August 14, 2018, 02:30:15 PM »
Hello, I'm trying to implement this on a test/dev environment right now and running into some trouble. I moved everything, including the install.php, into the root directory, then ran path/to/root/install.php. I can now give permissions for Mentions to different membergroups. I can see a "Mentions" option in user profiles. But nothing is populating the Mention lists.

Further, when I type a reply, and write something like "@user2 this is a test" (without quotation marks) there is no autocomplete. I've tried this under multiple user accounts, referencing other users. No autocomplete. No new entry in the Mentions list.

I can see caret.js and jquery.atwho.js are both in my default scripts directory.

What am I missing here? Testing on SMF 2.0.14 and 2.0.15.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,634
  • Gender: Male
    • Kindred-999 on GitHub
Re: @mention members
« Reply #584 on: August 14, 2018, 04:35:18 PM »
why are you not using the package manager to install the mod?
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline boydster

  • Newbie
  • *
  • Posts: 3
Re: @mention members
« Reply #585 on: August 14, 2018, 05:25:25 PM »
Wow. I... I don't even have a wise response for that. I hadn't tried that functionality yet. In fact, I had already implemented the Public Ban list on my test setup just from making the manual updates to the code.

Thanks for showing me the easy way! It's working perfectly now.

Offline CyanGaming

  • Semi-Newbie
  • *
  • Posts: 96
Re: @mention members
« Reply #586 on: August 16, 2018, 11:35:53 AM »
I don't know what's happening, but my mentions aren't showing up. When people mention me, they're getting deleted before I even see them. Not sure if this was caused by me mentioning myself 1 time? I have no idea why it's happening, but it seems to work fine on other people's profiles.

Offline Mick.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,940
  • Gender: Male
    • idesignSMF on Facebook
    • @idesign360 on Twitter
    • idesignSMF.com
Re: @mention members
« Reply #587 on: September 16, 2018, 05:08:06 PM »
Pretty sweet mod bruh! Imma run off and see if I can make @mentions work with SimplePortal Shoutbox.  :o

Offline palmdoc

  • Semi-Newbie
  • *
  • Posts: 22
Re: @mention members
« Reply #588 on: October 22, 2018, 11:06:23 AM »
Nice mod. I get the autocomplete for regular members but I can't seem to tag admin. Bug or feature?

Offline brettuk

  • Jr. Member
  • **
  • Posts: 160
Re: @mention members
« Reply #589 on: October 30, 2018, 05:45:06 PM »
Good mod, I have been using this for a while now - thank you.

do you know which file I need to edit to change the <a href=""> code? As I would like to add a rel="nofollow" to these links.

Cheers.

Offline WantSome

  • Jr. Member
  • **
  • Posts: 361
Re: @mention members
« Reply #590 on: November 28, 2018, 05:11:17 PM »
Hi!  I'm really loving this mod, been using it for a while.

Is it possible to add the function to mention everybody in the userbase?  Would that cause a massive issue?

I'd like to use it for certain global announcements and newsletters to draw member's attention to these posts that often get overlooked.

Thanks!

Offline delta5

  • Jr. Member
  • **
  • Posts: 239
    • @@kd8hmo on Twitter
    • FedUpWithLiberals.com
Re: @mention members
« Reply #591 on: December 02, 2018, 11:48:46 AM »
Can anyone please tell me what is happening here?
Code: [Select]
Undefined
 https://www.fedupwithliberals.com/index.php?action=post2;start=0;msg=6236;de99a09=b377e7c144d4d0f108734e60dbd27bcf;board=71
 8: Undefined index: approved
 /home/s7x1c79cv7ls/public_html/Sources/Subs-Post.php
Line: 2416
Code: [Select]
2405: function modifyPost(&$msgOptions, &$topicOptions, &$posterOptions)
2406: {
2407: global $user_info, $modSettings, $smcFunc, $context;
2408:
2409: $topicOptions['poll'] = isset($topicOptions['poll']) ? (int) $topicOptions['poll'] : null;
2410: $topicOptions['lock_mode'] = isset($topicOptions['lock_mode']) ? $topicOptions['lock_mode'] : null;
2411: $topicOptions['sticky_mode'] = isset($topicOptions['sticky_mode']) ? $topicOptions['sticky_mode'] : null;
2412:
2413:
2414: mentions_process_post($msgOptions, $topicOptions, $posterOptions);
2415: if (!empty($msgOptions['mentions']))
==>2416: mentions_process_store($msgOptions['mentions'], $msgOptions['id'], $msgOptions['subject'], $msgOptions['approved']);
2417: // This is longer than it has to be, but makes it so we only set/change what we have to.
2418: $messages_columns = array();
2419: if (isset($posterOptions['name']))
2420: $messages_columns['poster_name'] = $posterOptions['name'];
2421: if (isset($posterOptions['email']))
2422: $messages_columns['poster_email'] = $posterOptions['email'];
2423: if (isset($msgOptions['icon']))
2424: $messages_columns['icon'] = $msgOptions['icon'];
2425: if (isset($msgOptions['subject']))
2426: $messages_columns['subject'] = $msgOptions['subject'];
2427: if (isset($msgOptions['body']))
2428: {
2429: $messages_columns['body'] = $msgOptions['body'];
2430:
2431: if (!empty($modSettings['search_custom_index_config']))
2432: {
2433: $request = $smcFunc['db_query']('', '
2434: SELECT body
2435: FROM {db_prefix}messages
2436:

—edit — please use code bbc tags and do some cleaning of the output
« Last Edit: December 02, 2018, 03:57:57 PM by Kindred »

Offline landyvlad

  • Sr. Member
  • ****
  • Posts: 744
  • Gender: Male
    • Michael Reed on Facebook
    • GSX1400 Owners ORG
Re: @mention members
« Reply #592 on: December 03, 2018, 09:50:10 PM »
Hi!  I'm really loving this mod, been using it for a while.

Is it possible to add the function to mention everybody in the userbase?  Would that cause a massive issue?

I'd like to use it for certain global announcements and newsletters to draw member's attention to these posts that often get overlooked.

Thanks!

I agree. If this was practical to do, it'd be very useful for the reasons WantSome describes.
Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

To paraphrase Kindred: "There are no technical solutions to social problems."

Offline delta5

  • Jr. Member
  • **
  • Posts: 239
    • @@kd8hmo on Twitter
    • FedUpWithLiberals.com
Re: @mention members
« Reply #593 on: December 04, 2018, 12:44:09 AM »
Update: I went from PHP 7.0 to 7.1, and this error and a few others have not returned so far.

Offline North East Man

  • Semi-Newbie
  • *
  • Posts: 32
Re: @mention members
« Reply #594 on: December 23, 2018, 09:39:50 AM »
This is a great mod, although it seems like there is an issue with using it on an iPad. 

When you tap the @ plus user name it just hangs.  You can’t type any more, move down to the next line, can’t do anything.  Sometimes after clicking in other fields like the subject and back to the message it unblocks and allows you to type the rest of the message, but more and more often it just hangs and you have to leave the post and come back to it. 

Reported by several users.  Is this something that is know about and has a fix?

Offline landyvlad

  • Sr. Member
  • ****
  • Posts: 744
  • Gender: Male
    • Michael Reed on Facebook
    • GSX1400 Owners ORG
Re: @mention members
« Reply #595 on: January 01, 2019, 11:30:00 PM »
Not related to this ,mod specifically but from time to time I have errors reported by members, and invariably they are using ipads / iphones.

Seems that these errors almost always commence after a new version of iOS is installed. In other words, Apple's fault.

Maybe see if that's the case.
Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

To paraphrase Kindred: "There are no technical solutions to social problems."

Offline Mick.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,940
  • Gender: Male
    • idesignSMF on Facebook
    • @idesign360 on Twitter
    • idesignSMF.com
Re: @mention members
« Reply #596 on: January 29, 2019, 04:55:30 PM »
Hey Dragooon, I really dig your mod. Today got this idea of implementing a tooltip showing the members avatar when hover the @mention. Not a big deal, just drafted the css and the html needed. Now just implement the php calls. Im working on it, I'll share the hack when done.

Concept here.... https://www.idesignsmf.com/index.php/page,page314.html

Offline efk

  • Jr. Member
  • **
  • Posts: 147
  • Gender: Male
Re: @mention members
« Reply #597 on: January 30, 2019, 09:48:53 AM »
Not sure if this already exist, but if don't, is it possible to add for every member an option to disable notifications for mentions since its bugged, requiring few more clicks to get rid of notification and doesn't seem to cooperate with New post/topic in boards, always showing something New in board or notification on profile and require to check post twice using both methods to reach post. Not a problem but its annoying, I even threatened my members to stop mentioning my nick or plugin gonna be removed  :laugh:

Offline delta5

  • Jr. Member
  • **
  • Posts: 239
    • @@kd8hmo on Twitter
    • FedUpWithLiberals.com
Re: @mention members
« Reply #598 on: February 07, 2019, 07:39:11 PM »
Hi guys, can anyone tell me whats going on here? This is coming from a fresh install of 2.0.15 on PHP 7.1

Apply Filter: Only show the error messages of this member Sling Blade
Apply Filter: Only show the error messages of this IP address 73.212.203.223   
    Reverse chronological order of list Today at 07:12:07 PM
Apply Filter: Only show the error messages of this session 21a70068071f5aae6200c40f84b0296a
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URLhttps://www.protrucker.net/index.php?Apply Filter: Only show the errors with the same message8: Undefined index: hidden_sApply Filter: Only show the errors from this file File: /home/s7x1c79cv7ls/public_html/protrucker/Themes/default/languages/Mentions.english.php (main sub template - eval?)
Line: 429

This is happening on two different forums.

Offline jsx

  • Jr. Member
  • **
  • Posts: 321
  • Gender: Male
Re: @mention members
« Reply #599 on: February 14, 2019, 12:39:35 PM »
Why is this text not displayed here?

Allow members to tag other members and alert them via mentioning them via @username syntax



It must to cause some error.