PunBB Resource

Your ultimate PunBB resource!

Keywords:

    (Extended)

You are not logged in.

#1 2008-02-16 08:44:33

fpouget
Member
Registered: 2006-01-21
Posts: 20

MovePost 1.3

Code:

##
##
##        Mod title:  MovePost Mod
##
##      Mod version:  1.3
##   Works on PunBB:  1.2.16 (should work with all 1.2.*)
##     Release date:  2008-02-16
##           Author:  Frédéric Pouget (fpouget at georezo dot net)
##
##      Description:  This mod will allow to move post between topics
##                    posted in PunBB 1.2.16
##
##   Affected files:  footer.php
##                    moderate.php
##                    viewtopic.php
##                    include/functions.php
##                    lang/[language]/common.php
##                    lang/[language]/topic.php
##
##       Affects DB:  No
##
##         Language:  Dutch, English, French, Italian, Polish, Swedish
##
##            Notes:  Description:
##                    This mod allow to move to an other topic in any forum, a 
##                    post, or a selection, or all the posts belong to the 
##                    original topic. It allow too to create a new topic where 
##                    the post(s) will be moved. Is possible to move a post in a
##                    new topic giving only the topic_id.
##                    This mod allow too merging several topics.
##                    
##                    1.3 News features:
##                    - Select several post and move them in one step (tx 505)
##                    - Merge several topics in one step.
##                    
##                    1.3 Bug fixed:
##                    - Update forum table.
##                    
##                    Files upgraded since 1.2:
##                    footer.php
##                    moderate.php
##                    include/functions.php
##                    lang/[language]/common.php
##                    
##                    Use:
##                    1 To move a Post just follow the link "Move" on the bottom
##                    of each post and follow the instructions. 
##                    
##                    2 To move several Posts follow the link on the bottom of 
##                    Topic's page "Move multiple posts" and follow the
##                    instructions.
##                    
##                    3 To merge several topics, on forum's page go to 'Moderate
##                    forum', select the topics and press the button 'merge'.
##
##       DISCLAIMER:  Please note that "mods" are not officially supported by
##                    PunBB. Installation of this modification is done at your
##                    own risk. Backup your forum database and any and all
##                    applicable files before proceeding.
##
##

Download here

Offline

 

#2 2008-02-16 08:50:12

fpouget
Member
Registered: 2006-01-21
Posts: 20

Re: MovePost 1.3

My first mod Upgraded

Hope the new features will be helpfull :
- Select several post and move them in one step (thanks to 505)
- Merge several topics in one step: all the topics should be merge within the oldest selected topic.

This 1.3 version in not related to PunBB 1.3 Is only for the 1.2.* smile

Last edited by fpouget (2008-02-16 13:46:48)

Offline

 

#3 2008-03-25 17:45:57

pieniadz
New member
Registered: 2008-03-25
Posts: 1

Re: MovePost 1.3

one small fix missing ">
open movepost.php and change

Code:

<form id="movepost_move" method="post" action="movepost.php?<?php echo (isset($post_ids)?'ids='.$post_ids:'id='.$post_id) ?>"><? if ($new_fid) echo '&new_fid='.$new_fid;?>">

to

Code:

<form id="movepost_move" method="post" action="movepost.php?<?php echo (isset($post_ids)?'ids='.$post_ids:'id='.$post_id) ?><? if ($new_fid) echo '&new_fid='.$new_fid;?>">

Offline

 

#4 2008-07-01 03:17:09

eric235u
Member
Registered: 2007-04-25
Posts: 58
Website

Re: MovePost 1.3

there seems to be a mistake on the readme.txt line number 127.

thanks.

Offline

 

#5 2009-05-29 08:09:09

natebeaty
New member
Registered: 2005-10-16
Posts: 5

Re: MovePost 1.3

eric235u is right, specifically:

Code:

#---------[ 10. FIND (line: 87) ]----------------------------------------------
#
// Move one or more topics

should be:

Code:

#---------[ 10. FIND (line: 287) ]----------------------------------------------
#
// Move one or more topics

Offline

 

#6 2013-09-15 23:51:11

doki
Member
Registered: 2007-04-30
Posts: 225

Re: MovePost 1.3

Tested working on punbb+

just follow the minor fix here:
http://www.punres.net/viewtopic.php?pid=23432#p23432

and the post above.

Offline

 

Board footer

Based on PunBB
© Copyright 2002–2005 Rickard Andersson

© Copyright 2004–2006 Kristoffer Jansson

User contributed files are property of their respective owners.