uKnowva 2.4.2 is here with a host of improvements, bug fixes, and new features. Most of the bug fixes were reported by our users and instead of doing them all together and releasing a version later we have fixed some of them and released a version now. Check out the new features and bug fixes below:
New Features/Improvements
- Admins can now set the offline message for the site from the uKnowva Configuration
- Developers can now make an event marked on the calendar open in a pop-up. All they have to do is put the parameter of the event object as “modal”
- Replaced the Heart icon in Knowledge Base with a Star icon
- User will now receive a notification when he receives a Thank You his post in the Knowledge Base
- Added functionality of nested user groups
- Developers can now use the function getSubUserGroups() in JUserHelper class to get the sub-user groups of a user group
- Functions getUsersInGroups(), saveSettings() and removeGroup() (the latter 2 in plugins-->adminsettings-->user_groups-->user_groups.php) now handle sub groups as well
- Introduced a new library: BarcodeHelper. It is defined in /libraries/conv/barcode.php. uKnowvaBarcode is a utility functions class to generate machine readable codes like barcode/QR code
- Introduced a new function which prints a bar code image in uKnowvaUI::barCodeImage()
- Introduced uKnowvaUtility::sendMail(). This function sends an email to the recipient without the user having to enter the “From” name and email every time. It uses Jutility::sendmail, but the from and to is directly taken from configuration
- Added an option for developers to have optgroups in selectlist in uKnowvaUI::selectList() , you can now specify it in the child attribute as an array
- Introduced the udump function for doing var_dump with <pre> tags in /libraries/loader.php. Read this article for more information
- Admins can now find out the instance’s DB prefix from System Information in uKnowva Configuration
- Added the options of exclude, include_groups and exclude_groups in listUsers function of UVWDocs model of category—this function is responsible for all token inputs
- Group Admins can now forcefully add members to a group. Access from Group Administration-->Add Members
- Added the Home icon in Apps Menu
- Added a setting in Global Configuration to control emails sent to admins and moderators in knowledge settings
- Added JPluginHelper::importPlugin('user'); in com_community/templates/uknowva. This has pluginified the Control Bar, Profile Action Bar, Profile Stats, Profile Share, and all information displayed below a user’s profile. To add more information on the Profile page, developers only need to write a plug-in
- Added a line in ConvHelper::isSuperior() function to handle the following scenario: there can be times when $superior is not passed. In that case, we should take the current logged in user $superior = $superior ? $superior : JFactory::getUser()->id; Suggested by Ninad
- Made components/com_users/views/login/tmpl/slider.php overwrittable in templates. Developers can now write their own login page slider by adding the file in their template/html/com_users/slider.php
- Changed the ordering of Knowledge Categories. Newly added categories will now appear at the bottom of the list
- Added the code to /components/com_community/libraries/core.php under Croute::_() to get the individual groups SEF URLs, if available. You can now give Groups custom URLs, like User Profiles
- Added the conditions of registration redirect to com_community in uKnowva system plugin in afterRoute function
- Added the facility to change receive system email settings in Global Configuation --> User Manager. Admin can now set this option for users individually from User Manager
- From Name setting has been added in Email settings under Global Configuration
- Import Users functionality added in User manager under uKnowva Configuration
- Added the logic in /com_community/templates/uknowva/profile.index.php to insert links in the Stats bar
- Added the access level option in ConvHelper::getComponentItemid()
- Added the parameter of marker, as recommended by Ninad, in uKnowvaUI::actionLabel () and also made it more developer friendly by adding default options like view, edit, etc.
- Added the Reports To information below the user’s profile picture
- Added edit, add and delete options for group, event and video categories for the admin
Bug Fixes
- Fixed the issue of non-admin groups’ sessions getting automatically timed out in 10-15 minutes
- Fixed the issue of long titles in Latest Photos and Latest Videos modules
- Fixed the issue of ConvHelper::findAccesslevel() skipping the first record
- Fixed the problem with the AJAX URL in the keep alive function in Jbehavior class
- Fixed the core bug of class convheper not found in libraries/joomla/user/user.php
- Fixed the issue of the photo slider photos going out of the content area by changing the components\com_community\templates\uknowva\css\style.old.css and components\com_community\assets\photos.css
- Fixed the Vimeo video share issue. Users can now link videos from Vimeo
- Fixed the IE issue for quotes. Now on clicking edit, options open in a pop-up instead of the new tab, as it was before
- Fixed the calendar issue in communityevents plugin where public events were plotted on everyone's calendar. It has now been parameterized to show on only those user’s calendars who are attending the event
- Fixed the issues of array type params not saving in uKnowva Apps manager, did changes to JForm class as well as Apps manager
- Fixed the issue of default thumbnails in latest videos section…thanks to Nikhil for that
- Fixed the issue of icon width getting set as 1% in Google Chrome
- Rectified the core function ConvHelper::getAllUserGroups($exclude = array()), if nothing was passed in exclude, this function used to return null
- Fixed the issue of sub groups not populating in the User Manager when a parent group is selected in the User Group drop-down
- Resolved a serious bug of registration email going to all users instead of only admins. Changes made in /components/com_users/models/registration.php. Refer this article for more details
- Bug resolved where group activities got deleted automatically
- Fixed the bug so that uploaded videos would play even if the title had an “&” in it
- Resolved a bug so that the delete comment option is now visible to the admins
- Fixed the bug of onFinish, etc., event not firing on file upload in uKnowva popups