Author Topic: Activate and deactivate  (Read 8256 times)

0 Members and 1 Guest are viewing this topic.

Offline sweetmisery29f

  • Pre-Newbie
  • Posts: 8
    • View Profile
Activate and deactivate
« on: March 13, 2005, 11:53:33 AM »
Hello

I need to de-activate and re-activate images on a regular basis. I understand how to deactivate them by going in to each picture and select deactivate. But is there an easier way to re-activate? Best would be if I could get up a list of the images that are deactivated and then just fill in each that should be activated at that time and leave the rest.

I've heard there is a way to activate all, but I haven't found that feature and also would not be as efficient as I then have to deactivate some again.  :roll:

Any advise, ideas or suggestions would be highly appreciated. Or if someone would make a mod...  :D

Offline GeXX

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: Activate and deactivate
« Reply #1 on: September 16, 2005, 10:20:15 AM »
Same situation here...

how can i find deactivated images?!?

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: Activate and deactivate
« Reply #2 on: September 16, 2005, 01:17:57 PM »
hmmm
why do you need to activate and deactivate picture  :?:

vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


TheOracle

  • Guest
Re: Activate and deactivate
« Reply #3 on: September 16, 2005, 10:28:44 PM »
Quote

why do you need to activate and deactivate picture


Hold on. ;)

@GeXX :

This actually gives me an idea. If I'm right, it might be possible to do this. However, I'd need to have more details on which images you'd like to activate / de-activate ... thumbnails or images you're taking about ?

Offline sweetmisery29f

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: Activate and deactivate
« Reply #4 on: December 14, 2005, 08:39:39 PM »
I've been away some time but I still need to deactivate and reactivate my images...  I need to do that because we have images up for sale and when they are out to our agency I don't want anyone to be able to see them and buy them.

Now I deactivate them one by one. I wish I could just get a list of which images are deactivated and then just click in a box or something in front of the image names to reactivate the returns from the agency.

Many thanks if anybody would consider this.

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: Activate and deactivate
« Reply #5 on: December 14, 2005, 10:02:05 PM »
http://www.4homepages.de/forum/index.php?topic=6759.msg29585

With that you have a Radiobutton for:

search not activated images

Offline sweetmisery29f

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: Activate and deactivate
« Reply #6 on: December 18, 2005, 12:19:28 PM »
Thanks for your reply. Unfortunately that doesn't solve my problem.  :( When I get the list of all that are deactivated I still have to edit each one to reactivate them which is quite time consuming. If I check the boxes for multiple images to reactivate several, the info about the images eaither disappears (if I don't fill in anything in the edit box) or all pictures get the same info.

I'd like to have a choice to check the boxes in front of the deactivated pictures and then just click on a new button that reactivates them all at the same time? Isn't that doable, please?

Offline Uncle Holden

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Activate and deactivate
« Reply #7 on: February 15, 2006, 02:27:21 PM »
You can also do it using the database. In your favorite DB manager write

UPDATE `4images_images`
SET `image_active`=1
WHERE 'image_active' = 0;

and that will make all of your inactive images active again. If you want to do it for a specific category, add another condition to the WHERE clause:

UPDATE `4images_images`
SET `image_active`=1
WHERE 'image_active' = 0
AND 'cat_id' = 123456789;