Switch WP user to specified Group in phpBB, when Role updated in WordPress and vice versa

WP_w3all phpBB integration 2.6.8> option

Read all the follow before to activate the option

Basic default WP Roles and phpBB groups switches will work as follow by default, if no custom file provided:

When an admin in WordPress update an user Role, or Role change due to user’s subscriptions:

Editor in WP or Woocommerce Shop Manager, will be added into the Global Moderator group as primary group in phpBB, the previous primary user’s group membership will be removed.
Author, Contributor or Subscriber or Woocommerce customer, will be added into the Registered group in phpBB, the previous primary group membership will be removed.
Administrator in WP will be set as Administrator in phpBB (not with all founder’s powers), the previous primary user’s group membership will be removed. The User with No role in WP will be deactivated in phpBB.

When an user change/update group in phpBB:

If belong as default group to the Registered phpBB group, will be updated in WP to Subscriber and the previous primary Role removed.

If belong as default group to the Global Moderators phpBB group, will updated in WP to Editor and the previous primary Role removed.

Administrators in this case are not considered by default. But you can activate the code about, into

the file wp-content/plugins/wp-w3all-phpbb-integration/common/wpRoles_phpbbGroups.php . It contain the code that can be customized as more like to get complex WP Roles and phpBB Groups switches. It already contain basic code example and basic hints. Advanced wp coders will find out that’s quite easy to write owns code snippets and achieve any kind of complex Roles/Groups switches.

How i can customize the file wpRoles_phpbbGroups.php expecting that when the integration plugin will update, modifications done into this file aren’t lost?

Create a folder (if you did not it already, activating the custom /views files option) named wp-w3all-custom inside the folder /wp-content/plugins/ so you’ll have /wp-content/plugins/wp-w3all-custom/

copy the file /wp-content/plugins/wp-w3all-phpbb-integration/common/wpRoles_phpbbGroups.php

and paste it inside the created folder, so you’ll have /wp-content/plugins/wp-w3all-custom/wpRoles_phpbbGroups.php

Custom files inside this folder, are not overwritten when the plugin will be updated (like all the custom views files).

Note that the option Use custom files to display Last Topics Widgets, Login Widget and Shortcodes do not affect this. If the custom file /wp-content/plugins/wp-w3all-custom/wpRoles_phpbbGroups.php exist, it will be included, even if the Use custom files to display Last Topics Widgets, Login Widget and Shortcodes option is set to No.

Advanced and common hints

Where the wpRoles_phpbbGroups.php file is included?

About an Admin that update an user role (the update will be synchronous)

Open: /wp-content/plugins/wp-w3all-phpbb-integration/class.wp.w3all-phpbb.php

search for:

inside

public static function phpbb_update_profile($user_id, $old_user_data) {

About a current WP logged in user updates (the update will be asynchronous)

an user that changed Group in phpBB side** and that so will be updated to the related WP Role when as logged in will visit WordPress, search for:

into /wp-content/plugins/wp-w3all-phpbb-integration/class.wp.w3all-phpbb.php

inside the function verify_phpbb_credentials()

About Memberpress or others external memberships plugins:

Remember: this is a WP plugin, it run ONLY in WP side! So it has been defined synchronous the Role update when done in WP side updating an user profile. In this case the update occur at same time in phpBB. It is asynchronous when the WP role change due to some other reason, for example due to some Role update that fire on the background, after a subscribed membership or something else, but the affected user is not currently logged in into WordPress.

It is also asynchronous if the user change profile’s data in phpBB, because until the same user will not visit the WP side as logged, no code will run to update his Role in WP.

Read more inline hints into the file wpRoles_phpbbGroups.php

Could be all synchronous? Yes, the result can be achieved in several ways, for any configuration or/and plugin/extension installed.

The (awesome) iframe template integration using shortcode

WordPress phpBB template integration

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

NOTE that required settings of this shortcode resides under the WP_w3all Preferences menu

To use the w3allphpbbiframe shortcode it is required to apply into the phpBB template files overall_header.html and overall_footer.html the same javascript code and procedure as it is for the page-forum, the result will be a full template integration that can be applied into any WP theme:

phpBB WordPress template integration iframe

then use like this:

wp_page_name param refer to the page/post name/slug where the shortcode will be added (see hint below about this param if omitted*)

wp_page_iframe_top_gap param refer to (in pixel) the position where the WP parent page will scroll to by default. If omitted value will be 0

url_push (since 2.5.9>) param if omitted is set to YES, that mean when links are clicked into the phpBB iframed, the URL will be pushed into the browser’s address bar. If you want to avoid this behavior, use/add this param like this into the shortcode: url_push="no"

note that the URL push is ever avoided when the shortcode is used into the homepage and should in several more conditions. In short words, in all these situations where, when if the URL is pushed into the parent address bar, it cause/lead to a WordPress page NOT found, in the case there is an intentionally browser’s page reload (because the pushed URL is an URL that WP will not found)

phpbb_default_url (since 2.5.7>) param (that can be omitted) refer to any phpBB URL where the iframe will be opened by default, so the above become something like this, if for example we want to display into a WP post the phpBB, that should open by default into a precise forum topic/post/page:

but it can be any other phpBB link like the ucp page used into another etc

it is possible to use multiple shortcode(s) into different contests/pages/posts

It is mandatory to set WP page-names where the shortcode will be added, into related shortcode option field on plugin admin page, or the shortcode will not fire

security_token (since 2.5.9>) param (that can be omitted) refer to a secret token that can be used to restrict the use of the iframe shortcode only to certain users, when there are more roles allowed to create posts or pages. If this option is set (not empty) the shortcode will be parsed only when the token exist and will match. To add the security secret token into the iframe shortcodes, add it like this:

security_token="MySecretToken"

assuming that into related option field on plugin admin, MySecretToken is the token that had set

scroll_default (since 2.6.0>) param if omitted is set to YES by default. To avoid the page scroll behavior set it to no:

scroll_default="no"

To edit some css/html output or something else if required, relevant files to look into are:

/wp-content/plugins/wp-w3all-phpbb-integration/common/wp_phpbb_iframe_shortcode.php

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

*Note wp_page_name: if using Plain permalinks, for example the page name for a post would be p=45 or if it is a page page_id=12

*Note also that the shortcode param wp_page_namecan be omitted if you created page-forum using the (other way) page-forum available iframe template integration: so that the loaded URL into the browser’s address bar when links clicked into iframe, will be the one set into the overall_header.html and overall_footer.html js added code (that so may point to another post or page where another shortcode has been added, or to the default page-forum if created using related option on plugin admin)

Note important: if the iframe do not display and you get mixed insecure content on console, you have to fix it doing this:

open your WP header.php template file, and may just after others header meta tags add the follow:

That’s all here, follow instructions into the plugin admin page where there is iframe template integration using shortcode related option. Enjoy!

One applied right here on the post (below), but also see another simple example here: https://www.axew3.com/w3/board/

Advanced hint: this shortcode with little modifications could be easily used to display any iframed page, also cross domain.

Here it has been added the iframe using the shortcode with param phpbb_default_url set to open a specified phpBB post and with scroll_default set to no (since 2.6.0>)

[w3allphpbbiframe url_push=”no” phpbb_default_url=”https://www.axew3.com/w3/forums/viewtopic.php?t=774″ wp_page_name=”the-awesome-iframe-template-integration-using-shortcode” scroll_default=”no”]

phpBB WordPress template integration (iframe v5)

V5 version (for cool people)

FOR PLUGIN VERSION 2.7.4>

PAGE HELP – JS code – updated on 30 Sep 2023
(related addons/page-forum.phpupdated on 30 Sep 2023)

wp-w3all-phpbb-integration/trunk/addons/page-forum.php

wp_w3all responsive iframe procedure

WordPress phpBB iframe template integration

UPDATE PROCEDURE: rebuild page-forum.php (or whatever named) 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 may also update the iframeResizer.contentWindow.min.js and iframeResizer.contentWindow.map files added into phpBB root, with news updated files you’ll find into /wp-content/plugins/wp-w3all-phpbb-integration/addons/resizer folder (this step is not always required, but only when iframe resizer library updates, which is notified on plugin changelog when plugin released). Done this, substitute the phpBB overall_header.html and overall_footer.html code (re-adding required values) with the new v5 code here below. Do not forget to rebuild phpBB template to make phpBB template modifications take effect, and may cleanup phpBB cache.

NOTE – relevant files: page-forum(or whatever you named it).php into your active WP template folder, while if using the awesome phpBB iframe shortcode the  file is /wp-content/plugins/wp-w3all-phpbb-integration/views/wp_w3all_phpbb_iframe_short.php)

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 the w3allAllowDomain var value to fit your WP URL.
Now check the other line to change:

change value on this line that need 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!

Change the w3 value of the line

to fit the value that (if) you may changed it into the plugin admin, where option: Fancy URL query string for the WordPress page forum that embed phpBB

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 (together with the file iframeResizer.contentWindow.map). 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 via ftp into the phpBB root folder (or copy/paste), both files
iframeResizer.contentWindow.min.js AND iframeResizer.contentWindow.map
that you find inside the folder
wp/wp-content/plugins/wp-w3all-phpbb-integration/addons/resizer

After this, phpBB require to recompile the template, or template files modifications do not affect. 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 phpBB into the WP page: then after tested that all work fine, return to ACP, and reset to NO and save. This step is needed to load/rebuild template modifications in phpBB if there are, 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

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 immediately after the closing </title> tag add the following code:

On added code, change URL on the line where:

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

Change the default w3 value of the line:

to fit the value you may changed into the plugin admin, where there is the option: Fancy URL query string for the WordPress page forum that embed phpBB

Reset to No the Recompile phpBB template option after some test. So before to follow READ NEXT IMPORTANT NOTE

NOTE: if you need to disable/remove the overall_header.html javascript code, that do not allow (until javascript enabled on browser) to access front end real phpBB urls, forcing the redirect to the WP forum page, you can  disable javascript on browser, if you do not want to remove/disable the added js snippet into the phpBB overall_header.html file. It is also !important to remember this if in trouble with login, and recompile Stale Template option in phpBB is set to Off at this time.

if the iframe do not display and you get mixed insecure content on console, you have to fix it doing this: open your WP header.php template file, and may just before others header meta tags add the follow:

<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">

For testing or for any other reason, you could also comment out the line where:

change into this:

so phpBB direct URL’s will not be redirected to the WP page forum URL. But you can open the page-forum to see the iframed result in the while. Remember that to apply template modifications, phpBB require to recompile templates files.

NOTE: if the iframe still do not display correctly:

Iframe height do not resize to match my theme! (how to change heightCalculationMethod)

If using the Awesome iframe template integration via shortcode, relevant file to look into is:

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

Check related shortcode page to know more about customization.

That’s all, enjoy your awesome template integration!

Appreciations: https://www.paypal.com/paypalme/alessionanni/

© 2023 axew3.com

Iframe resize library by: https://github.com/davidjbradshaw/iframe-resizer

[w3allcustomiframe] shortcode how to

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

Note: this shortcode work only if it is activated option into WP plugin’s admin (advanced shortcode):

Activate [w3allcustomiframe] shortcode

It may require you to know something about iframes and how they work, but looking into examples may you can easily understand the way:

the shortcode to embed a page need to be used for example like this:

Params
resizer
check_origin
url_to_display
css_iframe_wrapper_div
css_iframe_elem_iframe

resizer (yes/no)
default false. * use the iframe resizer or not (if no may pass fixed width and height values for the iframe to display, via css_iframe_elem_iframe param)

checkOrigin (true/false)
Default true. See checkOrigin reference.
Pass false to disable.
To provide a value for checkorigin, set this param (for example) to https://mysite.com (it will be so converted into array to pass the valid domain value you want to set)

url_to_display (url)
the src url to the page that the iframe will point to

css_iframe_wrapper_div (inline css inside attribute style=”…”)
css inline style of the iframe wrapper, element <div style="..."

css_iframe_elem_iframe (inline style inside attribute style=”…”)
css inline style for the element <iframe style="..."

* Note: to use the iframe resizer, the page that contain the content to display, that reside outside WordPress (like the integrated phpBB forum into this online example) need to embed this code just before the closing </body> tag:

The iframeResizer.contentWindow.min.js file to point to can be copied into plugin folder:

wp-content/plugins/wp-w3all-phpbb-integration/addons/resizer

and added/pasted where necessary

A shortcode example:

The follow example, display the content within this domain: since using resizer, it has been necessary to add the iframe resizer lib into the phpBB template file viewtopic_print.html, just before the closing </body> tag. Click into links to see behavior (pages within this domain will continue to display, and (may, may not) also some other external link you’ll click will load here)

[w3allcustomiframe resizer=”yes” check_origin=”https://www.axew3.com” url_to_display=”https://www.axew3.com/w3/forums/viewtopic.php?f=3&t=1431&view=print”]

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

  • Vertical Views for phpBB viewforums and viewtopic (extension)

    &copy; 2023/24 axew3.com

    THIS IS NOT A FREE SCRIPT

    THE USE OF THIS CODE FOR FREE IS INTENDED AND LIMITED TO BE FREE, FOR PERSONAL SITES ONLY.

    ANY SITE THAT IS NOT TO BE INTENDED AS A FREE PERSONAL SITE
    (WHERE FREE PERSONAL SITE MEAN: A WEB SITE WITH NO ADS AND NO PAYMENT SERVICES OF ANY KIND)

    WILL HAVE TO PAY (one time):

    $5 (5 DOLLARS) FOR A SINGLE SITE

    $20 (20 DOLLARS) FOR AN UNLIMITED NUMBER OF SITES/SUB-SITES OF SAME DOMAIN

    $100 (100 DOLLARS) TO USE IT FOR AN UNLIMITED NUMBER OF DOMAINS AND TEMPLATES (single TEMPLATE SELLERS)

    Appreciations (also) goes here:
    https://www.paypal.com/paypalme/alessionanni/

    UNDER CONSTRUCTION -> released soon

    Posted by axew3 — Tue Oct 03, 2023 8:45 am — Replies 0 — Views 14


  • Coming 2.7.5 logs (iframe integration v6 code is coming)

    After the first raw (on actual 2.7.4) update that dismiss the use of document.domain for the iframe JS template integration code, on 2.7.5 the iframe code will be improved and fixed under some other important aspect and will reordered/cleaned-up.

    In the while check that the template integration with old code still works for the template integration using PAGE, while the template integration via shortcode in 2.7.4> REQUIRE to update the overall_footer.html js added code, to the new one:
    https://www.axew3.com/w3/2020/01/phpbb- ... iframe-v5/

    Posted by axew3 — Sun Oct 01, 2023 9:11 am — Replies 0 — Views 21


  • Resizer is not working

    Hello,

    First of all, your script is the best! You really did a great job here! :)

    I've tried to implement it and I've reached the point where I see the header of the forum, but not the whole part, like the resizer is not working or something like that.

    Image

    I've added and modified the lines in the overall_footer.html, but I didn't touched the header as I understood it's necessary to add the script only if I want to redirect the actual forum URL to the iframed one. And I don't want to do that for the moment.

    iframeResizer.contentWindow.min.js fil is in the main phpbb folder and I can open it via the absolute path which I've described in the script.

    I didn't used the short codes, because I didn't understood how to do it for the moment, but I can try later.

    I've also tried to implement your suggestion for a manual resize via <div data-iframe-height=""></div>, but it didn't worked.

    Any idea what could have been wrong here?

    Posted by Guest — Mon Sep 25, 2023 7:51 am — Replies 24 — Views 470

News from engadget.com

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

  • Meta’s Oversight Board will weigh in on ‘altered’ Facebook video of Joe Biden

    Meta’s Oversight Board is set to take on a new high-profile case ahead of next year’s presidential election. The board said it planned to announce a case involving a user appeal related to an “altered” video of President Joe Biden. The board didn’t disclose specifics of the case, which it said would be announced formally “in the coming days,” but suggested it will touch on policies that could have far-reaching implications for Meta.

    “In the coming days the Oversight Board will announce a new case regarding a user-appeal to remove an altered video of President Joe Biden on Facebook,” the Oversight Board said in a statement. “This case will examine issues related to manipulated media on Meta’s platforms and the company’s policies on misinformation, especially around elections.”

    While neither Meta or the Oversight Board has shared details about the video in question, the case could further shape the social network’s policies around AI-generated or otherwise manipulated media. Even before the rise of generative AI tools that make it easier than ever to create fake videos of public figures, Meta has taken heat over its response to suggestively edited videos of politicians. In 2019, the company declined to remove an edited clip that falsely claimed then-Speaker of the House of Representatives Nancy Pelosi was “drunk.”

    The incident prompted the company’s current policy that bars AI-generated deepfakes, but allows some other types of edited videos to remain up. Over the last year, fact checkers have regularly debunked deceptively-edited videos of Joe Biden that often spread widely on Facebook and Instagram.

    It’s not the first time the Oversight Board has weighed in on a case involving a head of state, The board previously got involved in Meta’s suspension of Donald Trump, and recently recommended Meta suspend the former prime minister of Cambodia (Meta ultimately declined to do so). When the Oversight Board agrees to a case, Meta is only required to implement the board’s decision for the specific Facebook or Instagram post in question. The board also makes a number of policy suggestions, which Meta is free to ignore, though it must provide written responses.

    This article originally appeared on Engadget at https://www.engadget.com/metas-oversight-board-will-weigh-in-on-altered-facebook-video-of-joe-biden-181008196.html?src=rss

  • A pedestrian was pinned under a Cruise robotaxi after another car’s hit-and-run

    A Cruise autonomous vehicle (AV) was reportedly involved in a horrific accident in San Francisco on Monday evening. A pedestrian crossing a street was hit by a car, which sped off. However, the hit-and-run hurled her in front of a Cruise driverless taxi, which stopped on top of her leg as she screamed in pain. According to the San Francisco Chronicle, the woman was still in critical condition at 9:30AM ET on Tuesday.

    The pedestrian was reportedly walking in a crosswalk at Market and Fifth in San Francisco when she was hit by a green car, which fled the scene. A witness allegedly told investigators that he watched the first car strike the woman, causing her to roll off its side and into the path of the Cruise car. As the autonomous taxi proceeded through the green light, it ran over her and came to a complete stop, pinning her leg under its rear axle and tire. Cruise says there weren’t any passengers in the AV, which was in autonomous mode.

    The SF Chronicle says that it viewed a video recording of the incident provided by Cruise to confirm the sequence of events. The company offered to make the video available to Engadget, but we declined.

    A bicycle delivery person reportedly tried to reassure the woman that an ambulance was coming and that it would be okay. “She was just screaming,” the cyclist reportedly told the SF Chronicle. City firefighters arrived and used the jaws of life to lift the car off the woman, who was transported to San Francisco General Hospital with “multiple traumatic injuries,” according to fire captain Justin Schorr. He said the car appeared programmed to stop and turn on its hazard lights after sensing an obstruction (in this case, a human being) beneath it.

    “At approximately 9:30 pm on October 2, a human-driven vehicle struck a pedestrian while traveling in the lane immediately to the left of a Cruise AV,” Cruise communications manager Hannah Lindow wrote in a statement to Engadget. “The initial impact was severe and launched the pedestrian directly in front of the AV. The AV then braked aggressively to minimize the impact. The driver of the other vehicle fled the scene, and at the request of the police the AV was kept in place. Our heartfelt concern and focus is the wellbeing of the person who was injured and we are actively working with police to help identify the responsible driver.”

    The nightmarish incident occurred as driverless taxis have expanded their reach in the city. Cruise and Waymo got approval from California regulators this year to operate and charge fares for fully autonomous cars in San Francisco at any time of the day. However, the state’s DMV asked the company in August to reduce its fleet of driverless taxis by half, pending an investigation into crashes involving the AVs. Cruise agreed to operate no more than 50 autonomous taxis during the day and no more than 150 of them at night.

    This article originally appeared on Engadget at https://www.engadget.com/a-pedestrian-was-pinned-under-a-cruise-robotaxi-after-another-cars-hit-and-run-180404816.html?src=rss

  • Fender’s Tone Master Pro digital workstation emulates over 100 effects and amps

    Back in my day (puts on old man glasses) digital amp modelers were a bunch of hooey. They sounded like mold groaning. Things have come a long way and in 2023 you’d be hard pressed to tell the difference between a digital recreation and the real thing. Fender’s new Tone Master Pro workstation continues this relatively recent tradition, allowing access to over 100 effects and amp models right out of the box.

    The Tone Master Pro is a standalone device that connects to your guitar to process incoming audio. Once you dial in a cool sound by combining amp models, impulse responses and effects, send it to your favorite amp, DAW, loudspeaker or just about anywhere else. The 8-core processor ensures a latency-free experience and seamless transitions between presets. The CPU also lets you load up large multi-amp and effects signal chains to go beyond classic retro sounds to make something unique.

    Fender says the “tone, feel, responsiveness and character” of each available amp model will be “virtually indistinguishable” from the real thing, and that’s before making wacky combinations or throwing on layers of effects. Additionally, Fender included more than 6,000 custom-created impulse responses that recreate the tone of specific cabinet and microphone combinations.

    There’s more to come on this front, as the device will support impulse responses from third-parties. This includes other companies, sure, but also garden variety users. The associated Mac/PC app lets you browse from a near-endless collection of IRs and presets from other players and Fender-approved artists.

    There are four effects loops for integrating pedals from your own collection, instrument inputs and XLR inputs, making this a versatile unit. It also has plenty of specific features for playing live. There’s a 7” color touchscreen that’s bright and easy to read, a 60 second stereo looper and a brand-new song and setlist mode that lets you attach different presets to each track you’re set to play.

    Fender promises regular firmware updates via USB. These updates will provide bug fixes, new amps, new effects and other goodies. The first update hits in approximately 90 days and the second one releases in around six months. The Tone Master Pro is available now with one major caveat. It costs $1,700. On the plus side, that’s only $17 per amp model and effect!

    This isn’t the company’s first foray into digital amp modeling. The Tone Master Pro is just the latest release in the Tone Master series, though the previous entries are actual amp cabinets with the addition of digital amp modeling. Fender’s also toyed with the idea via its entry-level Mustang GT amplifiers and the USB-esque effects stick Mustang Micro.

    This article originally appeared on Engadget at https://www.engadget.com/fenders-tone-master-pro-digital-workstation-emulates-over-100-effects-and-amps-161413163.html?src=rss

  • The Discovery+ ad-free plan now costs an extra $2 per month

    Another day, another streaming service price hike. Those who sign up for the ad-free Discovery+ plan starting today will now pay $9 per month, up from $7. The ad-supported plan isn't changing in the US, though, as it will still cost $5.

    There's a similar price hike in Canada, as the ad-free plan is going up from $7 CAD to $9 CAD. Those north of the border will need to pay extra for the ad-lite plan too — that's increasing from $5 to $6 per month.

    Existing subscribers will still pay their existing rate for another month. The price increase will be applied to their account on their next billing cycle on or after November 2.

    It's the first time that Discovery+ has increased prices on monthly plans in the US and Canada since the service debuted in the countries in January 2021. The price hike "will allow us to continue to provide can’t miss-stories in the food, home, relationships, true crime, paranormal genres — plus so much more," Discovery+ said in a press release and an email to users.

    Along with generating more revenue from subscribers, Warner Bros Discovery may be using the price increase to push customers to switch to a Max subscription instead. Max includes all of the Discovery+ content and much more. It's a pricier affair, though, with the base ad-supported plan costing $10 per month.

    We've seen many streaming services increase prices in recent months, including various music services. The Disney+ premium and Hulu ad-free plans will become significantly more expensive next week. Netflix, meanwhile, looks set to increase prices again after the actors' strike ends, according to a Wall Street Journal report.

    This article originally appeared on Engadget at https://www.engadget.com/the-discovery-ad-free-plan-now-costs-an-extra-2-per-month-155507156.html?src=rss

  • The FCC has begun fining companies over their dead satellites

    The FCC hit Dish Network with a $150,000 fine for failing to properly dispose of a defunct satellite after its mission ended. It’s the first such penalty the agency has enforced as it attempts to crack down on the growing problem of space junk in low Earth orbit (LEO). Decommissioned satellites and other objects pose a collision risk for other instruments operating in these lower altitudes. In LEO, debris travels at thousands of miles per hour, meaning even a millimeter-sized scrap can pose a serious threat.

    While Dish and the FCC had an agreed-upon deorbit plan for the company’s EchoStar-7 satellite, which launched in 2002 and was scheduled to be retired in May 2022, it started running out of fuel earlier than expected. Dish was supposed to maneuver the satellite into the designated graveyard orbit about 186 miles above where it had operated. But, EchoStar-7 only made it about 76 miles up. The company realized in February 2022 that its propellant was too low to carry out the plan, and the satellite was abandoned there.

    The FCC is calling the penalty a “breakthrough settlement” after Dish admitted fault and agreed to pay a fine. At $150,000, the fine is merely a slap on the wrist, but it could serve as a warning as the number of commercial satellites in LEO continues to rise rapidly. There’s already close to 10,000 tons of junk orbiting Earth as of last year, and as companies like SpaceX vie to pump thousands more satellites into space, it’s only getting more cluttered by the day.

    This article originally appeared on Engadget at https://www.engadget.com/the-fcc-has-begun-fining-companies-over-their-dead-satellites-153516781.html?src=rss

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: