...

View Full Version : Wordpress, posts auto-mover? Is there such thing?



Passatempos
12-05-2008, 10:27 PM
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! :thumbsup:

_Aerospace_Eng_
12-06-2008, 12:13 AM
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.

Passatempos
12-06-2008, 12:54 PM
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?

Passatempos
12-15-2008, 07:26 PM
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? :(

gnomeontherun
12-15-2008, 10:11 PM
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.

Passatempos
12-16-2008, 10:11 PM
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.

gnomeontherun
12-16-2008, 11:41 PM
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...

Passatempos
12-17-2008, 05:08 PM
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.

gnomeontherun
12-17-2008, 07:51 PM
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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum