TP-Guestbook Plugin

This page is for people who cannot understand Korean. Please let me know about any mistakes in grammar. I’m not so good at English but I’ll try to fix them:)

Actually, this is not my plugin. I’ve merged some great plugins and added some user friendly interface.

1.Original Authors

2. Description

  • Include all functions in original plugins (except ‘shrink font by’)
  • Support Gravatar plugin.
  • Seperated javascript, css.
  • Support friendly url on WP 1.5, 2.0(or heigher).
    (e.g. http://mysite/guestbook/comment-page-4/)
  • Added TP_Guestbook option page.(wp-admin>Options>TP_Guestbook)
  • You can create your own guestbook style file.(tp-guestbook/css)
  • Support one click guestbook creation.(v0.97 or heigher)
  • Support localization (currently support English, Korean only)

3. Installation

  • Extracting downloaded file will creates two folder(‘tp-guestbook’, ‘themes’).
  • Upload ‘tp-guestbook’ to plugins folder. (e.g. /wp-content/plugins/)
  • Upload guestbook.php(in themes folder) to current theme folder.
  • Activate ‘TP_Guestbook’ on plugins panel.
  • Go to TP_Guestbook option page and click “Create Page” once if you don’t have one.

4. Guestbook Page Creation

  • There is some guestbook page template files in ‘themes’ folder.
    (Default, K2, Almost-spring ,Blix ,Connections ,Green-marinee ,Ocadia ,Pool, hemingway)
  • If you use another theme, you can make one refer to default theme’s guestbook.php template. (check this page)
  • After upload guestbook page template file to current theme folder, click “Create Page” once

5. Config

  • Go to wp-admin>Options>TP_Guestbook.
  • Select ‘Guestbook Scheme’ you’d like to use on guestbook page.
  • See this page for more information

6. Guestbook Style

  • This plugin includes some stylesheets (tpg-default, 082net, hemingway, alvin…etc.).
  • If you want to use your own style, modify tpg_default.css or create new one refer to sample.css
  • Upload new style file to ‘css’ folder (wp-content/plugins/tp-guestbook/css)
  • Select new style file on TP_Guestbook option page and “Update Options”


8. Readme

  • Special thanks to plugin original authors.
  • Let me know if you find any bugs. I’d like to hear your suggetions also:)
  • ‘tp-guestbook’ means ‘T‘hreaded + ‘P‘aged + ‘Guestbook’

9. Related Links

