Thank you for the reply.
For those of you with as little knowledge of php as I have, (and after searching threads and spending 2 hours trying to remove the logout button)
here is the condensed version. There are probably several ways to do this including copying lines from the sample/themes.php to yourtheme/themes.php and commenting them out which I could not get to work, but this did work.
Get the final_extract plugin. It is attached to this thread
http://forum.coppermine-gallery.net/index.php?topic=25197.0unzip it and modify the codebase.php in an editor. I removed the remove home line and changed remove login to logout.
After changing it looks like this
<?php
/*************************
Coppermine Photo Gallery
************************
Copyright (c) 2003-2005 Coppermine Dev Team
v1.1 originaly written by Gregory DEMAR
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
********************************************
Coppermine version: 1.4.1
$Source: /cvsroot/cpg-contrib/master_template/codebase.php,v $
$Revision: 1.3 $
$Author: donnoman $
$Date: 2005/12/08 05:46:49 $
**********************************************/
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
$thisplugin->add_filter('page_html','final_extract_page_html');
function final_extract_block(&$template, $block_name, $subst='')
{
$pattern = "#(<!-- BEGIN $block_name -->)(.*?)(<!-- END $block_name -->)#s";
if ( preg_match($pattern, $template, $matches)){
$template = str_replace($matches[1].$matches[2].$matches[3], $subst, $template);
return $matches[2];
}
}
function final_extract_page_html($html)
{
//repeat the next line for each block you would like removed
final_extract_block($html, 'logout');
return $html;
}
?>
Upload the folder to the plugins folder.
activate the plugin from the plugin manager.
Logout button is now gone.