| Author |
Message |
mrix Client

Joined: Dec 04, 2004 Posts: 757
|
Posted:
Wed Feb 10, 2010 8:27 am |
|
Hi there, I was wondering if anyone has or is aware of any code changes where you can add youtube videos to posts????
Cheers all
mrix |
|
|
|
 |
spasticdonkey RavenNuke(tm) Development Team

Joined: Dec 02, 2006 Posts: 1253 Location: Texas, USA
|
Posted:
Wed Feb 10, 2010 9:39 am |
|
|
|
 |
mrix Client

Joined: Dec 04, 2004 Posts: 757
|
Posted:
Wed Feb 10, 2010 10:45 am |
|
Hi there many thanks for this mod
I was wondering as it shows it will work in 2.3 do you know if I can also just use the moded files for 2.4 or will I have to re-edit the files???
thanks
mrix |
|
|
|
 |
Palbin Site Admin

Joined: Mar 30, 2006 Posts: 2406 Location: Pennsylvania
|
Posted:
Wed Feb 10, 2010 11:38 am |
|
If I had to guess I would say you could use the modified files, but I can't be 100% sure. |
|
|
|
 |
spasticdonkey RavenNuke(tm) Development Team

Joined: Dec 02, 2006 Posts: 1253 Location: Texas, USA
|
Posted:
Wed Feb 10, 2010 1:03 pm |
|
I thought about it a little bit. I think the only change I would recommend to those files would be the IE textarea bug fix in posting_body.tpl
there a several copies of that file in there... basically finding the message textarea and editing
find
<textarea name="message" rows="15" cols="35" wrap="virtual" style="width:100%; border: 0px;" tabindex="3" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{MESSAGE}</textarea>
change to:
<textarea name="message" rows="15" cols="35" style="width:450px; height: 250px; border: 0px;" tabindex="3" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{MESSAGE}</textarea>
the individual files may differ a little from my example, but you get the idea.. |
|
|
|
 |
mrix Client

Joined: Dec 04, 2004 Posts: 757
|
Posted:
Wed Feb 10, 2010 2:03 pm |
|
Hi I really like the look of this mod, the youtube video works from it amongst the other add-ons, unfortunately the text box only and a thin line where you actually see the text then as you can see by the screenshot the text turns the same colour as the background
Does anyone know what file it would be to change that box colour issue?
cheers and thanks
mrix |
|
|
|
 |
Palbin Site Admin

Joined: Mar 30, 2006 Posts: 2406 Location: Pennsylvania
|
Posted:
Wed Feb 10, 2010 2:53 pm |
|
So your only problem is that the text color is the same as the textarea? |
|
|
|
 |
mrix Client

Joined: Dec 04, 2004 Posts: 757
|
Posted:
Wed Feb 10, 2010 2:54 pm |
|
| Quote: | | So your only problem is that the text color is the same as the textarea? |
Yea apart from that all is great, I like it a lot
Cheers
mrix |
|
|
|
 |
spasticdonkey RavenNuke(tm) Development Team

Joined: Dec 02, 2006 Posts: 1253 Location: Texas, USA
|
Posted:
Wed Feb 10, 2010 3:28 pm |
|
hard for us to troubleshoot because you can only see that page if you are registered.
my suggestion is get and right click the textarea and choose "inspect element"
It will show you all the associated style info, and even what file the style is loaded from. Then you should easily be able to either fix the textarea background or the text color. |
|
|
|
 |
mrix Client

Joined: Dec 04, 2004 Posts: 757
|
Posted:
Thu Feb 11, 2010 10:17 am |
|
Hi there, I did try the firebug but when I click on inspect I get these options....
Console, HTML, CSS, Script, DOM, XHR ????
never used this before so am a little confused
Cheers and thanks
mrix
p.s would be great to get that side of it working as overall its a great mod
 |
|
|
|
 |
Palbin Site Admin

Joined: Mar 30, 2006 Posts: 2406 Location: Pennsylvania
|
Posted:
Thu Feb 11, 2010 10:55 am |
|
If you switch themes is the text still the same color as the background or are we talking something that is theme specific? |
|
|
|
 |
spasticdonkey RavenNuke(tm) Development Team

Joined: Dec 02, 2006 Posts: 1253 Location: Texas, USA
|
Posted:
Thu Feb 11, 2010 11:08 am |
|
| mrix wrote: | Hi there, I did try the firebug but when I click on inspect I get these options....
Console, HTML, CSS, Script, DOM, XHR ????
never used this before so am a little confused |
when you right click on the textarea and inspect element, the info you want will be in the style tab. If there is styling that is crossed out it means it has been overridden by another style.
In this example I followed this process on a different theme, but I highlighted the styling which applied to my textarea, with background #FFFFFF (white background) and color: #000000 (black text)... Which you can see is declared on line 46 of Forums.css
 |
Last edited by spasticdonkey on Thu Feb 11, 2010 11:09 am; edited 1 time in total |
|
|
 |
mrix Client

Joined: Dec 04, 2004 Posts: 757
|
Posted:
Thu Feb 11, 2010 11:08 am |
|
Hello I have installed the necessary mod files in one of my other themes and all seems fine,,,, I guess it definitely something theme specific
Apart from that O am none the wiser
Cheers
mrix |
|
|
|
 |
mrix Client

Joined: Dec 04, 2004 Posts: 757
|
Posted:
Thu Feb 11, 2010 11:10 am |
|
Thanks spasticdonkey for all that detail, I`ll take another look now.
Cheers and thanks
mrix |
|
|
|
 |
mrix Client

Joined: Dec 04, 2004 Posts: 757
|
Posted:
Sat Feb 13, 2010 11:37 am |
|
Hello there all, I am still struggling to fix the background box... I have managed to find the piece of code that should change things for the better but I am not sure what to change
Any idea`s much appreciated.
Cheers
mrix
TEXTAREA {
background-image: url(../../../themes/Anzio/forums/images/submit.gif);
background-repeat: repeat-x;
color:#a9b6bc;
background-color : #263646;
font-size:13px;
FONT-FAMILY: tahoma, sans-serif;
BORDER-TOP: #4e4e4e 1px solid;
BORDER-BOTTOM: #dfe4e6 1px solid;
BORDER-LEFT: #4e4e4e 1px solid;
BORDER-RIGHT: #dfe4e6 1px solid;
} |
|
|
|
 |
Loki Worker


Joined: Oct 05, 2003 Posts: 107 Location: Illinois
|
Posted:
Sat Feb 13, 2010 12:06 pm |
|
zip the theme up and pm me the link and I will look at it. |
|
|
|
 |
mrix Client

Joined: Dec 04, 2004 Posts: 757
|
Posted:
Sat Feb 13, 2010 12:21 pm |
|
Thanks for the offer Loki very much appreciated but I just noticed the blue line at the top is actually an image, I basically just increased the image size and all looks fine
Cheers and thanks all
mrix |
|
|
|
 |
Loki Worker


Joined: Oct 05, 2003 Posts: 107 Location: Illinois
|
Posted:
Sat Feb 13, 2010 12:34 pm |
|
ok glad you got it fixed. |
|
|
|
 |
|
|
|
|