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.

I need a code to make admin posts colored

5 posters

Go down

In progress I need a code to make admin posts colored

Post by ddoesmc Sat 26 Oct 2013 - 14:28

Any one have a code to make admin posts colored:?: Question Question Question Question Question Question Question Question
ddoesmc
ddoesmc
Forumember

Male Posts : 283
Reputation : 11
Language : Mainly english
Location : New Jersey

http://www.officialmc.forumotion.com

Back to top Go down

In progress Re: I need a code to make admin posts colored

Post by Ikerepc Sat 26 Oct 2013 - 15:05

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)
Ikerepc
Ikerepc
Active Poster

Male Posts : 1186
Reputation : 167
Language : Who cares...
Location : Where web help & support is needed

http://admins.forumotion.com

Back to top Go down

In progress Re: I need a code to make admin posts colored

Post by ddoesmc Sat 26 Oct 2013 - 20:04

phpbb3
And i want the orange gradient
ddoesmc
ddoesmc
Forumember

Male Posts : 283
Reputation : 11
Language : Mainly english
Location : New Jersey

http://www.officialmc.forumotion.com

Back to top Go down

In progress Re: I need a code to make admin posts colored

Post by SLGray Sat 26 Oct 2013 - 20:42



I need a code to make admin posts colored Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51482
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: I need a code to make admin posts colored

Post by ddoesmc Sat 26 Oct 2013 - 21:17

I did noT get what to do  SLGRAY
ddoesmc
ddoesmc
Forumember

Male Posts : 283
Reputation : 11
Language : Mainly english
Location : New Jersey

http://www.officialmc.forumotion.com

Back to top Go down

In progress Re: I need a code to make admin posts colored

Post by SLGray Sat 26 Oct 2013 - 21:25

Administration Panel > Users & Usergroups > Ranks
Add this to the titles of the ranks you want to have the background.
Code:
    <span class="st-rang">RANK TITLE HERE</span>
Administration Panel > Modules > HTML?JavaScript > JavaScript Management
Create a new JavaScript and mark in topics/messages.
Code:
$(function() {
$('.st-rang').closest('.post').addClass('st-answer');
});
Administration Panel > Display > Colors & Pictures > Colors
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;
This is the same code we use.


I need a code to make admin posts colored Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51482
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: I need a code to make admin posts colored

Post by ddoesmc Sat 26 Oct 2013 - 21:34

not working
ddoesmc
ddoesmc
Forumember

Male Posts : 283
Reputation : 11
Language : Mainly english
Location : New Jersey

http://www.officialmc.forumotion.com

Back to top Go down

In progress Re: I need a code to make admin posts colored

Post by Ikerepc Sat 26 Oct 2013 - 22:00

Are your JavaScript On?
Ikerepc
Ikerepc
Active Poster

Male Posts : 1186
Reputation : 167
Language : Who cares...
Location : Where web help & support is needed

http://admins.forumotion.com

Back to top Go down

In progress Re: I need a code to make admin posts colored

Post by ddoesmc Sat 26 Oct 2013 - 22:07

please tell me how to turn it on
ddoesmc
ddoesmc
Forumember

Male Posts : 283
Reputation : 11
Language : Mainly english
Location : New Jersey

http://www.officialmc.forumotion.com

Back to top Go down

In progress Re: I need a code to make admin posts colored

Post by SLGray Sat 26 Oct 2013 - 23:05

At the top where the JavaScripts are listed is the on and off option.


I need a code to make admin posts colored Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51482
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: I need a code to make admin posts colored

Post by ddoesmc Sat 26 Oct 2013 - 23:07

its on Smile
ddoesmc
ddoesmc
Forumember

Male Posts : 283
Reputation : 11
Language : Mainly english
Location : New Jersey

http://www.officialmc.forumotion.com

Back to top Go down

In progress Re: I need a code to make admin posts colored

Post by SLGray Sat 26 Oct 2013 - 23:13

Did you add the rank titles in the code?

For example: For administrators
Code:
 <span class="st-rang">Administrator</span>


I need a code to make admin posts colored Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51482
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: I need a code to make admin posts colored

Post by ddoesmc Sun 27 Oct 2013 - 0:54

still not working =(
ddoesmc
ddoesmc
Forumember

Male Posts : 283
Reputation : 11
Language : Mainly english
Location : New Jersey

http://www.officialmc.forumotion.com

Back to top Go down

In progress Re: I need a code to make admin posts colored

Post by Ange Tuteur Sun 27 Oct 2013 - 1:29

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:
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;
This is the same code we use.
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: I need a code to make admin posts colored

Post by levy Sun 27 Oct 2013 - 1:34

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');
});
And now , go in administration Panel -> Display -> Colors -> CSS Stylesheet
Code:
.st-answer {
color:red;
}
You need to have the rank as :

Code:
<span class="st-rank">YOUR RANK TITLE</span>
levy
levy
Hyperactive

Male Posts : 2632
Reputation : 350
Language : English, Romanian
Location : Romania

https://portofolio.goodforum.net/

Back to top Go down

In progress Re: I need a code to make admin posts colored

Post by SLGray Sun 27 Oct 2013 - 2:45

candy_fear wrote: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');
});
And now , go in administration Panel -> Display -> Colors -> CSS Stylesheet
Code:
.st-answer {
color:red;
}
You need to have the rank as :

Code:
<span class="st-rank">YOUR RANK TITLE</span>
He said that he wants the orange gradiant, which is an image.


I need a code to make admin posts colored Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51482
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: I need a code to make admin posts colored

Post by ddoesmc Sun 27 Oct 2013 - 14:47

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 Sun 27 Oct 2013 - 21:41; edited 1 time in total
ddoesmc
ddoesmc
Forumember

Male Posts : 283
Reputation : 11
Language : Mainly english
Location : New Jersey

http://www.officialmc.forumotion.com

Back to top Go down

In progress Re: I need a code to make admin posts colored

Post by SLGray Sun 27 Oct 2013 - 17:37

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.


I need a code to make admin posts colored Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51482
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: I need a code to make admin posts colored

Post by ddoesmc Sun 27 Oct 2013 - 22:01

i am so dumb but...

where is the css
ddoesmc
ddoesmc
Forumember

Male Posts : 283
Reputation : 11
Language : Mainly english
Location : New Jersey

http://www.officialmc.forumotion.com

Back to top Go down

In progress Re: I need a code to make admin posts colored

Post by SLGray Sun 27 Oct 2013 - 22:02

Administration Panel > Display > Colors & Pictures > Colors
CSS Styelsheet Tab


I need a code to make admin posts colored Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51482
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: I need a code to make admin posts colored

Post by Ikerepc Sun 27 Oct 2013 - 22:09

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
Ikerepc
Ikerepc
Active Poster

Male Posts : 1186
Reputation : 167
Language : Who cares...
Location : Where web help & support is needed

http://admins.forumotion.com

Back to top Go down

Back to top

- Similar topics

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