Pass password in confirmation email with Joomla reg plugin

UHU 05 Dec, 2008
It seems many people still ask the question so...
THIS IS HOW TO PASS PASSWORD INFO IN THE CONFIRMATION MESSAGE WHEN USING JOOMLA REGISTRATION PLUGIN
I used this with Joomla 1.5.8

go to component folder
then com_chronocontact folder
then plugins folder
then
in cf_joomla_registration.php

Just change line 253 to

$message = sprintf ( JText::_( 'SEND_MSG' ), $name, $sitename, $siteURL, $username, $password);


Then go to

language folder
then
fr-FR.com_user.ini (mine is French)

find SEND_MSG=

place %s in this exact order

Hello %s (name) /n/nWelcome to %s (sitename) at %s (siteURL)./n/nYour username is %s (username) and password is %s (password)


The words in parenthesis are just comments to help you understand how all %s will be replaced. Don't actually write them in your code.

To change the title of your message find in the language file

ACCOUNT DETAILS FOR=

Change it to what you want.

I hope this will help you all.

kind regards,

L.
Max_admin 05 Dec, 2008
Thank you very much Laure for providing this info!

or use these files without doing any hacks!🙂

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
UHU 12 Dec, 2008
My pleasure Max
This topic is locked and no more replies can be posted.