WP W3ALL 2.4.0> phpBB to WordPress

WP w3all WordPress phpBB plugin install help page

The phpBB to WordPress way

The faster, easy and secure

WordPress phpBB 2.4.0 > integration by email

Note: follow this instead, if you want to integrate, configuring the WordPress to phpBB integration way.

The difference between this way to integrate, respect the WordPress to phpBB way, is mainly one: update changes done by users or admins into their phpBB profiles, are updated into WordPress for the same user, when the same user will visit the WordPress side as logged user in phpBB , or when will login in the WordPress side. Because this is a WordPress plugin (along next 2.4.0> releases, may a phpBB extension will be provided that will allow a complete update at mean time integration in the phpBB to WordPress way, adding or updating users in WordPress at mean time when updates occur in phpBB side). It is possible to use redirects tricks: if you want to force user addition into WordPress when user register OR login in phpBB using redirects tricks check this:
Add user into WordPress when register OR login in phpBB side

The other important thing that you need to consider, integrating in the phpBB to WordPress way, so where you’ll leave users to update their email and register only in phpBB, is that since the integration works by email, if you let users login in WordPress also, this is the case where the plugin may works as unexpected, because when searching for user by email on WP login action, and the email has been changed in phpBB, there is no way to check a match for the same user if usernames/email pairs mismatch. The user could so try to login by username, and will work if username match, but if it mismatch (the integration works by email, but try to check for username in this case, when a match not found by email) and phpBB usernames with forbidden WP characters have been may added in WP after removing those forbidden chars, so (also) the username will not match OR will match the username of some other user!

Consider that if you let users login in WordPress side in this scenario, an user that change his email in phpBB, then come to login into WordPress using email (because you allow users to login also in WP) the user will not be able to login by email, but only by username until a login not executed (that will cause so the email to be updated, based on username) and if username match. For the same reason, usernames on both phpBB and WordPress needs to match in this case.

In the phpBB to WordPress way you so choose to let users to Login, Register, Update Password in phpBB side BUT if managing an integration where mismatching usernames exists in some case, you SHOULD SO (it is REQUIRED in this case) LEAVE USERS to Register and update their email ONLY IN WordPress.

Note that it is not mandatory to transfer old phpBB users into WordPress when integration start, anyway there is a transfer option on plugin admin that you can activate to transfer old phpBB users into WordPress. Note also that as admin, if you want to change an email for an user at mean time also in WordPress when you change it may via phpBB ACP, you’ll have to do the same for the same user in WordPress, or until the same user will not visits the WP side, you’ll not see the same update in WordPress.

Consider that as WordPress admin, you could see that so in phpBB there are users that are still not existent in WordPress. The reason is the above explained when using the plugin in the phpBB to WordPress way.

This mode to integrate, phpBB to WordPress way, require as MANDATORY to disable user’s registration in WordPress and avoid user’s email change in WordPress. It is your task to not allow user’s registration and email update in WordPress side.

About the way on how phpBB usernames containing forbidden and not allowed characters into WordPress, are added or transferred into WordPress since 2.4.0> read this post:

phpBB usernames with forbidden characters in WordPress

Disable registration in WordPress, and be sure that users are NOT allowed to change/update password in WordPress.

Said all that, you need to follow same instructions, configuring phpBB and WordPress, as explained on WP to phpBB help, where

To Install and Configure

FOLLOW THESE STEPS

wordpress-phpbb-integration/#installAndConfig

Follow phpBB Side and WordPress Side steps on that page, and remember (again) that it is your task to avoid user’s email update, and registration in WordPress, configuring based on all said above the integration in the phpBB to WordPress way.

More considerations:

…..

phpBB WordPress template integration (iframe v4)

v4 version (for cool people)

FROM 2.1.1 USE V5 code: https://www.axew3.com/w3/2020/01/phpbb-wordpress-template-integration-iframe-v5/

OLD CODE: cool people moved to V5

FROM 2.1.1 USE V5 code: https://www.axew3.com/w3/2020/01/phpbb-wordpress-template-integration-iframe-v5/

SINCE 2.1.1 the following code, even if still working with his related page-forum (linked below) into any plugin version, is now obsolete.

PAGE HELP – JS code – UPDATED on 15 Gen 2020
(related addons/page-forum.phpupdated on 14 Gen 2020)

wp-w3all-phpbb-integration/tags/2.1.0/addons/page-forum.php

wp_w3all plugin 1.9.9 until 2.1.0

phpBB SEO mods compatible – (READ ALL this page)

wp_w3all responsive iframe procedure

WordPress phpBB iframe template integration

