Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Me too ! All of a sudden it swapped things round….what is going on ?

    Thread Starter dunworking

    (@dunworking)

    Don’t worry – I’ve installed a different plug in instead.

    Thread Starter dunworking

    (@dunworking)

    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’)): ?>

    • <h2>UserOnline</h2>
    • <div id=”useronline-count”><?php get_useronline(); ?></div>

    <?php endif; ?>

    • <h2>Categories</h2>
      <?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(); ?>

    • <h2>Meta</h2>

    <?php } ?>

    </div>

    Thread Starter dunworking

    (@dunworking)

    DOn’t worry…problem solved…another typo on my “wp-config file”…d’oh !

    Thread Starter dunworking

    (@dunworking)

    Thanks for that. Checked the wp-config file and you’re right, it was a typo on my part. But…now I get the following error …

    Can’t select database

    We were able to connect to the database server (which means your username and password is okay) but not able to select the [my database name as supplied by 1and1] database.

    * Are you sure it exists?
    * On some systems the name of your database is prefixed with your username, so it would be like username_wordpress. Could that be the problem?

    If you don’t know how to setup a database you should contact your host. If all else fails you may find help at the WordPress Support Forums.

    ANyone know how I set up the database on 1and1 if they don’t do it automatically for you ? (I have cookies !)

Viewing 5 replies - 1 through 5 (of 5 total)