Author Topic: @mention members  (Read 196683 times)

Offline moyack

  • Semi-Newbie
  • *
  • Posts: 64
  • Gender: Male
  • Bootstrap FTW!!
Re: @mention members
« Reply #620 on: May 03, 2020, 10:08:08 AM »

I just found this small bug. In Mentions.english.php it's needed to add $scripturl global variable to avoid log errors.

Code: (find) [Select]
global $txt, $context;
Code: (replace) [Select]
global $txt, $context, $scripturl;

Offline Sectomy

  • Semi-Newbie
  • *
  • Posts: 87
Re: @mention members
« Reply #621 on: July 13, 2020, 08:18:35 AM »

i also have the Advanced Editor, in one thread theres a code you need to add to the mention mod, but i dont now where or which file, maybe anyone could help:

Code: [Select]
$('textarea[name=message]').add($('body.rich_editor', $('iframe#html_message').contents())).add($('body.advanced_editor', $('iframe#iframe_smfpacks_advanced_editor').contents())).add('#smfpacks_advanced_editor').atwho(mentions_config);