MEMO: to update to latest v4 code, you’ll need to rebuild page-forum.php (or whatever you named it) via plugin admin, OR manually substitute it into your active WP template folder, with the new one that you find/copy into /wp-content/plugins/wp-w3all-phpbb-integration/addons. You’ll need to update also the iframeResizer.contentWindow.min.js file you added into phpBB root, with the new one you find into /wp-content/plugins/wp-w3all-phpbb-integration/addons/resizer folder. Done this, substitute the phpBB overall_header.html and overall_footer.html code (re-adding needed values) with the new v4 code here below. Do not forget to rebuild phpBB template to make phpBB template modifications take effect.

 Domain/subdomains installations it’s REQUIRED to read this: How to Domain/subdomain iframe template integration

WP_w3all template integration steps

After you built/create the WP forum template page via option
WP_w3all phpBB embedded on WordPress Template
on WP_w3all admin config page, and the blank page on WordPress Admin -> Pages -> Add New, titled the same of created wp_w3all template page, so forum or board  etc (then you’ll have into your active WordPress template folder a file named page-forum.php or page-board.php etc), to complete the procedure and get the responsive iframe height for the embedded/iframed phpBB into WordPress template page you need:

overall_footer.html code

Open with a text editor your phpBB template file overall_footer.html

and just before the closing </body> tag, add this code (do not select rows numbers on copied code):

after you pasted this code into phpBB overall_footer.html
edit following lines:

change localhost to fit your domain name (example axew3.com)
do NOT add http(s):// OR the point in front nor anything else, just add
yourdomain.com or set it as localhost if on localhost test. If phpBB is at subdomain.domain.com, add domain.com as value
(MANDATORY!) or resizer won’t work
now check the other line to change:

change value
https://localhost/wp53/forum
on this line, to point to the URL of the WordPress created/named forum page (do not add final slash and change http or https as needed)
MANDATORY!

Finally, check this line

in the code you added (last line): this should correctly point to the iframeResizer.contentWindow.min.js file that you’ll go to add into phpBB root folder. You need to use the absolute URL (use http or https as needed, and adjust the url to fit your needs)
(MANDATORY!) or resizer won’t work

AFTER EDITED, save and load the modified overall_footer.html into your phpBB style folder, overwriting the default one, and so

load through ftp on the phpBB root folder (or copy/paste), the file
iframeResizer.contentWindow.min.js
that is contained inside folder
wp/wp-content/plugins/wp-w3all-phpbb-integration/addons/resizer

After this, phpBB require to recompile the template, or modifications to template files not affect (to overall_footer.html in this case). Open phpBB ACP, and so under:

Server Configuration -> Load settings -> Recompile stale style components set to YES and save. Load one time a phpBB full forum page. Leave as is at moment, especially if you follow adding also the code on overall_header.html (more below) to redirect any phpBB direct URL to the iframed WP page: then after tested that all work fine, return to ACP, and reset to NO and save. This step is needed to load the template modifications on phpBB (and any time you edit a phpBB template file to for modifications take effect), but this option should be ever set to NO into an online/production site to save server resources. It is normally set to yes only for testing/devel purpose or to apply modifications on phpBB templates files.

overall_header.html code

The new V4 w3all iframe code do not use anymore htaccess to force redirects, but use pure Javascript (reload) code, that as you may imagine, lead to some different result: you’ll not have to edit phpBB notification links on phpBB notification files as on V1 or V2 code, to force users redirect to iframe when they click (for example) on notification email link or some other forum’s link. But in this case, any user except bots, will be redirected (as code is, but it can be easily changed to assume different behaviors, may excluding admins or moderators etc) to the WP iframed page, if the forum accessed via real phpBB url.

If you want phpBB email notification links or any phpBB direct url to be redirected to the wp iframed forum page follow this step:

Open with a text editor your phpBB template file overall_header.html

and just immediately after this code (or by the way, just before the closing tag </head>)

add the following code:

On added code, change URL on the line where (line 3):

to fit/point to the WordPress iframed forum page: DO NOT ADD final slash and setup as http or https as needed.

All working!?

Reset to No the Recompile phpBB template option, here we go!

NOTE: if you added the code above into phpBB overall_header.html then you’ll never activate (it is not active by default) this part of the code you added into the overall_footer.html:

P.s – whenever you want: to get the iframe responsive for ACP phpBB admin panel, read this post. My (personal) suggestion is to stop here and try to use the integration leaving ACP out of iframe joke. If by the way you want to follow, before to apply then you’ll have to little change the above code for overall_footer.html and overall_header.html in this way:

on code for overall_footer.html remove this part:

on code for overall_header.html remove this part:

change into:

* For domain/subdomain installations
READ THIS HOW TO:
How to Domain/subdomain iframe template integration

Refer to v2 or v1 code for htaccess old solution editing phpBB notifications files.

Shortcode: phpBB PM into WordPress

WP_w3all phpBB WordPress 1.9.9 >

WP_w3all phpBB PM into WordPress shortcode version 1.0

check all others shortcodes listed under the “common how” to section

The [w3allphpbbupm] shortcode just display phpBB Private Messages count into a div, which html output result will be by default like this:

<div id="w3pm_id" class="w3pm_class"><a href="https://localhost/wp51/phpBB3/ucp.php?i=pm&folder=inbox">You have 1 unread forum PM</a></div>

To display this way, you’ll add the shortcode as is: [w3allphpbbupm]

To change attributes class name, id or to get a element link with target _blank or to add inline style to the div element, arguments that are possible to pass are:

'w3pm_class' => 'w3pm_class',
'w3pm_id' => 'w3pm_id',
'w3pm_inline_style' => '',
'w3pm_href_blank' => ''

[w3allphpbbupm w3pm_class="myclass" w3pm_id="myid" w3pm_inline_style="padding:10px;border:1px solid grey;" w3pm_href_blank="1"]

w3pm_class and w3pm_id are setup by default with same name as value for the id and class div’s element attributes if not passed as arguments, others two w3pm_inline_style and w3pm_href_blank simply not affect if not passed.

To get target="_blank" , pass as on example the w3pm_href_blank="1" argument

[w3allfeed] RSS raw examples

How to use w3allfeed shortcode

These examples show raw results (scroll down to see RSS from external resource) of the w3allfeed shortcode used like this, with little style applied to li elements:

that grab last 3 forums news within this same domain forum:

Latest 3 news from axew3.com forums

  • When a WP user changes role...

    Hi. We have a membership site using Woocommerce Memberships and Subscriptions plugins which takes automaic recurring subscription payments for access to certain parts the site. Included in their membership is access to the phpBB forum which they can't access without joining or renewing on the website.

    Question: When a membership lapses, i.e. a membership is not renewed or a payment fails, and the user no longer has status of Customer, would this automatically remove login priviledges to the phpBB forum? I believe it should, but it does not seem to. What configuration options should i look out for?

    Thanks for your help!

    Statistics: Posted by thewebguys — Fri Nov 05, 2021 3:20 pm — Replies 1 — Views 89


  • Testing 2.4.5 new coming release

    Hello cool guys and really sorry for the delay! I'm alive, still free, and full of hopes ;)

    I'm over to check all forum's questions, searching for patches to apply where required.
    Started yesterday dedicating some time, and tested by the way the 2.4.4 code working fine into wp 58 without any problem (until now).

    Please, remember me in reply if you like, anything you note that require to be may adjusted (and i probably will forget since options and configurations lead to numerous integrations scenarios). I will look into topics these days.

    Any hint here will be really appreciated!

    One i've found really strange:

    i setup the option "add user in phpBB as deactivated when register in wordpress"
    result: user active in phpBB.
    REASON:
    when WordPress create a new user, immediately after, the profile_update hook fire.
    The reason why this happen is not clear to me, since it was intended that this hook should fire only when an user update his profile,
    and not when it is created, or is it (mine) a wrong consideration?

    An rc release will provided very asap in these days or 2.4.5 will be directly released if i will have the time to test it out about everything (or the most).

    p.s I also appreciated any of yours support, that i felt along my bad time, in any way it had happen.
    Really appreciated. And so helpful.
    Thank you!

    Statistics: Posted by axew3 — Thu Oct 28, 2021 2:18 pm — Replies 1 — Views 98


  • Integration has stopped working

    Hi

    The integration on our site has stopped working suddenly 24 hours ago. Users now can not login to the Wordpress site using their existing passwords, but can login to the forum.

    I logged in as WP admin and changed the password of one user who's details I know, and now they can login to the WP site but they have to log in separately to the forum.

    Nothing changed and this started happening suddenly.

    Any ideas please?

    Thanks
    Jon

    Statistics: Posted by thewebguys — Thu Jul 29, 2021 7:44 am — Replies 0 — Views 518


News from engadget.com

