forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: ThomasMcKean on October 23, 2011, 10:41:26 pm

Title: Most Viewed = Admin Only?
Post by: ThomasMcKean on October 23, 2011, 10:41:26 pm
Is there an easy way to do this?  Adding a bit of code here and there?  :)
Title: Re: Most Viewed = Admin Only?
Post by: Αndré 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)?
Title: Re: Most Viewed = Admin Only?
Post by: ThomasMcKean 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.  :)
Title: Re: Most Viewed = Admin Only?
Post by: Αndré 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.
Title: Re: Most Viewed = Admin Only?
Post by: ThomasMcKean on October 25, 2011, 10:06:22 pm
YAY!!!   I will look that up right now.  :)
Title: Re: Most Viewed = Admin Only?
Post by: ThomasMcKean 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?  :(
Title: Re: Most Viewed = Admin Only?
Post by: ThomasMcKean on October 25, 2011, 10:42:27 pm
Hmmm....  Apparently I was using the 1.4 version?  1.5 version works GREAT!  Thanks!  :)
Title: Re: Most Viewed = Admin Only?
Post by: Αndré 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.