WordPress.org

Ready to get started?Download WordPress

Forums

Who knows a good guestbook (11 posts)

  1. Pucca
    Member
    Posted 9 years ago #

    I'm looking for a good guestbook. I did google signed up with a few but i only get a link code. I need a source code and such to paste on one of my pages in my wordpress so it shows in the template like the entries and such.
    Who has any idea's for free guestbooks?

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

  3. Pucca
    Member
    Posted 9 years ago #

    Thanx but i have no comment php thing in my index.. atleast i dont see it

  4. Beel
    Member
    Posted 9 years ago #

    Put it together as best you can then we'll fill in the blanks for you. I'll do one for myself, should you go in this direction.

  5. Pucca
    Member
    Posted 9 years ago #

    I tried everything..but check my site..i dont have that comment thing i need to copy and paste in my index.php, i tried to copy and paste some of comments.php also gave an error.

  6. Beel
    Member
    Posted 9 years ago #

    Create a template and call it guestbook.php:

    <?php
    /*
    Template Name: Guest Book
    */
    ?>
    <?php get_header(); ?>

    <div id="content" class="narrowcolumn">

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div class="post" id="post-<?php the_ID(); ?>">
    <h1><?php the_title(); ?></h1>
    </div>
    <?php comments_template(); ?>
    <?php endwhile; endif; ?>
    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    Create your Guest Book page and use the above as the template.

  7. Pucca
    Member
    Posted 9 years ago #

    Thanx gonna try that..also find a script for an advanced guestbook..gonna try both and then see which is best

  8. arnott
    Member
    Posted 9 years ago #

    can anyone help me?
    i don't know or i'm not sure
    where should i paste comment php code from index.php into page.php. the instruction said paste under the storycontent, but
    i don't know where is the storycontent, can anyone help me out? pls.

  9. clintanderson
    Member
    Posted 8 years ago #

    Arnott I was wondering that myself, hehe I am going to try the script from Beel when I get home.

    C

  10. Jennifer Ledbetter Clay
    Member
    Posted 8 years ago #

    http://geeksmakemehot.com/wordpress-guestbook/
    I have made some guestbook templates for a few of the more popular themes.

  11. bsamson
    Member
    Posted 8 years ago #

    I've been struggling to get the Jakarta theme to have a guestbook based on the geeksmakemehot instructions. The page shows fine, but the comments section doesn't display. I've traced the problem to comments_popup_link() on line 95 in comment_functions.php (Wp1.5.2):

    if (! is_single() && ! is_page()) {
    /* **Do comment stuff** */
    }

    The "!is_page()" is being triggered, so the entire comments section is skipped. Can you give me a clue as to what I'm doing wrong? THANKS!

    Brian

    ** Interesting Note: If I see a comment onto the page by showing the comment form using <?php comments_template(); ?>, adding a comment, and removing the line, then both the seed-comment and the comment reply-form displays. Delete the comment, and the reply-form disappears again. Hmm.

    The page is at http://www.samsonfamily.com/wordpress/index.php/guest-book/.

    The code is as follows:

    <?php
    /*
    Template Name: Guest Book
    */
    ?>
    <?php get_header(); ?>
    <div id="content" class="narrowcolumn">
    <div id="headerimg">
    </div>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div class="post">
    <h2 id="post-<?php the_ID(); ?>"><?php the_title(); ?></h2>
    <div class="entrytext">
    <?php the_content('<p class="serif">Read the rest of this page &raquo;
    '); ?>
    <?php link_pages('<strong>Pages:</strong> ', '
    ', 'number'); ?>
    <p class="postmetadata">Posted in <?php the_category(', ') ?> <strong>|</strong>
    <?php edit_post_link('Edit','','<strong>|</strong>'); ?>
    <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>

    <center><img src="<?php bloginfo('stylesheet_directory'); ?>/images/hr.gif" alt="The End"/></center>
    </div>
    </div>
    <?php endwhile; endif; ?>
    <?php edit_post_link('Edit this entry.', '', '
    '); ?>
    </div>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.