How do I hide ligin/logout button How do I hide ligin/logout button
 

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

How do I hide ligin/logout button

Started by yakand, May 14, 2006, 03:40:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

yakand

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?

Paver

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.

yakand

Thank you Paver. Final_Extract did the job.

Paver

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.