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: [Solved]: Hide/Display some of the pictures from being displayed  (Read 4509 times)

0 Members and 1 Guest are viewing this topic.

Hassan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
[Solved]: Hide/Display some of the pictures from being displayed
« on: September 10, 2008, 11:28:05 am »

I want to know if there is any mod or plugin available, that can hide/display certain pictures in different albums.

I have a gallery for products on my coppermine website www.giantino.com. And I want to hide pictures that are not in stock at the moment, but after a day or two when we get them available in our stocks inventory, I want them back without uploading and adding details again and again.

Its some thing similar to the feature I dont use but its there in default coppermine features, that when a user uploads their pictures, and its not displayed until gallery admins apporves them to be displayed. I have not allowed the users to upload or create any albums of there own. I am doing it all by my self but I need this feature available for admin only.

I know this is not hotline and I am not in hurry to apply these satrtings but please reply if there is any posibility.

Thanks for all your supports and wonderfull gallery.

« Last Edit: September 11, 2008, 02:00:51 pm by Nibbler »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Hide/Display some of the pictures from being displayed
« Reply #1 on: September 10, 2008, 12:56:30 pm »

Disapprove the pics if they are out of stock. Re-approve them once they become available again. In cpg1.4.x, there is no control built into the coppermine user interface, so you have to do so directly in the database (using phpMyAdmin or similar) or you'll have to modify editpics.php accordingly.
Logged

Nibbler

  • Guest
Re: Hide/Display some of the pictures from being displayed
« Reply #2 on: September 10, 2008, 03:21:35 pm »

You could temporarily move them to a hidden album.
Logged

Hassan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: Hide/Display some of the pictures from being displayed
« Reply #3 on: September 11, 2008, 01:03:11 pm »

Thank you GauGau and Nibbler, for your suggestion.

Both of the tricks are working well, thats exectly what I wanted.
Unfortunatly I am not good in codings, otherwise I would put a check box on editpicc.php to approve/disapprove the pictures, as suggested by GauGau.

Thanks Again !!  ;D  :D
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Solved]: Hide/Display some of the pictures from being displayed
« Reply #4 on: September 11, 2008, 06:36:23 pm »

This will be a feature in cpg1.5.x  ;)
Logged

Hassan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: [Solved]: Hide/Display some of the pictures from being displayed
« Reply #5 on: September 12, 2008, 06:49:07 am »

Thankyou !
That would be great :)
Logged

altondelmote

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: [Solved]: Hide/Display some of the pictures from being displayed
« Reply #6 on: November 03, 2010, 10:10:16 am »

Thank fro very good information that is more valuable .Really one can easily display their view on this topic.Please say something more like this.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.