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: How do I hide ligin/logout button  (Read 3071 times)

0 Members and 1 Guest are viewing this topic.

yakand

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
How do I hide ligin/logout button
« on: May 14, 2006, 03:40:25 am »

I read an old post answered by GauGau about hiding the login/logout button by changing the line <!-- BEGIN login --> in the theme.php. The trouble is I can not find this code-line in my theme in CPG1.4.5. Can anyone help?
« Last Edit: May 14, 2006, 04:50:20 am by Paver »
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: How do I hide ligin/logout button
« Reply #1 on: May 14, 2006, 04:14:09 am »

If you went to post this message on the correct board, you might have seen the other threads which ask the same question.  The correct board is the themes board, of course.  Here's one thread from two days ago that might help.

There's also a plugin to remove blocks on the plugins board that would do the same thing, called Final_Extract.  It would effectively remove the <!-- BEGIN login --> block that you mentioned.

You can also remove that block just the same as in 1.3 if you are using a theme that defines the SYS_MENU using straight HTML.  Most of the themes (besides classic) in 1.4 use the straight HTML approach and you'll see the <!-- BEGIN login --> block as before.
Logged

yakand

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: How do I hide ligin/logout button
« Reply #2 on: May 14, 2006, 04:37:03 am »

Thank you Paver. Final_Extract did the job.
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: How do I hide ligin/logout button
« Reply #3 on: May 14, 2006, 04:50:02 am »

You're welcome.  As I was typing the first answer, I realized that I didn't mention the plugin in the other thread, so figured I'd say that here.  I'm glad it answered your question.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.