Author |
Message |
|
add.class.php line 149 reads:
Could that mean the base url has not been set or is wrong?
|
|
|
Well I'm sure that's your problem. The initial guestbook page and addentry.php are supposed to be in the same directory. That's why it's looking for addentry.php in your root. Your guestbook page is supposed to be index.php and should be in the guestbook's directory along with all the other guestbook files it needs.
|
|
|
and the files are stored there too excpet fot the html page with the include - that is in http://www.mysite.com
This sounds like a problem. If what you are saying is true, that would be your home page. Your guestbook should not be included on your home page.
Post a link to your site if you still need help.
|
|
|
Did you set your base url in the admin/config.inc.php file? Look in the topic Advanced Guestbook Fixes and Mods and find the instructions for the admin/config.inc.php file.
|
|
|
Carbonize explained this on page 2. Here it is in another post:
Admin Loop:
http://proxy2.de/forum/viewtopic.php?p=11334&highlight=#11334
|
|
|
Looking at your guestbook.html source code again, you deleted the wording "Thank you for... here you can leave your mark." You also deleted the code underneath which calls for the jump:
In deleting the above, you also deleted the part that is required:
Would suggest you start over. Put the original guestbook.html file back on the server and only delete the words. Leave the html codes there.
|
|
|
Are permissions for cgi-bin/guestbook.pl set at 755?
|
|
|
I just bumped the post with Carbonize's fix for version 2.2. If you are using this version, apply the fix or, better yet, upgrade to version 2.3.1.
|
|
|
What is the code in the addentry.html?
Do you have php and mysql? What about using the php version?
|
|
|
This thread is still on page one. You can tell by the title it is the same question as yours:
How can I integrate my guestbook into an existing site?
http://proxy2.de/forum/viewtopic.php?t=3863
This is also on page one. It seems like it would be a good place to look for modifications:
Advanced Guestbook Fixes and Mods
http://proxy2.de/forum/viewtopic.php?t=3563
A simple search of "Embed AND Guestbook" returns half a dozen threads on this subject.
|
|
|
Can you share it here for other people who might have the same problem?
|
|
|
Auron wrote:What do you mean by negative smilies?
I mean "negative" as to what the website's purpose is. I am working with Christian websites, where the devil's face is just plain inappropriate. Evil... mad... tongue... smoking... we don't want it.
|
|
|
Tried this again, and it works great. Thanks.
|
|
|
I am finding some guestbooks shouldn't have the negative smilies. To remove some smilies or change the order of the smilies change them from the Admin Panel Smilies section. To change from here, the templates/form.php file must have permissions set to 777.
In Admin Panel, Click on "Smilies"
Scroll down to the bottom and select "Scan directory (img/smilies)"
For the smilies you want to add, type the Code and Emotion
Click on Submit Settings
Delete any Emoticons you do not want to appear
You can also change or add more smilies directly in the form.php file:
Open templates/form.php. Find the smilies code around line 100 after $OPTIONAL:
Replace the gif filenames for the negative smilies with other filenames found in the img/smilies folder. Also replace the description thats between the parenthesis (':happy:').
Example - Replace the "Roll Eyes" and "Mad" smilies with "heart" and "Rainbow". (I think it is much easier to typeover the filenames and descriptions than cut and paste.)
Replace:
with:
Even though all smilies can be seen by clicking on the "show legend" link, you can still add more smilies to show up on the initial form. To add another row of smilies, just copy and paste the code for an existing row and change the gif filenames. The following code adds one row of smilies: dance, girl and Christmas:
|
|
|
You stated this was working before, but since there are no entries in your book, I am thinking it was a problem all along that is just now being noticed.
You are using the cgi version, while most of us are using the php version.
Your guestbook is at: http://www.ucpzone.com/madagascar/guestbook/guestbook.html
The cgi-bin directory you are using is: http://www.ucpzone.com/cgi-bin
(I believe) Your guestbook.pl file has the following settings:
[list]
[/list]
The following code looks like it could be the problem:
[list][/list]
Try changing it to:
[list][/list]
Question? Is "madagascar" a subdomain or just a subdirectory?
If "madagascar" is a subdomain, it should have its own cgi-bin, in which case you would put the guestbook.pl file in http://www.ucpzone.com/madagascar/cgi-bin and change the url of script to:
[list][/list]
You might also need to change the code in the addentry.html file to:
[list][/list]
Can somebody else verify this?
|
|
|