If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
more guestbooks in one database  XML
Forum Index » Support Forum
Author Message
Anonymous



I am sorry too ask such a stupid question but how do i create more guestbooks within the one i allready have.
The dmeo shows Guestbooks with a menu off other guestbooks.
thanks in advance.
Anonymous



make a copy of your guestbook directory
and change the configuration of the second one to:

$GB_TBL["data"] = "book2_data";
$GB_TBL["auth"] = "book2_auth";
$GB_TBL["cfg"] = "book2_config";
$GB_TBL["com"] = "book2_com";
$GB_TBL["ip"] = "book2_ip";
$GB_TBL["words"] = "book2_words";
$GB_TBL["ban"] = "book2_ban";
$GB_TBL["priv"] = "book2_private";
$GB_TBL["smile"] = "book2_smilies";
$GB_TBL["pics"] = "book2_pics";

run install.php again to create the new tables.
Anonymous



I needed to install a separate guestbook in a sub.domain of mine, and had the same difficulty with the "original" guestbook info showing up. What I did, and seemed to work fine, was to create a new sql db with different database file names and username, and renamed the newguestbook to guestbook2. Everything slid into place and came up and running slcker 'n snot!
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum