 |
boardom b2 message board
|
View previous topic :: View next topic |
Author |
Message |
grrrtherobot
Joined: 04 Aug 2004 Posts: 2 Location: cuntsville
|
Posted: Wed Aug 04, 2004 5:10 am Post subject: arg! my template isnt working! |
|
|
everything works except for my comments link and ive worked for like 10 minytes straight trying to figure out what is wrong! someone help.
Code: | <html>
<?php /* Don't remove this line, it calls the b2 function files ! */ $blog=1; include ("blog.header.php"); ?>
<head>
<title> eat my stereo</title>
<script language="javascript" type="text/javascript">
//<!--
function girl()
{ window.open ("http://eatmystereo.net/girl.html","popup1","width=200,height=200,location=0,menubar=0,resizable=0,scrollbars=2,status=0,titlebar=1,toolbar=0") }
-->
</script>
<script language="javascript" type="text/javascript">
//<!--
function domain()
{ window.open ("http://eatmystereo.net/domain.html","popup2","width=200,height=200,location=0,menubar=0,resizable=0,scrollbars=2,status=0,titlebar=1,toolbar=0") }
-->
</script>
<script language="javascript" type="text/javascript">
//<!--
function about()
{ window.open ("http://eatmystereo.net/about.html","popup3","width=200,height=200,location=0,menubar=0,resizable=0,scrollbars=2,status=0,titlebar=1,toolbar=0") }
-->
</script>
<script language="javascript" type="text/javascript">
//<!--
function photos()
{ window.open ("http://eatmystereo.net/photos.html","popup4","width=200,height=200,location=0,menubar=0,resizable=0,scrollbars=2,status=0,titlebar=1,toolbar=0") }
-->
</script>
<script language="javascript" type="text/javascript">
//<!--
function misc()
{ window.open ("http://eatmystereo.net/misc.html","popup5","width=200,height=200,location=0,menubar=0,resizable=0,scrollbars=2,status=0,titlebar=1,toolbar=0") }
-->
</script>
<script language="javascript" type="text/javascript">
//<!--
function links()
{ window.open ("http://eatmystereo.net/links.html","popup6","width=200,height=200,location=0,menubar=0,resizable=0,scrollbars=2,status=0,titlebar=1,toolbar=0") }
-->
</script>
<style type="text/css">
<!--
A:link
{ text-decoration: underline overline; color:#9CA9C6; }
A:visited
{ text-decoration: underline overline; color:#9CA9C6; }
A:active
{ text-decoration: underline overline; color:#9CA9C6; }
A:hover
{ text-decoration: none; color:#9CA9C6; }
font-family: Century Gothic;
letter-spacing: 3pt;
font-size: 7pt;
scrollbar-face-color : #ffffff;
scrollbar-highlight-color : #ffffff;
scrollbar-3dlight-color : #ffffff;
scrollbar-shadow-color : #ffffff;
scrollbar-darkshadow-color : #ffffff;
scrollbar-track-color : #000000;
scrollbar-arrow-color : #000000;
-->
</style>
</head>
<body>
<center>
<IMG NAME="cibo0" SRC="http://eatmystereo.net/photos/layout/cibo.gif" WIDTH="488" HEIGHT="327" BORDER="0" USEMAP="#cibo">
<MAP NAME="cibo">
<AREA SHAPE="rect" COORDS="319,21,349,53" HREF="javascript:girl()" ALT="the cunt herself">
<AREA SHAPE="rect" COORDS="356,21,386,52" HREF="javascript:domain()" ALT="info about domain">
<AREA SHAPE="rect" COORDS="394,22,426,53" HREF="javascript:about()" ALT="about the site">
<AREA SHAPE="rect" COORDS="317,67,349,97" HREF="javascript:photos()" ALT="35mm">
<AREA SHAPE="rect" COORDS="356,68,386,98" HREF="javascript:misc()" ALT="all that misc. crap">
<AREA SHAPE="rect" COORDS="394,66,425,98" HREF="javascript:links" ALT="links and the liking.">
</MAP></center>
<div id=layer1 style="position:absolute; top:340; left:300; width:35%; height:35%; z-index:1; padding:5px; border: #000000 1px solid; background-color:#ffffff; overflow:auto;">
<br><font face="century gothic" size="1">
<!-- // b2 loop start -->
<?php while($row = mysql_fetch_object($result)) { start_b2(); ?>
<?php the_date("d.m.y","",""); ?><font color="#9CA9C6" size="2">♥</font>
<?php permalink_anchor(); ?>
<u><?php the_title(); ?> <br /></u>
<?php the_content(); ?><?php link_pages("<br />Pages: ","<br />","number") ?>
<br />
<em><?php the_author() ?> @ <a href="<?php permalink_link() ?>"><?php the_time() ?></a></em>
<br />
<a href="<?php comments_popup_link() ?>"><?php comments_number("no licks", "1 lick", "% licks") ?></a>
</p>
<?php include ("b2comments.php"); ?>
<!-- // this is just the end of the motor - don't touch that line either :) -->
<?php } ?>
</BODY>
</HTML>
|
|
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 428 Location: Oslo, Norway
|
Posted: Wed Aug 04, 2004 8:34 am Post subject: |
|
|
This line:
Code: | <?php /* Don't remove this line, it calls the b2 function files ! */ $blog=1; include ("blog.header.php"); ?> |
Goes above everything. By everything, I mean everything, even the <html> tag.
Now, concerning the comments, you're using
Code: | <a href="<?php comments_popup_link() ?>"><?php comments_number("no licks", "1 lick", "% licks") ?></a> |
to call the files. I think you're better off with:
<?php comments_popup_link("comments?", "a single comment", "% comments!") ?>
Anywho, you need this in the <head></head> section:
Code: | <?php comments_popup_script(400, 600) ?> |
first one is width, second one is height. _________________ Sigg3 dot net - because you're worth it! | b2 Cafelog Resource Center |
|
Back to top |
|
 |
|
|
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
|
Powered by phpBB 2 © 2001, 2002 phpBB Group
|