Download the fixed page-forum, and replace into your active template folder, then rename into
page-board.php (as it is for you)
after you eliminated the existent page-board.php We should be now up and running ...
unfortunately, i will then release the 2.2.2 immediately, explaining that will be required to rebuild page-forum (or substitute manually like may you'll do and as above explained). Now all will work fine.
Changed code into page-forum:
this code
Code: Select all
// default
if( isset($_GET["w3"]) ){
$phpbb_url = trim(base64_decode($_GET["w3"]));
$w3all_url_to_cms = $w3all_url_to_cms . '/' . $phpbb_url;
if( preg_match('/[^-0-9A-Za-z\._#\:\?\/=&%]/ui',$phpbb_url) ){
$w3all_url_to_cms = $w3all_url_to_cms;
}
}
// fancy
if( isset($_GET[$w3all_iframe_custom_w3fancyurl]) ){
$phpbb_url = trim(base64_decode($_GET[$w3all_iframe_custom_w3fancyurl]));
$w3all_url_to_cms = $w3all_url_to_cms . '/' . $phpbb_url;
if( preg_match('/[^-0-9A-Za-z\._#\:\?\/=&%]/ui',$phpbb_url) ){
$w3all_url_to_cms = $w3all_url_to_cms;
}
}
Code: Select all
if( isset($_GET["w3"]) ){ // default
$phpbb_url = trim(base64_decode($_GET["w3"]));
$w3all_url_to_cms = $w3all_url_to_cms . '/' . $phpbb_url;
if( preg_match('/[^-0-9A-Za-z\._#\:\?\/=&%]/ui',$phpbb_url) ){
$w3all_url_to_cms = $w3all_url_to_cms;
}
} elseif ( isset($_GET[$w3all_iframe_custom_w3fancyurl]) && empty($w3forum_id) ){ //fancy
$phpbb_url = trim(base64_decode($_GET[$w3all_iframe_custom_w3fancyurl]));
$w3all_url_to_cms = $w3all_url_to_cms . '/' . $phpbb_url;
if( preg_match('/[^-0-9A-Za-z\._#\:\?\/=&%]/ui',$phpbb_url) ){
$w3all_url_to_cms = $w3all_url_to_cms;
}
}
[EDITED]2.2.2 has been released, it contain the new page-forum.php
/wp-content/plugins/wp-w3all-phpbb-integration/addons/page-forum.php