AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Solved] Problems for Bulk move topics from one one category to other.

3 Posts
3 Users
0 Reactions
2,593 Views
Posts: 533
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@central4allgmail-com)
Prominent Member
Joined: 8 years ago
[#9832]

The only way to bulk move is to delete category.

Problem 1 ) you cant move bulk topics from subcategory to category

Only Solution : Move category somewhere to become subcategory and delete subcategory .

Problem 2) you cant move bulk selected topics - Solution : None

Selection of multiple topics to moderate must be added in forum. No way for a big forum to move to wpforo if there in mot this function

I hope that you will add a fix for this in a futura update.


2 Replies
Posts: 119
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@nando4)
Estimable Member
Joined: 9 years ago

Had the same requirement, moving 550 topics.  The simplest workaround around by:

1. Creating new forum area for destination topics and note forumID shown in wpforo dashboaard for it

2. Use SQL commands in phpadmin to change forumID of topics to move, eg: use regexp topic title names.

3. Sync post forumIDs to match the topic forumID by selecting wpforo Dashboard -> Rebuild threads *after* adding the following code in RED to class-topics.php.  It would make sense for wpforo team to add this to a future release.

function rebuild_forum_threads( $forumid = 0 ){
if( !$forumid ){
$args = array( 'layout' => 4 );
$forums = WPF()->forum->get_forums( $args );
if(!empty($forums)){
foreach( $forums as $forum ){
$args = array( 'forumid' => $forum['forumid'] );
$topics = $this->get_topics($args);
if( !empty($topics) ){
foreach( $topics as $topic ){
$this->rebuild_threads($topic['topicid']);
// nando4>> when 'thread rebuild' after doing a manual myphpadmin move of topics to a different
// nando4>> we still need to update those topic's posts' forumID
WPF()->db->query( "UPDATE `".WPF()->tables->posts."` SET `forumid` = ". intval($forum['forumid']) ." WHERE `topicid` = ". intval($topic['topicid']) );
}
}
}
}

 


Posts: 1
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@traffickergoogleads)
New Member
Joined: 6 years ago

Thanks for the info. I was going crazy looking for the solution untill I've found this forum.

Thank you!


Share: