Plugin Author
axew3
(@axewww)
wp_w3all.php has been updated to display PM count into address bar if messages are more than 0 and NOT when more than 1 (as of course it need to be).
So to fix PM message on address bar that do not display PM messages until aren’t 2, please re-download plugin and substitute the wp_w3all.php file.
Or just open wp_w3all.php file with a text editor, search for:
if($phpbb_user_session[0]->user_unread_privmsg > 1){
change in
if($phpbb_user_session[0]->user_unread_privmsg > 0){
Plugin Author
axew3
(@axewww)
class.wp.w3all-phpbb.php has been just updated on repository to resolve activate user after reset password in phpBB when option deactivate user until WP confirmation is set into wp_w3all config. Please download and replace the file into wp_w3all plugin folder.
You can download the single file and replace it directly from here:
https://plugins.trac.ww.wp.xz.cn/browser/wp-w3all-phpbb-integration/trunk
Plugin Author
axew3
(@axewww)
addons/page-forum.php has been updated.
https://plugins.trac.ww.wp.xz.cn/browser/wp-w3all-phpbb-integration/trunk/addons
just to remove the annoying leap of iframe onscroll.
Download addons/page-forum.php and replace into addons folder to rebuild from wp_w3all config, or better, just download the forum-page.php from repository, and replace with it the one inside your wpTemplateDir/yourWPtheme/page-forum.php (or what ever you have name it into admin settings wp_w3all config.
Or even apply modification in this way:
open page-forum(or whatever you have name it).php into your WP template folder.
search for line:
<iframe style="width:100%;border:0 !important; scrolling="no" src="<?php echo $w3all_url_to_cms; ?>"></iframe>
replace with:
<iframe id=w3all_phpbb_iframe" style="width:100%;border:0 !important; scrolling="no" src="<?php echo $w3all_url_to_cms; ?>"></iframe>
search now for:
// to scroll or not // see phpBB overall_footer.html
var w3all_scroll_yn = (messageData.message.indexOf('#scroll') > -1);
if(w3all_scroll_yn == true) {
window.scrollTo(0, 200); // change maybe 200 (px) to a value that better fit correct scroll for your theme
}
replace with:
// to scroll or not // see phpBB overall_footer.html
if(messageData.message.indexOf('#scroll') > -1) {
jQuery('#w3all_phpbb_iframe').on('load', function () {
window.scrollTo(0, 200);
});
}
save-