73 thoughts on “TP-Guestbook Plugin”

  1. why Error Message
    Parse error: syntax error, unexpected ‘}’ in C:\Inetpub\wwwroot\wordpress\wp-content\plugins\tp-guestbook\tp-guestbook.php on line 128
    can help me?:cry:

    1. I didn’t know that the download link wasn’t here since there’s so many download link for this plugin on by blog;-)

      I just added it, thanks:-)

  2. How do the /lang/ folder works?

    I have translated the .po file to norwegian (because my mother language is norwegian of course).

    But then I just don’t know what to do?! And you hasn’t written anything so I thought I could ask here.

    Please answer me. Hurry! :|

    1. 1. rename PO file to tp-guestbook-[WP_LANG].po (e.g. tp-guestbook-en_US.po)

      Open your translated .po file with PoEdit and just save it then PoEdit will create .mo file.

      That’s all:-)

      I gradly add your link(localization file) to this page, if you want.

  3. I think I’ve got your plugin installed ok, but I keep getting the “it looks like the plugin hasn’t been activated” error.

    I’ve tried de and reactivating the plugin and resetting the options.

    Any ideas?

  4. Hello – thanks for the great plugin. I have a user with Editor privileges in WordPress that reply’s to visitors comments and I would like his comments to be automatically approved – just like admins are auto-approved. Is there an easy workaround to this?

    Thanks -Gary

  5. Great job!

    I’d like like to know that in general, how do you add top menu links, like:

    Home About Random GuestBook, etc.?

    Thank you.

    1. Those menus are just WordPress Pages which can be showed with “wp_list_pages” function.

      My code is…
      < ?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>

  6. Hello. I’d like very much to use your plugin, but I’m having trouble. I tried many different ways, but I keep getting the “you already have a guestbook; id=68” message. I deleted the page 68 from my Manage Pages, and tried reinstalling, but it didn’t work. I seem to be stuck with a ghost guestbook at id 68. Any ideas? Thank you!

      1. Thanks. I tried that. It says “GuestBook created”. When I go to the Manage Pages, I see the new page called Guest Book. It has the Guest Book template, and a slug of “guestbook”. When I click on VIEW PAGE, I get a 404…? Thanks so much for helping. What am I doing wrong? I really like this plugin! 8)

  7. I used you pluging. Everything is ok, but one thing, as I understand there is one missing in /div. For example if I turn on that only logged user can add comments – I got message that “Please login bla bla…” and MY SIDEBAR go down. If there is no such message – everything is ok. Tried on 3 different themes.

    And I have 2 more questions – how can I add userpictures (as here) and what tool should I use to translate it? I plan to translate it in Russian.

    Wait for your response. Thanks.

    1. 1. As for the broken layout, it’s a bug for missing ‘div’ on ‘login to reply’ element and will be fixed on next release(maybe this weekend).

      2. TP-Guestbook supports Gravatar plugin and it shows those icons depend on commenter’s email address.

      3. You can use PoEdit when you translate this plugin. After installing PoEdit, just open .PO file and translate it. Your new file name must have defined ‘WPLANG’ value just like “tp-guestbook-en_US.po”

  8. I apologize for might sound like such a simple question, but…

    I followed the installation instructions on my WP2.05 install and the plugin is activated and I can see and set the option within the admin area (according to your instructions) — but what are the steps required to integrate the plugin to my blog so that I can see it? It does not show up on my blog pages, so I assume something more is needed.

    My blog has a customized a theme based upon the Anthosia theme.

    Thank you:?

    1. Did you created a guestbook page on TP-Guestbook option panel by clicking “Create Page”? (This needs guestbook.php(template file) in current theme folder)

      If you don’t have a template file matches your theme, you can create it yourself refer to this page. Clicking “How to create a new template” link will show the instructions.

      If you already have followed those steps, you must manualy insert guestbook page link to your current theme template(maybe header.php or sidebar.php) for Anthosia theme does not have “Page List”.

      Before this, You can test it with “default theme” which have “Pages” on sidebar.

      I hope you make it work:)

      1. Thank you!

        Actually, I got it working just after my message — Problem was that I did not read your install notes correctly:(

        Since I had my own theme, I needed to insert the:

        if (function_exists(‘tpg_template’)) tpg_template(); else comments_template();

        AND ALSO, in the Options section I needed to set “ALL POSTS” and “ALL PAGES” to TRUE.

        Works perfectly now.

        An excellent plugin.

        Thank you!

  9. Does it have any spam filter or security code? or any tool that we can use to prevent spam?? .Thanks , it looks great :)

    1. This plugin works with wordpress comment system. So just use any wordpress spam block plugin like akismet, bad-behavior, spam karma… and so on…

  10. Hi, thanks for creating a great plugin. I am using the following theme and am having a hard time trying to edit the CSS to match the theme.

    The theme is located at

    If anyone has matched the theme can they please provide the CSS so that it can be included in an upgrade.

    For the time being all I would like to know is how can I edit the width of the text input fields. I am using “size=22”, but the field streches the whole width of the form!

    I am currently using the default plugin theme.


    Gary O

    1. You better edit css file(tpg-default.css or your current stylesheet).
      Find (about line 133)
      #tpg-commentform #author,
      #tpg-commentform #email,
      #tpg-commentform #url,
      #tpg-commentform #comment {
      width: 90%;

      and edit “width”

  11. When i active this plugin, i can’t finish this step.

    error information below:

    WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]

    WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ADD COLUMN comment_reply_ID INT NOT NULL DEFAULT 0' at line 1]

    WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]

    Can’t you help me?

    1. I found that WP 2.0 or lower does not supports comments rss for page but WP 2.1(svn) dose. So I made a instance hack which will be included into next version. It’ll append only ‘?withcomments=1’ to RSS URL on page.


  12. Thanks a tonne for this plugin and especially for the simple installation :)I’m now trying to work out how to get it to work with my template (I’m using Refresh from the the Themes section of WordPress) so fingers crossed should be all finished soon!

  13. Thanks! Mhh.. I translated the your Korean pot file and then I tried the po. I didn’t work. Where do I have to put the file and what name does it have to be. I don’t see the wood for the trees.:?

    1. 1. Rename your translated file to tp-guestbook-de_DE.po.
      2. Open it with PoEdit and just save file once.
      3. Then you can see the file.
      4. Upload .po and .mo file to tp-guestbook/lang folder.
      5. That’s all:)

  14. Hey!

    Thanks for making this great plugin. Could you provide the .POT file so I can translate it into German?


Comments are closed.