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 

How to open the comments NOT in popup

 
Post new topic   Reply to topic    boardom Forum Index -> How to ?
View previous topic :: View next topic  
Author Message
tester123



Joined: 13 Jul 2004
Posts: 5

PostPosted: Tue Jul 13, 2004 5:05 pm    Post subject: How to open the comments NOT in popup Reply with quote

Hello,

How can I change the settings of the "comments" link, so that the comments DON'T open in a popup window?

I want them to be displayed just in the manner of the weblog.
So just like it is on http://cafelog.com/.

Thanks,
Tester123
Back to top
View user's profile Send private message
Sigg3



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

PostPosted: Tue Jul 13, 2004 7:14 pm    Post subject: Reply with quote

Norsk?

Anywho..

Change:
<?php comments_popup_link() ?>

with:
<?php comments_link() ?>

Look in the <head> after popup stuff, to be sure. Should be all...
Nice little thing, this one: http://www.cafelog.com/readme.html
_________________
Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center | Fight my BattleImp!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
tester123



Joined: 13 Jul 2004
Posts: 5

PostPosted: Wed Jul 14, 2004 9:53 pm    Post subject: Reply with quote

Thanks for your help, but I didn't manage to solve my problem.

So I changed the "index.php" from this:
Code:

<?php comments_popup_link("Comments (0)", "Comments (1)", "Comments (%)") ?>


into this:

Code:

<?php comments_link("Comments (0)", "Comments (1)", "Comments (%)") ?>



Instead of a comments link I now get this as output on the page:
Comments (0)?p=14&c=1#comment

The only thing in the <head> which relates to comments is this:
Code:
<?php comments_popup_script() ?>


Any idea?

Thanks...
Back to top
View user's profile Send private message
Sigg3



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

PostPosted: Wed Jul 14, 2004 11:22 pm    Post subject: Reply with quote

Remove this one: <?php comments_popup_script() ?> from the <head> section.


The <?php comments_link() ?> doesn't create a link tag. Do this:


<a href="<?php comments_link() ?>"><?php comments_number() ?></a>

The php comments_number can be:
<?php comments_number("no comment","1 comment","% comments") ?>
_________________
Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center | Fight my BattleImp!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
tester123



Joined: 13 Jul 2004
Posts: 5

PostPosted: Wed Jul 14, 2004 11:45 pm    Post subject: Reply with quote

Seems to work fine now.

Thanks a lot!
Back to top
View user's profile Send private message
Sigg3



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

PostPosted: Thu Jul 15, 2004 8:40 am    Post subject: Reply with quote

No problem, mate:)
_________________
Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center | Fight my BattleImp!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
runaway



Joined: 07 Jul 2004
Posts: 19
Location: FL, USA

PostPosted: Thu Jan 20, 2005 5:48 am    Post subject: Reply with quote

i had the same issue and i fixed it with this but when i leave a comment it takes me to an error page. it says it can't find the page b2comments.post.php. where do i look to see if everything's in place?
_________________
"You know what they say about monkeys: sometimes, monkeys die..."
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
Sigg3



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

PostPosted: Thu Jan 20, 2005 11:52 am    Post subject: Reply with quote

point your browser to yourdomian.com/b2folderifso/b2comments.post.php

If you get a 404, the file is not there.
If you get a blank page (html: <html><body></body></html>) then it's there.
_________________
Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center | Fight my BattleImp!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
runaway



Joined: 07 Jul 2004
Posts: 19
Location: FL, USA

PostPosted: Thu Jan 20, 2005 5:37 pm    Post subject: Reply with quote

i did, and this is what i get:

Error: please fill the required fields (name, email)

what now?

Edit: I fixed it! The path to b2comments.post.php in the file b2comments.php was wrong ::feels proud::

Thanks for all your help! Very Happy
_________________
"You know what they say about monkeys: sometimes, monkeys die..."
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
Sigg3



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

PostPosted: Mon Jan 24, 2005 10:41 am    Post subject: Reply with quote

Doh!

How come I didn't think of that?
_________________
Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center | Fight my BattleImp!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> How to ? 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