|
» Online Users: 65 |
| 0 members and 65 guests |
| No Members online |
| Most users ever online was 611, 03-21-2008 at 11:10 PM. |
|
» .::. |
Web Hosting - web hosting, dedicated servers and web design services
|
Online Degree - search for 1000+ online degrees, online colleges & online universities.
|
Tattoo - we are a group of tattoo enthusiasts
|
Gexa Energy - your absolute best choice in electric service
|
|
|
|
|
|
|
|
|
|
|
About this Page This 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 ... |
|
 |
|
 |
|
 |

03-02-2003, 10:35 PM
|
|
Junior Member
|
|
Join Date: Feb 2003
Posts: 32
|
|
|
Date not showing up anymore
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!
|

03-02-2003, 11:13 PM
|
|
Senior Member
|
|
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
|
|
|
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.
|

03-03-2003, 08:45 PM
|
|
Junior Member
|
|
Join Date: Feb 2003
Posts: 32
|
|
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
|

03-03-2003, 09:11 PM
|
|
Senior Member
|
|
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
|
|
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.
|

03-03-2003, 09:18 PM
|
|
Junior Member
|
|
Join Date: Feb 2003
Posts: 32
|
|
|
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
|

03-03-2003, 09:19 PM
|
|
Senior Member
|
|
Join Date: Sep 2002
Posts: 2,905
|
|
|
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
|

03-03-2003, 09:32 PM
|
|
Junior Member
|
|
Join Date: Feb 2003
Posts: 32
|
|
|
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"> |
|

03-03-2003, 09:37 PM
|
|
Junior Member
|
|
Join Date: Feb 2003
Posts: 32
|
|
|
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
|

03-03-2003, 09:39 PM
|
|
Senior Member
|
|
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
|
|
|
I'm not getting any errors, everything seems to be working perfect.
|

03-03-2003, 09:43 PM
|
|
Junior Member
|
|
Join Date: Feb 2003
Posts: 32
|
|
|
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
|
|
|
|