[CONFIRMED] Registration emails [PASSWORD]

11 years 10 months ago #52914 by MikeLewis
Thanks!

That was just what I needed.

:cheer:

Post edited by: MikeLewis, at: 2007/12/22 00:29
11 years 7 months ago #60365 by jannek1
I thank you verry much for this code correction. It works perfectly.

Der Brandenburger grüßt den Bayern.
(The Brandenburger salutes the Bavarian.)
11 years 7 months ago #60759 by straatvaart
Hi,

I have followed the entire section. I am running Joomla 1.0.15 and CB 1.1

I cant find the said file under
/components/com_comprofiler/comprofiler.class.php

I got there only comprofiler.php and comprofiler.html.php...

I still am strugling thus with this [PASSWORD] text in all my users registration notifications...

what is wrong, how come I cant find the file just mentioned... Thanks for your replies
11 years 6 months ago #61405 by matrix845
king.lui wrote:

Try this:

=> comprofiler.class.php
=> function _replaceVariables

after this line (4982):
$msg = cbstr_ireplace("[CONFIRM]", $confirmLink, $msg );

put this (code from older cb-versions):
$array = array();
$array=get_object_vars($row);
foreach( $array AS $k=>$v) {
if(!is_object($v)) {
if (!(strtolower($k) == "password" && strlen($v) >= 32)) {
$msg = cbstr_ireplace("[".$k."]", getLangDefinition($v), $msg );
}
}
}



Hi guys , this patch works perfectlly for the activation email , but there is a problem:
When a user lost the activation email (and never click on the activation link), with CB can try to login in the site with password and nickname used in the registration , and CB sends an email with a new password.
But with this patch the system continue to not work!!


How I can patch this?

Thanks a lot

BR

Pierpaolo
11 years 5 months ago #63262 by Els
straatvaart wrote:

I cant find the said file under
/components/com_comprofiler/comprofiler.class.php


It's not in /components/ but in /administrator/components/ :-)
11 years 2 months ago #71520 by jwkk
super me who works in one hand, the new registration in the mail with the license reference is really a password even when zapomenutém password to send mail to the administrative password. Super
Moderators: beatnantkrileon
Time to create page: 0.632 seconds
Facebook Twitter Google LinkedIn