Vous n'êtes pas identifié(e).
[25 janvier 2021] - Publication de Wanewsletter 3.1.0
Pages : 1
Désolé Bobe! :cry:
J'ai de nouveau un problème de tags.
Le pseudo apparaît bien dans le profil d'utilisateur après l'avoir fourni durant l'enregistrement mais n'est pas inclus lors de l'envoi de la newsletter.
Qu'est-ce qui ne pas ici?
tags.inc.php
$other_tags[$t]['column_name'] = 'abo_pseudo';
$other_tags[$t]['tag_name'] = 'PSEUDO';
$other_tags[$t]['field_name'] = 'PSEUDO';
$t++;
edit.profile.php
<tr>
<td class="row1"><label for="abo_pseudo">PSEUDO :</label></td>
<td class="row2"><input type="text" id="PSEUDO" name="PSEUDO" value="{PSEUDO}" size="30" maxlength="30" class="text" /></td>
</tr>
class.form.php
if( $nl_config['enable_profil_cp'] )
{
$this->mailer->assign_block_tags('enable_profil_cp', array(
'LINK_PROFIL_CP' => make_script_url('profil_cp.php')
));
}
$this->mailer->assign_tags(array(
(ligne 403) 'PSEUDO' => $_REQUEST['PSEUDO'],
));
if( !$this->mailer->send() )
{
$this->message = $lang['Message']['Failed_sending'];
return false;
}
Vik
Hors ligne
Pages : 1