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

Home » FUDforum » How To » Bulk Move?
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Bulk Move? [message #158549] Tue, 03 March 2009 08:13 Go to next message
idtechiques is currently offline  idtechiques   
Messages: 13
Registered: November 2008
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 09:56 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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 12:00 Go to previous messageGo to next message
idtechiques is currently offline  idtechiques   
Messages: 13
Registered: November 2008
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 15:05 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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 09:44 Go to previous messageGo to next message
idtechiques is currently offline  idtechiques   Canada
Messages: 13
Registered: November 2008
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 10:51 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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 15:43 Go to previous message
idtechiques is currently offline  idtechiques   Canada
Messages: 13
Registered: November 2008
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Will do thanks.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Fri Oct 20 12:25:18 EDT 2017

Total time taken to generate the page: 0.00724 seconds