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 November 15th 2013, 3:23 am; edited 1 time in total
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');
});
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.
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.
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?
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?
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...
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>
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.
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.
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>
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!
Re: Staff Post Gradient codes not working
Topic Solved & Locked.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Similar topics
» Gradient Background For staff
» Some JavaScript codes are not working
» CSS codes not working.
» Codes not working
» Chatbox Codes Not Working
» Some JavaScript codes are not working
» CSS codes not working.
» Codes not working
» Chatbox Codes Not Working
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum