This is the main referral page for the
phpBB WordPress Integration – phpBB extension
You’ll find here the updated link to download the phpBB extension and/or detailed help on how to install and use it:
Php MySQL Javascript
This is the main referral page for the
phpBB WordPress Integration – phpBB extension
You’ll find here the updated link to download the phpBB extension and/or detailed help on how to install and use it:
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:
1 |
[w3allfeed w3feed_url="https://www.axew3.com/w3/forums/feed.php?mode=news" w3feed_items_num="3" w3feed_inline_style="list-style:none;background-color:#f1f1f1;padding:15px;margin-top:15px;border-radius:15px;" w3feed_href_blank="1"] |
that grab last 3 forums news within this same domain forum:
Hi,
I have a problem since I've updated the plugin to 2.8.4 : the index page of my forum is a blank page, and I Wordpress but nothing changes... Can you help me ?
www.csct38.com/board
Posted by floxshifu — Mon Apr 22, 2024 5:07 pm — Replies 4 — Views 33
The option
Retrieve posts on Last Topics Widget based on phpBB user's group
seem to not work fine and in true i did not put eyes on it by long time now, i think it was on 2016?
2.8.4 fix this long time bug
Posted by axew3 — Wed Apr 17, 2024 9:47 pm — Replies 7 — Views 116
The phpBB WordPress integration extension v2
version 2.0.3 has been released: viewtopic.php?t=1783
Posted by axew3 — Wed Apr 03, 2024 10:48 pm — Replies 0 — Views 36
Latest 5 news from – engadget.com/rss.xml – target _blank – inline styled, used like this:
1 |
[w3allfeed w3feed_url="http://engadget.com/rss.xml" w3feed_items_num="5" w3feed_href_blank="1" w3feed_inline_style="list-style:none;"] |
Apple has resumed conversations with OpenAI, the maker of ChatGPT, to power some AI features coming to iOS 18, according to a new report in Bloomberg. Apple is also building its own large language models to power some iOS 18 features, but its talks with OpenAI are centered around a “chatbot/search component,” according to Bloomberg reporter Mark Gurman.
Apple is also reportedly in talks with Google to license Gemini, Google’s own AI-powered chatbot, for iOS 18. Bloomberg reports that those talks are still on, and things could still go either way because Apple hasn’t made a final decision on which company’s technology to use. It’s conceivable, Gurman says, that Apple could ultimately end up licensing AI tech from both companies or none of them.
So far, Apple has been notably quiet about its AI efforts even as the rest of Silicon Valley has descended into an AI arms race. But it has dropped enough hints to indicate that it’s cooking up something. When the company announced its earnings in February, CEO Tim Cook said that Apple is continuing to work and invest in artificial intelligence and is “excited to share the details of our ongoing work in that space later this year.” It claimed that the brand new M3 MacBook Air that it launched last month was the “world’s best consumer laptop for AI,” and will reportedly start releasing AI-centric laptops and desktops later this year. And earlier this week, Apple also released a handful of open-source large language models that are designed to run locally on devices rather than in the cloud.
It’s still unclear what Apple’s AI features in iPhones and other devices will look like. Generative AI is still notoriously unreliable and prone to making up answers. Recent AI-powered gadgets like the Humane Ai Pin released to disastrous reviews, while others like the Rabbit R1 have yet to prove themselves valuable.
We’ll find out more at WWDC on June 10.
This article originally appeared on Engadget at https://www.engadget.com/apple-has-reportedly-resumed-talks-with-openai-to-build-a-chatbot-for-the-iphone-002302644.html?src=rssAccording to a court document viewed by Engadget, the Federal Trade Commission accused Amazon of using Signal’s disappearing messages feature to conceal communications as part of its antitrust suit against the company. The FTC says the retailer continued to auto-delete its communications even after the agency notified it that it was under investigation and asked it to preserve them. Founder and former CEO Jeff Bezos and current CEO Andy Jassy are among the accused.
“For years, Amazon’s top executives, including founder and former CEO Jeff Bezos, discuss[ed] sensitive business matters, including antitrust, over the Signal encrypted-messaging app instead of email,” the FTC wrote in the full document, acquired by (Bezos-owned) The Washington Post. “These executives turned on Signal’s ‘disappearing message’ feature, which irrevocably destroys messages, even after Amazon was on notice that Plaintiffs were investigating its conduct.”
The FTC wants a federal judge to compel Amazon to provide documents related to its data handling. The government agency says the retailer didn’t disclose its Signal use until March 2022, ahead of a Wall Street Journal article highlighting the covert practice.
“Although the contents of deleted messages are impossible to recover, the app shows when a user turns the disappearing message feature on, off, or changes the timer for deletions, leaving breadcrumbs showing that Amazon executives’ deletions were widespread,” the document reads. “From the messages that were not deleted, it is apparent that Amazon executives used Signal to talk about competition-related business issues.”
The issue appears to be an increasingly common business practice in Silicon Valley. Last year, the DOJ accused Google of routinely destroying its internal chat histories, which it was required to preserve under federal law. In addition, before Elon Musk bought Twitter and changed its name to X, the company asked a judge to sanction the Tesla founder for using Signal’s auto-deletion to withhold messages sent through the app.
In addition to Bezos and Jassy, The Washington Post reports that the full document names General Counsel David Zapolsky, former CEO of Worldwide Consumer Jeff Wilke and former CEO of Worldwide Operations Dave Clark as participating in the practice.
This article originally appeared on Engadget at https://www.engadget.com/the-ftc-accuses-amazon-of-using-signals-auto-deleting-messages-to-erase-evidence-205431161.html?src=rssDrake apparently learned it isn’t wise to mess with Tupac Shakur — even decades after his untimely death. Billboard first spotted that the Canadian hip-hop artist deleted the X (Twitter) post with his track “Taylor Made Freestyle,” which used an AI-generated recreation of Shakur’s voice to try to get under Kendrick Lamar’s skin.
The takedown came after an attorney representing the late hip-hop legend threatened to sue the Canadian rapper for his “unauthorized” use of Tupac’s voice if he didn’t remove it from social channels within 24 hours. However, the track was online for a week and — unsurprisingly — has been copiously reposted.
“The Estate is deeply dismayed and disappointed by your unauthorized use of Tupac’s voice and personality,” Howard King, the attorney representing Shakur’s estate, wrote earlier this week in a cease-and-desist letter acquired by Billboard. “Not only is the record a flagrant violation of Tupac’s publicity and the estate’s legal rights, it is also a blatant abuse of the legacy of one of the greatest hip-hop artists of all time. The Estate would never have given its approval for this use.”
King implied that using Shakur’s voice to diss Lamar was an especially egregious show of disrespect. Lamar, a 17-time Grammy winner and Pulitzer recipient, has spoken frequently about his deep admiration for Tupac, and the Oakland rapper’s estate says the feelings are mutual. “The unauthorized, equally dismaying use of Tupac’s voice against Kendrick Lamar, a good friend to the Estate who has given nothing but respect to Tupac and his legacy publicly and privately, compounds the insult,” King wrote in a cease-and-desist letter.
Drake’s track also included an AI-generated clone of Snoop Dogg’s voice. The Doggystyle rapper and cannabis aficionado appeared surprised in a social post last week: “They did what? When? How? Are you sure?” He continued, “Why everybody calling my phone, blowing me up? What the fuck? What happened? What’s going on? I’m going back to bed. Good night.”
However, the one-time Doggy Fizzle Televizzle host has a history of poker-faced coyness. Last year, he took to Instagram to solemnly announce he was “giving up smoke,” leading to rampant speculation about why the stoner icon would quit his favorite pastime. Soon after, his announcement was revealed as a PR stunt for Solo Stove — which, marketing gimmicks aside, makes some terrific bonfire pits.
This article originally appeared on Engadget at https://www.engadget.com/drake-deletes-ai-generated-tupac-track-after-shakurs-estate-threatened-to-sue-191810881.html?src=rssAaron Sorkin has announced that he’s currently writing a followup script to The Social Network, according to The Hollywood Reporter. He broke the news during an episode of The Town podcast that centered on how Facebook and social media have influenced democracy in the years since his Oscar-winning hit. The first film chronicled the early days of Mark Zuckerberg’s social network and starred Jesse Eisenberg, Andrew Garfield and Justin Timberlake, among others.
Sorkin is cagey on the actual details of the new script, but it looks to follow Facebook throughout the Trump era. He went on to tell the podcast hosts that he actually blames the social media site for the January 6 riots that claimed the lives of five people and led to the injuries of more than 140 police officers. “Look, yeah, I’ll be writing about this,” Sorkin told podcast hosts Matthew Belloni and Peter Hamby. “I blame Facebook for January 6.”
He didn’t give any reason as to why he blames Facebook for the attack on the capitol, telling the podcast hosts that they will have to “buy a movie ticket.” Facebook, Google, Twitter and Reddit were all subpoenaed as part of the investigation into January 6. Lawmakers have suggested that Facebook didn’t take the proper steps to handle the “Stop the Steal” movement, which was organized on the platform, and that it didn’t recognize the danger posed by these groups until after the violence in DC.
Whistleblower Frances Haugen told Congress that Facebook disbanded its civic integrity team after the 2020 election. She also has said that Facebook knew its algorithms and platforms promoted harmful content and that “it failed to deploy internally recommended or lasting countermeasures.” According to Haugen, the company chose profits over safety.
Sorkin has obviously been paying attention to all of this, saying in the same interview that “Facebook has been, among other things, tuning its algorithm to promote the most divisive material possible. Because that is what will increase engagement.” He further dinged the company by suggesting that “there’s supposed to be a constant tension at Facebook between growth and integrity. There isn’t. There’s just growth.”
Now, don’t go heading to your local multiplex to buy a ticket for The Social Network 2: Electric Boogaloo just yet. The script is still in the early stages and Sorkin hasn’t announced a partnership with any studio to get the film made. This also isn’t his first attempt to get something like this off the ground. He was previously working on a script entirely about January 6, but it didn’t move forward. It remains to be seen if some aspects of that script will end up in followup to The Social Network, should it actually get made. He told the Happy Sad Confused podcast that he would only push to make a sequel to The Social Network if David Fincher returned to direct it.
If a studio does sign on to make this project, which is fairly likely given the success of the 2010 film, it leaves me with two glaring questions. Can Jesse Eisenberg grow a sweet beard and what are his thoughts on ultra-premium livestock?
This article originally appeared on Engadget at https://www.engadget.com/aaron-sorkin-is-working-on-a-jan-6-focused-follow-up-to-the-social-network-190010714.html?src=rssAnother week is coming to a close, which means it's time for another roundup of good tech deals. This week's highlights include a new low on Samsung's Galaxy S24 Ultra, which is $200 off and down to $1,100 for an unlocked model. That's not exactly cheap, no, but any savings should be welcome for what we consider the best premium Android phone. Elsewhere, a trio of recommendations from our wireless earbuds buying guide are on sale, including Bose's QuietComfort Ultra Earbuds for $249, Google's Pixel Buds Pro for $135 and Anker's Soundcore Space A40 for $49. Apple's latest MacBook Air has dropped to a new low of $989 as well, while Best Buy has the HomePod mini down to $70 in a rare discount. Other gadgets we like are discounted beyond that, so here are the best tech deals from this week that you can still get today.
Follow @EngadgetDeals on Twitter and subscribe to the Engadget Deals newsletter for the latest tech deals and buying advice.
This article originally appeared on Engadget at https://www.engadget.com/samsungs-galaxy-s24-ultra-falls-to-a-new-low-plus-the-rest-of-the-weeks-best-tech-deals-181055583.html?src=rssThis 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:
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.
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:
PAGE HELP – JS code – UPDATED on 24 Feb 2019
(related views/page-forum.php – updated on 3 Gen 2019)
phpBB SEO mods compatible
wp_w3all plugin 1.9.4 >
(READ ALL this page)
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):
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
<script type="text/javascript"> document.domain = 'axew3.com'; // MANDATORY! // Set/Change this value to fit your domain (example: axew3.com (or leave localhost if on localhost)) var wordpress_url_page_forum = 'https://localhost/wp5/forum'; // MANDATORY! // (DO NOT ADD/INCLUDE final slash here) Url that point to your iframed wordpress forum page var w3all_doc_domain = document.domain; var w3allappend = false; var boardU = "{BOARD_URL}"; // Lightbox correct scroll fix: // https://www.axew3.com/w3/forums/viewtopic.php?f=13&t=885 // remove /* and */ to activate, also more below to complete ... /* $(".postimage").on("click", function(event) { var pos = event.pageY - 100; $(parent.window).scrollTop( 200 ); var el = document.getElementById("lightbox"); $("#lightboxOverlay").on("click", function() { $(parent.window).scrollTop( pos ); }); $(".lb-close").on("click", function() { $(parent.window).scrollTop( pos ); }); $(".lightbox").on("click", function() { $(parent.window).scrollTop( pos ); }); }); */ function w3allNormalize_phpBBUrl(href){ // try to 'normalize' passed relative links: needed all after last slash / // exception are kind of passed urls like: /phpbb323/app.php/help/faq // and if SEO mods that may assign some different kind of links values // by the way, SEO absolute urls http(s) should be (all?) already considered here ... var phpbbRUrl = href.split(/^.+?(\w+.+)$/); if( href.indexOf('app.php') > -1 ){ // since the previous not 'normalize' this type of passed value (and may miss something else) phpbburl = href.split(/^.+?(app\.php.+)$/); w3allappend = phpbburl[1]; } else if ( /^https?/ig.exec(href) !== null ){ // absolute http(s) passed: try to 'normalize' a possible seo mod phpbburl = href.split(boardU); w3allappend = phpbburl[1]; } else if ( phpbbRUrl[1] && phpbbRUrl[1].length > 1 ){ // 'normalize' any other w3allappend = phpbbRUrl[1]; } else if ( phpbbRUrl[0].length > 1 ){ w3allappend = phpbbRUrl[0]; } // ... if still not normalized if(/^\W/ig.exec(w3allappend) !== null){ w3allappend = w3allappend.split(/^.+?(\w+.+)$/); if(w3allappend[1]){ w3allappend = w3allappend[1]; } if ( w3allappend[1] && w3allappend[1].charAt(0) == '/' ){ w3allappend = w3allappend[1].substr(1); } } return w3allappend; } $(document).on("click", "a", function(e) { var href = $(this).attr("href"); if( /[^-0-9A-Za-z\._#\:\?\/=&%]/ig.exec(href) !== null ){ return; } if( /\/adm\//ig.exec(href) !== null ){ e.preventDefault(); window.open(href,'_blank'); return; } if( /posting\.php\?mode=[reply|post|bump]/ig.exec(href) !== null || /mcp\.php\?/ig.exec(href) !== null ){ var w3allNOappend = true; } // check if link point to external resource if ((this.href.indexOf(boardU) > -1) != true){ if(/^(f|ht)tps?:\/\//i.test(href)){ e.preventDefault(); // prevent load as we are inside parent.location.replace(href); return; } } // check for # short links like on FAQ page if ( href.charAt(0) == '#' ){ return; } w3allappend = w3allNormalize_phpBBUrl(href); var w3all_parent_element_id = $(this).parent().get( 0 ).id; // detect click x ... (ex: return ID smiley-box, onclick post smiles) ... // detect and avoid/allow certain behaviors var w3all_onclick_smile = (w3all_parent_element_id.indexOf('smiley-box') > -1); var w3all_onview_topic = (href.indexOf('viewtopic.php') > -1); var w3all_onview_attach = (href.indexOf('file.php') > -1); var w3all_onreview_post = /#[review]+/ig.exec(href); var w3all_ck_quickmod = (href.indexOf('quickmod') > -1); var w3all_onreply_topic = (href.indexOf('mode=reply') > -1); var w3all_ck_onindex = (href.indexOf('index.php') > -1); // complete Lightbox correct attachment display // activate removing /* and */ // or used to open on new tab attachments /* if(w3all_onview_attach !== false){ e.preventDefault(); window.open(href,'_blank'); return; } */ if ( w3all_onclick_smile == false && w3all_onview_attach == false && w3all_onreview_post == null ) { if ('parentIFrame' in window) window.parentIFrame.scrollTo(0,50); // change 50 to another value may 0 or 100 or 500. Top distance gap in px when page scroll top } if ('parentIFrame' in window){ if( typeof w3allNOappend == 'undefined' ){ window.parentIFrame.sendMessage(w3allappend); } } }); /////////////////////////////////////////////////////////////////////////// // w3all Ajax UPDATES for phpBB events //if (window.frameElement) { // if in iframe //if ('parentIFrame' in window){ if(window.self !== window.top){ var pmn = "{PRIVATE_MESSAGE_COUNT}"; var w3all_phpbb_u_logged = "{S_USER_LOGGED_IN}"; // to send to wp at once here var w3appendevents = '#w3all_phpbbpmcount=' + pmn + '#w3all_phpbb_u_logged=' + w3all_phpbb_u_logged; if(w3appendevents.indexOf('w3allmchatif') == -1){ //if(parent.location.href.indexOf(wordpress_url_page_forum) > -1){ parent.w3all_ajaxup_from_phpbb(w3appendevents); //} } // fix vertical iframe centered on viewtopic.php, preview or where # anchor etc (but skip on iOS) var w3iOS = !!navigator.platform && /iPad|iPhone|iPod/.test(navigator.platform); if(w3iOS == false){ $(window).load(function() { var bd = document.getElementsByTagName("body"); for (var i = 0; i < bd.length; i++) { var bdID = bd[i].getAttribute("id"); } var elt = document.getElementById(bdID); elt.setAttribute("style", "position:fixed;top:0%;left:0%;width:100%;margin:0px;"); }); } $( "a" ).contextmenu(function() { var ohref = $(this).attr("href"); var href = this.href; // treath like an external because only open New tab or New window d = w3allNormalize_phpBBUrl(href); hrefEnc = window.btoa(unescape(encodeURIComponent(d))); href1 = wordpress_url_page_forum + '/?w3=' + hrefEnc; $(this).attr("href", href1); // send out encoded $(this).mouseleave(function() { // reset (replaced 'mouseup') $(this).attr("href", ohref); }); }); } // END if (window.frameElement) { </script> <script type="text/javascript" src="https://localhost/root_integrations/phpbb323/iframeResizer.contentWindow.min.js" defer></script> |
after you pasted this code into phpBB overall_footer.html
edit following lines:
1 |
document.domain = 'axew3.com'; // THIS IS MANDATORY! Set/Change this value to your domain (example: axew3.com (or set localhost if on localhost)) |
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:
1 |
var wordpress_url_page_forum = 'https://www.axew3.com/w3/forum'; // MANDATORY! (DO NOT INCLUDE final slash here) Url that point to your wordpress forum page (without final slash) |
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
1 |
<script type="text/javascript" src="https://www.axew3.com/phpBB/iframeResizer.contentWindow.min.js" defer></script> |
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
1 |
src="https://www.yoursite.com/your-phpbb-folder/iframeResizer.contentWindow.min.js" |
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)
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>)
1 2 3 4 5 6 7 8 9 10 |
<!-- IF U_CANONICAL --> <link rel="canonical" href="{U_CANONICAL}"> <!-- ENDIF --> <!-- phpBB style name: prosilver Based on style: prosilver (this is the default phpBB3 style) Original author: Tom Beddard ( http://www.subBlue.com/ ) Modified by: --> |
add the following code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
<!-- IF not S_IS_BOT --><script type="text/javascript"> // START force w3all to iframe redirect var wordpress_url_page_f = 'https://localhost/wp5/forum'; // MANDATORY! // (DO NOT ADD/INCLUDE final slash here) Url that point to your iframed wordpress forum page function w3all0Normalize_phpBBUrl(u){ var bu = "{BOARD_URL}"; w3allappend = "{BOARD_URL}"; if ( /^https?/ig.exec(u) !== null ){ phpbburl = u.split(bu); w3allappend = phpbburl[1]; } if(/^\W/ig.exec(w3allappend) !== null){ w3allappend = w3allappend.split(/^.+?(\w+.+)$/); if(w3allappend[1]){ w3allappend = w3allappend[1]; } if ( w3allappend[1] && w3allappend[1].charAt(0) == '/' ){ w3allappend = w3allappend[1].substr(1); } } return w3allappend; } if ((window.self !== window.top) != true) { //(or get loop) if(/adm\//ig.exec(window.location.href) === null){ // avoid x ACP var w3all_r = window.location.href.replace(/sid=.+/gi, ''); w3all_r = w3all0Normalize_phpBBUrl(w3all_r); hrefEnc = window.btoa(unescape(encodeURIComponent(w3all_r))); href0 = wordpress_url_page_f + '/?w3=' + hrefEnc; document.location.replace(href0); }} // END force w3all to iframe redirect </script> <!-- ENDIF --> |
On added code, change URL on the line where (line 3):
1 |
var wordpress_url_page_f = 'https://localhost/wp5/forum'; |
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:
1 2 3 4 5 6 7 8 9 10 11 12 |
$( "a" ).contextmenu(function() { var ohref = $(this).attr("href"); var href = this.href; // treath like an external because only open New tab or New window d = w3allNormalize_phpBBUrl(href); hrefEnc = window.btoa(unescape(encodeURIComponent(d))); href1 = wordpress_url_page_forum + '/?w3=' + hrefEnc; $(this).attr("href", href1); // send out encoded $(this).mouseleave(function() { // reset (replaced 'mouseup') $(this).attr("href", ohref); }); }); |
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:
1 2 3 4 5 |
if( /\/adm\//ig.exec(href) !== null ){ e.preventDefault(); window.open(href,'_blank'); return; } |
on code for overall_header.html remove this part:
1 2 3 4 5 6 7 |
if ((window.self !== window.top) != true) { //(or get loop) if(/adm\//ig.exec(window.location.href) === null){ // avoid x ACP var w3all_r = window.location.href.replace(/sid=.+/gi, ''); w3all_r = w3all0Normalize_phpBBUrl(w3all_r); hrefEnc = window.btoa(unescape(encodeURIComponent(w3all_r))); href0 = wordpress_url_page_f + '/?w3=' + hrefEnc; document.location.replace(href0); }} // END force w3all to iframe redirect |
change into:
1 2 3 4 5 6 |
if ((window.self !== window.top) != true) { //(or get loop) w3all_r = window.location.href.replace(/sid=.+/gi, ''); w3all_r = w3all0Normalize_phpBBUrl(w3all_r); hrefEnc = window.btoa(unescape(encodeURIComponent(w3all_r))); href0 = wordpress_url_page_f + '/?w3=' + hrefEnc; document.location.replace(href0); } // END force w3all to iframe redirect |
WP_w3all plugin from 2.0.2 – WordPress MU MS . The plugin can be also network activated, but the linked phpBB on each subsite, need to be the same (same path and same url setting value). If the plugin is network activated, it is mandatory that the sub admin or super admin, setup/configure into (each) subsite the same config of the main site for the integration plugin. Users that register in phpBB (if you allow this in phpBB) are added as users only into the FIRST WP site (or subsite) where users will login or that they will visits while coming already logged in into phpBB. *But you could use a plugin to add coming phpBB logged users, into each or just few WordPress site/subsites they visits.
search for line (value wp_ could be different):
1 |
$table_prefix = 'wp_'; |
immediately after ADD:
1 |
define( 'WPW3ALL_MAIN_DBPREFIX', $table_prefix ); |
NOTE since 2.7.9>
If you want the phpBB users additions in WordPress allowing all default WP characters for the WordPress usernames, add the follow:
1 |
define( 'WPW3ALL_USE_DEFAULT_WP_UCHARS', true ); |
adding the above, allowed characters for WordPress usernames that are added in WordPress from phpBB, becomes:
1 |
-0-9A-Za-z _.@ |
so alphanumeric characters (letters and numbers) spaces, underscores, hyphens, periods, and @
The default WP MUMS normally and by default only allow the range
1 |
0-9A-Za-z |
so only alphanumeric characters
BEWARE that it is NOT possible to link different phpBB installations on same installation network, the integration in this state lead to unpredictable results.
Setup into each sub-site, same configuration values of the main site.
NOTE: WP_w3all phpBB integration plugin when an user is deleted in WordPress (so maybe it will be deleted in phpBB also) go to immediately clean up this user from the signup table in WordPress. This is necessary for compatibility with the phpBB integration, in case it’s allowed to register users in phpBB, and an user has been also deleted in phpBB while the user has been deleted in WP, but the email/username still exists stored into the WP database signups for some while, when on mums (or using plugins like buddypress etc).
Problem: i have WordPress users and I have phpbb users, they have different usernames but the same email addresses.
user A into phpBB with email C
user B into WP with email C
user A into phpBB come to try to login WP: NOT added can’t login WP side.
If you use the transfer process of WP users into phpBB:
user A Same above.
user B transferred into phpBB, B now can login into both phpBB and WP.
You’ll have two users into phpBB with same email, which is possible as option into phpBB.
Change email to the user B in WP.
Login with the phpBB user A into WP, that will be added, as no same email found.
Now delete user B in WP, and retain posts assigning to A.
Result: an unique user, with all his posts on both phpBB and WP.
NOTE: This is just to give an idea on how to resolve common problems about an integration with pre existent users in phpBB that may have same email. But there are several more possibilities: in phpBB ACP there are many options to manage users and posts, and combining these and from the above, you should get the way to resolve any possible scenario.
Based on this topic: How are users identified? (when adding/transfer existent users)
WPD w3all WordPress plugin for Dropbox, to display and manage shared Dropbox user’s files into WordPress user’s pages.
Display shared Dropbox files, into WordPress user’s pages.
Choose between Full Dropbox App or Folder App.
Ajax images gallery.
Choose which WP groups can use the Dropbox in WordPress.
Limit files in sharing to retrieve and display in WordPress.
Data cache.
Template embed into any WordPress with an easy how to included.
Users can manage their files within WordPress, delete/create folders, link, unlink files and folders, upload and create/link files and folders.
Any other feature on request.
The Dropbox plugin has been installed also here at axew3.com, and activated for an user named axew3:
https://www.axew3.com/w3/dropbox/?u=axew3
Display into WordPress, images from Dropbox, by coping the link of it on WordPress Dropbox user page, and by clicking on WP button
Add Media -> Insert from Url and just paste the URL.
Or files just adding pure URL:
https://www.dropbox.com/s/dp842rkzmhwtzx7/BioRhyme.zip?dl=1
Ask for it at https://plugins.w3tasks.com/wp/
If you like to test the user files manager, which is feature available for each user on his own WordPress Dropbox page, please register into this site, or at plugins.w3tasks.com, and send a request by using the contact page.