trefilov22 Posted September 21, 2006 Posted September 21, 2006 I am having a problem with making a guestbook. I want to have a guestbook, but I want to be able to approve what shows on the guestbook before it actually posts the comment. I have had problems in the past of people putting all kinds of spam crap in the guestbook and want to not have that problem. Right now I don't have a guestbook on either site that I have (www.jafhl.us or www.thesalvifamily.com). Any ideas or suggestions, please let me know! Brian Quote
TCH-Bruce Posted September 21, 2006 Posted September 21, 2006 You can try Lazarus Guestbook or check out some guestbook scripts over at hotscripts.com Quote
TCH-Don Posted September 21, 2006 Posted September 21, 2006 Lazarus Guestbook has a setting in the admin panel to moderate postings. It cut out all spam for me. Quote
trefilov22 Posted September 21, 2006 Author Posted September 21, 2006 You can try Lazarus Guestbook or check out some guestbook scripts over at hotscripts.com Is that something that is easy to set up? I also want to be able to change the color scheme to match the site I am doing, although thats not the most important thing, and I can live without that. Quote
TCH-Thomas Posted September 21, 2006 Posted September 21, 2006 It´s basically just to modify the config.inc.php to your needs, upload the files, run an install script, set a few permissions, and you are ready to go. As for the customization, there are several things you can change to your needs. Quote
TCH-Don Posted September 21, 2006 Posted September 21, 2006 To install Lazarus guestbook log into your cpanel go to MySql Be sure that in MySql you 1 - created the database 2 - created a user 3 -added the user to the database (go back to MySql and find the Add user select the user and database, and then Add user to database) Then to connect to the database in a script use: host: localhost database: yourCpanelName_databaseName user: yourCpanelName_databaseUser password: mypassword * Note password is just as the password, do not add the CpanelName to it. write down the info. go to the Lazarus site to download the script unzip to a folder on your computer. edit the admin/config.inc.php file to add your database info upload the script to a folder on your site change the folder permissions as per the readme file and run the site/folder/install.php file select install. when done delete the install.pgp file. go to to site/folder and log into the admin panel with the user/pass you entered when you ran the install file. visit the style section to change colors. at the top of the style section you will see the php include code to embed the guestbook on a page on your site. Quote
JTD Posted September 23, 2006 Posted September 23, 2006 You can also use the include code that is provided right in the Lazarus admin panel to add the guestbook right into your site. So in effect it looks just like it. Quote
trefilov22 Posted September 24, 2006 Author Posted September 24, 2006 It´s basically just to modify the config.inc.php to your needs, upload the files, run an install script, set a few permissions, and you are ready to go. As for the customization, there are several things you can change to your needs. This may sound really dumb, but where would I put in this information that I set up wtih my SQL DB? I found and opened the file for editing, but all of the info there is greek to me.... B Quote
TCH-Don Posted September 25, 2006 Posted September 25, 2006 In the file admin/config.inc.php you wil see the section for your database info just fill in the info you wrote down when you created the database, user and password as in my above post. >/* database settings */ $GB_DB['dbName'] = 'yourCpanelName_databaseName'; // The name of your MySQL Database $GB_DB['host'] = 'localhost'; // The server your database is on. Localhost is usually correct $GB_DB['user'] = 'yourCpanelName_databaseUser'; // Your MySQL username $GB_DB['pass'] = 'yourDatabasePassword'; // Your MySQL password /* misc */ Quote
carbonize Posted October 5, 2006 Posted October 5, 2006 Or cheat. 1 - Log into cPanel and goto the scripts section. 2 - Get cPanel to install Advanced Guestbook for you. 3 - Download Lazarus. 4 - Copy the database information from the Advanced Guestbook config.inc.php file to the Lazarus config.inc.php file. 5 - Upload the entire Lazarus folder (lazarusb is the default folder name). 6 - Run install.php by visiting it in your web browser. 7 - Select update. 8 - Delete install.php. 9 - Delete Advanced Guestbook folder. Delete the folder that is and not delete AG using the delete option in cPanel as ths will delete the database as well. Any problems once set up feel free to post them in the Lazarus Forums where either I, or one of my users, will gladly help you (sometimes they even manage to do so without being sarcastic hey JTD). Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.