• ResolvedPlugin Author axew3

    (@axewww)


    = 1.6.8 =
    *Release Date - 4 Apr, 2017*
    
    * Fix/option language switch for users between WP/phpBB: it is now option on wp_w3all config page to be activated or not (explanation added on same option field).
    * Add user's last visit time update in phpBB even if user visit WordPress, but not phpBB forum. Added into existent time/update query, do not add any call more to phpBB db.
    * Fix display 'You have n unread phpBB PM': by default it display only if there are new pm messages and not if 0 (zero).
    * Replace preg_match to check for email, with native WP function about.
    * Some code change into iframe default page-forum.php code: if you wish to update to latest iframe changes, you need to rebuild page forum into wp_w3all Admin config page (or do it manually) and it is necessary to update the overall_footer.html code of phpBB template with latest: https://www.axew3.com/w3/2016/02/embed-phpbb-into-wordpress-template-iframe-responsive/
    * Minors code clean up.
Viewing 3 replies - 1 through 3 (of 3 total)
  • 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-

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘1.6.8 released’ is closed to new replies.