axew3.com

w3all WP phpbb users posts by IDs

by

Since plugin 2.9.6 >

Retrieve last posts or topics for a specified phpBB user ID and display in WordPress

POSTS get last user’s posts

TOPICS get last updated user’s topics

Params:

    'phpbb_uid' => 0,
    'items' => 'topics',
    'num_items' => 8,
    'forum_ids' => '0',
    'ulclass' => 'w3all_user_topics_posts_list',

If the param phpbb_uid is not set or the param forum_ids is not in a correct format the shortcode simply will not work.

Examples:

retrieve Topics for a phpBB user with ID 121 and from specified forums ids 2, 3 and 10 (separated by comma)

[w3allphpbbuserposts items="topics" phpbb_uid="121" forum_ids="2,3,10"]

retrieve 3 Posts for a phpBB user with ID 170 and from a single specified forum id 7

[w3allphpbbuserposts items="posts" phpbb_uid="170" forum_ids="7" num_items="3"]

param num_items: number of topis/posts to retrieve (default 8)

param ulclass: specify the ul class name (default w3all_user_topics_posts_list)

Default wp_w3all_phpbb_user_posts_short.php file:

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

ul list result

Forums IDS 2,3 – latest 6 updated axew3 topics

from forums IDS 2,3,20