WordPress phpBB Latest phpBB Topics shortcode by forums IDS

WP_w3all 1.8.8 or >

Vers. 1.0

see also:
phpBB posts into WordPress post shortcode how to
WordPress phpBB Latest phpBB Topics shortcode how to

and all others listed under the “common how” to section

WordPress phpBB Latest phpBB Topics FOR SPECIFIC FORUMS IDS – shortcode how to

To add a WP_w3all shortcode, and display a list of Latest updated phpBB Topics from specified Forums ID/IDS into a WordPress post/page, the WordPress shortcode to use is like this:

change the topics_number value 5 with the number of Last phpBB topics/posts you need to retrieve and display , AND forums_id value 3,9
based on forum’s ids you like to retrieve posts from. In the above shortcode example it retrieve posts from forums with ID 3 and 9 (substantially, add forum’s IDS separated by comma).
To retrieve posts by a single forum
, just add the single ID
(like on next example).
If you want display Latest Posts with post text, you’ll use the shortcode in this way:

change the text_words value 30 based on how many words you want to display for listed posts. Here we retrieve forum’s posts from an unique  forum with ID 6

About avatars: will use the same settings you choose for avatars in WP_w3all config page.

Note: if you want to add custom style to Last Topics/post shortcode output, the file used by the Last Topics/post shortcode you need to look for, may to add custom modifications in, is:

wp-content/plugins/wp-w3all-phpbb-integration/views/phpbb_last_topics_forums_ids_shortcode.php

From 1.9.7 > (vers. 2)

From Wp_w3all 1.9.7 it is possible to use 3 attributes more on this shortcode which are:

NOTE: if w3_ul_class attribute used, then all these three attributes are processed to be used on the shortcode output. If not present this attribute, the old shortcode way apply.

w3_ul_class=”myClassXUL” will assign myClassXUL class to the UL element wrapper.


w3_li_class=”myClassXLI” will assign myClassXLI class to LI elements inside the UL.

w3_inline_style=”list-style=none;” will output the inline style style=”
list-style=none;”

if going to use w3_inline_style note that special characters inside this attribute, may require to be escaped.

WordPress phpBB integration without linking users

NOTE: from 1.9.4 > this feature become option on plugin admin page, so may it is needed further read more below only if updating from old plugin versions: update the plugin, then login plugin admin and setup as YES the new plugin option

Activate integration without linking users between WordPress and phpBB

Will not be further more necessary to edit the wp_w3all.php file each time plugin update, to set it up the integration as Not Linked Users.

It is possible to use the plugin without linking users between WordPress and phpBB. You can display Last Topics Widgets and Shortcodes to display phpBB Last Posts or Posts content into WordPress Pages/Posts. It is also possible to use the iframed WP page, to display the phpBB forum into a WordPress page (also cross domain*). Without linking users, you may can integrate also a version of phpBB prior (<) of phpBB 3.1 to display phpBB Last Topics Widgets/Shortcodes or phpBB Posts Shorcodes into WordPress.

The plugin can be used in this state also to transfer/migrate users between phpBB and WordPress or viceversa.


It is necessary to activate the plugin: setup the Path and URL setting following instructions into WP admin -> Settings -> WP_w3all config page. You do not need to follow any other further instruction about cookie setup and/or phpBB ACP settings in this case. So after plugin has been activated, by setting Path to a valid phpBB config.php file and URL setting, you can use Widgets Last Topics Posts and use Shortcodes into WP pages and posts, to display phpBB contents or to use the users transfers options in this state. The URL setting if the plugin is merely used to transfer users, is not needed. Just setup the path to a valid phpBB config.php file.

Hint Note*: without linking users between phpBB and WordPress, it is also possible to use the plugin for cross domains installations (not only domain and subdomain). Just create a valid custom phpBB config.php file, as suggested into Wp admin -> WP_w3all config page, and use it.

NOTE: from 1.9.4 this feature has become option, so if updating from old plugin versions, just update the plugin, and repeat the above predure last time: then login plugin admin and setup the new option

Activate integration without linking users between WordPress and phpBB: The Old Way

OBSOLETE step OR to update from old versions prior 1.9.4:

To install WP_w3all integration without linking users, follow these steps:
Install the plugin

open with text editor the file:
/wp-content/plugins/wp-w3all-phpbb-integration/wp_w3all.php
+- on top of the file, search for this line

if on 1.9.4 > and updating you’ll find this instead:

change into

save/replace the edited wp_w3all.php file into plugin folder.

How are users identified when you add/transfer existent user
integration of same username/email users

Problem: i have WordPress users and I have phpbb users, they have different usernames but the same email addresses.

Solutions:

user A into phpBB with email C
user B into WP with email C

user A into phpBB come to try to login WP: NOT added can’t login WP side.

If you use the transfer process of WP users into phpBB:

user A Same above.
user B transferred into phpBB, B now can login into both phpBB and WP.
You’ll have two users into phpBB with same email, which is possible as option into phpBB.

You can also merge posts/users into one user in this way:

Change email to the user B in WP.
Login with the phpBB user A into WP, that will be added, as no same email found.
Now delete user B in WP, and retain posts assigning to A.

Result: an unique user, with all his posts on both phpBB and WP.

NOTE: This is just to give an idea on how to resolve common problems about an integration with pre existent users in phpBB that may have same email. But there are several more possibilities: in phpBB ACP there are many options to manage users and posts, and combining these and from the above, you should get the way to resolve any possible scenario.

Based on this topic: How are users identified? (when adding/transfer existent users)