Latest 5 news from – engadget.com/rss.xml – target _blank – inline styled, used like this:

  • Apple's 2021 App Store Awards highlight 'connection'

    Last year, Apple focused on quarantine life for its App Store Awards. For 2021, it's continuing that concept with a focus on "connection" as its trend of the year — basically, things that brought us together even though we're still dealing with a global pandemic. That trend award was bestowed upon five apps, including familiar names like Bumble and Among Us!. But the niche winners are even more interesting: there's EatOkra, an app that helps you find black-owned restaurants; Canva, which helps anyone create pro-grade designs; and Peanut, a social network focused on connecting women to find support throughout major life events.

    You'd probably be surprised by some of the winners for Apple's mainstay categories too: the Apple TV app of the year was the boxing streaming service Dazn, something I've admittedly never heard of. The Apple TV game of the year, Space Marshals 3, also came out of seemingly nowhere. But the strong review scores for both of those apps make it clear that users genuinely enjoy them.

    While the App Store Awards are very much a marketing exercise, it's also a useful way to highlight some of the best apps users may have missed. (And I'm sure developers appreciate the recognition, and the aluminum App Store icon they can display on their shelves.) LumaFusion, the best iPad app of the year, makes complex multi-track video editing easy to do with your fingers. And Carrot Weather, the best Apple Watch app, looks like a truly unique watch face.

    Apple App Store Award on a shelf
    Apple

    Here are the rest of Apple's App Store Awards for 2021: 

    • iPhone app of the year: Toca Life World

    • Mac App of the year: Craft

    • iPhone game of the year: League of Legends: Wild Rift

    • Mac game of the year: Myst

    • iPad game of the year: MARVEL Future Revolution

    • Apple Arcade game of the year: Fantasian (the incredible RPG from the creator of Final Fantasy)

  • Apple reportedly warned suppliers of slowing demand for iPhones

    Apple may be struggling with both demand and supply when it comes to the iPhone 13 lineup. According to Bloomberg, the tech giant has told its component suppliers that demand for its biggest moneymaker has weakened just before the holiday season. 

    Back in October, the organization reported that Apple lowered the lineup's production goal to 80 million units — 10 million less than its original target — due to the lack of parts. However, the company was expecting to make up for the loss next year when component supplies are set to improve. Now, Apple has reportedly told its suppliers that the orders it was expecting to get next year might not materialize at all. 

    The global chip shortage has had significant effects on companies across industries, forcing tech companies and automakers to significantly slash their production targets. In addition to lowering the iPhone 13's production goals, Apple reportedly chose to cut back on the iPad's production to be able to allocate more chips for its new phones. But some potential buyers may already have decided to skip this generation altogether after they were faced with lengthy wait times and lack of stocks at retailers. Especially since reports suggest that the iPhone 14 will be a major upgrade and will represent a complete redesign of the company's mobile devices. 

    Despite the weakening demand, analysts are still expecting Apple to reveal a sales increase of 6 percent in the final three months of 2021. It remains to be seen whether slower demand for the iPhone 13 will have a significant effect on Apple's numbers next year, seeing as its phones have been the biggest contributors to its revenue for years. 

  • The Rhodes electric piano is back with a hefty price tag

    After months of teasing, the legendary Rhodes piano is back, with Rhodes Music Group opening pre-orders for the new MK8 model on Wednesday. It costs an eye-watering $9,450. And that's only the price of the base model. Want the rad transparent hood? That's an extra $575. How about a walnut bottom shell? Add another $1,095.

    With all the possible extras, you can expect to pay $12,640 for a single MK8. That's a lot when you consider you can find a vintage Rhodes for as little as $2,500, and they're still highly desirable.

    If the price of the MK8 doesn't scare you away, we suggest you order one as soon as you can. With each one assembled by hand at the company's factory in Leeds, England, Rhodes only expects to manufacture about 500 MK8 units in 2022. You can claim a place in line by paying for one in full or putting down a 20 percent deposit. Shipments of the preamp-only model will begin in the first quarter of 2022, with the effects panel one to follow before the second half of the year.

    It's hard to overstate how important the Rhodes piano has been to the history of contemporary popular music. It was crucial to the evolution of jazz and rock and roll in the '60s, with Kieth Jarrett and Ray Manzarek just some of the musicians who used the instrument to create incredible melodies. More recently, it has made its presence felt in tracks from Nils Frahm and Thom Yorke. And now it has the chance to inspire a new generation of musicians. 

  • Qualcomm is making 5nm ARM chipsets for Windows laptops

    Qualcomm is expanding its lineup of ARM-based chips for Windows and Chromebook with Snapdragon 8cx Gen 3 and 7c+ Gen 3 platforms. In addition, the company aims to power handheld gaming devices using Snapdragon G3x Gen 1 chipsets.

    Snapdragon 8cx Gen 3, which builds on last year's Gen 2, is the first 5nm PC platform, according to Qualcomm, which designed it with ultra-slim and fanless laptops in mind. It says that moving to a 5nm process node and other optimizations allowed for improved Kryo CPU performance while sustaining similar power consumption levels as Gen 2 chipsets. The company claims the chipsets will deliver up to 85 percent improved performance compared with the previous generation and up to 60 percent better per-watt performance than x86 chips.

    Along with 5G and WiFi 6/6E connectivity, the platform is said to offer multi-day battery life, upgraded camera and audio functions and chip-to-cloud security. Systems with 8cx Gen 3 chipsets will be able to take advantage of "29+ TOPS of AI acceleration," which Qualcomm claims is three times the performance of "the leading competitive platform." The AI acceleration could speed up tasks like face detection and background blur on calls. In addition, Snapdragon 8cx Gen 3 supports up to 4K HDR camera quality, and as many as four cameras.

    Qualcomm also says 8cx Gen 3 will offer up to 60 percent improved performance over previous-generation chips during GPU-intensive tasks thanks to the Adreno GPU. You'll be able to play games in Full HD at up to 120 fps, and Qualcomm claims the platform is optimized to let folks play up to 50 percent longer "than certain competing platforms."

    Qualcomm Snapdragon 7c+ Gen 3 chipset.
    Qualcomm

    As for Snapdragon 7c+ Gen 3, that platform's designed for entry-level PCs and Chromebooks, and it emerged only six months after the previous generation. It too supports 5G, both sub-6 and mmWave, thanks to the inclusion of the Snapdragon X53 5G Modem-RF system. You can also expect Wi-Fi 6 and 6E support. Qualcomm says the 6nm 7c Gen 3 platform will deliver up to 40 percent improved CPU performance and as much as 35 percent improved graphics performance over the previous-gen chipsets.

    ARM-based Windows machines haven't exactly set the world alight, and it remains to be seen whether Qualcomm can help the Windows on Snapdragon platform turn the corner with its latest, more powerful options. Devices with Snapdragon 8cx Gen 3 and 7c+ Gen 3 chipsets are expected to debut in the first half of 2022.

    Qualcomm Snapdragon G3x Gen 1 chipset on top of a handheld gaming device.
    Qualcomm

    Elsewhere, Qualcomm is making moves in a new chipset category: gaming handhelds. It says the Snapdragon G3x Gen 1 Gaming Platform will support game streaming from consoles and PC, cloud gaming services and Android games and apps. The Adreno GPU can run games at 144 fps and at 10-bit HDR, according to the company, while the FastConnect 6900 system offers 5G mmWave and sub-6 and WiFi 6/6E connectivity.

    To show off the platform, Razer collaborated with Qualcomm on a handheld gaming dev kit that's available to developers starting today via Razer's website. The device features a 120hz, 6.65-inch OLED display with 10-bit HDR support, four-way speakers and a built-in controller. The device can even be used for live streams that include audio and video feeds from players, since it has a 1080p 60 fps camera and dual mics.

    Should Snapdragon-powered handhelds come to market, they'll be vying against the likes of the Nintendo Switch, Steam Deck, smartphones and tablets. It's a competitive sector, but one that's growing rapidly, so there might be room for devices with Qualcomm chipsets to carve out a niche.

    A person sits on rocks by the beach, playing a game on a handheld gaming device created by Razer.
    Qualcomm
  • Square is rebranding itself as 'Block'

    Payments firm Square plans to change its name to Block as cryptocurrencies and other blockchain technologies become a bigger part of its business. On Wednesday, the company announced it will move forward with the rebranding on December 10th.

    “The name has many associated meanings for the company — building blocks, neighborhood blocks and their local businesses, communities coming together at block parties full of music, a blockchain, a section of code, and obstacles to overcome,” the company said in a blog post.

    When Jack Dorsey co-founded Square in 2009 shortly after his first stint as CEO of Twitter, the company’s only product was its namesake card reader, which allowed merchants to process credit card payments with their phones. Since then, its business has expanded to include stock and crypto trading, money lending and more. This year, Square even bought a majority stake in Tidal. And it’s that expansion from that the rebranding is designed to encapsulate.

    “We built the Square brand for our Seller business, which is where it belongs,” Dorsey said. “Block is a new name, but our purpose of economic empowerment remains the same. No matter how we grow or change, we will continue to build tools to help increase access to the economy.”

    The move comes in the same week that Dorsey stepped down as the CEO of Twitter. Since 2015, he had led both Twitter and Square, a position that eventually led to pressure from activist investment firm Elliott Management. In a lot of ways, the rebranding is also reflective of Dorsey’s well-known enthusiasm for cryptocurrency. After all, this is the man who wanted the world to know he has a Bitcoin clock in his kitchen. He recently announced Square would build a Bitcoin hardware wallet, and “consider” a mining system.

