Making Profile field icons clickable
4 posters
Page 1 of 1
Making Profile field icons clickable
ok so i made this 'profile field' by going to users and groups, then Users > Profiles > Profile fields > Modify.
once i was done, it was successful.
now my goal is to get that icon to be clickable, so when you click it, it links you to the user's profile of whom you've clicked the icon under.
this is the url of the icon.
https://i.imgur.com/IgUk4dh.gif
If there is any css/javascript/html, please let me know.
sorry if this is in the wrong section.
thanks.
once i was done, it was successful.
now my goal is to get that icon to be clickable, so when you click it, it links you to the user's profile of whom you've clicked the icon under.
this is the url of the icon.
https://i.imgur.com/IgUk4dh.gif
If there is any css/javascript/html, please let me know.
sorry if this is in the wrong section.
thanks.
Re: Making Profile field icons clickable
Second Reminder:
Please don't double/triple post. Your post need to be separated by 24 hours before bumping, replying or adding more information. Please use the edit button instead!
Please don't double/triple post. Your post need to be separated by 24 hours before bumping, replying or adding more information. Please use the edit button instead!
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Making Profile field icons clickable
Hello,
You can try doing this :
Administration panel > modules > javascript codes management > create a new script
title : what you wish
placement : in the topics
paste the code below and save :
You can try doing this :
Administration panel > modules > javascript codes management > create a new script
title : what you wish
placement : in the topics
paste the code below and save :
- Code:
$(document).ready(function() {
$('.postprofile img[src="http://i.imgur.com/IgUk4dh.gif"]').each(function() {
var t0 = $(this).closest('dl').children('dt').children('a').attr('href');
$(this).wrap('<a href="'+t0+'"></a>');
});
});
Re: Making Profile field icons clickable
sorry for the trouble i have caused.
thank you very much!!
it worked like a charm.
Now what im looking for is a text above it... "Awards:"
tand that's it! thanks
thank you very much!!
it worked like a charm.
Now what im looking for is a text above it... "Awards:"
tand that's it! thanks
Re: Making Profile field icons clickable
Administration panel > users and groups > edit your field
For display type choose : Icon + text and save.
For display type choose : Icon + text and save.
Re: Making Profile field icons clickable
i know... but it always comes to the left, is there any way to make the text come above the icon?
Re: Making Profile field icons clickable
add this to your CSS :
Display > colors > CSS stylesheet
Display > colors > CSS stylesheet
- Code:
.postprofile img[src="http://i.imgur.com/IgUk4dh.gif"] { display:block; }
Re: Making Profile field icons clickable
Solved => Locked
Jophy- ForumGuru
- Posts : 17922
Reputation : 836
Language : English
Location : Somewhere
Similar topics
» Profile Field for Custom Profiles adding an additional unwanted field?
» Profile field, multiple words with different colors in the same profile filed
» Making Forum Icons
» Allow BBCode in Profile Field
» Automatically making profile pictures smaller.
» Profile field, multiple words with different colors in the same profile filed
» Making Forum Icons
» Allow BBCode in Profile Field
» Automatically making profile pictures smaller.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum