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.

Email for New Registrations Not Being Sent

10 years 11 months ago
  • Ivan's Avatar
    Topic Author
  • Ivan
  • Offline
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Licenses:
JomSocial Expired Socialize Expired

Email with username and password for New Registrations Not Being Sent. New user can receive only Activation Link Email.
Also have following error on change avatar page: "error loading component: com_kunena, 1"

I think, first problem is started after update to JS 3.2.0.5 and after change VPS, second one after update to 3.2.0.6.

Attachments:
10 years 11 months ago
Licenses:

Hi, Ivan.

Temporary fix for kunena error notice:

Open:
FRONTEND/libraries/notificationtypes.php
FRONTEND/libraries/emailtypes.php

Find:
if (JComponentHelper::getComponent('com_kunena', true)->enabled && $plugin_enabled)

Change to
if (class_exists('KunenaForum') && $plugin_enabled)

As for registration email issue - I assign developer to this thread.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 11 months ago
Licenses:

Hi Ivan,

I confirmed this is a valid bug. But I already create temporary fixes for you.
/components/com_community/controllers/register.php
add new code at line 706:

$com_user_activation_sendpassword = $com_user_config->get('sendpassword');

add new code at line 796 below // Send email to user:
        // Send username and password if enabled from user backend
        if ($type == 'registration_uncomplete' && $com_user_activation_sendpassword == 1) {
            //check if HTML emails are set to ON
            if ($config->get('htmlemail')) {
                $sendashtml = true;
                $tmpl = new CTemplate();
                $message = CString::str_ireplace(array("\r\n", "\r", "\n"), '<br />', $message);

                $tmpl->set('name', $name);
                $tmpl->set('email', $email);

                $message = $tmpl->set('unsubscribeLink', CRoute::getExternalURL('index.php?option=com_community&view=profile&task=email'), false)
                        ->set('content', $message)
                        ->set('copyrightemail', $copyrightemail)
                        ->set('sitename', $config->get('sitename'))
                        ->fetch('email.html');
            }

            $mail = JFactory::getMailer();
            $mail->sendMail($mailfrom, $fromname, $email, $subject, $message, $sendashtml);
        }

Regards,
Albert

The following user(s) said Thank You: Ivan
10 years 11 months ago
  • Ivan's Avatar
    Topic Author
  • Ivan
  • Offline
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Licenses:
JomSocial Expired Socialize Expired

Ok, thank you, all works now

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