Advertisement:

Author Topic: @mention members  (Read 155599 times)

Offline Cruiser79

  • Newbie
  • *
  • Posts: 3
Re: @mention members
« Reply #540 on: August 16, 2017, 08:02:30 AM »
Hi all.

New admin of a forum here, installed the mod yesterday.

I would like to know which code lines should I change in order to "translate" the new menu options to Greek.

For example, Mentions under Profile should look like Με ανέφεραν

Also, I wand to change all other verbal statements that appear on my forum to Greek for this mod

Thanks in advance

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 54,985
  • Gender: Male
    • Kindred-999 on GitHub
Re: @mention members
« Reply #541 on: August 16, 2017, 08:24:31 PM »
I believe, like most mods, the file would be modification.YOURLANGAUGE.php
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 Cruiser79

  • Newbie
  • *
  • Posts: 3
Re: @mention members
« Reply #542 on: August 18, 2017, 05:02:52 AM »
Thanks for your reply.

As a temporary solution, I changed mentions.english.php and mentions.english-utf8.php verbal statements to Greek. My forum has very few non-Greek members so it won't be a problem.

Another question: I use SMFPacks WYSIWYG Editor, not the SMF default. In such case, there is no dropdown menu to autocomplete username after a few letters. However, after syntax @username and posting on a topic, the "tag" works perfectly. Any ideas on how to have a dropdown on SMFPacks WYSIWYG Editor?

Offline sǝๅqɯɐɥS

  • SMF Hero
  • ******
  • Posts: 4,478
  • Gender: Male
    • i30 Owners Club
Re: @mention members
« Reply #543 on: August 18, 2017, 05:22:27 AM »
Quote from: Cruiser79
Any ideas on how to have a dropdown on SMFPacks WYSIWYG Editor?

Why not ask them on smfpacks.com - did you pay for it? It's not really relevant in the @mentions support thread ;)

Offline Cruiser79

  • Newbie
  • *
  • Posts: 3
Re: @mention members
« Reply #544 on: August 27, 2017, 10:53:10 AM »
Quote from: Cruiser79
Any ideas on how to have a dropdown on SMFPacks WYSIWYG Editor?

Why not ask them on smfpacks.com - did you pay for it? It's not really relevant in the @mentions support thread ;)

I am sorry I wasn't clear enough, I meant having a dropdown using @mention members

Offline WhiteRozePetals

  • Newbie
  • *
  • Posts: 8
Re: @mention members
« Reply #545 on: August 29, 2017, 09:55:28 PM »
Hello,

Somehow my mentions modification got corrupted or a missing file. It was causing issue on my website so it wasn't working. I was getting this error:
Warning: require_once(/home/rozeh/forum.decadencescans.com/Sources/Mentions.php): failed to open stream: Permission denied in /home/rozeh/forum.decadencescans.com/Sources/Load.php on line 325

Fatal error: require_once(): Failed opening required '/home/rozeh/forum.decadencescans.com/Sources/Mentions.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/rozeh/forum.decadencescans.com/Sources/Load.php on line 325


I deleted the mentions.php and then it ended up working so I was able to get into my admin panel. I then went to uninstall the mod and it would give me a 500 error. So then I read up on some articles on how to manually uninstall the mod (basically follow the code backwards.) I did this but the mod is still showing up in my installed packages (but not in the browse packages sections) so I can't try to reinstall a clean version because when I download the package and hit install it says it's already installed.

Any help is greatly appreciated. :)

Offline aegersz

  • Sophist Member
  • *****
  • Posts: 1,109
  • Gender: Male
  • "mods" junkie
    • dopetalk
Re: @mention members
« Reply #546 on: November 11, 2017, 10:51:48 PM »
this doesn't seem to work for member names of only a single character.

is there a way around this ?

