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 
Advanced Guestbook not showing smilies or images  XML
Forum Index » Support Forum
Author Message
TomH
Beginner

Joined: 21/10/2004 12:42:38
Messages: 33
Offline

I have just installed the Advanced guestbook and everything seems ok apart from the smilies and images don't show up. All the images are there in the img folder. Could anybody point me in the right direction?

Many Thanks.
TomH
Beginner

Joined: 21/10/2004 12:42:38
Messages: 33
Offline

I forgot to mention, this is the URL to my guestbook, http://cgi.fellglint.plus.com/guestbook/index.php
JTD
Graduate

Joined: 08/05/2004 21:52:50
Messages: 529
Location: Arkansas
Offline

Try this. http://proxy2.de/forum/viewtopic.php?t=3628&highlight=missing+pictures

LINK-> Use Lazarus Guestbook
[WWW] [Yahoo!] aim icon [MSN]
TomH
Beginner

Joined: 21/10/2004 12:42:38
Messages: 33
Offline

Thanks JTD, I've set base URL to http://cgi.fellglint.plus.com/guestbook/img but the images and smilies still don't show up. Any ideas? This is how I have it setup.

/* misc */

define('IS_MODULE', false); /* running as POST-Nuke 0.x or PHP-Nuke 5.x addon? */

$GB_PG["base_url"] = "http://cgi.fellglint.plus.com/img";

$DB_CLASS = "mysql.class.php";
$TEC_MAIL = "";
$GB_UPLOAD = "public";
$GB_TMP = "tmp";

if ($GB_PG["base_url"] == "") {
$inter_type = php_sapi_name();
if ($inter_type == "cgi") {
if (isset($HTTP_SERVER_VARS["PATH_INFO"]) && !empty($HTTP_SERVER_VARS["PATH_INFO"])) {
$GB_PG["base_url"] = dirname($HTTP_SERVER_VARS["PATH_INFO"]);
} elseif (isset($HTTP_SERVER_VARS["REQUEST_URI"]) && !empty($HTTP_SERVER_VARS["REQUEST_URI"])) {
$GB_PG["base_url"] = dirname($HTTP_SERVER_VARS["REQUEST_URI"]);
} else {
$GB_PG["base_url"] = dirname($HTTP_SERVER_VARS["SCRIPT_NAME"]);
}
} else {
$GB_PG["base_url"] = dirname($HTTP_SERVER_VARS["PHP_SELF"]);
}
}

?>

Thanks
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

$GB_PG["base_url"] = "http://cgi.fellglint.plus.com/guestbook"; would be the right base_url.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
TomH
Beginner

Joined: 21/10/2004 12:42:38
Messages: 33
Offline

Thanks very much Carbonize, that worked a treat.

Tom
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum