PHPBB has the concept of a "sticky" thread that appears at the top of the list of threads in it's forum listing.

This works in exactly the same way as "Sticky at the top of lists" in Drupal, so the import should mark phpbb sticky threads as sticky in Drupal.

Comments

g10’s picture

Status: Active » Needs review
StatusFileSize
new1.48 KB

phpBB also has 'announcements', which are placed above 'sticky' threads / topics (Drupal does not have this equivalent as far I can see)

the 'post_type' table field contains:
0: normal post
1: sticky
2: announcements

patch in attachment turns every post_type > 0 into a sticky thread (thus announcements become sticky threads)

g10’s picture

hmm, wrong table field, it is not 'post_type' but 'topic_type'

attached patch adjusts this

JeremyFrench’s picture

This looks ok. Testing it out now.

JeremyFrench’s picture

Status: Needs review » Fixed

http://drupalcode.org/project/phpbb2drupal.git/commitdiff/c130cf2 should fix this.

Though it should be noted that announcements are not quite the same and should be handled better, another issue for another day.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.