I used to have this system working perfectly, on my old site which runs a slightly older version of Community Builder.. however, due to security concerns, upon reconfiguration of my website, I updated to this version of CB.. (1.2.2)
I am trying to modify the system email sent to the admin upon new registration, and add in a few custom fields that were on the registration page. Like an application.
I am trying to modify this:
[code:1]DEFINE ('_UE_REG_ADMIN_PA_MSG','A new user has registered at [SITEURL] and requires approval.\n'
.'This email contains their details\n\n'
.'Name - [NAME]\n'
.'E-mail - [EMAILADDRESS]\n'
.'Username - [USERNAME]\n\n\n'
.'Please do not respond to this message as it is automatically generated and is for informational purposes only.\n');
DEFINE ('_UE_REG_ADMIN_SUB','New User Registration');
DEFINE ('_UE_REG_ADMIN_MSG','A new user has registered at [SITEURL].\n'
.'This email contains their details\n\n'
.'Name - [NAME]\n'
.'E-mail - [EMAILADDRESS]\n'
.'Username - [USERNAME]\n\n\n'
.'Please do not respond to this message as it is automatically generated and is for information purposes only\n');[/code:1]
and put in this information:
[code:1]
.'This email contains their details\n\n'
.'Character Name - [USERNAME]\n'
.'E-mail - [EMAILADDRESS]\n'
.'Class - [cb_class]\n'
.'Race - [cb_race]\n'
.'Spec - [cb_whatspec]\n'
.'Spec Details - [cb_spec]\n'
.'Professions - [cb_professions]\n'
.'Vent: - [cb_vent]\n'
.'Application - [cb_app]\n'
'Is your PC capable? - [cb_pc]\n'
.'Can you make raid times? - [cb_raid]\n\n\n'[/code:1]
I have put this in on both sections, which had worked before according to this:
www.joomlahackers.net/joomla-tutorials/custom-fields-in-community-builder-administrator-registration-email.html
However, since the update it has ceased to work, and I've also noticed the file layout is different (despite those lines still being intact, although misplaced in the file...)
Is there any extra things I must modify to get this working?
I should add, upon modifying that file, and putting in that information, my whole website goes into a blank screen and no longer functions until I restore that file from a backup.
EG: The first code quoted begins at line 165 and ends at 177 in components/com_comprofiler/plugin/language/default_language/default_language.php
Post edited by: Unconscious, at: 2010/06/27 18:06
Post edited by: krileon, at: 2010/06/30 16:52