1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XenWord 3.4.2.0: WordPress Dashboard Support Widget

Discussion in 'XenWord Development Archives' started by LPH, Apr 9, 2017.

Tags:
  1. LPH

    LPH Flight Director Flight Instructor

    Likes Received:
    735
    XenWord 3.4.2.0 now includes a WordPress dashboard support widget. This is enabled through the XenWord options panel and is off by default.

    XenWord Dashboard Support Widget.png

    Some sites have been testing some of the changes made under a version labeled 3.4.1.1. This has been bumped due to the addition of the widget as well as the check for the presence of the PHP mbstring extension.

    ( 128 ) 3.4.2.0 - April 9 ,2017
    Tested with WordPress 4.7.3
    Added getModelCacheFrom method to XenWord class (testing in Members Online Widget)
    Added mbstring check
    Added conditional in Posts.php to stop deleted posts being copied to WordPress comments
    Added new support dashboard widget
    Members online widget: Tied in options in XenWord Settings Panel
    xenword-public.css file: removed float left for Members online
    Renamed xenword-class-xenword-xenforo.php to class-xenword-connector.php
    Bug Fix: class-xenword-stylesheets.php link to xenforo.js
     
    • Like Like x 2
  2. LPH

    LPH Flight Director Flight Instructor

    Likes Received:
    735
    This version is incomplete. I'm not satisfied with the changes to the Online Widget code and I've already started to make changes to the discussion link.

    For example, instead of a long complicated use of get_post_custom_values such as the following:

    PHP:
    1. $thread_id = get_post_custom_values( 'thread_id', $post_id );
    It is far simpler to call $post->thread_id.

    PHP:
    1. $thread_id = $post->thread_id;
     

Share This Page