Staff Color Image help needed (phpbb2) 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.
2 posters

    Staff Color Image help needed (phpbb2)

    Harmondale
    Harmondale
    Forumember


    Male Posts : 121
    Reputation : 17
    Language : English
    Location : Ireland

    In progress Staff Color Image help needed (phpbb2)

    Post by Harmondale Tue Mar 27, 2012 12:54 am

    ive been trying to use the staff color javascript from Here, ive checked alot of posts trying to work it out myself on how to add an image, now i can get the colors to work fine but when i try to use an image it just doesn't work, the way im doing it is like this
    Code:
    $(function() {
    $('tr.post:has(".specialpost") td').css('background-image' , 'url(http://www.nextgenupdate.com/forums/images/Admin-bg.jpg)');

    am i doing this wrong or does this not work with phpbb2?
    Nera.
    Nera.
    Energetic


    Female Posts : 7078
    Reputation : 2017
    Language : English
    Location : -

    In progress Re: Staff Color Image help needed (phpbb2)

    Post by Nera. Tue Mar 27, 2012 9:10 am

    Hi,

    I used your script and it works completely fine for me:

    http://tiki.makingforum.com/t4-wow-slider-on-fm

    Have you maybe installed some new script that's blocking this one?
    Harmondale
    Harmondale
    Forumember


    Male Posts : 121
    Reputation : 17
    Language : English
    Location : Ireland

    In progress Re: Staff Color Image help needed (phpbb2)

    Post by Harmondale Tue Mar 27, 2012 2:19 pm

    defaulted all the templates and it still doesn't work, i cant understand how the color works fine but i cant seem to get the background to work lol did you use phpbb2 Nera?
    Nera.
    Nera.
    Energetic


    Female Posts : 7078
    Reputation : 2017
    Language : English
    Location : -

    In progress Re: Staff Color Image help needed (phpbb2)

    Post by Nera. Tue Mar 27, 2012 2:23 pm

    http://tiki.makingforum.com/11796.js

    Staff Color Image help needed (phpbb2) Ki3N

    Works on your forum too:

    Staff Color Image help needed (phpbb2) Ki4k
    Harmondale
    Harmondale
    Forumember


    Male Posts : 121
    Reputation : 17
    Language : English
    Location : Ireland

    In progress Re: Staff Color Image help needed (phpbb2)

    Post by Harmondale Tue Mar 27, 2012 3:42 pm

    oh i see i forgot the closing tags lol, how can i stretch with to width 100% so i can use a gradient
    Nera.
    Nera.
    Energetic


    Female Posts : 7078
    Reputation : 2017
    Language : English
    Location : -

    In progress Re: Staff Color Image help needed (phpbb2)

    Post by Nera. Tue Mar 27, 2012 3:47 pm

    Harmondale
    Harmondale
    Forumember


    Male Posts : 121
    Reputation : 17
    Language : English
    Location : Ireland

    In progress Re: Staff Color Image help needed (phpbb2)

    Post by Harmondale Tue Mar 27, 2012 5:59 pm

    tried that and this is what it comes out like this, im trying to get it like this forums one with or without the repeat tag it still repeat, i was the whole post to be one background insted of broken up if you know what i mean, anyway heres the code ive got at the moment as you suggested

    Code:
    $(function(){$('tr.post:has(".specialpost") td').css('background-image' , 'url(http://tc1999.webs.com/eimvu/gradientgreen.png)' , 'background-repeat' , 'repeat-y')});