User icon shows wrong and How do i change the Profile background
3 posters
Page 1 of 1
User icon shows wrong and How do i change the Profile background
I've used the "Icon before username" code for Invision,
And it shows right on the home page and chatbox,
but in the post, it just shows the same for everyone i added one to.
And no icon shows on Portal.
Also, how would i do to add a background on the Profile information in posts like this
But the background is only going to be for me, and threw the whole post (wide)
Glad for every answer, thanks.
And it shows right on the home page and chatbox,
but in the post, it just shows the same for everyone i added one to.
And no icon shows on Portal.
Also, how would i do to add a background on the Profile information in posts like this
But the background is only going to be for me, and threw the whole post (wide)
Glad for every answer, thanks.
CallMeMatt- New Member
- Posts : 8
Reputation : 1
Language : Swedish
Re: User icon shows wrong and How do i change the Profile background
Could i please get some help?
CallMeMatt- New Member
- Posts : 8
Reputation : 1
Language : Swedish
Re: User icon shows wrong and How do i change the Profile background
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: User icon shows wrong and How do i change the Profile background
Bump.
Nobody knows this..?
Nobody knows this..?
CallMeMatt- New Member
- Posts : 8
Reputation : 1
Language : Swedish
Re: User icon shows wrong and How do i change the Profile background
Hi!
For first problem, did you selected "All pages" to field "Placement"?
For second one, add to JavaScript codes management:
And then to CSS Stylesheet:
For first problem, did you selected "All pages" to field "Placement"?
For second one, add to JavaScript codes management:
- Code:
$(document).ready(function(){
$('.post .postprofile').has('a[href="/u1"]').addClass('adminpost');
});
And then to CSS Stylesheet:
- Code:
.adminpost .postprofile{
background: #00CCEE !important;
}
Re: User icon shows wrong and How do i change the Profile background
Yes, i've ticked All pages.
And the profile background you put, did not work at all.
Any other ways?
And the profile background you put, did not work at all.
Any other ways?
CallMeMatt- New Member
- Posts : 8
Reputation : 1
Language : Swedish
CallMeMatt- New Member
- Posts : 8
Reputation : 1
Language : Swedish
Re: User icon shows wrong and How do i change the Profile background
Sorry, replace the CSS code with:
The JavaScript code is the same.
- Code:
.adminpost{
background: #00CCEE !important;
}
The JavaScript code is the same.
Re: User icon shows wrong and How do i change the Profile background
Thanks, now i just need help with the Icons before the username.
CallMeMatt- New Member
- Posts : 8
Reputation : 1
Language : Swedish
Re: User icon shows wrong and How do i change the Profile background
Can you post here all the codes you've used for adding an icon before username? Thanks.
Re: User icon shows wrong and How do i change the Profile background
I actually got it to work (kind of),
but there's a couple issues with it.
Instead of the CSS i first used i switched to JS instead,
But the issue with that is,
1. The icon does not show before the username (above the avatar) as it did before.
2. The icons doesn't show at all for offline users?
3. The icons doesn't show in the chatbox?
but there's a couple issues with it.
Instead of the CSS i first used i switched to JS instead,
- Code:
$(function() {
if($('a[href="/u1"] span strong')){
$('a[href="/u1"] span strong').before('<img src="https://dl.dropbox.com/u/35320740/20091122095739%21Jmod_crown.png" border="0" />');
}
});
But the issue with that is,
1. The icon does not show before the username (above the avatar) as it did before.
2. The icons doesn't show at all for offline users?
3. The icons doesn't show in the chatbox?
CallMeMatt- New Member
- Posts : 8
Reputation : 1
Language : Swedish
Re: User icon shows wrong and How do i change the Profile background
Try replacing it by:
- Code:
$(function() {
if($('a[href="/u1"]')){
$('a[href="/u1"]').before('<img src="https://dl.dropbox.com/u/35320740/20091122095739%21Jmod_crown.png" border="0" />');
}
});
Re: User icon shows wrong and How do i change the Profile background
It did not work, it's still the same.
CallMeMatt- New Member
- Posts : 8
Reputation : 1
Language : Swedish
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum