GSoC2013

GSoC2013

GSoC2013
Codex Home → GSoC2013
Table of contents

Introduction
Timeline
Ideas
Mentors

Introduction
bbPress is a fully-integrated forum plugin for the popular WordPress web software. It provides forum functionality for over a few hundred thousand WordPress sites, and is most popular for powering the WordPress.com and WordPress.org support sections.
Google Summer of Code is a program in which Google sponsors exceptional college students to develop open source code under the guidance of mentoring open source projects. This year, bbPress is hoping to be a mentoring organisation.
If you know you want to propose a GSoC project around bbPress, but aren』t sure what you want to do, check out our Ideas list below. If you have your own idea for a project, include it in your application and describe it thoroughly. You are not limited to ideas from this list.
Timeline

March 18, 19:00 UTC: Mentoring organizations can begin submitting applications to Google.
March 29, 19:00 UTC: Mentoring organization application deadline.
April 1 – 5: Google program administrators review organization applications.
April 8 19:00 UTC: List of accepted mentoring organizations published on the Google Summer of Code 2013 site.
April 9 – 21: Would-be student participants discuss application ideas with mentoring organizations.
April 22, 19:00 UTC: Student application period opens.
May 3, 19:00 UTC: Student application deadline.

Ideas
Quick Edit forums and topics on dashboard
https://bbpress.trac.wordpress.org/ticket/1394
Provide Quick Edit functionality for forums and topics.
Admin Bar Support
https://bbpress.trac.wordpress.org/ticket/1439
Add admin bar UI and improve code for marking a user as Spam.
Akismet admin UI
https://bbpress.trac.wordpress.org/ticket/1616
Finishing up the API for and building the bbPress/Akismet admin UI to display the spam history and Akismet results.
Bulk actions for forums
https://bbpress.trac.wordpress.org/ticket/1723
Provide Bulk Actions for forums, such as marking topics as closed/spam/etc.
Moderator control panels
https://bbpress.trac.wordpress.org/ticket/1721
Create a `/moderate` section for moderators to use without needing to visit the `wp-admin` area.
Direct login and register links to bbpress login or register page templates
https://bbpress.trac.wordpress.org/ticket/1756
Create direct login and register pages, and/or a sidebar Widget, for bbPress users to avoid sending them to `wp-login.php`.
Very long load times when posting replies if topic has many subscribers
https://bbpress.trac.wordpress.org/ticket/2162
Create a mail queue on `wp_cron` to avoid long loads when a new reply is posted to a topic with many subscribers.
Auto refreshing new replies
https://bbpress.trac.wordpress.org/ticket/1907
AJAX all of the things!
User signatures/sigfiles
(No ticket yet.)
Mentors

John James Jacoby, jjj
bbPress Lead Developer. Interested in projects around BuddyPress and bbPress.

Jennifer M. Dodd, jmdodd
bbPress Core Contributor. Interested in improving moderator experience and capabilities and adding popular user-requested functionality.

Daniel Dvorkin, MZAWeb
bbPress Contributor. Interested mostly in performance, AJAXifing all the things and security, but always open to fun challenges.

phpBB

phpBB

phpBB
Codex Home → Getting Started → Importing Data → Import Forums → phpBB
phpBB v3.x Importer for bbPress
FAQ & Known Issues
Forums

Forum visibility such as moderator or admin only forums will be publicly visible after importing and you need to secure these manually.
『Link Forums』 will be imported as a standard forum without any URL redirect link.

Topics & Replies

