Last edit to
/views/wp_w3all_phpbb_iframe_short.php and page-forum, reverting as in the past was, lead to the fact, that the global
$w3all_url_to_cmsvar being rewritten, and when on subsequent call by widgets the var is so used, the url will present (to get avatars if there are from phpBB gallery for example, or uploaded in phpBB)
index.php/ as part of the url that call for image to display, that lead to fail avatars from phpBB into widgets.
the solution is this, so the page-forum and
/views/wp_w3all_phpbb_iframe_short.php will be updated again right now:
Code: Select all
....
// bug -> https://wordpress.org/support/topic/problem-using-iframe-feature-with-https/
if( strlen($w3all_url_to_cms) == strlen(get_option( 'w3all_url_to_cms' )) OR strlen($w3all_url_to_cms) == strlen(get_option( 'w3all_url_to_cms' )) + 1 )
{
// do not re-write value of the global $w3all_url_to_cms or index.php will be may appended into widgets avatars urls, so that will make it fail image loads
$w3all_url_to_cms_sw = $w3all_url_to_cms;
$w3all_url_to_cms_sw .= (substr($w3all_url_to_cms, -1) == '/' ? '' : '/index.php');
} else { $w3all_url_to_cms_sw = $w3all_url_to_cms; }
$w3all_url_to_cms_switch_phpbb_default_url = (empty($ltm['phpbb_default_url'])) ? $w3all_url_to_cms_sw : $ltm['phpbb_default_url'];
....