[Solved]: Hide/Display some of the pictures from being displayed [Solved]: Hide/Display some of the pictures from being displayed
 

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]

Main Menu

[Solved]: Hide/Display some of the pictures from being displayed

Started by Hassan, September 10, 2008, 11:28:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hassan

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.


Joachim Müller

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.

Nibbler


Hassan

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

Joachim Müller


Hassan


altondelmote

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.