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 

I screwed something up..

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



Joined: 27 Jan 2004
Posts: 6

PostPosted: Tue Jan 27, 2004 1:27 am    Post subject: I screwed something up.. Reply with quote

I was editiing my templates, and I totally messed something up

Now I have this icky message where my comments should be:
Quote:
Parse error: parse error in /home/so-glam/public_html/b2/b2comments.php on line 1


This is what my templates look like:
Quote:
<?php /* Don't remove this line, it calls the b2 function files ! */ $blog=1; include ("blog.header.php"); ?>
<head>
<title><?php bloginfo('name') ?><?php single_post_title(' :: ') ?><?php single_cat_title(' :: ') ?><?php single_month_title(' :: ') ?></title>
<meta http-equiv="imagetoolbar" content="no" />
<meta content="TRUE" name="MSSmartTagsPreventParsing" />
<?php comments_popup_script() ?>
</head>


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

<LINK REL=stylesheet HREF="http://so-glamorous.org/style01.css" TYPE="text/css">
<P ALIGN=CENTER>
<table cellSpacing="0" cellPadding="1" width=100%" <TR>
<TBODY>
<br><center><img src=http://so-glamorous.org/StuffDivider1.gif></center><br>
<i>"<?php the_title(); ?>"</i> <p align=right> <?php the_date("","",""); ?> @ <?php the_time(); ?> CST </p></table>

</td>
</tr>
</td>




<img src=http://so-glamorous.org/musicnote.gif> <?php the_content(); ?><br>
<?php include ("b2comments.php"); ?>
</td>

<br>
<?php link_pages("<br />Pages: ","<br />","number") ?>
</table></p>
<?php trackback_rdf() ?>

<!-- this includes the comments and a form to add a new comment -->


</div>

</div>


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



Help?

Keep in mind I'm B2 illiterate, and I didn't install it.
Back to top
View user's profile Send private message Visit poster's website
Morgan



Joined: 27 Jan 2004
Posts: 6

PostPosted: Fri Jan 30, 2004 12:18 am    Post subject: Reply with quote

Is there anyone who knows what to fix?
Back to top
View user's profile Send private message Visit poster's website
Timi



Joined: 23 Jul 2003
Posts: 75
Location: Hungary

PostPosted: Fri Jan 30, 2004 3:32 pm    Post subject: Reply with quote

If it says you have error in b2comments.php, post its source code there must be a problem. Did you edit that or only this index file?
Back to top
View user's profile Send private message Visit poster's website
Morgan



Joined: 27 Jan 2004
Posts: 6

PostPosted: Fri Jan 30, 2004 11:15 pm    Post subject: Reply with quote

I only edited the index file, but I edited it to try to make my comments not pop-up, if that makes any sense. A friend was telling me what to do. But obviously they weren't of much help.
Back to top
View user's profile Send private message Visit poster's website
Timi



Joined: 23 Jul 2003
Posts: 75
Location: Hungary

PostPosted: Sat Jan 31, 2004 8:21 am    Post subject: Reply with quote

Well, to make your comments not pop up, you have to take the popup calling script out of the head section. But then you wont be able to get comments, because you do not have the comments php line in your php part.
And also, I don't think it's good to put the relation to the CSS file RIGHT INTO the php part of the blog. Put it into the head section, too.
Back to top
View user's profile Send private message Visit poster's website
Morgan



Joined: 27 Jan 2004
Posts: 6

PostPosted: Sat Jan 31, 2004 10:29 pm    Post subject: Reply with quote

Ok, well, I will move that. It's jsut never affected anything before.

What would be the part that I would have to have to make my comments not pop-up?
Back to top
View user's profile Send private message Visit poster's website
Timi



Joined: 23 Jul 2003
Posts: 75
Location: Hungary

PostPosted: Sun Feb 01, 2004 9:19 am    Post subject: Reply with quote

http://cafelog.com/readme.html

Code:
<?php comments_link() ?>
Back to top
View user's profile Send private message Visit poster's website
Morgan



Joined: 27 Jan 2004
Posts: 6

PostPosted: Sun Feb 01, 2004 9:16 pm    Post subject: Reply with quote

I really do appreciate. Thanks so much for your help!
Back to top
View user's profile Send private message Visit poster's website
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