Results 1 to 4 of 4

Thread: Custom Prune

  1. #1
    Thread Starter
    dmyers's Avatar
    Join Date
    Oct 2010
    Location
    United States, Texas
    Posts
    103
    Thanks
    5
    Thanked 83 Times in 11 Posts

    Lightbulb Custom Prune

    Is there a way to customize the prune commands in the code to allow the addition of another variable besides the expired ads?

    What I want to do is create a custom field called "Sold" using the dropdown list and have the choices as "Yes" and "No". It will default to "No" so that when the user is entering his ad he won't have to change it. When the item is sold, the user will edit his post and change the dropdown to "Yes".

    Once the field has the value yes, the ad will automatically deleted during the next prune cycle. Of course, I have to be able to modify the prune code to look for that particular field name and value.

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    41,006
    Thanks
    170
    Thanked 3,409 Times in 3,280 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  3. #3
    Thread Starter
    dmyers's Avatar
    Join Date
    Oct 2010
    Location
    United States, Texas
    Posts
    103
    Thanks
    5
    Thanked 83 Times in 11 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    41,006
    Thanks
    170
    Thanked 3,409 Times in 3,280 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. MODDED for "Custom" Custom Fields output
    By vienna in forum ClassiPress General Discussion
    Replies: 5
    Last Post: November 8th, 2010, 02:08 PM
  2. Custom Taxonomies and custom post types in Classipress
    By carlos takemura in forum ClassiPress General Discussion
    Replies: 1
    Last Post: July 8th, 2010, 04:26 PM