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: Remove Login Link  (Read 2919 times)

0 Members and 1 Guest are viewing this topic.

Danaldinho

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 56
  • Lil Wayne Fan
    • Lil Wayne
Remove Login Link
« on: November 06, 2008, 09:56:40 pm »

Hi, I want to remove the Login link from my gallery, because if users can't register, theres no point in this link.

So I tried to remove this code from theme.php:

Code: [Select]
<!-- BEGIN login -->
                                                <li><a href="{LOGIN_TGT}" title="{LOGIN_LNK}">{LOGIN_LNK}</a></li>
<!-- END login -->
<!-- BEGIN logout -->
                                                <li><a href="{LOGOUT_TGT}" title="{LOGOUT_LNK}">{LOGOUT_LNK}</a></li>
<!-- END logout -->

But then you get an error on the gallery :(

So how would I do this?

Thanks
Logged

Danaldinho

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 56
  • Lil Wayne Fan
    • Lil Wayne
Re: Remove Login Link
« Reply #1 on: November 06, 2008, 10:02:39 pm »

Sorry, didn't see the FAQ at the top, please delete

Sorry aga :'(in
Logged

dmb0058

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Remove Login Link
« Reply #2 on: November 29, 2008, 12:35:56 am »

Well I did see the FAQ, and read it, but I still can't see how  to do this.

Could you share your insight ? I also would like to remove the login/logout links but not the functionality - I am using a Joomla bridge so login/out is active but handled outside of CPG.
Logged

dmb0058

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Remove Login Link
« Reply #3 on: November 29, 2008, 12:48:35 am »

OK, got it.

You were referring to the FAQ thread near the top of this forum section, rather than the FAQ document linked at the top of the page.

I also installed the excellent final_extract plugin which does exactly what I was looking for. Kudos to the developer and hope this post helps someone else with my problem.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 16 queries.