The (awesome) iframe template integration using shortcode

WordPress phpBB template integration

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

To use the w3allphpbbiframe shortcode it is required to apply into phpBB template files overall_header.html and overall_footer.html the same javascript code like on the page-forum procedure:

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 used into homepage and should in several more conditions. In short words, in all these situations where, when if the URL is pushed into 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

you can imagine what you could do may using 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 forum and with scroll_default set to no (since 2.6.0>)

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

phpBB WordPress template integration (iframe v5)

V5 version (for cool people)

PAGE HELP – JS code – updated on 20 Apr 2022
(related addons/page-forum.phpupdated on 20 Apr 2022)

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 ever 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 for domains like: mydomain.co.uk – note that to fix the resizer to work fine on this kind of domains you have to open page-forum(or whatever you named it).php into your active WP template folder and search for these two lines of code, adjusting as they need to be, to match the same domain you setup into overall_footer.html code (NOTE: if using the awesome phpBB iframe shortcode the  file to look into where you’ll apply the same 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 document.domain value to fit your domain name (example axew3.com)
do NOT add http(s):// OR the point in front or 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, if wp is at domain.com
(MANDATORY!) or resizer won’t work
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 you may changed in 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 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

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 w3 value of the line:

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

Reset to No the Recompile phpBB template option after some test. 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!

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

© 2022 axew3.com

[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

  • axew3.com 15 years!

    axew3.com is 15 years old!
    Let celebrate a special day!

    Registered On
    2007-05-21 ;)

    Statistics: Posted by axew3 — Fri May 20, 2022 10:00 pm — Replies 0 — Views 7


  • UX suggestion

    Hi,

    first let me thank you for this usefull piece of software!

    I would suggest to organize differently the plugin features in the WP menu for enhanced UX, just my personal point of view /taste of course.

    Suggestions:
    1. single entry point in WP menu to access all plugin features organized by tabs if necessary (Vs now features are different menu entries in both Settings and Tool WP menus)
    2. single menu entry point under WP Users menu, as plugin main objective is to deal with users
    3. Name single menu entry point something like "phpBB Integration" or better, but "phpBB" is the keyword

    On bullets 1 and 2 I can recommend as example / source of inspiration the "Temporary Login Without Password" plugin.

    Have a nice weekend,
    Sincerely,
    Mauro

    Statistics: Posted by mcgrelio — Sun May 01, 2022 9:52 am — Replies 1 — Views 18


  • auto login to phpbb forum from website

    Hi,

    Sorry for the question, but I'm not clear on this feature, if it exists.

    My forum is on a page on my website that only authorized users can access. The page is secured by members(memberpress). When a user signs into my wordpress website to access this page and then goes into the forum page are they automatically logged in to phpbb?

    In short, which component of your plugin does the auto logins to the worpress forum, if it does? I have the ID replication piece working, but had trouble getting the phpbb embedded on a wordpress template piece working.

    Thanks
    John CUmmings

    Statistics: Posted by johncummings — Tue Apr 26, 2022 9:42 am — Replies 3 — Views 72


News from engadget.com

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

  • Margaret Atwood protests book bans with 'unburnable' copy of 'The Handmaid's Tale'

    Book bans are becoming more prevalent in US school libraries and classrooms, making it harder (but not impossible) for students to get their hands on certain texts that might expand their worldview. To raise awareness of such moves and perhaps protest the threat of literal book burning, Margaret Atwood and Penguin Random House are auctioning a one-off, "unburnable" edition of her classic dystopian novel, The Handmaid's Tale.

    The publisher says it's "a powerful symbol against censorship and a reminder of the necessity of protecting vital stories." This copy of the book has been printed and bound in fireproof materials, including white heat shield foil pages and a phenolic hard cover. Atwood put a prototype copy to the test by trying to burn it with a flamethrower.

    "The Handmaid’s Tale has been banned many times — sometimes by whole countries, such as Portugal and Spain in the days of Salazar and the Francoists, sometimes by school boards, sometimes by libraries," the author said in a statement. "Let’s hope we don’t reach the stage of wholesale book burnings, as in Fahrenheit 451. But if we do, let’s hope some books will prove unburnable — that they will travel underground, as prohibited books did in the Soviet Union.”

    At the time of writing, the highest bid for the book stands at $48,000. The auction will close on June 7th.

    All proceeds will go to PEN America to support its efforts to fight book bans across the US. In a recent report, the free-expression organization documented 1,586 bans on individual books in 86 school districts across 26 states.

    Penguin Random House notes that censors' targets tend to be "literary works about racism, gender and sexual orientation, often written by authors of color and LGBTQ+ writers, as well as classroom lessons about social inequality, history and sexuality." It argued that such moves violate students' First Amendment rights and hamper education and the flow of ideas.

    “We are at an urgent moment in our history, with ideas and truth — the foundations of our democracy — under attack," the publisher's CEO Markus Dohle said. "Few writers have been as instrumental in the fight for free expression as Margaret Atwood.”

  • Jeep parent company Stellantis will reportedly plead guilty to emissions fraud

    The world’s fifth-largest automaker will reportedly soon plead guilty to end a multi-year investigation into its efforts to conceal the amount of pollution created by its diesel engines. According to Reuters, the US Justice Department and Dodge parent company Stellantis could announce as early as next week that the automaker has agreed to pay $300 million to settle allegations of crminal fraud. Stellantis declined to comment on the report.

    The Justice Department began investigating Stellantis around 2019 when the automaker recalled nearly 1 million vehicles in the US and Canada for not meeting federal tailpipe emission standards. As of last year, the agency has announced criminal charges for just three Stellantis employees. The probe involved approximately 100,000 Ram pickup trucks and Jeep SUVs sold in the US.

    The deal comes five years after Volkswagen famously pleaded guilty to its own emissions scandal. “Dieselgate” saw the German automaker eventually pay more than $20 billion in fines and legal settlements for installing illegal software designed to cheat government emissions tests. Since then, sales of diesel vehicles have plummeted in Europe and other parts of the world.

  • CVS won’t fill prescriptions for controlled substances from two telehealth companies

    CVS will no longer fill prescriptions from telehealth companies Cerebral and Done Health for controlled substances. The pharmacy chain said that, following a review, it had unresolved concerns with both companies. The Wall Street Journal first reported the news.

    "We are committed to making mental health services as accessible and convenient as possible. At the same time, it is important that medications are prescribed appropriately," CVS Health's executive director of corporate communications Mike DeAngelis told Engadget. 

    "We recently conducted a review of certain telehealth companies that prescribe controlled substance medications. As a result of our being unable to resolve concerns we have with Cerebral and Done Health, effective May 26th, 2022, CVS Pharmacy will no longer accept prescriptions for controlled substances issued through these companies."

    The startups have tens of thousands of patients between them, the Journal notes. They have prescribed stimulants such as Adderall for patients with attention-deficit hyperactivity disorder (ADHD). These stimulants are regulated and classed as schedule 2 controlled substances due to the risk of abuse.

    Some other pharmacies, such as Walmart and Truepill, previously delayed or declined to fill prescriptions from the two startups. They reportedly had concerns that clinicians at Cerebral and Done were writing too many stimulant prescriptions.

    It recently emerged that Cerebral is under investigation by the Department of Justice and the Drug Enforcement Administration. Following that news, the company put prescriptions for ADHD meds for new patients on hold. Cerebral said last week it would stop prescribing most controlled substances for all patients by October. Just two days after that, its board replaced CEO Kyle Robertson.

    Along with ADHD, Cerebral says it treats depression, PTSD, anxiety disorders and serious mental illnesses through therapy, counseling and, in some cases, prescriptions. Done focuses on ADHD treatment. 

    Before the onset of the COVID-19 pandemic, clinicians were banned from prescribing stimulants without an in-person visit with patients. Those federal rules were loosened in March 2020 for schedule 2 substances, which enabled Cerebral and Done to start offering prescriptions after virtual consultations.

    Engadget has contacted Cerebral and Done for comment.

  • How to shop for a smart grill

    Let’s face it: smart grills are expensive. For most pellet grill brands, you’re going to pay $1,000 or more. Weber’s WiFi-equipped gas grills are about the same. That’s why it’s important to consider what type of cooking you plan to do and how often you want to do it when you’re shopping. If you’re a casual griller who cooks burgers on holiday weekends or the occasional steak, a smart grill might be overkill. If you cook outside all the time and want to expand your skill set to low-and-slow barbecue, you’re probably in the right place.

    The real benefit of a smart grill is being able to keep tabs on your food without having to stand next to it the whole time. Most models allow you to monitor temperatures and offer some degree of cooking guidance. There’s convenience for beginners and experienced cooks alike, especially for things that take several hours to complete. However, if you’re happy with a Weber Kettle or Big Green Egg, there are ways to get smart grill features without making a pricey purchase.

    Smart grill alternatives

    ThermoWorks Smoke X4
    ThermoWorks

    You can get the basic function of a smart grill for $100 or less. All you really need to keep tabs on temperatures from a short distance away is an RF thermometer that has meat probes. For its accuracy and ease of use, I prefer the ThermoWorks Smoke line. The most affordable option is $99 and it comes with one food probe and one ambient temperature probe. For $169, you can upgrade to the longer-range two-probe Smoke X2 and the four-probe Smoke X4 is $199. All of these allow you to monitor things from inside and they offer the ability to set both high and low temperature alarms for audible alerts. ThermoWorks also sells an additional accessory that can add WiFi to the base-level Smoke model, allowing you to send stats to your phone.

    Of course, those devices only monitor temperature. They don’t do anything to help you adjust heat levels. For that, ThermoWorks built Billows. It’s a temperature control fan that eliminates the need for you to manually open/close vents on a smoker or grill that’s burning charcoal or wood. You’ll need a ThermoWorks controller to use it, like the $239 four-probe Signals unit. Signals is more expensive than the Smoke models, but it has WiFi built in, so it works with your phone right out of the box.

    If both WiFi and step-by-step guidance are your thing, the Weber Connect Smart Grilling Hub is a great option. This adds nearly every smart function to any grill. Weber’s app not only offers tips for how to prep food, but it also walks you through the entire process – from flipping to wrapping and resting. Timers let you know when the next step is coming and the hardware/software combo can even estimate when the cook will be complete. That last bit comes in handy when smoking things like brisket that can take 8-12 hours. The Hub can accommodate up to four probes, so you can keep tabs on multiple foods and grill temp via the simple on-board interface.

    Pellet grills

    Traeger Pro 575 pellet grill
    Traeger

    When it comes to smart grills, the backyard cookers that burn wood pellets are some of the most popular models. Basically, a heating element in the bottom of the grill ignites compressed wood that’s fed to the fire pot via an auger. A fan that’s run by a controller on the grill regulates the size of the flame and overall temperature. Of course, all of this is done automatically once you set the temperature. What’s more, WiFi-enabled pellet grills allow you to monitor and adjust temperatures from your phone, so you can stay inside and entertain your guests.

    A key advantage of pellet grills is their versatility. Most of them can handle low-and-slow cooking at as little as 180 degrees Fahrenheit as well as searing high-heat temps of 600 degrees or higher. This gives you the ability to cook everything from brisket, ribs and pork butts to burgers, pizza and steaks. Some even have a slider that allows you to sear over the flame of the fire box.

    There are more affordable smart pellet grills on the market, but for the mix of hardware and software performance, Traeger and Weber are solid picks. Traeger offers more options as it has a variety of models, all of which are WiFi-equipped, starting at $900. The company’s completely redesigned Timberline series is basically an outdoor kitchen. It can accommodate a variety of accessories to expand its abilities and there’s a built-in induction burner on the side for making sauces, cooking sides, and searing. With the Traeger app, you get access to a massive library of recipes, all of which can be sent to the grill so you don’t have to dial in the settings. You also get step-by-step instructions, timers, food probe temps and the ability to activate special modes. All of that is in addition to remote grill temperature monitoring and control.

    With Weber’s SmokeFire grill, you get the connectivity and convenience a lot of pellet grills can offer. There’s only one model, but it comes in two sizes to suit your needs. Weber Connect is a handy culinary companion that not only powers the grill, but it also provides guided details for every step in the process. This software’s key advantage is estimated completion times, which help you to know when your food will be ready. It’s very handy when you have a hungry crowd asking how the pulled pork sandwiches are coming. During my tests, I was also impressed by how much smoke flavor the SmokeFire gave the food. Weber’s pellet grill doesn’t have a solid plate covering the fire pot like some Traeger models, so smoke moves around the cook chamber differently.

    Gas grills

    Weber Genesis E-325s gas grill
    Engadget

    Smart options aren’t limited to pellet grills, though. If you don’t have a need for the lower-temperature cooking, a propane or natural gas model might be a better option. In 2021, Weber brought its Connect smart grilling platform to its gas grills, offering three- and four-burner configurations, some of which also have a side burner for extra cooking space. Just like on the SmokeFire, Weber Connect not only allows you to monitor both food and grill temperatures from a comfy chair, it can guide you through the process and give you time updates. You still have to manually adjust the burners, but Weber’s app can alert you when you’re running low on fuel (propane models).

    Other types of smart grills

    Masterbuilt Gravity 560
    Masterbuilt

    Both pellet and gas grills have their merits, but some folks prefer the tried-and-true flavor of charcoal when cooking outdoors. While the purchase of one of the previously mentioned accessories will probably achieve what you're after for a kettle or kamado-style grill you already have, there are some charcoal smart grills that offer a degree of connectivity for your cooks.

    The Masterbuilt Gravity Series makes some really tasty food and its gravity-fed hopper keeps fuel management minimal. It works well as both a smoker and a high-heat searing machine, and it gives you the ability to watch things from your phone. The only catch is it can be difficult to light when you're starting with used briquettes at the bottom. I found it best to dump the hopper and start with fresh charcoal every time, positioning any previously burned fuel that’s still usable further up the stack.

    Another charcoal solution with remote monitoring is a Spark Grill. The minimally designed units rely on one large piece of charcoal, dubbed Briqs, that the grills heat to between 250 and 900 degrees. This temperature range gives Spark Grills more versatility than your kettle. You set the temperature via a simple dial and that’s it, the grills are ready to cook on in about 10 minutes. And so long as you stay in Bluetooth range, you can keep tabs on grill temps from your phone.

  • Lucid recalls all of its 2022 Air EVs due to wiring issues

    Despite already struggling to meet production targets, luxury EV maker Lucid has now issued a recall for the Air due to potential issues stemming from the car's wiring harness.

    In a recent notice posted on the NHTSA website spotted by Lucid Insiders, a summary for the recall says unsecured wires on 2022 Air vehicles could cause the car's displays to turn off. And because the Air's displays contain critical information including speed, range and warning indicators, this would present a hazard in violation of the Federal Motor Vehicle Safety Standards.

    The notice states that the potential number of affected vehicles is 1,117. That means with Lucid having delivered less than 1,000 cars to date, the recall appears to cover all 2022 Air Dream Edition and Grand Touring models. For any potentially affected owners, you can get more info by calling Lucid's customer service at 1-888-995-8243 and mentioning recall number NCR-22-01-0.

    Official notification letters are slated to be sent out on June 20th Meanwhile, for cars that are subject to the recall, the NHTSA says Lucid dealers will be responsible for inspecting vehicles and addressing the issue as needed, free of charge.

    Going forward, Lucid Insiders claims the company has already started making adjustments to the glass canopy on new vehicles to prevent any issues with unsecured wires. However, perhaps the bigger concern is that this recall comes just a few months after Lucid recalled 200 cars for having front strut dampers that may have been improperly installed by a supplier. And with reservations for the Air now exceeding 25,000 cars, ironing out any issues will be hugely important if Lucid hopes to deliver those vehicles in a timely manner.

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.