Verification Code Issue 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.
3 posters

    Verification Code Issue

    Beyonder
    Beyonder
    Forumember


    Male Posts : 726
    Reputation : 29
    Language : English
    Location : Beyond Realm

    Solved Verification Code Issue

    Post by Beyonder December 10th 2021, 4:30 pm

    Hey guys, I am having an issue with this code:
    Code:
    //*Verification system. Copyright :copyright: 2015 by www.fmcodes.com All Rights ReservedjQuery(document).ready(function()
    {$('h4.username a[href="/u17"]').after('<img src="https://i.imgur.com/VFD2a7K.png" style="padding-left: 5px;" alt="Verified" title="Verified">');});
    $('h4.username a[href="/u55"]').after('<img src="https://i.imgur.com/VFD2a7K.png" style="padding-left: 5px;" alt="Verified" title="Verified">');});
    $('h4.username a[href="/u88"]').after('<img src="https://i.imgur.com/VFD2a7K.png" style="padding-left: 5px;" alt="Verified" title="Verified">');});

    I tried to find it across this forum and then tried to on FMcodes and no luck it seems when I tried to edit it in Javascript it just wont work again any solutions or anything where I could replicate it for a vertified coding appearance?


    Last edited by Beyonder on December 11th 2021, 6:58 pm; edited 1 time in total
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: Verification Code Issue

    Post by skouliki December 10th 2021, 5:08 pm

    hello

    what is this code about ? add an icon to a specific member
    if yes see this thread https://help.forumotion.com/t146754-trying-to-add-an-icon-in-front-of-a-username?highlight=icon+username

    Beyonder
    Beyonder
    Forumember


    Male Posts : 726
    Reputation : 29
    Language : English
    Location : Beyond Realm

    Solved Re: Verification Code Issue

    Post by Beyonder December 10th 2021, 8:45 pm

    skouliki wrote:hello

    what is this code about ? add an icon to a specific member
    if yes see this thread https://help.forumotion.com/t146754-trying-to-add-an-icon-in-front-of-a-username?highlight=icon+username

    Yeah I am looking for a specific scripting to add icons to specific members but not for any groups.
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: Verification Code Issue

    Post by skouliki December 10th 2021, 8:46 pm

    the thread i posted has a code did you try it ?

    Beyonder
    Beyonder
    Forumember


    Male Posts : 726
    Reputation : 29
    Language : English
    Location : Beyond Realm

    Solved Re: Verification Code Issue

    Post by Beyonder December 10th 2021, 9:27 pm

    skouliki wrote:the thread i posted has a code did you try it ?

    I have but it doesn't work unless it's directly for specific groups but what I'm going for would look like this:

    Verification Code Issue Verifi10

    and if it's not possible for that (in the screenshot) then would it be possible for it to look like this?

    Verification Code Issue Screen25
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: Verification Code Issue

    Post by skouliki December 11th 2021, 8:34 am

    the code you posted it is working on my test forum

    what is your forum version ?
    did you place the javascript to all pages?

    mSyx
    mSyx
    Forumember


    Male Posts : 155
    Reputation : 47
    Language : French & English
    Location : France

    Solved Re: Verification Code Issue

    Post by mSyx December 11th 2021, 2:59 pm

    Oy,
    If you're looking for the following result, this code will do:
    Verification Code Issue VCpTjtK

    Code:
    $('div.postbody p.author a[href^="/u17"]').after('<img src="https://i.imgur.com/VFD2a7K.png" style="padding-left: 5px; vertical-align: middle;" alt="Verified" title="Verified">');

    Simply copy and paste the code and change the u17 part with any other user's ID
    Beyonder
    Beyonder
    Forumember


    Male Posts : 726
    Reputation : 29
    Language : English
    Location : Beyond Realm

    Solved Re: Verification Code Issue

    Post by Beyonder December 11th 2021, 4:55 pm

    skouliki wrote:the code you posted it is working on my test forum

    what is your forum version ?
    did you place the javascript to all pages?

    My forum version is PhpBB3

    When I put it in all pages it just disables the other Javascripts for some reason.

    mSyx wrote:Oy,
    If you're looking for the following result, this code will do:
    Verification Code Issue VCpTjtK

    Code:
    $('div.postbody p.author a[href^="/u17"]').after('<img src="https://i.imgur.com/VFD2a7K.png" style="padding-left: 5px; vertical-align: middle;" alt="Verified" title="Verified">');

    Simply copy and paste the code and change the u17 part with any other user's ID

    Sadly no changes I have done in topics and all pages.
    mSyx
    mSyx
    Forumember


    Male Posts : 155
    Reputation : 47
    Language : French & English
    Location : France

    Solved Re: Verification Code Issue

    Post by mSyx December 11th 2021, 6:44 pm

    Beyonder wrote:When I put it in all pages it just disables the other Javascripts for some reason.

    That's because your code is incorrect, the mistakes in it makes it disable the other scripts.

    Beyonder wrote:Sadly no changes I have done in topics and all pages.

    Try the following instead:

    Code:
    $(function() {
    $('div.postbody p.author a[href^="/u17"]').after('<img src="https://i.imgur.com/VFD2a7K.png" style="padding-left: 5px; vertical-align: middle;" alt="Verified" title="Verified">');
    });

    skouliki, TonnyKamper and Beyonder like this post

    Beyonder
    Beyonder
    Forumember


    Male Posts : 726
    Reputation : 29
    Language : English
    Location : Beyond Realm

    Solved Re: Verification Code Issue

    Post by Beyonder December 11th 2021, 6:58 pm

    mSyx wrote:
    Beyonder wrote:When I put it in all pages it just disables the other Javascripts for some reason.

    That's because your code is incorrect, the mistakes in it makes it disable the other scripts.

    Beyonder wrote:Sadly no changes I have done in topics and all pages.

    Try the following instead:

    Code:
    $(function() {
    $('div.postbody p.author a[href^="/u17"]').after('<img src="https://i.imgur.com/VFD2a7K.png" style="padding-left: 5px; vertical-align: middle;" alt="Verified" title="Verified">');
    });

    There we go! thank you!
    mSyx
    mSyx
    Forumember


    Male Posts : 155
    Reputation : 47
    Language : French & English
    Location : France

    Solved Re: Verification Code Issue

    Post by mSyx December 11th 2021, 6:58 pm

    Glad it works! You're welcome.

    Beyonder likes this post

    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: Verification Code Issue

    Post by skouliki December 11th 2021, 7:03 pm

    @mSyx thank you

    Problem solved & topic archived.
    Please read our forum rules: ESF General Rules

    Beyonder likes this post