Staff Post Gradient codes not working
5 posters
Page 1 of 1
Staff Post Gradient codes not working
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?
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- Forumember
-
Posts : 155
Reputation : 8
Language : English, Greek
Location : Virginia
Re: Staff Post Gradient codes not working
Hello,
you need in place of members rank put this code:
Name: staff gradient
Tag: In topics
Code:
you need in place of members rank put this code:
- Code:
<span class="modgradient">RANKHERE</span>
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');
});
Ikerepc- Active Poster
-
Posts : 1186
Reputation : 167
Language : Who cares...
Location : Where web help & support is needed
Re: Staff Post Gradient codes not working
I just tried that, and it's still not working.
Giooo- Forumember
-
Posts : 155
Reputation : 8
Language : English, Greek
Location : Virginia
Re: Staff Post Gradient codes not working
See if this helps - https://help.forumotion.com/t109450-staff-gradient-post-code-not-working?highlight=staff ?


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.
SLGray- Administrator
-
Posts : 50246
Reputation : 3466
Language : English
Location : United States
Re: Staff Post Gradient codes not working
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.
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- Forumember
-
Posts : 155
Reputation : 8
Language : English, Greek
Location : Virginia
Re: Staff Post Gradient codes not working
Are you shure you are tag in topics, give staffs that rank and tag for display JavaScript codes yes?
Ikerepc- Active Poster
-
Posts : 1186
Reputation : 167
Language : Who cares...
Location : Where web help & support is needed
Re: Staff Post Gradient codes not working
Yes.Zyon wrote:Are you shure you are tag in topics, give staffs that rank and tag for display JavaScript codes yes?
Giooo- Forumember
-
Posts : 155
Reputation : 8
Language : English, Greek
Location : Virginia
Re: Staff Post Gradient codes not working
Have you some others codes in JavaScript?
Ikerepc- Active Poster
-
Posts : 1186
Reputation : 167
Language : Who cares...
Location : Where web help & support is needed
Re: Staff Post Gradient codes not working
Nope.Zyon wrote:Have you some others codes in JavaScript?
Giooo- Forumember
-
Posts : 155
Reputation : 8
Language : English, Greek
Location : Virginia
Re: Staff Post Gradient codes not working
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- Active Poster
-
Posts : 1186
Reputation : 167
Language : Who cares...
Location : Where web help & support is needed
Re: Staff Post Gradient codes not working
http://fmadmins.forumotion.com/
<span class="gradiantpost"><b><font color="red">Lead Admin</font>istrator</b></span>

<span class="gradiantpost"><b><font color="red">Lead Admin</font>istrator</b></span>
Giooo- Forumember
-
Posts : 155
Reputation : 8
Language : English, Greek
Location : Virginia
Re: Staff Post Gradient codes not working
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.
.modgradient => .gradiantpost
or you can do it for your rank:
.gradiantpost => .modgradient
do that and it should work.
Ange Tuteur- Forumaster
-
Posts : 13244
Reputation : 2990
Language : English & 日本語
Location : Pennsylvania
Re: Staff Post Gradient codes not working
Hi Seth,
I've tried doing it both ways, and it still won't work for some reason.
I've tried doing it both ways, and it still won't work for some reason.

Giooo- Forumember
-
Posts : 155
Reputation : 8
Language : English, Greek
Location : Virginia
Re: Staff Post Gradient codes not working
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"
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');
});
- Code:
<span class="YOURSELECTOR"></span>
Ange Tuteur- Forumaster
-
Posts : 13244
Reputation : 2990
Language : English & 日本語
Location : Pennsylvania
Re: Staff Post Gradient codes not working
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!
Kudos!
Giooo- Forumember
-
Posts : 155
Reputation : 8
Language : English, Greek
Location : Virginia
Re: Staff Post Gradient codes not working
Topic Solved & Locked.
Sanket- ForumGuru
-
Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

» Post background gradient not working
» gradient post code not working
» Gradient Background For staff
» How To Add Gradient To Staff Messages?
» Staff background Gradient!
» gradient post code not working
» Gradient Background For staff
» How To Add Gradient To Staff Messages?
» Staff background Gradient!
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum