Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9
  1. #1
    New to the CF scene
    Join Date
    Dec 2008
    Posts
    5
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Wordpress, posts auto-mover? Is there such thing?

    As stated, I need a code/plugin/whatever that does something like this:

    Until the date XX/XX/XXXX keep this post in the category BlaBla, WHEN it reaches the date YY/YY/YYYY move it to the category MooMoo.

    I need this because my blog is all about contests and contests only run from one day until another day, that way I could have a category such as "Still going..." and "Expired contests" you see?

    This is for my blog (not english, Its Portuguese): http://ganhar.me also, If you think there's something I need to improve please tell me!

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Not in html. Please learn to post in the correct forums. What you are looking for seems to be a script that can be run on a cron job. It will require mysql and php. I don't know of a script already made so ask a moderator to move this thread for you to the php forum. Do not cross post. Basically you will select all posts that are after a certain date, loop through them and update them with their new category. This would mean of course that you actually know the database structure of your wordpress install.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • The Following 2 Users Say Thank You to _Aerospace_Eng_ For This Useful Post:

    oesxyl (12-06-2008), Passatempos (12-06-2008)

  • #3
    New to the CF scene
    Join Date
    Dec 2008
    Posts
    5
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Crap! I read CMS instead of CSS in the name of the section, I'm sorry, please someone move it.

    Would it be difficult to make? I believe It would need to be a plugin, no?

  • #4
    New to the CF scene
    Join Date
    Dec 2008
    Posts
    5
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Passatempos View Post
    Crap! I read CMS instead of CSS in the name of the section, I'm sorry, please someone move it.

    Would it be difficult to make? I believe It would need to be a plugin, no?
    C'mon! Please?

  • #5
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    Difficult? Probably not too hard. But I'm sure it takes a good knowledge of WP to make. Have you checked all of the plugins? I've not seen anything like this, but if the plugin ran on every page view and checked if the date has been reached, I could see then having the code execute the post category change on the first view past that date.
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.

  • Users who have thanked gnomeontherun for this post:

    Passatempos (12-16-2008)

  • #6
    New to the CF scene
    Join Date
    Dec 2008
    Posts
    5
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by jeremywilken View Post
    Difficult? Probably not too hard. But I'm sure it takes a good knowledge of WP to make. Have you checked all of the plugins? I've not seen anything like this, but if the plugin ran on every page view and checked if the date has been reached, I could see then having the code execute the post category change on the first view past that date.
    I pretty much checked every plugin that could do the trick but I was unsuccessful.

    It could just run once per day and there would be a option when writting a post to set its "expiry date". After that date it would be moved to another category.

    Something like this: (it's in Portuguese, It has 2 tabs "A decorrer" means "Running..." and "terminados" means "Ended") It shows in 2 tabs only the running contests and the finished ones.

    I don't have the knowledge in wordpress to do this unfortunately.

  • #7
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    Perhaps you can request someone to assist you in the Web Projects forum if you are able to pay for someone to develop it. Otherwise all I can suggest is to start reading up about how WP plugins work...
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.

  • Users who have thanked gnomeontherun for this post:

    Passatempos (12-17-2008)

  • #8
    New to the CF scene
    Join Date
    Dec 2008
    Posts
    5
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Maybe I'll try It but I guess I'll need a lot of luck to have someone to help me out.

    Is this possible to be done in Joomla! or some other CMS? If necessary I would change to another one just to have this feature working although I don't know a lot of how Joomla works.

  • #9
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    I don't know of any Joomla extension either, but I'm experienced in developing stuff for Joomla and can say it wouldn't be too difficult either if you understand how to build a plugin. I would stick to whatever CMS you are most comfortable with though.
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •