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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.