Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
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 );
}
}
}
Please Log in to join the conversation.
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 );
}
}
}
Please Log in to join the conversation.
Hi king.lui,
your workaround works partly for me:
the mail with the activation link now really does contain the password - that's the part that works and I do thank you for the hint!
But the welcome mail still does not resolve the variable but still contains [PASSWORD].
Is there some kind of solution for the welcome mail?
Cord
Please Log in to join the conversation.