removing logout removing logout
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

removing logout

Started by giorgio79, February 06, 2007, 05:57:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

giorgio79

Hello Guys,

I have read most of the topcis on this forum related to this subject.

Final Extract is wonderful, but there is no option to remove the logout link.

I have also read the manual edit method, whereby I copy over the sample/theme.php to my theme.php and comment out the appropriate addbutton in theme.php.

The only thing is that I was only able to do this if I copy the entire theme.php from the sample file, and not just parts of the code. If I just copy parts of the code, I get missing functions and error messages here and there.

Could someone let me know if it is possible to copy to my theme.php just a fraction of the original sample/theme.php? And if yes, does anyone have exact line numbers that I need from the sample directory?

If not, is it a resource hog to have the entire theme.php copied over?

Cheers,
Gyuri

giorgio79

hmmm, my commenting out works in IE, but in Firefox I get this error message

QuoteTemplate error
Failed to find block 'logout'(#(<!-- BEGIN logout -->)(.*?)(<!-- END logout -->)#s) in :

            <!-- BEGIN home -->
        <a href="{HOME_TGT}" title="{HOME_TITLE}">{HOME_LNK}</a> ::
  <!-- END home -->  <!-- BEGIN my_gallery -->
        <a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a> ::
  <!-- END my_gallery -->  <!-- BEGIN allow_memberlist -->
        <a href="{MEMBERLIST_TGT}" title="{MEMBERLIST_TITLE}">{MEMBERLIST_LNK}</a> ::
  <!-- END allow_memberlist -->  <!-- BEGIN my_profile -->
        <a href="{MY_PROF_TGT}" title="{MY_PROF_TITLE}">{MY_PROF_LNK}</a> ::
  <!-- END my_profile -->  <!-- BEGIN enter_admin_mode -->
        <a href="{ADM_MODE_TGT}" title="{ADM_MODE_TITLE}">{ADM_MODE_LNK}</a> ::
  <!-- END enter_admin_mode -->  <!-- BEGIN leave_admin_mode -->
        <a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}">{USR_MODE_LNK}</a> ::
  <!-- END leave_admin_mode -->  <!-- BEGIN upload_pic -->
        <a href="{UPL_PIC_TGT}" title="{UPL_PIC_TITLE}">{UPL_PIC_LNK}</a> ::
  <!-- END upload_pic -->  <!-- BEGIN register -->
        <a href="{REGISTER_TGT}" title="{REGISTER_TITLE}">{REGISTER_LNK}</a> ::
  <!-- END register -->  <!-- BEGIN faq -->
        <a href="{FAQ_TGT}" title="{FAQ_TITLE}">{FAQ_LNK}</a> ::
  <!-- END faq -->  <!-- BEGIN login -->
        <a href="{LOGIN_TGT}" title="{LOGIN_TITLE}">{LOGIN_LNK}</a>
  <!-- END login -->

giorgio79

Just some more information:

Using classic theme

The reason why I wouldn't like logout appear: Integrated coppermine to my site, and I would like to use a different, global logout, login function.

Cheers,
Gyuri

François Keller

Hi,

QuoteFinal Extract is wonderful, but there is no option to remove the logout link.
hum, do you read this ?

http://forum.coppermine-gallery.net/index.php?topic=36605.msg174472#msg174472
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

giorgio79

YIHAAA!

Thanks Frantz!

I did find some posts on v2.3 but the search results showed mainly French the version!

Thank you very much!

Gyuri