Yeah it was coming out with 3 also before: the fix apllied can't affect the result you have, because this fix affect only the fact that when you point mouse over links into widgets or shortcodes, it is switched to point to WP forum page, instead then direct phpBB real url. It is seo tricky, and with overall_header.html code, you could also disable the option to switch links for iframe, because any real url will cause by the way a page reload, to the WP forum page (with iframed phpBB).
This Javavascript code, was added (wrongly) since last updates, enqueued to header, now into footer but this not change substantially nothing about the problem you have, because in your case it seem to me (but may i'm wrong):
when links are built into
views/phpbb_last_topics.php
Code: Select all
if ( $w3all_iframe_phpbb_link_yn == 1 ){ // if on iframe mode, links are in this way (js trick x seo added)
// this build the iframe href to switch to, if iframe links are active: the url to iframed Wp page is only passed onmouseover, so a crawler will see the real phpBB url to topic/post, while user will be redirect to iframed WP page
// see wp_w3all.php -> function w3all_widget_iframe_href(){
$ih = get_home_url()."/index.php/$wp_w3all_forum_folder_wp/?forum_id=$value->forum_id&topic_id=$value->topic_id&post_id=$value->post_id#p$value->post_id";
$idsh = 'w3all' . $countn . mt_rand(999,500000); // guess (+- surely) to not build a duplicated ID for the 'a' element on page output, even with multiple widgets/shortcodes instances on same page ...
I would really know, what exactly this
into above code, cause the fact that it return
index.php/index.php/index.php
if you substitute this line:
Code: Select all
$ih = get_home_url()."/index.php/$wp_w3all_forum_folder_wp/?forum_id=$value->forum_id&topic_id=$value->topic_id&post_id=$value->post_id#p$value->post_id";
with this in your case:
Code: Select all
$ih = "https://talkatastic.be/index.php/$wp_w3all_forum_folder_wp/?forum_id=$value->forum_id&topic_id=$value->topic_id&post_id=$value->post_id#p$value->post_id";
if you can try this, without having under hand the thing, may we can do a step over about the problem ... this is a stupid fix, like many other could
if you applied let me know the result, so we'll know what about
the other is to know, and there are no other possibilities, what
$w3all_url_to_cms output here (little more after the above):
Code: Select all
if ( $w3all_avatars_yn ){
echo "<li class=\"".$w3all_lastopics_style_li_class."\"><table style=\"border-spacing:0;border-collapse:collapse;vertical-align:middle;margin:0;border:0;\"><tr><td style=\"border:0;width:".$w3all_last_t_avatar_dim."px;\">".$w3all_avatar_display."</td><td style=\"border:0;width:auto\"><a id=\"".$idsh."\" onmouseover=\"w3allIframeHref('".$idsh."','".$ih."');\" href=\"$w3all_url_to_cms/viewtopic.php?f=$value->forum_id&t=$value->topic_id&p=$value->post_id#p$value->post_id\">$value->topic_title</a> ".$w3all_post_state_ru."<br />".__( 'by ' , 'wp-w3all-phpbb-integration' )." $value->topic_last_poster_name ".__( 'at ' , 'wp-w3all-phpbb-integration' ) . date_i18n( 'H:i Y-m-d', $value->topic_last_post_time + ( 3600 * get_option( 'gmt_offset' )) ) ."</td></tr></table></li>\n";
} else {
echo "<li class=\"".$w3all_lastopics_style_li_class."\"><a id=\"".$idsh."\" onmouseover=\" w3allIframeHref('".$idsh."','".$ih."');\" href=\"$w3all_url_to_cms/viewtopic.php?f=$value->forum_id&t=$value->topic_id&p=$value->post_id#p$value->post_id\">$value->topic_title</a> ".$w3all_post_state_ru."<br />".__( 'by' , 'wp-w3all-phpbb-integration' )." $value->topic_last_poster_name ".__( 'at ' , 'wp-w3all-phpbb-integration' ) . date_i18n( 'H:i Y-m-d', $value->topic_last_post_time + ( 3600 * get_option( 'gmt_offset' )) ) ."</li>\n";
}
adding just before:
this:
Code: Select all
$w3all_url_to_cms = 'https://talkatastic.be/board';
that should be the value you had have set into plugin admin for the option
URL that point to phpBB
then we'll know what's wrong with your config/result