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! :)
Comments
Would you like to add one?
Good stuff Melissa - I’ve sent this to a few people who’ve been asking about installing guestblock
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
Yes miss! I am just getting my hosts to install PEAR for me.. then off I go to install GuestBlock.
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!
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?!

Thanks, Jem! I hope it helps people.