Shorcode: RSS feeds into WordPress

WP_w3all phpBB WordPress 1.9.7 >

WP_w3all feed version 1.0

check all others shortcodes listed under the “common how” to section

Note that substantially this shortcode can substitute with easy all others old phpBB last topics shortcodes. It can retrieve any kind of posts/topics list and display as more like using style/classes or inline style. Follow read more below …

Note: this shortcode work ok also if a valid path to a phpBB config.php file has not been setup and the plugin result as not activated (RED text) on plugin admin page

Note also that this shortcode as it is coded, like the related WP hook, caches results for 12 hours by default

Look two raw examples

As basic default the shortcode feeds, that can point to a phpBB generated feed OR to any other valid feed resource, need to be used like this:

The example of feed to retrieve is here for phpBB, but it’s possible to use any valid feed URL to display feeds from any resource. Check some feed example to grab here http://simplepie.org/demo/ or any other you want and use into the shortcode like this:

here as example the w3feed_items_num attribute limit to 10 items to retrieve and display from the RSS source:

To display phpBB posts feeds styled, there are some more attribute that is possible to use except the default 2 above explained:

using all together, look this example, that not contain the w3feed_text_words attribute, in which, one possible value to use, is may reserved (may not) to phpBB news/last post RSS, and explained separately more below:

