Installing Guestblock

Ready to jump in head first into the craze that is Guestblock? It was a little bit troublesome to install, just because of the open source packages (PEAR and Smarty) that you need to get it up and running. Luckily, I finally figured it out and am here to help anyone who needs it. Let’s broaden our GB community! :D

Requirements

Make sure you have the following available to you on your server:

  • PHP 4.0.6 or later
  • MySQL
  • SMARTY template engine
  • PEAR DB Package
  • Support for PHP sessions
  • Cookies should be enabled

Installing

Follow these steps to install the script:

1. Download all three zip files from http://www.guestblock.com

2. Unzip the guestblock.zip file to a folder on your computer.

3. Upload all the files you get into a directory on your site, like yoursite.com/guestblock/ or something.

4. Navigate to the install file, which should be yoursite.com/guestblock/install/index.php.

5. This starts you on the walkthrough to installing GB.

Other Notes

Unless PEAR and Smarty came with your hosting package, you may need to install them. Luckily they are available on the web for public download: PEAR and Smarty.

Smarty is easy, however you must upload it outside of your public_html folder, or whatever folder houses your public web files. That is very important. And during installation it will ask you for the path to this directory…so it would be like /home/username/smarty/.

PEAR is a little bit more troublesome. I actually got my host to install it for me because it wasn’t working for me with installing it myself. So unless you really feel comfortable messing with it (or you already have it installed) get your host to do it for you.

However, make sure that the installation has the DB package included with it, otherwise it won’t work. Just tell your host to include the DB package. You will also need to give the installation path as well. If your host installs PEAR for you, they should give you the path.

Those two package installs are all that really make it hard. After that its cake! The last zip file contains ALL the official blocks that exist, hehe. Once you get GB installed, upload everything inside the zip into the /guestblock/blocks/ directory and you should be good to go. You must use the import feature to include the blocks on your GB, you will see what I mean when you get it installed.

Lastly, to configure the look and feel of your Guestblock, just edit the index.php file in the main folder, as well as default.css and guestblock.css in the /css/ folder! The CSS is a little jumbled but not too mind boggling to configure. :) Good luck!

I'm trying to locate the files for Guestblock so I can offer them for download here, as the original site to download them no longer exists. I've edited the heck out of mine so they may not be good to upload. If anyone has copies of the clean files let me know! :)

Note: This post is over 2 years old. You may want to visit the main page for more updated content.

There are 9 Responses:

Comments Closed

  1. Jem // February 16, 2007 at 4:08pm Reply

    Good stuff Melissa – I’ve sent this to a few people who’ve been asking about installing guestblock :)

  2. Melissa // February 17, 2007 at 9:54am Reply

    Thanks, Jem! I hope it helps people. ^_^

  3. Ben // April 9, 2007 at 1:03pm Reply

    When you say “during installation it will ask you for the path to this directory” is that during the installation of guestblock or the installation of smarty? :S

  4. Melissa // April 9, 2007 at 1:26pm Reply

    Installation of Guestblock itself, it will ask you for the path to where Smarty is located. ^_^ That help at all?

  5. Ben // April 9, 2007 at 1:30pm Reply

    Yes miss! I am just getting my hosts to install PEAR for me.. then off I go to install GuestBlock. :D

  6. Melissa // April 9, 2007 at 1:32pm Reply

    Hooray! Let me know when it’s up and I’ll link you on mine! :D

  7. hutzi // July 28, 2007 at 2:24pm Reply

    oh yeah, some problems…maybe you can help me…I put the smarty thing out of my public_html…but what is the meaning of “/home/username/…”… is “home” my domain?! and which username! The only one I could imagine is the one for my cpanel!

    some serious help is needed…seems like i’m stupid!

  8. Melissa // August 17, 2007 at 8:36am Reply

    That is the path to your installation. The “username” is the one for your cpanel, so use that. :) Hope that helps!

  9. hutzi // August 21, 2007 at 1:56pm Reply

    yay its working great, thank you so much!
    one last question….my guestblock shoes me something like

    “Warning: strtotime() [function.strtotime]: Called with an empty time parameter. in /home/hutzi/public_html/guestblock/classes/guestblock.class.php on line 979″

    …know what it wants me do do?!