[CONFIRMED] Registration emails [PASSWORD]

12 years 6 months ago #52914 by MikeLewis
Replied by MikeLewis on topic Re:[CONFIRMED] Registration emails [PASSWORD]
Thanks!

That was just what I needed.

:cheer:

Post edited by: MikeLewis, at: 2007/12/22 00:29

Please Log in to join the conversation.

12 years 3 months ago #60365 by jannek1
Replied by jannek1 on topic Re:[CONFIRMED] Registration emails [PASSWORD]
I thank you verry much for this code correction. It works perfectly.

Der Brandenburger grüßt den Bayern.
(The Brandenburger salutes the Bavarian.)

Please Log in to join the conversation.

12 years 3 months ago #60759 by straatvaart
Replied by straatvaart on topic Re:[CONFIRMED] Registration emails [PASSWORD]
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

Please Log in to join the conversation.

12 years 2 months ago #61405 by matrix845
Replied by matrix845 on topic Re:[CONFIRMED] Registration emails [PASSWORD]
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

Please Log in to join the conversation.

12 years 1 month 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/ :-)

Please Log in to join the conversation.

11 years 10 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

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.441 seconds

Facebook Twitter LinkedIn