Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
mrix
Client



Joined: Dec 04, 2004
Posts: 757

PostPosted: Wed Feb 10, 2010 8:27 am Reply with quote

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
 
View user's profile Send private message Visit poster's website
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Wed Feb 10, 2010 9:39 am Reply with quote

[ Only registered users can see links on this board! Get registered or login! ]
 
View user's profile Send private message Visit poster's website
mrix







PostPosted: Wed Feb 10, 2010 10:45 am Reply with quote

Hi there many thanks for this mod Cool
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: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Wed Feb 10, 2010 11:38 am Reply with quote

If I had to guess I would say you could use the modified files, but I can't be 100% sure.

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
spasticdonkey







PostPosted: Wed Feb 10, 2010 1:03 pm Reply with quote

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







PostPosted: Wed Feb 10, 2010 2:03 pm Reply with quote

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 Crying or Very sad
Image

Does anyone know what file it would be to change that box colour issue?

cheers and thanks

mrix
 
Palbin







PostPosted: Wed Feb 10, 2010 2:53 pm Reply with quote

So your only problem is that the text color is the same as the textarea?
 
mrix







PostPosted: Wed Feb 10, 2010 2:54 pm Reply with quote

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 Very Happy

Cheers
mrix
 
spasticdonkey







PostPosted: Wed Feb 10, 2010 3:28 pm Reply with quote

hard for us to troubleshoot because you can only see that page if you are registered.
my suggestion is get firebug for firefox 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







PostPosted: Thu Feb 11, 2010 10:17 am Reply with quote

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 Confused

Cheers and thanks
mrix

p.s would be great to get that side of it working as overall its a great mod

Very Happy
 
Palbin







PostPosted: Thu Feb 11, 2010 10:55 am Reply with quote

If you switch themes is the text still the same color as the background or are we talking something that is theme specific?
 
spasticdonkey







PostPosted: Thu Feb 11, 2010 11:08 am Reply with quote

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 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
Image


Last edited by spasticdonkey on Thu Feb 11, 2010 11:09 am; edited 1 time in total 
mrix







PostPosted: Thu Feb 11, 2010 11:08 am Reply with quote

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 Confused
Apart from that O am none the wiser Crying or Very sad
Cheers
mrix
 
mrix







PostPosted: Thu Feb 11, 2010 11:10 am Reply with quote

Thanks spasticdonkey for all that detail, I`ll take another look now.
Cheers and thanks
mrix
 
mrix







PostPosted: Sat Feb 13, 2010 11:37 am Reply with quote

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 Crying or Very sad Confused
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
Worker



Joined: Oct 05, 2003
Posts: 107
Location: Illinois

PostPosted: Sat Feb 13, 2010 12:06 pm Reply with quote

zip the theme up and pm me the link and I will look at it.
 
View user's profile Send private message Visit poster's website
mrix







PostPosted: Sat Feb 13, 2010 12:21 pm Reply with quote

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 Very Happy Cool
Cheers and thanks all
mrix
 
Loki







PostPosted: Sat Feb 13, 2010 12:34 pm Reply with quote

ok glad you got it fixed.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©