boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

correct # of comments..

 
Post new topic   Reply to topic    boardom Forum Index -> Template help
View previous topic :: View next topic  
Author Message
Jennifer_23



Joined: 05 Aug 2004
Posts: 7

PostPosted: Fri Aug 06, 2004 3:35 am    Post subject: correct # of comments.. Reply with quote

well I have 2 comments on a post, and It only shows as 1..and I've refreshed the screen and done all that good stuff..so I assume I must have done something wrong when I was messing with things.

here's my index.php

<?php /* Don't remove this line, it calls the b2 function files ! */ $blog=1; include ("blog.header.php"); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- layout credits goto http://bluerobot.com/web/layouts/layout2.html -->

<head>
<title><?php bloginfo('name') ?><?php single_post_title(' :: ') ?><?php single_cat_title(' :: ') ?><?php single_month_title(' :: ') ?></title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="reply-to" content="<?php bloginfo('admin_email'); ?>" />
<meta http-equiv="imagetoolbar" content="no" />
<meta content="TRUE" name="MSSmartTagsPreventParsing" />

<style type="text/css" media="screen">
@import url( layout2b.css );
</style>
<link rel="stylesheet" type="text/css" media="print" href="print.css" />
<link rel="alternate" type="text/xml" title="RDF" href="<?php bloginfo('rdf_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php comments_popup_script() ?>

<base target="_blank">

</head>
<body style="font-size: 10pt" marginwidth="800" marginheight="600">
<div id="header" style="width: 440px; height: 473px"><a href="" title="<?php bloginfo('name'); ?>">
<div id="content">



<font size="2">



<!-- // b2 loop start -->
<?php while($row = mysql_fetch_object($result)) { start_b2(); ?></font></a></div>


<font size="3">


<font face="Verdana">


<?php the_date("","<h2>","</h2>"); ?>
</font>
</font>


<font size="2">


<?php permalink_anchor(); ?>
</font>
<div class="storyTitle"><font size="2"><?php the_title(); ?>
</font>
<a href="?cat=<?php the_category_ID() ?>" title="category: <?php the_category() ?>">
<font size="2"></span></font></a><font size="2"> - 
</font>
<span class="storyAuthor"><font size="2"><?php the_author() ?> - </font> </span>
<font size="2">@ </font> <a href="<?php permalink_link() ?>"><font size="2"><?php the_time() ?></font></a><font size="2">
</font>
</div>

<div class="storyContent">
<font size="2">
<?php the_content(); ?>

</font>

<div class="rightFlush">
<font size="2">
<?php link_pages("<br />Pages: ","<br />","number") ?>



</font>



<font size="3" face="Verdana">
<?php comments_popup_link("no comments", "1 comment", "% comments") ?>



</font>



<font size="2">

<!-- this includes the comments and a form to add a new comment -->
<?php include ("b2comments.php"); ?>



</font>



</div>

<font size="2">

<!-- // this is just the end of the motor - don't touch that line either Smile -->
<?php } ?>


</font>


</div>


<div id="menu" style="position: absolute; left: 591px; top: 702px">

<h4><font face="Verdana" size="2">other:</font></h4>

<a href="b2login.php"><font face="Verdana" size="2">login</font></a><font face="Verdana" size="2"><br />
</font><a href="b2register.php"><font face="Verdana" size="2">register</font></a><font size="2"><br />
<br />

</font>

</div>

</body>
</html>

also..I'm having trouble with a few words being sized too large.
www.blondlette.com if you could help me with that as well I'd appreciate it.

edit--ok little update. I went to add a new entry, just as a test, and after I did that, my comments showed up. Do I always have to do that? or is it something else? --edit
Back to top
View user's profile Send private message
Sigg3



Joined: 03 Jul 2003
Posts: 443
Location: Oslo, Norway

PostPosted: Fri Aug 06, 2004 10:24 am    Post subject: Reply with quote

Nice design:D

What's this?
<base target="_blank">
Just curious.

Have you read the update-fix? If you're using IE, this might be the problem!
Check: http://cafelog.com/board/viewtopic.php?t=5500
mirror: http://www.sigg3.net/cafelog/files/b2_refresh_fix.txt
_________________
Sigg3 dot net - because you're worth it! | b2 Cafelog Resource Center
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Sigg3



Joined: 03 Jul 2003
Posts: 443
Location: Oslo, Norway

PostPosted: Fri Aug 06, 2004 10:25 am    Post subject: Reply with quote

Hey, we've birthday on the same day:D
I'm three years younger though:P
_________________
Sigg3 dot net - because you're worth it! | b2 Cafelog Resource Center
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Jennifer_23



Joined: 05 Aug 2004
Posts: 7

PostPosted: Fri Aug 06, 2004 9:48 pm    Post subject: Reply with quote

hehe..duh. I posted a big long reply, included my new index.php and all that, THEN I decided to go look at that link you posted..which did include the fix to all my problems. lol I searched the forums, but it never brought up that topic..sorry to clutter more Very Happy

Oh, and happy belated birthday then! Razz
Back to top
View user's profile Send private message
Sigg3



Joined: 03 Jul 2003
Posts: 443
Location: Oslo, Norway

PostPosted: Sat Aug 07, 2004 1:19 pm    Post subject: Reply with quote

but
Sigg3 wrote:

What's this?
<base target="_blank">
Just curious.

_________________
Sigg3 dot net - because you're worth it! | b2 Cafelog Resource Center
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Jennifer_23



Joined: 05 Aug 2004
Posts: 7

PostPosted: Sat Aug 07, 2004 2:08 pm    Post subject: Reply with quote

I have no clue. I think thats from the basic layout? I didn't make my own, I just took the default one and changed the colors and stuff...

but I think thats changed now, since I have a new layout. and everything is working perfectly.
Back to top
View user's profile Send private message
Jennifer_23



Joined: 05 Aug 2004
Posts: 7

PostPosted: Sun Aug 08, 2004 8:58 pm    Post subject: Reply with quote

ok that target_blank is the screen it opens to. I had it set to open to a new window. Smile
Back to top
View user's profile Send private message
Brigitte



Joined: 04 Aug 2004
Posts: 16
Location: California~

PostPosted: Mon Aug 09, 2004 5:53 am    Post subject: Reply with quote

Sigg3:

Just to let you know, that although Jennifer sort of answered your question, it's incomplete.

The base target is there so that on any links you can simply type <a href="http://cafelog.com/">Cafelog</a> without having to type target="_blank" It automatically sets so that every link will open in a new window. It's very convenient if all the links will go to a certain place.[/b]
_________________
~ Brigitte ~
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Template help All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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