Staff Post Gradient codes not working Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
5 posters

    Staff Post Gradient codes not working

    Giooo
    Giooo
    Forumember


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

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


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

    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.
    Giooo
    Giooo
    Forumember


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

    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.
    SLGray
    SLGray
    Administrator
    Administrator


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

    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.
    Giooo
    Giooo
    Forumember


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

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


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

    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?
    Giooo
    Giooo
    Forumember


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

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


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

    Solved Re: Staff Post Gradient codes not working

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

    Have you some others codes in JavaScript?
    Giooo
    Giooo
    Forumember


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

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


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

    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...
    Giooo
    Giooo
    Forumember


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

    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=
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    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.
    Giooo
    Giooo
    Forumember


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

    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
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    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>
    Giooo
    Giooo
    Forumember


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

    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!
    Sanket
    Sanket
    ForumGuru


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

    Solved Re: Staff Post Gradient codes not working

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

    Topic Solved & Locked.