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.

Verification Code Issue

3 posters

Go down

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
Beyonder
Beyonder
Forumember

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

http://fictionalomniverse.forumotion.com/

Back to top Go down

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
skouliki
skouliki
Manager
Manager

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

http://iconskouliki.forumgreek.com

Back to top Go down

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.
Beyonder
Beyonder
Forumember

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

http://fictionalomniverse.forumotion.com/

Back to top Go down

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 ?
skouliki
skouliki
Manager
Manager

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

http://iconskouliki.forumgreek.com

Back to top Go down

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
Beyonder
Beyonder
Forumember

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

http://fictionalomniverse.forumotion.com/

Back to top Go down

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?
skouliki
skouliki
Manager
Manager

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

http://iconskouliki.forumgreek.com

Back to top Go down

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
mSyx
mSyx
Forumember

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

https://help.forumotion.com/

Back to top Go down

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.
Beyonder
Beyonder
Forumember

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

http://fictionalomniverse.forumotion.com/

Back to top Go down

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">');
});
mSyx
mSyx
Forumember

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

https://help.forumotion.com/

skouliki, TonnyKamper and Beyonder like this post

Back to top Go down

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!
Beyonder
Beyonder
Forumember

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

http://fictionalomniverse.forumotion.com/

Back to top Go down

Solved Re: Verification Code Issue

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

Glad it works! You're welcome.
mSyx
mSyx
Forumember

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

https://help.forumotion.com/

Beyonder likes this post

Back to top Go down

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
skouliki
skouliki
Manager
Manager

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

http://iconskouliki.forumgreek.com

Beyonder likes this post

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum