Move forum topics

dimitris_s - September 18, 2007 - 11:54

It may be the dumbest question ever, but I haven't seen anywhere an option for moving topics in forums. How can I move topics in forums? :/

So it's not the dumbest

dimitris_s - September 22, 2007 - 22:51

So it's not the dumbest question ever. Nobody knows how to move forum topics? [with the default forum module + forum access]...

http://www.dobro.gr - Online community for Greek students in Bulgaria
http://virgus.no-ip.org - simple designs

=-=

VM - September 22, 2007 - 22:53

you edit the forum topic and change it's forum in the dropdown, with choice of leaving a shadw copy in the original forum.

Thank you very much!

dimitris_s - September 22, 2007 - 22:59

Thank you very much! :)

http://www.dobro.gr - Online community for Greek students in Bulgaria
http://virgus.no-ip.org - simple designs

There's no forum dropdown...

akwala - August 14, 2008 - 05:52

I just set up Drupal, and, created a forum topic, without first creating a forum or container.

I then created a forum.

I now want to move the (orphan) forum topic into the forum I just created. Will I be able to do this?

When I edit the forum topic, the only dropdown I see is under Menu Settings, and it does not show the forum I created.

Drupal version: 6.3

--aslam

=-=

VM - August 14, 2008 - 14:32

If you have a forum taxonomy you should be able to do this easily, if you don't have access to the forum taxonomy drop down on edit. Do you have it on new thread creation ?

also of note: Drupal 6.3 was found to have some XSS exploits. It benefits you greatly to update to Drupal 6.4 so as to protect your site from being exposed by the exploits found in 6.3.

forum taxonomy

akwala - August 15, 2008 - 06:46

What would the forum taxonomy look like, if I had one forum and no containers?

When I tried to create a new forum topic, I didn't see any way to add it to a forum.

As for the 6.4 upgrade, I did it a couple of hours ago.

--aslam

=-=

VM - August 15, 2008 - 12:12

When you enable the forum.module you get the shell of a forum taxonomy.
If you go to create content -> forum topic
you should see a drop down menu with "please choose" in it. There is nothing else there because you've not finished creating the taxonomy.

in administer -> taxonomy. you'll have a vocabulary called forum. You will then need to add terms to this vocabulary. (I'd use forum names)

once you have that, and go back to create content -> forum topic
your drop down, will have those terms add to it.

My suggestion is to start a test site, where you can play with the taxonomy away from your production site.

Thanks!

akwala - August 15, 2008 - 22:11

I don't think the "shell of a forum taxonomy" was created. The Please Choose dropdown was missing entirely, during forum topic create/edit.

There was also no vocabulary. I created one, called "Forums", configured as follows:
- checked content type Forum Topic
- checked setting Required

I then added the term corresponding to the forum name, as you suggested.

After I did this, I saw the Please Choose dropdown, for the first time, in forum topic edit. I was then able to add the orphan forum topics to the forum in the dropdown.

My 2 cents...

Seems to me that I shouldn't have been able to create the orphan forum topics, in the first place. During forum topic create, I should've been required to choose a forum, or asked to create a new forum first. Secondly, the Forums vocabulary should exist if the forum module is installed. Thirdly, the creation of a new forum should also add a corresponding term to the Forums vocabulary.

--aslam

Vocabulary used for forums is not associated with forum.module.

akwala - November 6, 2008 - 23:08

The problem:
The following URLs show that the forums and forum topics are empty when they are not:

/forum/ - all forums show 0 for Topics and Posts, and n/a for Last post

/forum/3 (or any other #/topic) - there's nothing under any of the columns

Background info:
Please see...
- http://drupal.org/node/262541 -- starting at comment #6
- http://drupal.org/node/235571 -- comment #3

As explained in my previous post in this thread, I've ended up creating a vocabulary independently of the forum module. So, I have 2 vocabularies, "Tags" & "Forums", and I've been using the "Forums" vocab as if it were for the forum module, but it's not. Here's the record in table 'vocabulary':

vid | name  |  description | help | relations | hierarchy | multiple | required | tags | module  |   weight
  1 | Forums|              |      |       1   |     2     |     0    |      1   |    0 | taxonomy|   0

The vid for the newly created forum, "Temp Forum", following your instructions, is 0.

How should I fix this? Should I change the module field to "forum" as well? If I do that, what would the ramifications be?

--aslam

Additional info: 'forum' table

akwala - January 3, 2009 - 01:15

See: http://drupal.org/node/231691#comment-762284

Based on all this info, here's what I did to fix the "faux forum vocabulary" problem:

  • Created a new record in the 'vocabulary' table, for the vocab I wanted associated with the forum module, and set its vid to 0.
  • Table 'term_data' had 2 records for every term in the (old) forum vocab: one with vid=1 and the other with vid=0. I deleted the ones with vid=1.
  • Updated the records in 'term_node', for each of the vocab terms, switching their tid from that of the old vocab to the new one. E.g.,
    update term_node set tid=23 where tid=22
  • Added records corresponding to the terms in the new vocab to table 'forum', ensuring that the uniqueness was maintained correctly. E.g.,
    insert into forum select nid,vid,tid from term_node where tid=23
  • Made sure that there was a record in 'vocabulary_node_types' with type="forum" and vid=0.
  • Deleted from 'vocabulary' the record (shown in the previous post) corresponding to the old Forums vocab.

The forum URLs now show the correct info for the forums, and the forum threads are recognized by the Forum Thread module, which wasn't the case before.

--aslam

 
 

Drupal is a registered trademark of Dries Buytaert.