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 
Messages posted by: .: JAY :.
Forum Index » Profile for .: JAY :. » Messages posted by .: JAY :.
Author Message
I had similar problem with my old server.
It would resize the image but it would keep the same size that it takes on the disk. ie. if the original image was 200k the thumbnail would be 200k too. So my guess is that the ImageMagick is messing up.
Sorry but I have not answer
Why not use PHPMyAdmin for that?
Very simple to use and you can restore you old database with just selecting the .sql file on your computer.
I doubt that you can change that.
That number just shows the order of entries.
I could be wrong though ...
First off, did you do this :

1.Open guestbook.pl with a text editor.
Change the url in line one, to the Perl program at your server.
Usually it is: - /usr/bin/perl or /usr/local/bin/perl for Unix.
- C:/Perl/Perl.exe for Windows (use slash "/")
Set the correct paths and required urls.

2.Upload guestbook.pl in ASCII-mode to your cgi-bin directory
and change mode it to 755 (-rwxr-xr-x).

3.Open addentry..html with a text editor.
Change the line
<form method="post" action="/cgi-bin/guestbook.pl">
to the correct location of guestbook.pl
Ah, I see you are using the CGI version of the guestbook.
I thought that you are using Advanced Guestbook.
I've never used that one before but I'll try it right now and see ...
First you could start with editing your spelling.
Then you can be a bit more precise about what do you want to edit
Ya ... well ... why don't you write your own scripts and offer them for free, have a regular job and try to provide support for whiny kids that don't read readme.txt ever?
You do realize that this is one man project here don't you?
Look in :

/lang/english.php

Towards the end of the file
If you read the instructions and if you have paid any attention to that error message you would notice that you didn't enter your database info in
/admin/config.inc.php.
So, what you need to do is open that file and change first few lines :

$GB_DB["dbName"] = "your_database";
$GB_DB["host"] = "localhost";
$GB_DB["user"] = "your_username";
$GB_DB["pass"] = "your_password";

Of course you would input your login info
I've looked it up, it is body.php that holds the banner.
BTW the banner is located in /img/gbook.gif
So if you want to replace original banner with the new one that is not the same size you would change line 4 in body.php to, let's say your banner is 200x88:

<td width="56%"><img src="$GB_PG[base_url]/img/gbook.gif" width="140" height="15"></td>

to:

<td width="56%"><img src="$GB_PG[base_url]/img/gbook.gif" width="200" height="88"></td>

Enjoy.
One thing you can do is to right-click on the image and see it's location.
Then just make your own banner and and replace the old one with yours
But make sure it's the same size. That can be changed too.
I don't remember in which page the banner is located in but just look thru your /templates directory and you'll find it eventually. It may be in body.php
Hope that helps.
Well, how else you gonna learn something?
Everything I know about PHP and this guestbook I've learned on my own.
I know that people don't respond much here but that's because evebody wants easy way out when they are stuck
Do a little research on the net, buy couple of books and thing will start to happen
You are correct about php include command, it is much more compatible with old browsers than iFrame but on the other hand I've found it just a little bit more confusing (for a beginner) to do that. That's all.
You need to be a little bit more specific than that.
Were you running your site on your local machine? etc...
You all need to quit attacking these people!
Guestbook is simple enough to admin so sit down and look thru the manual, ok.
The problem is that your doc root is not set correctly.
You said it yourself that it's looking for images in http://img/ folder, right?
Does that folder exist on your server? I doubt it.
It's more like this http://www.yourdomainname.com/guestbook/img/
I suggest you use iFrame to get the guestbook incorporated in your page design instead of simply inserting the code
 
Forum Index » Profile for .: JAY :. » Messages posted by .: JAY :.
Go to:   
Based on the open source JForum