All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.

Author Topic: Delete data/log from post page  (Read 3357 times)

0 Members and 1 Guest are viewing this topic.

Offline Manne

  • Newbie
  • *
  • Posts: 11
    • View Profile
Delete data/log from post page
« on: 27 May 2007, 14:43 »
It would be great to be able to delete data and logs for a post directly from the post edit page, when updating a post. Is there an easy way to do this?

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Delete data/log from post page
« Reply #1 on: 27 May 2007, 16:05 »
I find it is not really needed because you can edit the custom field in the post edit page
When you delete the post, the custom field for that post will also get deleted
Not many people delete their ratings often
It will cluttered the post edit screen
The log are there for you to see only, it holds useless information.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline Ttech

  • Official Support
  • Global Moderator
  • *****
  • Posts: 4,296
    • View Profile
Re: Delete data/log from post page
« Reply #2 on: 27 May 2007, 23:52 »
I find it is not really needed because you can edit the custom field in the post edit page
When you delete the post, the custom field for that post will also get deleted
Not many people delete their ratings often
It will cluttered the post edit screen
The log are there for you to see only, it holds useless information.
Not all the time though. I can be useful. :)
Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers

Offline Manne

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Delete data/log from post page
« Reply #3 on: 31 October 2007, 15:40 »
If anyone is interested, I solved this by putting the following code in wp-admin/edit-form-advanced.php:

<form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
<input type="hidden" name="delete_datalog" value="3">
<input type="hidden" name="delete_postid" value="<?php echo $post_ID; ?>">
<input type="submit" class="button delete" name="do" value="<?php _e('Erase all ratings for this post', 'wp-postratings'); ?>" class="button" onclick="return confirm('<?php _e('This will erase all ratings for this post.', 'wp-postratings'); ?>')" />
</form>   

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Delete data/log from post page
« Reply #4 on: 31 October 2007, 15:59 »
But it is not recommended to edit any WP core files as after upgrading WP, the changes will be gone.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline Ttech

  • Official Support
  • Global Moderator
  • *****
  • Posts: 4,296
    • View Profile
Re: Delete data/log from post page
« Reply #5 on: 01 November 2007, 22:29 »
Thats what plugins are for. ;)
Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers

Offline Manne

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Delete data/log from post page
« Reply #6 on: 05 November 2007, 13:01 »
Well, if the plugin author refuses to implement the function then I guess I have to live with that  ;)

Offline Ttech

  • Official Support
  • Global Moderator
  • *****
  • Posts: 4,296
    • View Profile
Re: Delete data/log from post page
« Reply #7 on: 05 November 2007, 23:14 »
???
Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers