Browsing articles tagged with " piwigo"
Nov 6, 2018
Gray

Piwigo – Remove footer text

Piwigo would like you to leave this in, but if you’re set on removing the ‘Powered by Piwigo‘ text in the footer, you can simply comment it out. The code is located in the footer.tpl file, and it’s best to do this change to the file specific for your theme.

It may be located here:
/PIWIGO_INSTALL_DIRECTORY/themes/THEME_NAME/template/footer.tpl

Comment out the code as shown below in red (without quotes):
(use ‘<!–‘ for opening comment and ‘–>‘ for closing comment)

'<!--' {'Powered by'|@translate} Piwigo '-->'
{$VERSION}
{if isset($CONTACT_MAIL)}
- {'Contact webmaster'|@translate}
{/if}
{if isset($TOGGLE_MOBILE_THEME_URL)}
- {'View in'|@translate} : {'Mobile'|@translate} | {'Desktop'|@translate}
{/if}

Nov 2, 2018
Gray

Piwigo adds :80 to URL for SSL traffic

(from https://github.com/xbgmsharp/piwigo-openstreetmap/issues/106)

Piwigo adds “:80” to the URL of some SSL/https addresses, similar to this:
https://www.XXXXXX.sr:80/photos/picture.php?/7784/category

Here’s how to fix
In the following file functions_url.inc.php:

First, backup this file. Next, comment out the part of function which does the port finding routine, resulting in following lines in functions_url.inc.php file (around lines 70-81):

{
$url .= $_SERVER['HTTP_HOST']; 
// if ( (!$is_https && $_SERVER['SERVER_PORT'] != 80)
// ||($is_https && $_SERVER['SERVER_PORT'] != 443))
// {
// $url_port = ':'.$_SERVER['SERVER_PORT'];
// if (strrchr($url, ':') != $url_port)
// {
// $url .= $url_port;
// }
// }
}

 
Oklahoma Sports | Game Photos
www.game-photos.com
Oklahoma college and high school sports

They said it . . .

"The entire sum of existence is the magic of being needed by one person."
- V. Putnam


"Nobody in football should be called a genius. A genius is a guy like Norman Einstein."
- Joe Theismann


"The early bird gets the worm, but the second mouse gets the cheese."
- Unknown