@Mention usernames codes problem Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
2 posters

    @Mention usernames codes problem

    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6923
    Reputation : 795
    Language : Greek, English

    @Mention usernames codes problem Empty @Mention usernames codes problem

    Post by TheCrow March 5th 2014, 1:06 am

    Hello. I tried to check and add in my forum the @mention usernames tutorial but unfortunately i could not find the code to add. Can someone please help me?

    I found this but still i found nothing..
    https://help.forumotion.com/t116032p30-mention-mentioning-a-member-or-user#758989

    Thank you.
    ferok
    ferok
    New Member


    Posts : 11
    Reputation : 1
    Language : Portugal

    @Mention usernames codes problem Empty Re: @Mention usernames codes problem

    Post by ferok March 5th 2014, 2:11 pm

    Add in JS - Topics:
    Code:
    $(function () {
        var a = $('.name').get();
        for (i = 0; i < a.length; i++) {
            $(a[i].getElementsByTagName('a')[1]).dblclick(function (e) {
                e.preventDefault();
                document.getElementById('text_editor_textarea').value += '@[url=http://' + window.location.host + '/profile?mode=viewprofile&u=' + $(this).text() + ']' + $(this).text() + '[/url]';
            });
        }
    });
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6923
    Reputation : 795
    Language : Greek, English

    @Mention usernames codes problem Empty Re: @Mention usernames codes problem

    Post by TheCrow March 5th 2014, 7:43 pm

    Αnd this now works if i use this: ?
    Code:
    @username: *text*



    @Mention usernames codes problem Thecro10
    Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    ferok
    ferok
    New Member


    Posts : 11
    Reputation : 1
    Language : Portugal

    @Mention usernames codes problem Empty Re: @Mention usernames codes problem

    Post by ferok March 5th 2014, 7:49 pm

    @nickname

    Yes. I use.
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6923
    Reputation : 795
    Language : Greek, English

    @Mention usernames codes problem Empty Re: @Mention usernames codes problem

    Post by TheCrow March 5th 2014, 7:53 pm

    It doesn't work to me...


    Edit:
    @Mention usernames codes problem G4MyPqU