Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

Suggestion: Fix Usability Problem on Email Preference

6 years 3 months ago
  • Viktor 's Avatar
    Topic Author
  • Viktor
  • Offline
  • Junior Boarder
  • Posts: 131
  • Thank you received: 29
Licenses:
JomSocial Expired

Problem:
Jomsocial relies on 4 main features: VIDEOS, EVENTS, PHOTOS, and GROUPS where the setting to enable/disable it can be found in admin backend. The usability problem come when you disable one (or more) of these feature, the User Preference Page (index.php?option=com_community&view=profile&task=preferences&Itemid=378#emailPref) still showing the feature setting that you already disabled/turn off

Site Impact: Low, this is not a bug that can leads to serious error, but can little bit impact on user experience as User will be wondering what this setting is all about, they tried different setting but has no impact on them, for some user, this can confused them and arise questions to admin

Solution:
1. Open com_community/templates/default/profile.preferences.php
2. Find:

if ($notificationTypes->isAdminOnlyGroup($group->description) && !$isadmin) {
						continue;
						}
INSERT AFTER THAT LINE:
if($config->get('enablevideos')=="0"&&$group->description=="COM_COMMUNITY_NOTIFICATIONGROUP_VIDEOS"){
							continue;
						}
if($config->get('enableevents')=="0"&&$group->description=="COM_COMMUNITY_NOTIFICATIONGROUP_EVENTS"){
							continue;
						}
if($config->get('enablephotos')=="0"&&$group->description=="COM_COMMUNITY_NOTIFICATIONGROUP_PHOTOS"){
							continue;
						}
if($config->get('enablegroups')=="0"&&$group->description=="COM_COMMUNITY_NOTIFICATIONGROUP_GROUPS"){
							continue;
						}

Hope fully someone can also verify this and hope core devs can patch this to jomsocial next release.

Best Regards,
Vic

6 years 3 months ago
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hello Viktor

I have replicated this bug and already reported it to the tracker

It should be fixed for version 3.1.1

Thanks


- Don't say feature not working. Instead, explain what you tried and what was the outcome.
- When you think you found the bug, try to replicate it on a fresh Joomla.
- When looking for support always provide temporary Super Administrative access to your site. We will ask for it anyway.
- Help yourself and read documentation which can give you answers to almost all questions you may have
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW