Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 62
3 members and 59 guests
bea9qgchcomberc, garere3denstc3t, int5nwernetmarx
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > NM Staff > Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
Date not showing up anymore
Old
  (#1 (permalink))
dac
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!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
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.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
dac
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
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
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.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
dac
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
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#6 (permalink))
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...
Code:
    </table> 
    </table>
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
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#7 (permalink))
dac
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">
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#8 (permalink))
dac
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
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#9 (permalink))
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.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#10 (permalink))
dac
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
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
php question - date format Lokrin Open topics 1 03-14-2005 04:06 AM
can't add uploads anymore Dr-Death Nuke 7.x - General 1 02-22-2005 05:47 PM
SpacePilot3K 6.5 Release Date Ghent Nuke 6.5 to 6.9 - Themes 1 05-15-2003 05:20 PM
BBC News Block changed? No news anymore HimmelHund Nuke 6.5 to 6.9 - Blocks 0 04-21-2003 11:44 AM
Test post date, Joined date mikem Open topics 5 10-06-2002 02:56 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31