This is a Hitskin.com skin preview
Install the skin • Return to the skin page
5 posters
I need a code to make admin posts colored
ddoesmc- Forumember
- Posts : 283
Reputation : 11
Language : Mainly english
Location : New Jersey
Any one have a code to make admin posts colored:?:       Â
Ikerepc- Active Poster
- Posts : 1186
Reputation : 167
Language : Who cares...
Location : Where web help & support is needed
Hello
1. What forum version you have
2. Are you want color or image, like staff on this forum have? (That orange gradient is image)
1. What forum version you have
2. Are you want color or image, like staff on this forum have? (That orange gradient is image)
ddoesmc- Forumember
- Posts : 283
Reputation : 11
Language : Mainly english
Location : New Jersey
phpbb3
And i want the orange gradient
And i want the orange gradient
SLGray- Administrator
- Posts : 51541
Reputation : 3519
Language : English
Location : United States
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.
ddoesmc- Forumember
- Posts : 283
Reputation : 11
Language : Mainly english
Location : New Jersey
I did noT get what to do SLGRAY
SLGray- Administrator
- Posts : 51541
Reputation : 3519
Language : English
Location : United States
Administration Panel > Users & Usergroups > Ranks
Add this to the titles of the ranks you want to have the background.
Create a new JavaScript and mark in topics/messages.
CSS Stylesheet Tab
Add this to your CSS:
Add this to the titles of the ranks you want to have the background.
- Code:
<span class="st-rang">RANK TITLE HERE</span>
Create a new JavaScript and mark in topics/messages.
- Code:
$(function() {
$('.st-rang').closest('.post').addClass('st-answer');
});
CSS Stylesheet Tab
Add this to your CSS:
- Code:
.post.online.st-answer {
background: url("http://i48.servimg.com/u/f48/17/48/49/15/photo10.png") repeat-y scroll left top, url("http://2img.net/i/fa/prosilver/icon_user_online_en.png") no-repeat scroll right top #E5F1F9;
}
.post.st-answer {
background: url("http://i48.servimg.com/u/f48/17/48/49/15/photo10.png") repeat-y scroll left top #E5F1F9;
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.
ddoesmc- Forumember
- Posts : 283
Reputation : 11
Language : Mainly english
Location : New Jersey
not working
Ikerepc- Active Poster
- Posts : 1186
Reputation : 167
Language : Who cares...
Location : Where web help & support is needed
Are your JavaScript On?
ddoesmc- Forumember
- Posts : 283
Reputation : 11
Language : Mainly english
Location : New Jersey
please tell me how to turn it on
SLGray- Administrator
- Posts : 51541
Reputation : 3519
Language : English
Location : United States
At the top where the JavaScripts are listed is the on and off option.
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.
ddoesmc- Forumember
- Posts : 283
Reputation : 11
Language : Mainly english
Location : New Jersey
its on
SLGray- Administrator
- Posts : 51541
Reputation : 3519
Language : English
Location : United States
Did you add the rank titles in the code?
For example: For administrators
For example: For administrators
- Code:
<span class="st-rang">Administrator</span>
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.
ddoesmc- Forumember
- Posts : 283
Reputation : 11
Language : Mainly english
Location : New Jersey
still not working =(
Ange Tuteur- Forumaster
- Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania
I checked your stylesheet, but I did not find st-answer. Please add this to your stylesheet. It will not display if you don't add it.
SLGray wrote:Administration Panel > Display > Colors & Pictures > Colors
CSS Stylesheet Tab
Add this to your CSS:
This is the same code we use.
- Code:
.post.online.st-answer {
background: url("http://i48.servimg.com/u/f48/17/48/49/15/photo10.png") repeat-y scroll left top, url("http://2img.net/i/fa/prosilver/icon_user_online_en.png") no-repeat scroll right top #E5F1F9;
}
.post.st-answer {
background: url("http://i48.servimg.com/u/f48/17/48/49/15/photo10.png") repeat-y scroll left top #E5F1F9;
levy- Hyperactive
- Posts : 2632
Reputation : 350
Language : English, Romanian
Location : Romania
He want to change the color not to add a gradiend , replace the old javascript with this one :
- Code:
$(function() {
$('.st-rang').closest('.postbody .content').addClass('st-answer');
});
- Code:
.st-answer {
color:red;
}
- Code:
<span class="st-rank">YOUR RANK TITLE</span>
SLGray- Administrator
- Posts : 51541
Reputation : 3519
Language : English
Location : United States
He said that he wants the orange gradiant, which is an image.candy_fear wrote:He want to change the color not to add a gradiend , replace the old javascript with this one :
And now , go in administration Panel -> Display -> Colors -> CSS Stylesheet
- Code:
$(function() {
$('.st-rang').closest('.postbody .content').addClass('st-answer');
});
You need to have the rank as :
- Code:
.st-answer {
color:red;
}
- Code:
<span class="st-rank">YOUR RANK TITLE</span>
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.
ddoesmc- Forumember
- Posts : 283
Reputation : 11
Language : Mainly english
Location : New Jersey
So now what? I don't know what to do! But thanks to ZYON,SLGRAY,candy_fear and seth for trying to help me
Last edited by ddoesmc on October 27th 2013, 9:41 pm; edited 1 time in total
SLGray- Administrator
- Posts : 51541
Reputation : 3519
Language : English
Location : United States
Add the CSS code to the top of your CSS stylesheet.
Please don't use bold or color. Please keep to the default text. This is reserved for the staff for moderation.
Please don't use bold or color. Please keep to the default text. This is reserved for the staff for moderation.
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.
ddoesmc- Forumember
- Posts : 283
Reputation : 11
Language : Mainly english
Location : New Jersey
i am so dumb but...
where is the css
where is the css
SLGray- Administrator
- Posts : 51541
Reputation : 3519
Language : English
Location : United States
Administration Panel > Display > Colors & Pictures > Colors
CSS Styelsheet Tab
CSS Styelsheet Tab
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.
Ikerepc- Active Poster
- Posts : 1186
Reputation : 167
Language : Who cares...
Location : Where web help & support is needed
It need work. When you are put code in css save it, in javascript, save it, in members rank, and it need to be all.
If I can give you that link, here is orange gradient of staff on this forum: https://i.servimg.com/u/f48/17/48/49/15/photo10.png
If I can give you that link, here is orange gradient of staff on this forum: https://i.servimg.com/u/f48/17/48/49/15/photo10.png