{"id":4326,"date":"2019-12-02T17:30:14","date_gmt":"2019-12-02T16:30:14","guid":{"rendered":"https:\/\/www.axew3.com\/w3\/?p=4326"},"modified":"2025-05-15T23:13:38","modified_gmt":"2025-05-15T21:13:38","slug":"shortcode-phpbb-pm-into-wordpress","status":"publish","type":"post","link":"https:\/\/www.axew3.com\/w3\/2019\/12\/shortcode-phpbb-pm-into-wordpress\/","title":{"rendered":"Shortcode: phpBB PM into WordPress"},"content":{"rendered":"\n<p class=\"has-text-align-left wp-block-paragraph\">WP_w3all phpBB PM into WordPress shortcode version 1.0<\/p>\n\n\n\n<p class=\"has-text-align-left has-text-align-center wp-block-paragraph\"><strong>check all others shortcodes listed <\/strong><a href=\"https:\/\/www.axew3.com\/w3\/wordpress-phpbb-integration-install\/#commonHowto\"><strong>under the &#8220;common how&#8221; to section<\/strong><\/a><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><code>&#91;w3allphpbbupm]<\/code><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The <em>w3allphpbbupm<\/em> shortcode display phpBB Private Messages count into a div, which html output result will be by default something like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;div id=\"w3pm_id\" class=\"w3pm_class\">&lt;a href=\"https:\/\/localhost\/wp51\/phpBB3\/ucp.php?i=pm&amp;folder=inbox\">You have 1 unread forum PM&lt;\/a>&lt;\/div><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To display this way, you&#8217;ll add the shortcode as is:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><code>&#91;w3allphpbbupm]<\/code><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To change attributes <em>class name<\/em>, <em>id<\/em> or to get a element link with <em>target _blank<\/em> or to add inline style to the div element, params are:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><code>     'w3pm_class' =&gt; 'w3pm_class',\n     'w3pm_id' =&gt; 'w3pm_id',\n     'w3pm_inline_style' =&gt; '',\n     'w3pm_href_blank' =&gt; ''<\/code><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">so for example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;w3allphpbbupm w3pm_class=\"myclass\" w3pm_id=\"myid\" w3pm_inline_style=\"padding:10px;border:1px solid grey;\" w3pm_href_blank=\"1\"]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To set the <code>target=\"_blank\"<\/code> pass as on the example the <code>w3pm_href_blank=\"1\"<\/code> argument with value 1.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WP_w3all phpBB PM into WordPress shortcode version 1.0 check all others shortcodes listed under the &#8220;common how&#8221; to section The w3allphpbbupm shortcode display phpBB Private Messages count into a div, which html output result will be by default something like this: To display this way, you&#8217;ll add the shortcode as is: To change attributes class [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,234],"tags":[42,116,194,41,195],"class_list":["post-4326","post","type-post","status-publish","format-standard","hentry","category-wordpress-phpbb-integration","category-wordpress-phpbb-shortcodes","tag-phpbb","tag-pm","tag-private-message","tag-wordpress","tag-wordpress-phpbb-pm"],"_links":{"self":[{"href":"https:\/\/www.axew3.com\/w3\/wp-json\/wp\/v2\/posts\/4326","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.axew3.com\/w3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.axew3.com\/w3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.axew3.com\/w3\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.axew3.com\/w3\/wp-json\/wp\/v2\/comments?post=4326"}],"version-history":[{"count":3,"href":"https:\/\/www.axew3.com\/w3\/wp-json\/wp\/v2\/posts\/4326\/revisions"}],"predecessor-version":[{"id":8345,"href":"https:\/\/www.axew3.com\/w3\/wp-json\/wp\/v2\/posts\/4326\/revisions\/8345"}],"wp:attachment":[{"href":"https:\/\/www.axew3.com\/w3\/wp-json\/wp\/v2\/media?parent=4326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.axew3.com\/w3\/wp-json\/wp\/v2\/categories?post=4326"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.axew3.com\/w3\/wp-json\/wp\/v2\/tags?post=4326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}