For those who have NOT already installed Viper Guestbook:
Option 1: Quick installer
I have created a "quick installer" to make it easier to install the Viper guestbook into an existing Coppermine gallery. Please get the attachment called "viper-in-cpg-install.zip" below. Extract the zip and read the README to figure out how to use it. The attachment only offers the quick installer... you will need to get the latest version of the Viper files from the Viper website.
http://www.vipergb.de.vu/. Once the guestbook is installed and you've tested it to your satisfaction, skip to
USING THE SKINIt currently only works for v. X1.0. If you use the latest version, X1.1, for example, the quick installer will fail to add the new mysql queries introduced in X1.1. You will need to do a manual installation if you want to use X1.1 or above.
Option 2: Manual installation
The instructions below were written for those who have not installed the guestbook and/or integrated it to the gallery. If you have installed and/or have integrated it, you can skip the steps that don't apply to you.
GUESTBOOK INSTALLATION1a) Install guestbook as a subdirectory in the gallery directory.
1b) Make sure that the guestbook functions fine as a standalone before you try to integrate.
GUESTBOOK INTEGRATION2a) Create a file called guestbook.php
2b) In that file, put this code:
<?php
define('IN_COPPERMINE', true);
require('include/init.inc.php');
pageheader('Guestbook');
define("SCRIPTPATH","guestbook/");
define("MAINSCRIPT","guestbook.php");
define("PFIX","vgb");
include("guestbook/index.php");
pagefooter();
?>
2c) Save/upload to the gallery directory
3a) Set "URL to guestbook" in the administration settings to "
http://www.xy.com/yourGalleryFolder/guestbook.php". Otherwise, the search function and the decoding of private entries won't work.
3b) Enable the option: Link to administration. Otherwise, the admin link for the guestbook won't show up while you're in Gallery admin mode.
4) Navigate to the guestbook:
http://www.xy.com/yourGalleryFolder/guestbook.php to make sure that the guestbook is functionally integrated