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: TomH
Forum Index » Profile for TomH » Messages posted by TomH
Author Message
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
I forgot to mention, this is the URL to my guestbook, http://cgi.fellglint.plus.com/guestbook/index.php
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.
 
Forum Index » Profile for TomH » Messages posted by TomH
Go to:   
Based on the open source JForum