Thursday 22 February 2007 1:06:33 am
I overrided the file design/standard/templates/user/registrationinfo.tpl so that for 2 profiles the mail sent to the user doesn't include the link that validates the account.
Way used by default and for 8 profiles:
{'Your account information'|i18n('design/standard/user/register')}
{'Username'|i18n('design/standard/user/register')}: {$user.login} {'Email'|i18n('design/standard/user/register')}: {$user.email}
{section show=$password}
{'Password'|i18n('design/standard/user/register')}: {$password} {/section} {section show=and( is_set( $hash ), $hash )}
{'Click the following URL to confirm your account'|i18n('design/standard/user/register')} http://{$hostname}{concat("user/activate/",$hash)|ezurl(no)} {/section}
What i did for my "special" profiles (maybe wrong way): {'Thank you for registering at FRANCE-GAME.ORG, you will receive your registration email confirmation.'|i18n('design/standard/user/register')} {'Email'|i18n('design/standard/user/register')}: {$user.email}
{'Your account information'|i18n('design/standard/user/register')} {'Username'|i18n('design/standard/user/register')}: {$user.login}
{section show=$password}
{'Password'|i18n('design/standard/user/register')}: {$password}
{/section}
{user|attribute(show)} {section show=and( is_set( $hash ), $hash )}
{'Click the following URL to confirm your account'|i18n('design/standard/user/register')} http://{$hostname}{concat("user/activate/",$hash)|ezurl(no)} {/section}
{'Link to user information'|i18n('design/standard/user/register')}: http://{$hostname}{concat('content/view/full/',$object.main_node_id)|ezurl(no)} (I know section is deprecated but the project was started by an other developper so i just did like him) In fact, i just removed the link, so the user can't enable his account himself.
|