Thanks…but….there’s no instructions as to how to integrate the three PHP files so that members, guests and bots are shown all at once. It does show up when you click the “1 user online” link, but I’d like it to show all the time. This is my sidebar.php at the moment. Any further help appreciated !!
<div id=”sidebar”>
-
<?php include (TEMPLATEPATH . ‘/searchform.php’); ?>
<!– Author information is disabled per default. Uncomment and fill in your details if you want to use it.
- <h2>Author</h2>
A little something about you, the author. Nothing lengthy, just an overview.
–>
- <h2>Live Shoutbox</h2>
<?php jal_get_shoutbox(); ?>
<?php /* If this is a 404 page */ if (is_404()) { ?>
<?php /* If this is a category archive */ } elseif (is_category()) { ?>
You are currently browsing the archives for the <?php single_cat_title(”); ?> category.
<?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
You are currently browsing the /”><?php echo bloginfo(‘name’); ?> weblog archives
for the day <?php the_time(‘l, F jS, Y’); ?>.
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
You are currently browsing the /”><?php echo bloginfo(‘name’); ?> weblog archives
for <?php the_time(‘F, Y’); ?>.
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
You are currently browsing the /”><?php echo bloginfo(‘name’); ?> weblog archives
for the year <?php the_time(‘Y’); ?>.
<?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
You have searched the /”><?php echo bloginfo(‘name’); ?> weblog archives
for ‘<?php echo wp_specialchars($s); ?>’. If you are unable to find anything in these search results, you can try one of these links.
<?php /* If this is a monthly archive */ } elseif (isset($_GET[‘paged’]) && !empty($_GET[‘paged’])) { ?>
You are currently browsing the /”><?php echo bloginfo(‘name’); ?> weblog archives.
<?php } ?>
<?php wp_list_pages(‘title_li=<h2>Pages</h2>’ ); ?>
- <h2>Archives</h2>
<?php wp_get_archives(‘type=monthly’); ?>
<?php if (function_exists(‘useronline’)): ?>
- <div id=”useronline-count”><?php get_useronline(); ?></div>
<?php endif; ?>
<?php wp_list_cats(‘sort_column=name&optioncount=1&hierarchical=0’); ?>
<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
<?php get_links_list(); ?>
<?php } ?>
</div>