Topic: pun_move_posts BUGs

Since pun_move_posts v1.1.4 does not work as it should (see bellow), I would like to request either correct its bugs or develop an independent version (at best) - there was great extension in PunBB 1.2 working reliably.

  • It change ID of the moved post (it means all links to such a post will be dead) plus when you click on link to moved post, which is older and after the new one, it sends you (every now and then) somewhere out.

  • There is no way to move the first post - quite important while it is need to move whole contain of one thread to some other.

2 (edited by antonio 2013-10-07 16:47)

Re: pun_move_posts BUGs

UP

Re: pun_move_posts BUGs

There is no way to move the first post

This is move topic, is not?

It change ID of the moved post

I will check this and try fix. Im not recommend use this extension right now.

Re: pun_move_posts BUGs

Posts sorted in topic by id — if extension will not changed posts id — order in topic will be broken.
As for me its makes this extension is useless in current PunBB version.
I`m recommended uninstall it. Sad, but true.

http://punbb.informer.com/forums/post/133533/#p133533

Re: pun_move_posts BUGs

Are you able to fix it?

6

Re: pun_move_posts BUGs

Try this:
http://svn.poldrag.katowice.pl/listing. … 3f21a464ba

Re: pun_move_posts BUGs

Unfortunately dimkalinux is 100% right. In the current version of punbb there is not much we can do about preserving post's ids.
Sorting algorithm must be changed as well as the database structure. And some extensions probably will be broken after this change. hmm

I am sure this problem will be reconsidered in the next version of punbb (whenever it will be released) smile

If you want to contact me quickly - send e-mail, not PM.
<?php $t='<?php $t=%c%s%c; printf($t,39,$t,39,10);%c'; printf($t,39,$t,39,10);

8 (edited by antonio 2013-10-13 10:23)

Re: pun_move_posts BUGs

dimkalinux wrote:

There is no way to move the first post

This is move topic, is not?

That's not what I'm looking for, here I need to move this post in same way like the others.


Trace: ID still changes.

9 (edited by keeshii 2013-10-13 19:13)

Re: pun_move_posts BUGs

Ok, antonio, I had an idea yesterday ^_^ Try this out:

om_move_posts: http://svn.poldrag.katowice.pl/listing. … name=punbb

There is one negative aspect of this solution -> adding each post into database requires to execute one more complex, query

EDIT:
I saved the result of this query in the cache - one problem less. Right now there is only one disadvantage of using this plugin - if you uninstall it, you will lose the order of moved posts.

If you want to contact me quickly - send e-mail, not PM.
<?php $t='<?php $t=%c%s%c; printf($t,39,$t,39,10);%c'; printf($t,39,$t,39,10);

10 (edited by antonio 2016-09-11 19:01)

Re: pun_move_posts BUGs

It is going to be 4 years since I posted this notice/request. Have you got around to it yet? OF COURSE NOT... yes, I am mad!!! No support at all...

11 (edited by PanBB.Ru 2016-09-12 12:00)

Re: pun_move_posts BUGs

It is going to be 4 years since I posted this notice/request.

antonio, for this time , it was possible not only to correct the error , but also to write a CMS from scratch  wink

In my opinion, this function should be built into the kernel itself offline. So as, in principle  many extensions.

Re: pun_move_posts BUGs

I do not remember it was fixed here https://punbb.info/t-134.html

Try and report there