the attribute w3feed_ul_class=”myexampleClassXUL” will assign class name myexampleClassXUL to the wrapper element ul. w3feed_li_class do the same for nested li assigning myexampleClassXLI to all li elements of this feed.

adding w3feed_href_blank=”1″ will cause that links elements <a> that point to topics or links to authors will include/output with the html attribute target=”_blank”

w3feed_inline_style attribute can be used to inject inline style into each li element. Note that by the way it has been tested without using special chars on it, so that special characters may need to be properly escaped to be used in this case.

It’s possible to assign different classes and display each shortcode feeds output, ul and li elements, styled as it need to be or/and as more like.

Here you can see examples for phpBB to retrieve feeds: forums news, all forums, single forum, single topic and more, plus advanced features:

https://www.phpbb.com/support/docs/en/3.1/kb/article/faq-phpbb-atom-feeds/

The w3feed_text_words=”numOfWords” attribute is may reserved to be used only for phpBB posts feeds, while the 0 (zero) and content values are ok to be used on any other feed, not only phpBB:

0 | num of words | content

if omitted w3feed_text_words=”content” is the default behavior/result, that will return all the content of the post or feed item, changing nothing on output.

while adding an integer value, as example 30, so, w3feed_text_words=”30″ will cause that firsts 30 post’s words will display, and the default Statistics: phpBB text on output removed, while will be maintained all the rest, and the result will be something like:

Post Title
Post Content
Posted by axew3 — Sat Mar 09, 2019 12:04 am

w3feed_text_words=”numOfWords” int value can may also be used for any feed and not only for phpBB posts, but check before that the result is what you expect to be.

Using 0 (zero), so w3feed_text_words=”0″ , will cause that only topic’s titles links will display.

Except the mandatory w3feed_url attribute, any of the attributes can be mixed, applied or not applied, on each shortcode feed.

WordPress phpBB
mChat integration

This procedure assume you installed the wp_w3all WordPress phpBB integration plugin (in linked or not linked users mode) into WordPress, and phpBB mChat into your phpBB. At date of this post, the code as is can be applied by anyone, but this is a raw procedure may easy to be changed by advanced users. Work fine, but to optimize at best for your site, you may have to change something on the little javascript code you’ll add as explained on install steps. You can see the concept and code to apply available here:

WordPress phpBB mChat w3all procedure

See live raw working examples here:

WordPress phpBB mChat integration example

Just a good point to start from, that can be easily improved under any aspect and to fit any needs. Will be upgraded along the time.

phpBB WordPress template integration (iframe v3)

v3 version (for cool people) old v2 version is here

NOTE THAT THIS CODE IS SUITABLE UNTIL 1.9.8 or <

Cool people are actually using version 4:

phpBB WordPress template integration (iframe v4)

THIS IS OLD CODE! REFER TO V4 IFRAME CODE FOR WP_W3ALL 1.9.9 OR >

phpBB WordPress template integration (iframe v4)

