i'm just over for a while preparing next coming 1.6.5 release, that will resolve also the scroll to top for iframe on all phpBB links onclick events:
open page-forum.php (or whatever you named it)
search for:
Code: Select all
if (w3all_pass_login_out == true) {
window.location.replace('".$w3allhomeurl."/index.php/".$wp_w3all_forum_folder_wp."/');
}
immediately after add this:
Code: Select all
var w3all_kk = (w3all_passed_url.indexOf('viewtopic.php') > -1);
if (w3all_kk == false) {
window.scrollTo(0, 200);
}
The page forum will be updated with the above code, and will remove all others calls to:
Adding the above code without removing others calls to
window.scrollTo, should return same result, so if like to resolve before 1.6.5, just add this in the while to your page-forum.php-
It has already been added into this running install.
Finally, i've discover it is more easy to remove the scroll behavior for events where it need to not fire, that are only few, instead the contrary!
i'm just over for a while preparing next coming 1.6.5 release, that will resolve also the scroll to top for iframe on all phpBB links onclick events:
open page-forum.php (or whatever you named it)
search for:
[code] if (w3all_pass_login_out == true) {
window.location.replace('".$w3allhomeurl."/index.php/".$wp_w3all_forum_folder_wp."/');
}[/code]
immediately after add this:
[code]
var w3all_kk = (w3all_passed_url.indexOf('viewtopic.php') > -1);
if (w3all_kk == false) {
window.scrollTo(0, 200);
}[/code]
[b]The page forum will be updated with the above code[/b], and will remove all others calls to:
[code]window.scrollTo(0, 200);[/code]
Adding the above code without removing others calls to [i]window.scrollTo[/i], should return same result, so if like to resolve before 1.6.5, just add this in the while to your page-forum.php-
It has already been added into this running install.
Finally, i've discover it is more easy to remove the scroll behavior for events where it need to not fire, that are only few, instead the contrary!