Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

New group item,setting no admin approval, still gives an email ask approval

9 years 6 months ago
Licenses:
JomSocial Active

ISSUE SUMMARY:
When somebody add a new group and the settings in the admin is 'No admin approval needed', it is still sending an email to the admin about the new group and that it must be approved.

This was working in 4.0.8 (no email) :-)

STEPS TO REPLICATE:
1
2
3
4
5
RESULT
EXPECTED RESULT
BROWSER

9 years 6 months ago
Licenses:

Hi,

please edit your first post at this topic. and put valid credentials information at there. under site form (private).
I cant login to backend because got htaccess login protection.

Regards

9 years 6 months ago
Licenses:
JomSocial Active

Done, problem with not redirecting to HTTPS.

9 years 6 months ago
Licenses:

Hi,

I activate test user from joomla backend. after that I creating new group. there is no any approval.
please correction me if I missing something.

Regards

9 years 6 months ago
Licenses:
JomSocial Active

Hi

Thats right, you don't need admin approval to continue in front. But I receive an email, see attachement, that I must approve the group. So for some reason the email is sent while it is not needed.

This issue is created in the last upgrade to the latest version 4.1.1.

Attachments:
9 years 6 months ago
Licenses:

Hi,

This attachment is hidden for guests.
Please log in or register to see it.

please unzip this file and put it at:
/components/com_community/controllers/groups.php

dont forget to backup prev file first.

Regards

This message has an attachment file.
Please log in or register to see it.

9 years 6 months ago
Licenses:
JomSocial Active

Hi

Thanks, but the file you sent is the same as the version of Jomsocial 4.1.1.

Best regards
Dennis

9 years 6 months ago
Licenses:

Hi,

its confirmed this is a valid bug. for temporary fix please edit that file, at line 1950, remove this code

if ($group->approvals == 0) {
    $title_email = JText::_('COM_COMMUNITY_EMAIL_NEW_GROUP_NEED_APPROVAL_TITLE');
    $message_email = JText::sprintf('COM_COMMUNITY_EMAIL_NEW_GROUP_NEED_APPROVAL_MESSAGE', $my->getDisplayName(), $group->name);
    $from = $mainframe->getCfg('mailfrom'); //$jConfig->getValue( 'mailfrom' );
    $to = $config->get('notifyMaxReport');
    CNotificationLibrary::add('groups_create', $from, $to, $title_email, $message_email, '', '');
}

Regards

The following user(s) said Thank You: Dennis Buijs
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