|
|
 |
|
Nukemods Forum
> NM Staff
> Purged Topics
|
Date not showing up anymoreThis is a discussion on Date not showing up anymore within the Purged Topics forums, part of the NM Staff category; Hello everybody,
I just noticed that the date does not show up in the upper right corner of my site ... |
|
|
 |
|
|
|
|
|
Junior Member
Status: Offline
Posts: 32
Join Date: Feb 2003
|
Date not showing up anymore -
03-02-2003, 09:35 PM
Hello everybody,
I just noticed that the date does not show up in the upper right corner of my site anymore. Any Ideas why? site = http://www.wnyrcinfo.com
Thanks for the help!
|
|
|
|
|
|
|
|
Senior Member
Status: Offline
Posts: 619
Join Date: Oct 2002
Location: Alabama, USA
|
03-02-2003, 10:13 PM
I just looked at your page source and it looks like your html in your header.html is messed up. Huge gaps in the format. Looks like someone used spaces on the keyboard for spaces in html. Could just be the way I'm looking at though. Check your header.html for propper html. Compare it to a copy of it that you have not modified, for errors.
|
|
|
|
|
|
|
|
Junior Member
Status: Offline
Posts: 32
Join Date: Feb 2003
|
03-03-2003, 07:45 PM
Ok, here is my new code, you were right, it was very dirty.
Code:
<table class="bodyline" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="110" background="themes/fisubsilver/images/cellpic_bkg.jpg">[img]themes/fisubsilver/images/logo.gif[/img]</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td width="150" nowrap><font class="content">$theuser</font></td>
<td nowrap><div align="center"><font class="content">::Home
:: Downloads
:: <a href="modules.php?name=Your_Account">Your
Account</a> :: Forums
:: Racing Chat
::</font></div></td>
<td width="150" nowrap><div align="center"><font class="content">
<script type="text/javascript">
<!-- // Array ofmonth Names
var monthNames = new Array( "January","February","March","April","May","June","July","August","September","October","November","December");
var now = new Date();
thisYear = now.getYear();
if(thisYear < 1900) {thisYear += 1900}; // corrections if Y2K display problem
document.write(monthNames[now.getMonth()] + " " + now.getDate() + ", " + thisYear);
// -->
</script>
</font></div></td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#FFFFFF">[img]themes/fisubsilver/images/7px.gif[/img]</td>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr valign="top">
<td>$public_msg[img]themes/fisubsilver/images/7px.gif[/img]</td>
</tr></table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr valign="top">
<td valign="top" width="1" background="themes/fisubsilver/images/7px.gif">
</table>
</table>
Now when I use this the blocks are all out of wack, any idea why?
I did notice that in a fresh one from the pack ther is no public message table, Could that be my problem.
Thanks for you help
|
|
|
|
|
|
|
|
Senior Member
Status: Offline
Posts: 619
Join Date: Oct 2002
Location: Alabama, USA
|
03-03-2003, 08:11 PM
I've had that problem before, but I just can't remember what I did to fix it. Did you recently add the banner to your site? I'm thinking there is a javascript conflict somewhere.
Actually the reason your blocks are messed up is part of that code is missing.
From here down this is how it should look:
Code:
<script type="text/javascript">
<!-- // Array ofmonth Names
var monthNames = new Array( "January","February","March","April","May","June","July","August","September","October","November","December");
var now = new Date();
thisYear = now.getYear();
if(thisYear < 1900) {thisYear += 1900}; // corrections if Y2K display problem
document.write(monthNames[now.getMonth()] + " " + now.getDate() + ", " + thisYear);
// -->
</script>
</font></div></td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#FFFFFF">[img]themes/fisubsilver/images/7px.gif[/img]</td>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr valign="top">
<td>$public_msg[img]themes/NukeNews/images/pixel.gif[/img]</td>
</tr></table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr valign="top">
<td valign="top" width="1" background="themes/fisubsilver/images/7px.gif">
That public message table is messing things up.
|
|
|
|
|
|
|
|
Junior Member
Status: Offline
Posts: 32
Join Date: Feb 2003
|
03-03-2003, 08:18 PM
do you mean banner as in Ad banners or public message. I have always used ad banners, but for some reason i now get this error in the "Current active banner section" (the part were you can activate banners and see clicks, %, ect.
Warning: Supplied argument is not a valid MySQL result resource in /path_to_my_site/site/includes/sql_layer.php on line 301
Unknown column 'weight' in 'field list'
Thanks
|
|
|
|
|
|
|
|
Senior Member
Status: Offline
Posts: 2,905
Join Date: Sep 2002
|
03-03-2003, 08:19 PM
Quote:
|
Now when I use this the blocks are all out of wack, any idea why?
|
yeah those two closing </table> tags..remove them...
Quote:
|
I did notice that in a fresh one from the pack there is no public message table, Could that be my problem
|
as for the public message table, IT IS there in the fisubsilver pack. It's called from the theme.php and displayed in the header.html.
mikem
|
|
|
|
|
|
|
|
Junior Member
Status: Offline
Posts: 32
Join Date: Feb 2003
|
03-03-2003, 08:32 PM
Quote:
|
Originally Posted by Martin
I've had that problem before, but I just can't remember what I did to fix it. Did you recently add the banner to your site? I'm thinking there is a javascript conflict somewhere.
Actually the reason your blocks are messed up is part of that code is missing.
From here down this is how it should look:
Code:
<script type="text/javascript">
<!-- // Array ofmonth Names
var monthNames = new Array( "January","February","March","April","May","June","July","August","September","October","November","December");
var now = new Date();
thisYear = now.getYear();
if(thisYear < 1900) {thisYear += 1900}; // corrections if Y2K display problem
document.write(monthNames[now.getMonth()] + " " + now.getDate() + ", " + thisYear);
// -->
</script>
</font></div></td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#FFFFFF">[img]themes/fisubsilver/images/7px.gif[/img]</td>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr valign="top">
<td>$public_msg[img]themes/NukeNews/images/pixel.gif[/img]</td>
</tr></table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr valign="top">
<td valign="top" width="1" background="themes/fisubsilver/images/7px.gif">
That public message table is messing things up.
|
Now do I have an unclosed table This one:
Code:
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr valign="top">
<td valign="top" width="1" background="themes/fisubsilver/images/7px.gif">
|
|
|
|
|
|
|
|
Junior Member
Status: Offline
Posts: 32
Join Date: Feb 2003
|
03-03-2003, 08:37 PM
Well I guess it doesnt matter, that worked guys,
Thanks a ton!!
Now about that ad banner problem
Warning: Supplied argument is not a valid MySQL result resource in /path_to_my_site/site/includes/sql_layer.php on line 301
Unknown column 'weight' in 'field list'
is that looking at the wrong sql table?
Thanks
|
|
|
|
|
|
|
|
Senior Member
Status: Offline
Posts: 619
Join Date: Oct 2002
Location: Alabama, USA
|
03-03-2003, 08:39 PM
I'm not getting any errors, everything seems to be working perfect.
|
|
|
|
|
|
|
|
Junior Member
Status: Offline
Posts: 32
Join Date: Feb 2003
|
03-03-2003, 08:43 PM
What I was getting at is in the ad banner administration in the section "Current Active Banners" I am receiving this error
Warning: Supplied argument is not a valid MySQL result resource in /path_to_my_site/site/includes/sql_layer.php on line 301
Unknown column 'weight' in 'field list'
I add banners and modify them, I just cant make them active or see the stats for them
Thanks
|
|
|
|
 |
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|