Advanced search  

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]

Pages: [1]   Go Down

Author Topic: removing logout  (Read 2772 times)

0 Members and 1 Guest are viewing this topic.

giorgio79

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 114
removing logout
« on: February 06, 2007, 05:57:37 am »

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
« Last Edit: February 06, 2007, 07:54:23 am by GauGau »
Logged

giorgio79

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 114
Re: removing logout
« Reply #1 on: February 06, 2007, 06:21:26 am »

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

Quote
Template 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 -->
Logged

giorgio79

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 114
Re: removing logout
« Reply #2 on: February 06, 2007, 06:32:19 am »

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
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: removing logout
« Reply #3 on: February 06, 2007, 07:27:12 am »

Hi,

Quote
Final 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
Logged
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

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 114
Re: removing logout
« Reply #4 on: February 06, 2007, 07:41:55 am »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.