I'm partnering up with someone that runs a vbulliten forum. The deal was, they would come over to my ning network, if they got to keep their name.

Essentially what we'd like to do is use their header, but only on forum pages. 

Can this even be done?

- Matt

Views: 1

Replies to This Discussion

Hi Matt, I couldn't find the right "if" statement branch for the first page at:
http://www.ourleafs.com/forum but, this should work for all forums. You need to write your CSS, and upload somewhere. The CSS file would contain CSS something like this (using my header as example): #xg, .xg_headerbg { background-color:#FFFFFF; background-image:url("http://storage.ning.com/topology/rest/1.0/file/get/981288877?profile=original")!important; } Then add the script to your Analytics Box (Custom Code): <script language="JavaScript"> if (window.location.href.split('/forum')[1] > '/') { var ss = document.createElement("link"); ss.type = "text/css"; ss.rel = "stylesheet"; ss.href = "http://jensocial.com/custom_css/changeheader.css"; document.getElementsByTagName("head")[0].appendChild(ss);} </script> Be sure to change your CSS file path, above. Hopefully this will get you going in the right direction. Best, Jen If you like this tip, Coffee Tip would be nice! ;-)
Hey Jen,

I tried testing this out with your files, but no luck. Then edited for my preferences but still nothing. I thought maybe there was some css interfering but there doesn't appear to be :s

Any Ideas?

And again, thanks so much for your time.

- Matt
I don't know really. It works for me on your site. But remember, it only works after you click on the individual forums links, not the first page.

RSS

Members

© 2024   Created by JenSocial.   Powered by

Badges  |  Report an Issue  |  Terms of Service

Home
VIP Ning Tips