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.

Verified Icon on Profile

Go down

Verified Icon on Profile Empty Verified Icon on Profile

Post by Guest 27.12.15 13:41

Hey there. So lately I've been admiring this social network verification thing. Here is the script I use to make an icon display on the profile header of posts.

Code:
//*Verification system. Copyright © 2015 by www.fmcodes.com All Rights Reserved
jQuery(document).ready(function() {
$('h4.username a[href="/u1"]').after('<img src="http://i.imgur.com/VFD2a7K.png" style="padding-left: 5px;" alt="Verified" title="Verified">');
});

What it looks like in posts:

http://prntscr.com/9j1g2n

I'd like it to appear in the posts, AND on the profile header.

http://prntscr.com/9j1gm8

Can somebody modify this script so it displays in both? Thanks!

Tags: @Ange Tuteur
avatar
Guest
Guest


Back to top Go down

Verified Icon on Profile Empty Re: Verified Icon on Profile

Post by TheCrow 27.12.15 22:25

Hey @Zuke,

Have you tried duplicating the code to see if it works?
For example this:
Code:
//*Verification system. Copyright ©️ 2015 by www.fmcodes.com All Rights Reserved
jQuery(document).ready(function() {
$('h4.username a[href="/u1"]').after('<img src="http://i.imgur.com/VFD2a7K.png" style="padding-left: 5px;" alt="Verified" title="Verified">');
$('#profile-advanced-right .module.main .main-head .h3"]').after('<img src="http://i.imgur.com/VFD2a7K.png" style="padding-left: 5px;" alt="Verified" title="Verified">');
});

I am not sure whether this will work or not. Just giving out some ideas. Wink
TheCrow
TheCrow
Manager
Manager

Male Posts : 6898
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

Verified Icon on Profile Empty Re: Verified Icon on Profile

Post by Guest 28.12.15 18:43

Luffy wrote:Hey @Zuke,

Have you tried duplicating the code to see if it works?
For example this:
Code:
//*Verification system. Copyright ©️ 2015 by www.fmcodes.com All Rights Reserved
jQuery(document).ready(function() {
$('h4.username a[href="/u1"]').after('<img src="http://i.imgur.com/VFD2a7K.png" style="padding-left: 5px;" alt="Verified" title="Verified">');
$('#profile-advanced-right .module.main .main-head .h3"]').after('<img src="http://i.imgur.com/VFD2a7K.png" style="padding-left: 5px;" alt="Verified" title="Verified">');
});

I am not sure whether this will work or not. Just giving out some ideas. Wink
Thanks for trying but that didn't work.
avatar
Guest
Guest


Back to top Go down

Back to top


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