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.

Staff Post Gradient codes not working

5 posters

Go down

Solved Staff Post Gradient codes not working

Post by Giooo November 13th 2013, 7:04 am

Hi all,

I'm currently using phpBB 3 and I've tried nearly all of the staff post gradient setups, and so far none have worked for me. Anyone know of any that are known to be working right?


Last edited by Mario 2.0 on November 15th 2013, 3:23 am; edited 1 time in total
Giooo
Giooo
Forumember

Male Posts : 155
Reputation : 8
Language : English, Greek
Location : Virginia

http://admincentral.forumotion.com/

Back to top Go down

Solved Re: Staff Post Gradient codes not working

Post by Ikerepc November 13th 2013, 8:38 am

Hello,

you need in place of members rank put this code:

Code:
<span class="modgradient">RANKHERE</span>
And then create JavaScript code and fill that like:

Name: staff gradient
Tag: In topics
Code:
Code:
$(function() {
$('div.post:has(".modgradient")').css('background','#DAE6F0 url(http://i48.servimg.com/u/f48/17/48/49/15/photo10.png) repeat-y');
});
And that need to me all. It works for me.
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

Solved Re: Staff Post Gradient codes not working

Post by Giooo November 13th 2013, 4:26 pm

I just tried that, and it's still not working.
Giooo
Giooo
Forumember

Male Posts : 155
Reputation : 8
Language : English, Greek
Location : Virginia

http://admincentral.forumotion.com/

Back to top Go down

Solved Re: Staff Post Gradient codes not working

Post by SLGray November 14th 2013, 2:32 am



Staff Post Gradient codes not working 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 : 51464
Reputation : 3519
Language : English
Location : United States

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

Back to top Go down

Solved Re: Staff Post Gradient codes not working

Post by Giooo November 14th 2013, 4:28 am

Which code would I try?

https://help.forumotion.com/t109450-staff-gradient-post-code-not-working#716373

I've already tried that one. The code following that is for PunBB, unless I'm reading it wrong.
Giooo
Giooo
Forumember

Male Posts : 155
Reputation : 8
Language : English, Greek
Location : Virginia

http://admincentral.forumotion.com/

Back to top Go down

Solved Re: Staff Post Gradient codes not working

Post by Ikerepc November 14th 2013, 6:42 am

Are you shure you are tag in topics, give staffs that rank and tag for display JavaScript codes yes?
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

Solved Re: Staff Post Gradient codes not working

Post by Giooo November 14th 2013, 6:48 am

Zyon wrote:Are you shure you are tag in topics, give staffs that rank and tag for display JavaScript codes yes?
Yes.
Giooo
Giooo
Forumember

Male Posts : 155
Reputation : 8
Language : English, Greek
Location : Virginia

http://admincentral.forumotion.com/

Back to top Go down

Solved Re: Staff Post Gradient codes not working

Post by Ikerepc November 14th 2013, 7:13 am

Have you some others codes in JavaScript?
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

Solved Re: Staff Post Gradient codes not working

Post by Giooo November 14th 2013, 5:45 pm

Zyon wrote:Have you some others codes in JavaScript?
Nope.
Giooo
Giooo
Forumember

Male Posts : 155
Reputation : 8
Language : English, Greek
Location : Virginia

http://admincentral.forumotion.com/

Back to top Go down

Solved Re: Staff Post Gradient codes not working

Post by Ikerepc November 14th 2013, 7:24 pm

Can you give us your forum url and codes what you using? I really don't know why it don't work, I use same codes on my forum, and it work perfect, only if you have in css different color...
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

Solved Re: Staff Post Gradient codes not working

Post by Giooo November 14th 2013, 10:25 pm

http://fmadmins.forumotion.com/

<span class="gradiantpost"><b><font color="red">Lead Admin</font>istrator</b></span>

Staff Post Gradient codes not working CB6cPS62tuQAAAAASUVORK5CYII=
Giooo
Giooo
Forumember

Male Posts : 155
Reputation : 8
Language : English, Greek
Location : Virginia

http://admincentral.forumotion.com/

Back to top Go down

Solved Re: Staff Post Gradient codes not working

Post by Ange Tuteur November 14th 2013, 10:34 pm

You need to change your selector in the script:

.modgradient => .gradiantpost

or you can do it for your rank:

.gradiantpost => .modgradient

do that and it should work.
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Staff Post Gradient codes not working

Post by Giooo November 14th 2013, 11:44 pm

Hi Seth,

I've tried doing it both ways, and it still won't work for some reason. Confused
Giooo
Giooo
Forumember

Male Posts : 155
Reputation : 8
Language : English, Greek
Location : Virginia

http://admincentral.forumotion.com/

Back to top Go down

Solved Re: Staff Post Gradient codes not working

Post by Ange Tuteur November 14th 2013, 11:58 pm

Does your script have any line breaks? I've noticed It had line break when I copied it. It creates an unterminated string.

Use select content to grab the contents(code tags been acting wonky)

For this try with script tick: "in all the pages"
Code:
$(function() {
$('div.post:has(".YOURSELECTOR")').css('background','#f0f0f0 url(http://i48.servimg.com/u/f48/17/48/49/15/photo10.png) repeat-y');
});
Wrap this around your rank:
Code:
<span class="YOURSELECTOR"></span>
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Staff Post Gradient codes not working

Post by Giooo November 15th 2013, 3:21 am

Thanks Seth! When I looked closely, it was indeed a simple error that I had made, but I give credit to Seth for helping me find it in a way.

Kudos!
Giooo
Giooo
Forumember

Male Posts : 155
Reputation : 8
Language : English, Greek
Location : Virginia

http://admincentral.forumotion.com/

Back to top Go down

Solved Re: Staff Post Gradient codes not working

Post by Sanket November 15th 2013, 4:45 am

Topic Solved & Locked.
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Back to top

- Similar topics

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