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 Wed 13 Nov 2013 - 7:04

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 Fri 15 Nov 2013 - 3:23; edited 1 time in total
Giooo
Giooo
Forumember

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

View user profile http://admincentral.forumotion.com/

Back to top Go down

Solved Re: Staff Post Gradient codes not working

Post by Ikerepc Wed 13 Nov 2013 - 8:38

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

View user profile http://admins.forumotion.com

Back to top Go down

Solved Re: Staff Post Gradient codes not working

Post by Giooo Wed 13 Nov 2013 - 16:26

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

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

View user profile http://admincentral.forumotion.com/

Back to top Go down

Solved Re: Staff Post Gradient codes not working

Post by SLGray Thu 14 Nov 2013 - 2:32



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 : 50246
Reputation : 3466
Language : English
Location : United States

View user profile https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Staff Post Gradient codes not working

Post by Giooo Thu 14 Nov 2013 - 4:28

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

View user profile http://admincentral.forumotion.com/

Back to top Go down

Solved Re: Staff Post Gradient codes not working

Post by Ikerepc Thu 14 Nov 2013 - 6:42

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

View user profile http://admins.forumotion.com

Back to top Go down

Solved Re: Staff Post Gradient codes not working

Post by Giooo Thu 14 Nov 2013 - 6:48

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

View user profile http://admincentral.forumotion.com/

Back to top Go down

Solved Re: Staff Post Gradient codes not working

Post by Ikerepc Thu 14 Nov 2013 - 7:13

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

View user profile http://admins.forumotion.com

Back to top Go down

Solved Re: Staff Post Gradient codes not working

Post by Giooo Thu 14 Nov 2013 - 17:45

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

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

View user profile http://admincentral.forumotion.com/

Back to top Go down

Solved Re: Staff Post Gradient codes not working

Post by Ikerepc Thu 14 Nov 2013 - 19:24

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

View user profile http://admins.forumotion.com

Back to top Go down

Solved Re: Staff Post Gradient codes not working

Post by Giooo Thu 14 Nov 2013 - 22:25

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

View user profile http://admincentral.forumotion.com/

Back to top Go down

Solved Re: Staff Post Gradient codes not working

Post by Ange Tuteur Thu 14 Nov 2013 - 22:34

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 : 13244
Reputation : 2990
Language : English & 日本語
Location : Pennsylvania

View user profile https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Staff Post Gradient codes not working

Post by Giooo Thu 14 Nov 2013 - 23:44

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

View user profile http://admincentral.forumotion.com/

Back to top Go down

Solved Re: Staff Post Gradient codes not working

Post by Ange Tuteur Thu 14 Nov 2013 - 23:58

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 : 13244
Reputation : 2990
Language : English & 日本語
Location : Pennsylvania

View user profile https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Staff Post Gradient codes not working

Post by Giooo Fri 15 Nov 2013 - 3:21

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

View user profile http://admincentral.forumotion.com/

Back to top Go down

Solved Re: Staff Post Gradient codes not working

Post by Sanket Fri 15 Nov 2013 - 4:45

Topic Solved & Locked.
Sanket
Sanket
ForumGuru

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

View user profile

Back to top Go down

Back to top

- Similar topics

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