PAGE HELP – JS code – UPDATED on 24 Feb 2019
(related views/page-forum.phpupdated on 3 Gen 2019)

/trunk/addons/page-forum.php

phpBB SEO mods compatible

wp_w3all plugin 1.9.4 >

(READ ALL this page)

wp_w3all responsive iframe procedure v3

After you built/create the WP forum template page via option
WP_w3all phpBB embedded on WordPress Template
on WP_w3all admin config page, and the blank page on WordPress Admin -> Pages -> Add New, titled the same of created wp_w3all template page, so forum or board  etc (then you’ll have into your active WordPress template folder a file named page-forum.php or page-board.php etc), to complete the procedure and get the responsive iframe height for the embedded/iframed phpBB into WordPress template page you need:

Open with a text editor your phpBB template file overall_footer.html

and just before the closing </body> tag, add this code (do not select rows numbers on copied code):

after you pasted this code into phpBB overall_footer.html
edit following lines:

change axew3.com to fit your domain name (example axew3.com)
do NOT add http(s):// OR the point in front nor anything else, just add
yourdomain.com or set it as localhost if on localhost test. If phpBB is at subdomain.domain.com, add domain.com as value
(MANDATORY!) or resizer won’t work
now check the other line to change:

change value
https://www.axew3.com/w3/forum
on this line, to point to the URL of the WordPress created/named forum page (do not add final slash and change http or https as needed)
MANDATORY!

Finally, check this line

in the code you added (last line): this should correctly point to the iframeResizer.contentWindow.min.js file that you’ll go to add into phpBB root folder. You need to use the absolute URL (use http or https as needed, and adjust the url to fit your needs)
(MANDATORY!) or resizer won’t work

AFTER EDITED, save and load the modified overall_footer.html into your phpBB style folder, overwriting the default one, and so

load through ftp on the phpBB root folder (or copy/paste), the file
iframeResizer.contentWindow.min.js
that is contained inside folder
wp/wp-content/plugins/wp-w3all-phpbb-integration/addons/resizer

After this, phpBB require to recompile the template, or modifications to template files not affect (to overall_footer.html in this case). Open phpBB ACP, and so under:

Server Configuration -> Load settings -> Recompile stale style components set to YES and save. Load one time a phpBB full forum page. Leave as is at moment, especially if you follow adding also the code on overall_header.html (more below) to redirect any phpBB direct URL to the iframed WP page: then after tested that all work fine, may return to ACP, and reset to NO and save. This step is needed to load the template modifications on phpBB (and any time you edit a phpBB template file to for modifications take effect), but this option should be ever set to NO into an online/production site to save server resources. It is normally set to yes only for testing/devel purpose or to apply modifications on phpBB templates files.

Notification email links to point to iframe: follow read more below for the pure Javascript solution. Refer to v2 or v1 code for htaccess or js solution editing phpBB notifications files.

The new V3 w3all iframe code do not use anymore htaccess to force redirect as on V1 code, and substantially not rewrite URLs forcing redirect to iframe, but use pure Javascript (reload) code, that as you may imagine, lead to some different result: you’ll not have to edit phpBB notification links on phpBB notification files as on V1 or V2 code, to force users redirect to iframe when they click on notification email link. But in this case, any user except bots, will be redirected (as code is, but it can be easily changed to assume different behaviors, may excluding admins or moderators etc) to the WP iframed page, if the forum accessed via real phpBB url.

To apply same smooth scroll effect as it is on this online example, after finished with this procedure, follow with this steps:

Smooth scroll for phpBB WordPress template integration (iframe v3)



If you want phpBB email notification links or any phpBB direct url to be redirected to wp iframed forum page using pure javascript, follow this step:

Open with a text editor your phpBB template file overall_header.html

and just immediately after this code (or by the way, before the closing tag </head>)

add the following code:

On added code, change URL on the line where (line 3):

to fit/point to the WordPress iframed forum page: DO NOT ADD final slash and setup as http or https as needed.

NOTE: if you added the code above into phpBB overall_header.html then you’ll need to remove or comment out this part by the code you added into the overall_footer.html:

Recompile phpBB template and reset to no the option when changes applied

whenever you want: to get the iframe responsive for ACP phpBB admin panel, read this post. My (personal) suggestion is to stop here and try to use the integration leaving ACP out of iframe joke. If by the way you want to follow, before to apply then you’ll have to little change the above code for overall_footer.html and overall_header.html in this way:

on code for overall_footer.html remove this part:

on code for overall_header.html remove this part:

change into:

phpBB WordPress template integration (iframe v2)

See  NEW v3 phpBB WordPress template integration code

