I need to know how to work around the port problem. When trying to load anything, the script defaults "http://yourserver.com/blah/blah" However, I need it to default to "http://www.yourserver.com/blah/blah" or "http://yourserver.com:port/blah/blah"
The problem is that Plogger uses the variable $config["baseurl"] to generate URL's for all gallery elements. By default, this variable does not contain the server port.
In plog-load_config.php: the "Base URL" is generated with this code:
$config["baseurl"] = "http://".$_SERVER["SERVER_NAME"]. substr($_SERVER["PHP_SELF"],0,strrpos($_SERVER["PHP_SELF"],"/")) . "/"; // remote admin/ from the end, if present .. is there a better way to determine the full url? if (substr($config["baseurl"],-6) == "admin/") { $config["baseurl"] = substr($config["baseurl"],0,-6); };
Maybe you could try changing that first line to something like $config["baseurl"] = "http://".$_SERVER["SERVER_NAME"]. ':' . $_SERVER['SERVER_PORT]'.substr($_SERVER["PHP_SELF"],0,strrpos($_SERVER["PHP_SELF"],"/")) . "/";
That would pull in the server port and add it to the baseurl variable, thus propagating through and including the port number on all your gallery links. This is just a guess, I haven't tested this but let me know if it works.
A full list of PHP server variables can be found here: http://us3.php.net/reserved.variables
...where 8000 is my server port. it would be really nice to substitute with a variable but it will do for now. i hope that will be one of the updates included in the next release.