Author |
Message |
07/11/2004 12:33:33
|
Anonymous
|
Hello,
I was just wondering how to I get the guestbook added to my layout on the webpage as this page has?
I use Advanced Guestbook 2.2.
The images won't show and the links are wrong the way I've included it now. Which files do I have to edit to make em work as it should?
|
|
07/11/2004 13:53:13
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
open up the config file admin/config.inc.php and look for the base_url setting.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
07/11/2004 14:11:55
|
Anonymous
|
Thanks for the reply.
Well in the Advanced Guestbook I use, there ain't anything called that. I knew about that before as I asked about an newer release, but in this old release there ain't anything in the config.inc.php file in the admin folder.
I'm a little sceptical to upgrade aswell, as I'm afraid of losing posts. When I installed it through cpanel, so it created the username and password for the database aswell. I have no clue what the database's password is :p
So do you have any suggestions?
|
|
07/11/2004 14:16:18
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
This is why I hate it when hosts provide scripts because they always mess with them and leave other people to fix their mistakes. So long as your hosts didn't change the names used for the database tables there should be no problem with upgrading. There must be a config file somewhere in the guestbook as it needs this file to know the name, username and password of your database.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
07/11/2004 14:47:38
|
Anonymous
|
Christoffer wrote:I'm a little sceptical to upgrade aswell, as I'm afraid of losing posts. When I installed it through cpanel, so it created the username and password for the database aswell. I have no clue what the database's password is :p
So do you have any suggestions?
The 2.2 config.inc.php file does not have any base_url code! Hadn't noticed that one before.
Here's what I have done in the past with those guestbooks where the site owner has CPanel but doesn't know the password:
Go into CPanel and select MySql Databases.
Create a new database user with a new password.
Grant access to the Guestbook database to the new user.
Go Into PhpMyAdmin and export the Guestbook database to a .sql file so all the entries will be saved in case of any problems. (Be sure to select all the tables and the box that says "file".)
Edit the admin/config.inc.php file to reflect the new database username and user password.
With all the entries saved in an .sql file, you should be able to upgrade without worry.
|
|
07/11/2004 14:53:05
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
I forgot to sign in.
|
|
07/11/2004 14:59:01
|
Anonymous
|
Amber222:
Like this: http://www.dingir-xul.com/v4/picture_1.JPG
Is there anything else I should check?
|
|
07/11/2004 15:10:30
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
Yes. You didn't change any info did you? ... Just selected all the tables and checked the file box?
So you should be able to click on "go" near the bottom and it will ask you if you want to save the file. Go ahead and then navigate to the directory you want to save it to on your hard drive. If you really want to be cautious, you can look in the saved file to make sure it has the info.
|
|
07/11/2004 15:28:44
|
Anonymous
|
I didn't do anything else than that no, but I just had to be on the safe side That's why I took the screenshot
I'm going to try and upgrade this Guestbook now, guess I'll just follow the one you added in the earlier post amber222
I'll get back to you here if I get any problems
Thanks for your help
|
|
|