FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Bulk Move?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Bulk Move? [message #158549] Tue, 03 March 2009 13:13 Go to next message
idtechiques is currently offline  idtechiques   
Messages: 13
Registered: November 2008
Karma: 0
Junior Member
Is it possible to perform a bulk move such as a topic prune function?
Re: Bulk Move? [message #158550 is a reply to message #158549] Tue, 03 March 2009 14:56 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Yes, you can - use the "Move All Selected" and "Delete All Selected" buttons in the topic list

Note the "select all/none" checkbox next to the buttons (new in version 2.8.0).

You may also want to change the "Topics Per Page:" setting in your "Account Settings" so you can move more topics at a time.

Best regards.

Frank
Re: Bulk Move? [message #158552 is a reply to message #158550] Tue, 03 March 2009 17:00 Go to previous messageGo to next message
idtechiques is currently offline  idtechiques   
Messages: 13
Registered: November 2008
Karma: 0
Junior Member
Sad my version is FUDforum 2.6.4RC1.


Going to migrate to the newest in a month.

any other suggestions to work with what I have?

Thanks naudefj! Cool
Re: Bulk Move? [message #158557 is a reply to message #158552] Tue, 03 March 2009 20:05 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
You are on a very very old release. Please upgrade to version 2.7.7 or 2.8.0. If you don't, we're not going to talk the same language.
Re: Bulk Move? [message #158715 is a reply to message #158557] Fri, 13 March 2009 13:44 Go to previous messageGo to next message
idtechiques is currently offline  idtechiques   Canada
Messages: 13
Registered: November 2008
Karma: 0
Junior Member
Going to start to migrate the forum to the most current version of FUDForum.

I looked at the Move function then someone suggested I do the following via script instead of doing it manually per page.

------------------------------------------------------------------
Scripts could be written to do it automatically.

Since topics have date created records in the database, someone could write a script that does something like:

select posts who have a creation date older than 730 days (2 years)
move the results into the "archive" topic
mark all in the 'archive' topic as read-only
------------------------------------------------------------------

Doable?
Re: Bulk Move? [message #158716 is a reply to message #158715] Fri, 13 March 2009 14:51 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Yes, it's doable. Start with something like this:

UPDATE fud26_thread
   SET forum_id = ...
 WHERE datediff(now(), from_unixtime(last_post_date)) > 730;


Also look at the code in admaprune.php.

Please let me know when your script is ready so we can add it to the wiki.
Re: Bulk Move? [message #158732 is a reply to message #158716] Mon, 16 March 2009 19:43 Go to previous message
idtechiques is currently offline  idtechiques   Canada
Messages: 13
Registered: November 2008
Karma: 0
Junior Member
Will do thanks.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: contributions only for registered user
Next Topic: Is there a way to merge threads?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 08:14:17 GMT 2024

Total time taken to generate the page: 0.02610 seconds