Opened 12 years ago
Closed 11 years ago
#2126 closed defect (bug) (fixed)
Forum Importers do not currently import topic 'sticky status'
Reported by: | netweb | Owned by: | netweb |
---|---|---|---|
Milestone: | 2.5 | Priority: | normal |
Severity: | normal | Version: | 2.2 |
Component: | API - Importers | Keywords: | |
Cc: |
Description
None of the current importers include the ability to import a topics 'sticky status'
bbPress/BddyPress Group Forums
- 'Topic' (Default)
bb_topics.topic_sticky = 0
- 'Sticky'
bb_topics.topic_sticky = 1
- 'Stick to front'
bb_topics.topic_sticky = 2
phpBB
- 'Topic' (Default)
phpbb_topics.topic_type = 0
- 'Sticky'
phpbb_topics.topic_type = 1
- 'Announcement'
phpbb_topics.topic_type = 2
- 'Global Sticky'
phpbb_topics.topic_type = 3
SimplePress
- 'Topic' (Default)
sp_sftopics.topic_pinned = 0
- 'Sticky'
sp_sftopics.topic_pinned = 1
vBulletin & Invision - Update also when DB schema is available.
bbPress 2.x 'Sticky' Status stored in wp_postmeta
eg.
meta_id | post_id | meta_key | meta_value |
322139 | 139026 | _bbp_sticky_topics | a:1:{i:0;i:139046;} |
In above example '139026' = 'Parent Forum ID' and '139046' = 'Topic ID'
bbPress 2.x 'Super Sticky' Status stored in wp_options
eg.
option_id | option_name | option_value | autoload |
5468 | bbp_super_sticky_topics | a :1:{i:0;i:139047;} | yes |
In above example '5468' = ??? and '139046' = 'Topic ID'
Related Ticket to follow RE 'Super Sticky = wp_options & 'Sticky' = wp_postmeta
Attachments (3)
Change History (15)
#2
@
12 years ago
Above in 2126.diff I have not added callback_sticky_status
as this is needed for all the converters to update wp_options
and wp_postmeta
.
I am not sure if this should be a callback_
in each converters own file or if this should be in converter.php either way I need someone else to write that or give me some pointers on how it should be done ;)
#3
@
12 years ago
- Milestone changed from Awaiting Review to 2.4
Cool. Moving to 2.4, so we can address it then.
#4
@
12 years ago
Mingle Forums
- 'Topic' (Default)
wp_forum_threads.status
=open
- 'Sticky'
wp_forum_threads.status
=sticky
#8
@
11 years ago
In 2126.1.diff
Include stickies and super stickies import capabilities for the following forum importers:
- AEF
- bbPress1
- Drupal7
- Example
- FluxBB
- Invision
- Mingle
- MyBB
- phpBB
- PHPFox
- PunBB
- SimplePress
- vBulletin v4.x
- vBulletin v3.x
- Xenforo
- XMB
#12
@
11 years ago
- Keywords commit removed
- Resolution set to fixed
- Status changed from new to closed
In r5170
Include 'sticky' and 'super sticky' import capabilities for the following forum importers:
AEF, Drupal7, Example, FluxBB, Invision, Mingle, MyBB, phpBB, PHPFox, PunBB, SimplePress?, vBulletin v4.x, vBulletin v3.x, Xenforo and XMB forum importers
Related: phpBB 'Global Sticky' #2127 Imported phpBB 'Global Stickies' have invalid forum id