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.

After upgrade User Activation Notification email not working properly.

12 years 2 months ago
  • Jared's Avatar
    Topic Author
  • Jared
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 2
Licenses:
JomSocial Expired Socialize Expired

Just noticed that after upgrade users are now being required to be activated by admin approval when the system is set to SELF. Please fix ASAP.


Attachment Untitled_2014-08-14.png not found

Attachments:
12 years 2 months ago
  • Jared's Avatar
    Topic Author
  • Jared
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 2
Licenses:
JomSocial Expired Socialize Expired

Will this fix the problem?

at /components/com_community/models/register.php line 109
from
$user->set('block', '0');

to
$user->set('block', 'block * 0');

12 years 2 months ago
  • Jared's Avatar
    Topic Author
  • Jared
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 2
Licenses:
JomSocial Expired Socialize Expired

After testing, the above fix solves the user activation HOWEVER the notification email that is sent to the admin is still incorrect as it shows that it needs admin approval.

I think an override needs to be created. Can you confirm what override needs to be used?

12 years 2 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Jared,

What is the detail email to admin? can you provide me the screenshoot please? I also tested the new members activation is working fine.

thank you

12 years 2 months ago
  • Jared's Avatar
    Topic Author
  • Jared
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 2
Licenses:
JomSocial Expired Socialize Expired

The screenshot is in the original post above. It's the one that shows that the user needs to be approved by an admin when this is not the case.

12 years 2 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Jared,

I see, I able to replicate it.. I will mark this issue as valid bug..

thank you

12 years 2 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

to fix this issue, you need open this file components/com_community/controllers/register.php, find this :

if ($requireApproval || ($com_user_activation_type == 2 && (count($profileTypes) == 0) || !$config->get('profile_multiprofile')) ) {

replace to :
if ($requireApproval || ($com_user_activation_type == 2 && (count($profileTypes) == 0 || !$config->get('profile_multiprofile')))) {

Please let me know how it goes..

thank you

12 years 2 months ago
  • Jared's Avatar
    Topic Author
  • Jared
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 2
Licenses:
JomSocial Expired Socialize Expired

Confirmed that this resolved the issue.

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