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 Color Image help needed (phpbb2)

2 posters

Go down

In progress Staff Color Image help needed (phpbb2)

Post by Harmondale March 27th 2012, 1: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?
Harmondale
Harmondale
Forumember

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

http://eimvu.com

Back to top Go down

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

Post by Nera. March 27th 2012, 10: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?
Nera.
Nera.
Energetic

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

Back to top Go down

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

Post by Harmondale March 27th 2012, 3: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?
Harmondale
Harmondale
Forumember

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

http://eimvu.com

Back to top Go down

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

Post by Nera. March 27th 2012, 3: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
Nera.
Nera.
Energetic

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

Back to top Go down

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

Post by Harmondale March 27th 2012, 4: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
Harmondale
Harmondale
Forumember

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

http://eimvu.com

Back to top Go down

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

Post by Nera. March 27th 2012, 4:47 pm

Nera.
Nera.
Energetic

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

Back to top Go down

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

Post by Harmondale March 27th 2012, 6: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')});
Harmondale
Harmondale
Forumember

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

http://eimvu.com

Back to top Go down

Back to top


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