It’s hard to believe that half of the year has already passed. XenWord 3.0 Gold was going to be released last month but important bug fixes were needed and it was important to let more people test out XenWord 3.0.6.03.
The contributions by several members has been outstanding and the code keeps getting cleaner.
I tackled the inserting of XenWord members into the WordPress database today. The code was spaghetti. The code needs cleaning up for the updating of users, since this appears a sticking point for several sites.
Here is the changelog for 3.0.6.04 as of July 2, 2016
( 114 ) 3.0.6.04 – July 2, 2016
Tested with WordPress 4.6 beta 1
Bug Fix: rewrite of adding XF users to WP database
Bug Fix: added tag creation conditionals during insert new thread
Bug Fix: wp-login.php accessible after login
New code: class-xenword-add-wpusers.php, update_user_status for multisite
New code: class-xenword-add-wpusers.php, update_user_meta xf_user_id for future use
I specifically want to thank Gracie for all of her hard work. She’s doing a great job helping all of the new customers.
Please watch the bug reports forum as well as the suggestions forum so we can make this plugin even better.
Important: I’ll be in training July 10-22 and not available. Gracie also wants to go on vacation. We haven’t figured out how this will work but don’t want to leave anyone without support.
The good news is that I've figured out some important OOP concepts and can hopefully refactor code to be DRY. In fact, I was working on the XenWord_XF_Users class, and have put in some public properties and things seem good. Unfortunately … well … have a look at the video.
[MEDIA=youtube]lm7hXzFaPeg[/MEDIA]
Alright, let's call in the "strange behavior" police. Earlier versions were installed on a dev server and the same issue happens. Interestingly, it is not happening on this site (which has the refactored code).
Here are today's changes for XenWord 3.1
( 115 ) 3.1.0.0 – July 6, 2016
Added support for timestamps in Comment system.
Added support for Postratings in Login Widget.
Added XenWord_Author class to class-xenword-author.php file
Added XenWord_Login class to class-xenword-login.php file
Changed wp_generate_password to length of 24 rather than default of 12
[USER=23118]@Scharesoft[/USER] contributed to the comment system timestamp and submitted a bug fix for the removal of roles for someone who was banned on the XenForo side. Thank you !
Support for the XenForo Postratings add-on is now included in the login widget. When the add-on is installed, and the add-on is enabled in the XenWord panel, then the login widget changes to "Ratings" rather than "Likes." Positive, neutral, and negative ratings then show in the Login widget.
[ATTACH=full]1253[/ATTACH]
Tonight's work may not seem important for most of you, but the XenWord panel needs lots of love and attention to help new users install and customize their settings.
Here are some changes made tonight. Aligning IDs and setting the proper absolute path are two of the most common support tickets. The new wording and layout may help.
[ATTACH=full]1254[/ATTACH]
I worked through the banned issue. An account marked banned in XenForo will now have a meta value in WordPress of banned ==1. A new file was created to stop the loading of the comment form when this banned meta value is present.