| Author |
Message |
sprit New Member


Joined: Jan 18, 2010 Posts: 3
|
Posted:
Mon Jan 18, 2010 6:50 am |
|
Hi guys,
First of all i am realy enjoying ravennuke
However i would like to change the text of the emails that users get after registering and when activating.
Now i have searched my ass off in all language packs but i can find basicly ANY text except that. Can you please update me on where this is hidden?
Example of text that i would like to change.
===========================================
Welcome to Ravens PHP Scripts And Web Hosting!
You or someone else has used your email account (xxx@xxx.xx) to register an account at Ravens PHP Scripts And Web Hosting.
To finish the registration process you should visit the following link in the next 24 hours to activate your user account, otherwise the information will be automaticaly deleted by the system and you should apply again:
Following is the member information:
-Nickname: xxx
-Password: xxx
=========================================
Cheers,
Sprit |
|
|
|
 |
kguske Site Admin

Joined: Jun 04, 2004 Posts: 6044
|
Posted:
Mon Jan 18, 2010 7:38 am |
|
Did you check in the modules/Your_Account/language files? It should either be there on the in main language file. |
|
|
|
 |
kguske Site Admin

Joined: Jun 04, 2004 Posts: 6044
|
Posted:
Mon Jan 18, 2010 11:34 am |
|
In modules/Your_Account/public/new_finish.php, you'll find this:
| Code: | if ($ya_config['requireadmin'] == 1) {
$subject = _APPLICATIONSUB;
$message .= _YOUUSEDEMAIL . ' ' . $ya_user_email . ' ' . _TOAPPLY . ' ' . $sitename . ' (' . $nukeurl . ').' . "\r\n\r\n";
$message .= _WAITAPPROVAL . "\r\n\r\n";
} elseif ($ya_config['useactivate'] == 1) {
$subject = _ACTIVATIONSUB;
$message .= _YOUUSEDEMAIL . ' ' . $ya_user_email . ' ' . _TOREGISTER . ' ' . $sitename . "\r\n\r\n";
$message .= _TOFINISHUSER . "\r\n\r\n" . $nukeurl . '/modules.php?name=' . $module_name . '&op=activate&username=' . $ya_username . '&check_num=' . $check_num . "\r\n\r\n";
} elseif ($ya_config['useactivate'] == 0) {
$subject = _REGISTRATIONSUB;
$message .= _YOUUSEDEMAIL . ' ' . $ya_user_email . ' ' . _TOREGISTER . ' ' . $sitename . "\r\n\r\n";
}
$message .= _FOLLOWINGMEM . "\r\n" . _UNICKNAME . ' ' . $ya_username . "\r\n" . _UREALNAME . ' ' . $ya_realname . "\r\n" . _UPASSWORD . ' ' . $user_password;
|
Those definitions are defined in the modules/Your_Account/language/lang-english.php (or your corresponding language file). You could change _APPLICATIONSUB or _ACTIVATIONSUB or _REGISTRATIONSUB for the email subject, and / or _YOUUSEDEMAIL and a combination of:
_TOAPPLY
_WAITAPPROVAL
or
_TOREGISTER
_TOFINISHUSER
to get the desired result. |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Mon Jan 18, 2010 2:42 pm |
|
Sprit,
So sorry to hear about your a** . Hopefully the situation can be rectumfied  |
|
|
|
 |
sprit New Member


Joined: Jan 18, 2010 Posts: 3
|
Posted:
Wed Feb 10, 2010 3:45 am |
|
|
|
 |
jakec Site Admin

Joined: Feb 06, 2006 Posts: 3038 Location: United Kingdom
|
Posted:
Wed Feb 10, 2010 6:55 am |
|
You said "searched my ass off". Don't worry it is just Raven's sense of humour.  |
|
|
|
 |
|
|
|
|