『Announcement』 and 『Global』 stickies are imported as bbPress 『Super Stickies』, standard forum 『stickies』 are imported as bbPress 『Stickies』.
Custom phpBB BBCodes are not supported eg. [youtube] – You will have to manually change these yourself either before importing in phpBB or after importing into bbPress using phpMyAdmin.
Smilies are rendered as images if contained in 『code』 tags eg. :)
No file attachments are imported.
All 『Ordered Lists』

    will be displayed as numerical lists.
    You may find extra page breaks
    and paragraph

    elements in topics and replies and is less than ideal and is from the way the BBCodes are converted during the forum import conversion. You will find these primarily around 『blockquotes』 and 『lists』
    If you are using bbPress 『Show Lead Topic』 some of the formatting will be broken, it has been converted correctly and is an issue with the content-single-topic-lead.php template, see trac # (Ticket to follow).
    elements seem to be a hit and miss at the moment, they render sometimes and sometimes not depending on the import. (not very helpful I know, still digging around this issue)
    are not currently enabled to be embedded inline in bbPress by default with topics and replies, everything was converted correctly and we just need to throw some switches and push some buttons before the next release of bbPress to make it work, watch this space.

    Users

    phpBB does not support user profile support for 『First Name』 and 『Last Name』 only 『member_name』 and that will be the WordPress Username.
    Existing passwords are converted during the import so users can login to WordPress/bbPress as soon as the import and recounts have finished.
    phpBB Moderators, Groups, Ranks are not imported, any users you wish to make 『moderators』 or 『keymasters』 you will have to assign these roles manually via the main WordPress Admin User panel (/wp-admin/users.php).
    User 『Personal Messages (PM』s) are not supported or imported.
    User 『Avatars』 are also not supported 『out of the box』 by either WordPress or bbPress, if the users email address is registered with a 『Gravatar this will automatically be used by WordPress and bbPress, otherwise this is plugin territory. (See Note #1 below)
    phpBB Signatures, Location, Occupation and Interests custom profile fields are also not supported by WordPress or bbPress 『out of the box』. (See Note #2 below)

    References
    https://www.phpbb.com/community/faq.php?mode=bbcode
    Notes
    Note #1 – phpBB User Avatars
    The phpBB avatar filename used in phpBB user avatars is imported and stored in the wp_usermeta table as 『_bbp_phpbb_old_user_avatar_filename』. phpBB stores user avatars in /phpbbv3/images/avatars/upload/ and with some tom foolery I am quite sure these can be imported into WP』s media library and with the right plugin enabled quite easily.
    Note #2 – phpBB custom user profile fields stored in wp_usermeta.
    The following custom profile fields are imported into wp_usermeta and as you build your community with WordPress and bbPress, maybe BuddyPress also this should help down the road in converting these values to whatever plugins and profile extensions you decide to use.

    ICQ – 『_bbp_phpbb_old_user_icq』
    MSN Messenger – 『_bbp_phpbb_old_user_msnm』
    Occupation – 『_bbp_phpbb_old_user_occ』
    User Insterests – 『_bbp_phpbb_old_user_interest
    Location 『_bbp_phpbb_old_user_location』
    Signature 『_bbp_phpbb_old_user_signature』 (All BBCode is also converted here into HTML)

啟用視覺化編輯器

啟用視覺化編輯器

在 bbPress 2.3.1 中,WordPress 的視覺化編輯器預設為關閉。要重新開啟它,請在外掛或主題的 functions.php 檔案中嘗試以下程式碼片段:

function bbp_enable_visual_editor( $args = array() ) {     $args['tinymce'] = true;     return $args; } add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );

您還可以透過在函式中新增更多引數來自定義視覺化編輯器。

使用下面的此功能僅顯示視覺化編輯器,而根本不顯示 html 編輯器。

function bbp_enable_visual_editor( $args = array() ) {     $args['tinymce'] = true;     $args['quicktags'] = false;     return $args; } add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );

如果您使用像 TinyMCE Advanced 這樣的外掛,您還可以顯示其他媒體按鈕,如表情按鈕以插入表情。

使用下面的這個函式代替新增新的引數,以便能夠新增新的媒體,如表情按鈕。

function bbp_enable_visual_editor( $args = array() ) {     $args['tinymce'] = true;     $args['teeny'] = false;     return $args; } add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );

請注意,如果您在視覺化編輯器中禁用 teeny 模式並透過 TinyMCE Advanced 外掛允許其他媒體按鈕,您可能需要新增到此功能並將其放入您的子主題 functions.php 檔案中,以允許您的使用者使用一些按鈕,如表格按鈕。

在某些情況下,貼上到視覺化編輯器中的文字會帶來不需要的樣式和 HTML 標記。您可以使用另一個函式來強制清除貼上的文字。這將刪除諸如雜散 HTML 之類的內容,但保留粗體和斜體等基礎知識。

function bbp_tinymce_paste_plain_text( $plugins = array() ) {     $plugins[] = 'paste';     return $plugins; } add_filter( 'bbp_get_tiny_mce_plugins', 'bbp_tinymce_paste_plain_text' );

 

Kunena (Joomla)

Kunena (Joomla)

Kunena (Joomla)
Codex Home → Getting Started → Importing Data → Import Forums → Kunena (Joomla)
Kunena v3.x Forums for Joomla 2.x Importer for bbPress
Placeholder Text
Notes: If your database table prefix is anything other than jos_ you will have to manually edit the table join in the replies section.
Attachments: @cybnet has written a Kunenta attachments to bbPress attachments import tool. Further details can be found in the forum here.

vBulletin

vBulletin

vBulletin
Codex Home → Getting Started → Importing Data → Import Forums → vBulletin
vBulletin v4.x Importer for bbPress
FAQ & Known Issues
Known Issues: Users must reset their password manually using /wp-login.php?action=lostpassword See #1969 for detailed password information.
Forums

Forum visibility such as moderator or admin only forums will be publicly visible after importing and you need to secure these manually.
『Link Forums』 will be imported as a standard forum without any URL redirect link.
『Locked Forums』 will be imported as like a normal open forum, again you can close/lock these via the forums panel in wp-admin and setting the forum attributes status to closed.

Topics & Replies

No file attachments are imported.

Users

vBulletin does not support user profile support for 『First Name』 and 『Last Name』 only 『username』 and that will be the WordPress Username.
vBulletin Moderators, Groups, Ranks are not imported, any users you wish to make 『moderators』 or 『keymasters』 you will have to assign these roles manually via the main WordPress Admin User panel (/wp-admin/users.php).
User 『Personal Messages (PM』s) are not supported or imported.
User 『Avatars』 are also not supported 『out of the box』 by either WordPress or bbPress, if the users email address is registered with a 『Gravatar this will automatically be used by WordPress and bbPress, otherwise this is plugin territory.
vBulletin MSN, Skype custom profile fields are also not supported by WordPress or bbPress 『out of the box』. (See Note #1 below)

References
http://www.vbulletin.com/forum/misc.php?do=bbcode
http://stackoverflow.com/questions/13920322/vbulletin-to-bbpress-conversion-how-can-i-redirect-the-old-urls-to-the-new-one
Notes
Note #1 – vBulletin custom user profile fields stored in wp_usermeta.
The following custom profile fields are imported into wp_usermeta and as you build your community with WordPress and bbPress, maybe BuddyPress also this should help down the road in converting these values to whatever plugins and profile extensions you decide to use.

ICQ – 『_bbp_vbulletin_user_icq』
MSN Messenger – 『_bbp_vbulletin_user_msnm』
Skype』_bbp_vbulletin_user_skype』

Drupal

Drupal

Drupal
Codex Home → Getting Started → Importing Data → Import Forums → Drupal
Drupal v7.22 Importer for bbPress
Note: This current implementation is for the Drupal 『Out of the Box』 forums, if you are looking to convert 『Drupal Advanced Forums』 or 『Artesian Forum』 for Drupal create a ticket on Trac and we will see how we go.
FAQ & Known Issues
Forums

Forum 『Categories』 are imported as a 『Forum』 – You must manually configure the forum types for 『category』 forum type after the import and recounts have finished.

Topics & Replies

Sticky topics 『topic status』 are not set during import, manually 『stick』 any topics after import and recounts are complete. (See trac ticket #2126)

Users

User passwords are NOT converted when importing existing Drupal users, during the import you will see the following error which can be ignored though your users will have to reset their passwords manually with WordPress or request a password reset. Please see Trac Ticket #2375 for more details.

Notice: Undefined variable: user_pass in /home/ntwb/public_html/dev.ntwb.co/wp-includes/user.php on line 1297

Any custom Drupal roles are not converted, any users you wish to make 『moderators』 or 『keymasters』 you will have to assign these roles manually via the main WordPress Admin User panel (/wp-admin/users.php).
Users who have been disabled are now imported, if the user content was 「unpublished」 these are now imported to bbPress with status 「pending」 and need to be 「approved」, if the user was disabled and the user content kept, the user topics and replies will be published with the user ID set to Anoyomous, this mimics Drupal』s existing behaviour for handing disabled and deleted users and content.

References
Original Importer and discussion by @vogelsang https://bbpress.org/forums/topic/importing-from-drupal/
Drupal v8 Importer for bbPress
Drupal v8 is now in 『alpha』 and will be supported once the final v8 is released.

Mingle

Mingle

Mingle
Codex Home → Getting Started → Importing Data → Import Forums → Mingle
Mingle Forums WordPress Plugin v1.0.33.3 Importer for bbPress
FAQ & Known Issues
Forums

Forum 『Categories』 are not imported from wp_forums_groups you will need to manually create these 『parent forums』 and assign the forums to these after the import and recounts have finished.

Topics & Replies
Sticky topics 『topic status』 are not set during import, manually 『stick』 any topics after import and recounts are complete. (See trac ticket #2126)
Custom BBCodes are not supported eg. [youtube] – You will have to manually change these yourself after importing into bbPress using phpMyAdmin.
Smilies are rendered as images if contained in 『code』 tags eg. :)
You may find extra page breaks
and paragraph

elements in topics and replies and is less than ideal and is from the way the BBCodes are converted during the forum import conversion. You will find these primarily around 『blockquotes』 and 『lists』
If you are using bbPress 『Show Lead Topic』 some of the formatting will be broken, it has been converted correctly and is an issue with the content-single-topic-lead.php template, see trac # (Ticket to follow).
elements seem to be a hit and miss at the moment, they render sometimes and sometimes not depending on the import. (not very helpful I know, still digging around this issue)
are not currently enabled to be embedded inline in bbPress by default with topics and replies, everything was converted correctly and we just need to throw some switches and push some buttons before the next release of bbPress to make it work, watch this space.

Users
If you are going to use the same WordPress install for your import you do not need to import the users as they are already in the WordPress wp_users table. If you are setting up a fresh install of WordPress simple check the 『convert users』 option before you start your import.
Any custom Mingle Moderators or Groups are not converted, any users you wish to make 『moderators』 or 『keymasters』 you will have to assign these roles manually via the main WordPress Admin User panel (/wp-admin/users.php).
User 『Favourites』, 『Subscribed Topics』 or 『Personal Messages (PM』s) are not supported or imported.

References
Importing Mingle Forums into bbPress?

Notes