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 have some questions

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



Joined: 23 Jul 2004
Posts: 2

PostPosted: Fri Jul 23, 2004 8:28 pm    Post subject: I have some questions Reply with quote

Hello everyone
My website: www.photopr.com

Thanks in advance!

I have the archive showing as a list using <?php include("b2archives.php"); ?> post by post

1. How do you add the number of comments next to each post?
2. Can I have a dropdown list box for my archive?
3. Can I limit the number of archive articles and have a "more" option at the end of the lit to list more archive articles?

I have more questions but these will do for now.

Thanks!!
Back to top
View user's profile Send private message
lynn



Joined: 04 Jul 2003
Posts: 24
Location: USA

PostPosted: Wed Aug 04, 2004 6:08 pm    Post subject: Reply with quote

I'm not sure I can help or not since I have almost no idea what I'm doing but since no one else has responded to this I will tell you what I know. On my blog I have the number of comments displayed under each post. My comments work a little strange. I could never get the pop-up to work so your's might not look exactly like this but here is what the code for the comments looks like in my template. (With spaces added before and after the brackets < > so it will display properly. I hope.)

< a href="<?php comments_link() ? > " target="_blank"><?php comments_number("no comments", "1 comment", "% comments") ? > < /a >

Regarding questions #2 and #3, I haven't a clue but it sounds like a good idea. I like the idea of a drop down archive list because the list gets really long if you keep blogging for a long time.
Back to top
View user's profile Send private message Visit poster's website
Sigg3



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

PostPosted: Thu Aug 05, 2004 9:36 am    Post subject: Reply with quote

There's already a feature, letting you list categories and archived items in a dropdown:)

The readme, again:D

Regarding comments-numbers you can use this in the b2-loop:
<?php comments_number("0", "1", "%") ? >
_________________
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
WizR



Joined: 23 Jul 2004
Posts: 2

PostPosted: Thu Aug 05, 2004 8:54 pm    Post subject: Thanks! Reply with quote

lynn, thanks!! but it didn't help much, since I already have that inside the loop.

Sigg3, the readme file only mentions that you can have the category in a dropdown, it doesn't say anything about the archive.

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



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

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

Sorry, you're right.

Maybe you must script it yourself, though.
I've seen it done. Look in the hacks section.
_________________
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
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