Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.10.01 - All Issues
Author Message
emmaphp
Worker
Worker



Joined: Aug 22, 2006
Posts: 192

PostPosted: Wed Dec 05, 2007 7:29 am Reply with quote

Hi Everyone,

This I think is a small problem, however it is now really annoying me as I have spent hours trying to resolve the matter, but have still ended up with no success.

I'm not sure of the exact version, however my older website is using a version of Raven Nuke just prior to RavenNuke Version 2.10.01, (the current/latest version).

My new website is using RavenNuke Version 2.10.01.

Both websites are using the Deep Blue theme.

On the older website I wanted to replace the Top image/logo.

I realize there are other ways to achieve my goal, but I wanted to do it in the following way.

What I wanted to achieve is a logo with an animated GIF file in front of it. The animated GIF is a snow effect and partly transparent, so I would see the main logo (file) behind it.

What I could not do is create a table/box and place the logo as the background image and the animated GIF as the front image, because I wanted to have the animated GIF file repeat itself and this achieved by placing this as the background image of the table.

So what I decided to do is to create a table and place the main logo image/file as the background image in this, then I placed a second table inside the main table and made the animated GIF file the background image of the second table. This gave the effect I desire and worked perfectly in the original website.

In the original I modified the theme.php file and the following code:


echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"840\" align=\"center\">\n"
."<tr><td width=\"100%\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"840\">\n"
."<tr><td width=\"100%\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"840\">\n"
."<tr><td width=\"100%\" height=\"88\" bgcolor=\"#FFFFFF\">\n"
."<table border=0 width=100% cellpadding=0 cellspacing=0><tr><td align=\"left\"><a href=\"index.php\"><img border=\"0\" src=\"themes/DeepBlue/images/logo.gif\" alt=\"Welcome to $sitename!\" hspace=\"20\"></a></td><td align=\"right\"><img border=\"0\" src=\"themes/DeepBlue/images/logo-graphic.gif\"></td></tr></table></td></tr>\n"


I replaced with:


echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"840\" align=\"center\">\n"
."<tr><td width=\"100%\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"840\">\n"
."<tr><td width=\"100%\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"840\">\n"
."<tr><td width=\"100%\" height=\"88\" bgcolor=\"#FFFFFF\">\n"
."<table border=0 width=100% height=88 cellpadding=0 cellspacing=0 BACKGROUND=\"themes/DeepBlue/images/logo.jpg\"><tr><td align=\"center\" BACKGROUND=\"themes/DeepBlue/images/snow.gif\"></td></tr></table>\n"


However when I have tried to do this in the new website, (which is using RavenNuke Version 2.10.01), the effect only works in Internet Explorer and the animated file is 'invisible' when viewed in Firefox. To clarify, it worked/displayed perfectly with the older website in both Internet Explorer AND Firefox, with no problems.

In the new websites themes.php file, I do note there are various changes in the code from the previous version of Raven Nuke, however the following code:


echo
'<table align="center" border="0" cellpadding="0" cellspacing="0" width="840">
<tr><td>
<table border="0" cellpadding="0" cellspacing="0" width="840">'."\n"
.'<tr>
<td width="100%" align="left">'."\n"
.'<table border="0" cellpadding="0" cellspacing="0" width="840">'."\n"
.'<tr>
<td width="100%" align="left">'."\n"
.'<table border="0" cellpadding="0" cellspacing="0" width="840">'."\n"
.'<tr>
<td width="100%" height="88" bgcolor="#FFFFFF"><a href="index.php"><img src="themes/DeepBlue/images/logo.gif" border="0" alt="Welcome to '.$sitename.'" /></a>
</td>'."\n"


I replaced With:


echo
'<table align="center" border="0" cellpadding="0" cellspacing="0" width="840">
<tr><td>
<table border="0" cellpadding="0" cellspacing="0" width="840">'."\n"
.'<tr>
<td width="100%" align="left">'."\n"
.'<table border="0" cellpadding="0" cellspacing="0" width="840">'."\n"
.'<tr>
<td width="100%" align="left">'."\n"
.'<table border="0" cellpadding="0" cellspacing="0" width="840">'."\n"
.'<tr><td width="100%" height="88" bgcolor="#FFFFFF"><table border=0 width=100% height=88 cellpadding=0 cellspacing=0 BACKGROUND="themes/DeepBlue/images/logo.jpg"><tr><td align="center" BACKGROUND="themes/DeepBlue/images/snow.gif">'."\n"
.'</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" bgcolor="#000000" height="19" valign="bottom">'."\n"



PLEASE would someone explain what I have done wrong here or overlooked.

Thanks guys.
 
View user's profile Send private message
xblader
Client



Joined: Aug 17, 2006
Posts: 28

PostPosted: Wed Dec 05, 2007 7:41 am Reply with quote

Could you provide us a link to your site? so we can check it here. I can also see that your are missing a </td> tag on the end of

Code:
<td align="center" BACKGROUND="themes/DeepBlue/images/snow.gif">
 
View user's profile Send private message
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.10.01 - All 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 ©