yeah i know it's odd that one of my guys has a single capital letter but it still ought to work.
SMF 2.0: 135+ mods installed (the full list can be seen at http://forum.drugs-and-users.org/index.php/topic,3301)

Offline Gluz

  • Native Language Support Specialist
  • Sr. Member
  • *
  • Posts: 942
  • Gender: Male
Re: @mention members
« Reply #547 on: November 12, 2017, 01:11:01 AM »
In /Themes/default/scripts/mentions.js change:
Code: [Select]
if (query.length < 2)to:
Code: [Select]
if (query.length < 1)
With that the member suggestion drop down will show when typing only one letter after the @, the Mention itself works without modify that file, because it search through any possible member name.
Need help with PHP, HTML, CSS, Themes or MODs?

Quote
Think in spanish, habla en inglés.

Offline aegersz

  • Sophist Member
  • *****
  • Posts: 1,109
  • Gender: Male
  • "mods" junkie
    • dopetalk
Re: @mention members
« Reply #548 on: November 12, 2017, 01:32:32 AM »
thank you SO much - i was thinking that a minimum of one character would return a cumbersome list of member names but the guys name fortunately is "Z".

i should've looked at the code myself - sorry to bother but you were prompt regardless !

appreciated ... i have been looking up the member's id and then adding into the BBCode. I got tired of that and am happy now.

It's a great mod and i'm surprised that Simple Machines haven't adopted it !
SMF 2.0: 135+ mods installed (the full list can be seen at http://forum.drugs-and-users.org/index.php/topic,3301)

Offline aegersz

  • Sophist Member
  • *****
  • Posts: 1,109
  • Gender: Male
  • "mods" junkie
    • dopetalk
Re: @mention members
« Reply #549 on: November 12, 2017, 03:08:23 AM »
my first Javascript change  ... note when implementing Javscript code modifications - clear the browser cache afterwards to reload the script because (this may help somebody else as novices like me (there must be others out there)) I have just learned that website scripts run in one of two places [source: http://www.codeconquest.com/website/client-side-vs-server-side/]:

Quote
JavaScript is an example of the client side (also called the front-end) and PHP is an example of the server side (also called the back-end).

The client of a website refers to the web browser that is viewing it. The server of a website is, of course, the server that hosts it
« Last Edit: November 12, 2017, 03:35:32 AM by aegersz »
SMF 2.0: 135+ mods installed (the full list can be seen at http://forum.drugs-and-users.org/index.php/topic,3301)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 67,877
    • Arantor on GitHub
Re: @mention members
« Reply #550 on: November 12, 2017, 06:02:01 AM »
It's a great mod and i'm surprised that Simple Machines haven't adopted it !


You should maybe check out 2.1 before making bold claims like that ;)
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline aegersz

  • Sophist Member
  • *****
  • Posts: 1,109
  • Gender: Male
  • "mods" junkie
    • dopetalk
Re: @mention members
« Reply #551 on: November 12, 2017, 06:23:47 AM »
funny you should "mention" that because i was thinking EXACTLY the same thing shortly after posting and asking myself why am i not running my favorite "forumware" (an original term of mine) latest release because it would have to be Simple Machines' flagship offering and why wouldn't they include such a facility ?

i also was wondering if there are plans for an upgrade path to 2.1 from 2.0(.nn) ?

i am defintely going to install the latest beta cut because it's only a test system and i want to use my existing database clone.

i guess my plethora of mods will be a HUGE issue and probably prevent me from actually ever migrating to it but at least it will keep me occupied, enlightened and the bold claims will stop ... :-X
SMF 2.0: 135+ mods installed (the full list can be seen at http://forum.drugs-and-users.org/index.php/topic,3301)

Offline aegersz

  • Sophist Member
  • *****
  • Posts: 1,109
  • Gender: Male
  • "mods" junkie
    • dopetalk
Re: @mention members
« Reply #552 on: November 12, 2017, 11:51:03 PM »
Yes of course there is an upgrade path. sorry to go off-topic.
[/derail]

yes, this is a very useful mod that has been rapidly adopted by my members and used frequently.
SMF 2.0: 135+ mods installed (the full list can be seen at http://forum.drugs-and-users.org/index.php/topic,3301)