v2 version (OBSOLETE)

See  NEW v3 phpBB WordPress template integration code

PAGE HELP and JS code – UPDATED on 21 Dec 2018
(related views/page-forum.phpupdated on 26 Sep 2018)

you need to use this version of page-forum.php for this javascript code:
/tags/1.9.3/addons/page-forum.php

wp_w3all responsive iframe procedure

After you’ve built/created the WP forum template page via
WP_w3all phpBB embedded on WordPress Template
option on WP_w3all admin config page, and the blank page on WordPress Admin -> Pages -> Add New, titled the same of created wp_w3all template page, so forum or board  etc (then you’ll have into your active WordPress template folder a file named page-forum.php or page-board.php etc), to complete the procedure and get the responsive iframe height for the embedded/iframed phpBB into WordPress template page you need:

Open with a text editor your phpBB template file overall_footer.html

and just before the closing </body> tag, add this code (do not select lines numbers column on copied code):

after you pasted this code into phpBB overall_footer.html
edit following lines:

change axew3.com to fit your domain name (example axew3.com)
do NOT add http(s):// OR the point in front nor anything else, just add
yourdomain.com or set it as localhost if on localhost test. If phpBB is at subdomain.domain.com, add domain.com as value
(MANDATORY!) or resizer won’t work
now check the other line to change:

change value
https://www.axew3.com/w3/forum
on this line, to point to the URL of the WordPress created forum page
(do not add final slash and change http or https as needed)
MANDATORY!

Finally, check this line

in the code you added (last line): this should correctly point to the iframeResizer.contentWindow.min.js file that you’ll go to add into phpBB root folder. You need to use the absolute URL (use http or https as needed, and adjust the url to fit your needs)
(MANDATORY!) or resizer won’t work

AFTER EDITED, save and load the modified overall_footer.html into your phpBB style folder, overwriting the default one, and so

load through ftp on the phpBB root folder (or copy/paste), the file
iframeResizer.contentWindow.min.js
that is contained inside folder
wp/wp-content/plugins/wp-w3all-phpbb-integration/addons/resizer

After this, phpBB require to recompile the template, or modifications to template files not affect (to overall_footer.html in this case). Open phpBB ACP, and so under:

Server Configuration -> Load settings -> Recompile stale style components set to YES and save. Load one time a phpBB full forum page. So return to ACP and reset to NO, save. This step is needed one time to load the template modifications on phpBB (and any time you edit a phpBB template file to for modifications take effect), but this option should be ever set to NO into an online/production site to save server resources. It is normally set to yes only for testing/devel purpose or to apply modifications on phpBB templates files.

How to update to latest iframe js code and page-forum.php?

Update the plugin (or download plugin and copy files by /resizer folder)
so files inside folder
/wp-content/plugins/wp-w3all-phpbb-integration/addons/resizer
results updated (or do it manually substituting these files with latest released https://github.com/davidjbradshaw/iframe-resizer)
so substitute/replace the file you added into phpBB root folder with latest iframeResizer.contentWindow.min.js
copy it from
/wp-content/plugins/wp-w3all-phpbb-integration/addons/resizer
folder and replace in phpBB root folder.

Replace the old code added into phpBB overall_footer.html file with the new one above into this page, take care to setup on it needed values as now  required.

Remember to rebuild phpBB template after these steps to let changes take effect.

Now rebuild the page forum in WP w3all admin page, or manually copy the new page-forum.php version contained on folder
/wp-content/plugins/wp-w3all-phpbb-integration/addons
and paste it into your WordPress template folder, renaming it as needed, so for example page-board.php if you setted up board for the forum page name on wp_w3all admin page.

Done.

Note: if you want a custom page-forum, just open the page-forum.php (or whatever you named it) and read inline hints inside. It is so easy to create a custom page forum (for example with two columns etc). If any help more. just post on help forums here at axew3.com or at wordpress.org.



If you want phpBB email notification links to point to iframe, follow this step about htaccess:

phpBB htaccess for phpBB notification email to point WP forum page (1.6.9>)

to activate the rewrite right click/copy links on iframe, to point to iframe, activate the related code removing the two lines:

/* remove this line to activate htaccess trick
and
*/ //remove this line to activate htaccess trick

NOTE: to get the iframe to be responsive for ACP phpBB admin panel, read this post.

Transfer phpBB users into WordPress or WordPress users into phpBB

If you want to use the phpBB WordPress integration plugin just to transfer users between WordPress and phpBB or phpBB to WordPress, follow instructions on this help page:

WordPress phpBB integration without linking users

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.