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.3 RN Issues
Author Message
FireATST
RavenNuke(tm) Development Team



Joined: Jun 12, 2004
Posts: 654
Location: Ohio

PostPosted: Sat Dec 27, 2008 1:13 pm Reply with quote

If I switch to the CT_RN theme for a default theme on one of my sites, I get a html compliance error on the messages that I have created especially for that site. The error is to do with the title of the message. It looks like when you create the message and enter a name in the title box of the message, the theme does not correctly add the # for the color of the title. I get errors on all messages from the title box like the following:

The hexadecimal color value for the "color" attribute is missing the '#' character. Use color="#(color)", where (color) is a six digit hexadecimal number in the form RRGGBB.
<div class="articlecontent"><center><font class="option" color=""><b>Eternity</b></font></center><br />


With Eternity being the title of the message. If I switch to the fisubice theme, it reports no errors. I have searched for where this is controlled and I guess I have stared at it to long, because I can not see where the title color is controlled. Any help would be greatly appreciated....Smile
 
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Sat Dec 27, 2008 3:11 pm Reply with quote

Try creating a new element in the theme CSS file. It looks like CT_RN doesn't have one for the font class 'option' but then I do not see it being used in the theme either - weird!
 
View user's profile Send private message Send e-mail
testy1
Involved
Involved



Joined: Apr 06, 2008
Posts: 484

PostPosted: Sat Dec 27, 2008 8:08 pm Reply with quote

the theme CT_RN is missing the color definitions

open: themes/CT_RN/theme.php

Find:

Code:


function themeheader() {


Before Add:

Code:


$bgcolor1 = '#330303';
$bgcolor2 = '#330303';
$bgcolor3 = '#330303';
$bgcolor4 = '#330303';
$textcolor1 = '#CCCCCC';
$textcolor2 = '#CCCCCC';


the color's above are the default colors so you will have to update bgcolor2, bgcolor3, bgcolor4 and textcolor2 if that theme uses different colors.
 
View user's profile Send private message
FireATST







PostPosted: Sat Dec 27, 2008 9:11 pm Reply with quote

thanks for the replies....Smile testy1, that seems to have done the trick....Smile
 
FireATST







PostPosted: Sat Dec 27, 2008 9:21 pm Reply with quote

On a similiar note about html compliance, did find one error in the DeepBlue theme also. In the theme.php file on line 86 the following section of code would throw an error:

<img border="0" src="themes/DeepBlue/images/topics.gif" width="140" height="18"alt="Topics" />

due to no space between the "18" and the alt. Put a space in between and the error goes away....Smile
 
jestrella
Moderator



Joined: Dec 01, 2005
Posts: 593
Location: Santiago, Dominican Republic

PostPosted: Mon Dec 29, 2008 8:34 am Reply with quote

Ok... this should be fixed in the upcoming 2.30.01 release, so keep an eye on it.

_________________
"For those whom have not reach the sky... Every mountain seems high"

Best Regards
Jonathan Estrella
http://about.me/jestrella04 
View user's profile Send private message Visit poster's website
FireATST







PostPosted: Mon Dec 29, 2008 9:43 pm Reply with quote

Cheers
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.3 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 ©