Trying to add icon before profile on any profile page
3 posters
Page 1 of 1
Trying to add icon before profile on any profile page
so i am working on a forum and i want a code that can add the icon before the username on that user's profile main page. any help would be great!!!!!!
[img][/img]
something similar to this, but on my main profile page and the module on the side where it shows the number of posts and your profile username and picture
[img][/img]
something similar to this, but on my main profile page and the module on the side where it shows the number of posts and your profile username and picture
Last edited by Goppyrules on March 7th 2012, 6:50 am; edited 1 time in total
Goppyrules- Forumember
- Posts : 125
Reputation : 2
Language : english
Re: Trying to add icon before profile on any profile page
Here you go:
- Code:
a[href="/u1"] strong{
background:url(http://icons.iconarchive.com/icons/icons-land/play-stop-pause/16/Pause-Normal-Red-icon.png) left center no-repeat;
padding-left:16px}
Re: Trying to add icon before profile on any profile page
thanks for trying but that code does nothing to help me. no change in apperance or anything
Goppyrules- Forumember
- Posts : 125
Reputation : 2
Language : english
Re: Trying to add icon before profile on any profile page
Try this tutorial: https://help.forumotion.com/t90311-how-to-add-an-icon-before-username
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: Trying to add icon before profile on any profile page
i already did that. it works on everything but the widget for log in where i want the crown to show and my profile page is also were i want it to show
Goppyrules- Forumember
- Posts : 125
Reputation : 2
Language : english
Re: Trying to add icon before profile on any profile page
- Code:
.module h3 {
background:url(http://icons.iconarchive.com/icons/icons-land/play-stop-pause/16/Pause-Normal-Red-icon.png) left center no-repeat;
padding-left:16px;}
But it works for all widgets..
Re: Trying to add icon before profile on any profile page
this one isnt working. i dont doubt your info. it just doesnt work.
here is the test one if you want to take a look at it
user:goppyrules
pass:rune56
http://shadowmasteracadmeny.forum.net.bz/
here is the test one if you want to take a look at it
user:goppyrules
pass:rune56
http://shadowmasteracadmeny.forum.net.bz/
Goppyrules- Forumember
- Posts : 125
Reputation : 2
Language : english
Re: Trying to add icon before profile on any profile page
Try this:
Or this (For phpBB2):
- Code:
a[href="/u1"] strong{
background: url(http://icons.iconarchive.com/icons/icons-land/play-stop-pause/16/Pause-Normal-Red-icon.png) left center no-repeat !important;
padding-left: 16px !important;
}
strong a[href="/u1"]{
background: url(http://icons.iconarchive.com/icons/icons-land/play-stop-pause/16/Pause-Normal-Red-icon.png) left center no-repeat !important;
padding-left: 16px !important;
}
Or this (For phpBB2):
- Code:
$(function() {
$('strong a[href="/u1"]').before('<img src="http://icons.iconarchive.com/icons/icons-land/play-stop-pause/16/Pause-Normal-Red-icon.png" />');
$('a[href="/u1"] strong').before('<img src="http://icons.iconarchive.com/icons/icons-land/play-stop-pause/16/Pause-Normal-Red-icon.png" />');
});
Guest- Guest
Re: Trying to add icon before profile on any profile page
you sure this css code can work the module for log in? can it be displayed as the picture i put as a picture.
im getting the same results as the tutorial gets. i only need the profile page and the widget for log in to display a icon before the user name
im getting the same results as the tutorial gets. i only need the profile page and the widget for log in to display a icon before the user name
Last edited by Goppyrules on March 7th 2012, 8:16 am; edited 1 time in total
Goppyrules- Forumember
- Posts : 125
Reputation : 2
Language : english
Re: Trying to add icon before profile on any profile page
Nope, if you want also for Profile widget this will work:
- Code:
table#gallery_container td.catLeft div.genmed.center b span strong{
background: url(http://icons.iconarchive.com/icons/icons-land/play-stop-pause/16/Pause-Normal-Red-icon.png) left center no-repeat !important;
padding-left: 16px !important;
}
Guest- Guest
Re: Trying to add icon before profile on any profile page
ok where does that code be placed?
Goppyrules- Forumember
- Posts : 125
Reputation : 2
Language : english
Goppyrules- Forumember
- Posts : 125
Reputation : 2
Language : english
Re: Trying to add icon before profile on any profile page
Administration Panel => Display => Pictures and colors => Colors => CSS Stylesheet.
Guest- Guest
Re: Trying to add icon before profile on any profile page
+ 5 respect points man. im assuming it cant work for the main user profile page when it view the information and stuff. but it works man for the wdiget
Goppyrules- Forumember
- Posts : 125
Reputation : 2
Language : english
Re: Trying to add icon before profile on any profile page
Try to add the code below:
Notes:
Don't forget to enable javascript codes => Enable Javascript code management : Yes;
Select from Placement : In the home page & In the portal.
- Code:
$(function() {
$('table#gallery_container td.catLeft div.genmed.center b span strong').before('<img src="http://icons.iconarchive.com/icons/icons-land/play-stop-pause/16/Pause-Normal-Red-icon.png" />');
});
Notes:
Don't forget to enable javascript codes => Enable Javascript code management : Yes;
Select from Placement : In the home page & In the portal.
Guest- Guest
Re: Trying to add icon before profile on any profile page
+5 respect points man. im assuming it cant work for the main user profile page when it view the information and stuff. but it works man for the wdiget
Goppyrules- Forumember
- Posts : 125
Reputation : 2
Language : english
Similar topics
» favorites icon, page icon .-- i can't change it
» Deleted personalized profile tweak still shows in profile edit page
» Profile & Group Profile Page
» Need profile icon
» Verified Icon on Profile
» Deleted personalized profile tweak still shows in profile edit page
» Profile & Group Profile Page
» Need profile icon
» Verified Icon on Profile
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum