Skip to content

Instantly share code, notes, and snippets.

PA Nilsson pann

Block or report user

Report or block pann

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@pann
pann / bbpress-to-phpbb.sql
Last active Feb 7, 2018 — forked from iamsteadman/bbpress-to-phpbb.sql
Convert newer-style bbPress forums to phpBB (3.0). Based on code by primehifi (http://mark.tl/1l9HyRR)
View bbpress-to-phpbb.sql
/* If anything goes wrong, let's not muck up the database */
START TRANSACTION;
/* Clear tables and reset IDs */
TRUNCATE TABLE phpbb_forums;
TRUNCATE TABLE phpbb_topics;
TRUNCATE TABLE phpbb_topics_posted;
TRUNCATE TABLE phpbb_topics_track;
TRUNCATE TABLE phpbb_posts;
DELETE FROM phpbb_acl_groups WHERE forum_id > 0;
You can’t perform that action at this time.