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: Most Viewed = Admin Only?  (Read 3036 times)

0 Members and 1 Guest are viewing this topic.

ThomasMcKean

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Most Viewed = Admin Only?
« on: October 23, 2011, 10:41:26 pm »

Is there an easy way to do this?  Adding a bit of code here and there?  :)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Most Viewed = Admin Only?
« Reply #1 on: October 24, 2011, 02:10:28 pm »

Do you want to restrict the access to the actual meta album 'topn' or to corresponding the section in the album list view (added via "The content of the main page" in the config)?
Logged

ThomasMcKean

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Most Viewed = Admin Only?
« Reply #2 on: October 24, 2011, 08:37:41 pm »

Reckon what I am looking to do is if you are an admin, you see the option but if you are a user, you don't.  Trying to do away with the "Most Viewed" button unless you are admin.  :)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Most Viewed = Admin Only?
« Reply #3 on: October 25, 2011, 11:48:38 am »

So you want to hide the button that directs you to the meta album from the menu for non-admin users. You could use the "FinalExtract" plugin.
Logged

ThomasMcKean

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Most Viewed = Admin Only?
« Reply #4 on: October 25, 2011, 10:06:22 pm »

YAY!!!   I will look that up right now.  :)
Logged

ThomasMcKean

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Most Viewed = Admin Only?
« Reply #5 on: October 25, 2011, 10:23:13 pm »

This isn't working?  It shows up in manager but when I click INSTALL then it just sits there and it won't install?  :(
Logged

ThomasMcKean

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Most Viewed = Admin Only?
« Reply #6 on: October 25, 2011, 10:42:27 pm »

Hmmm....  Apparently I was using the 1.4 version?  1.5 version works GREAT!  Thanks!  :)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Most Viewed = Admin Only?
« Reply #7 on: October 25, 2011, 10:51:50 pm »

Please
tag your answer as "solved" by clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.