Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

admin approval email not adding extra fields as in the past versions

  • spletcher
  • spletcher
  • OFFLINE
  • Posts: 54
  • Thanks: 0
  • Karma: 0
9 years 11 months ago #256719 by spletcher
I have used CB 1.9 for years and have tweaked the language file located in:
components/com_comprofiler/plugin/language/dfault_language/default_language.php for the _UE_REG_ADMIN_PA_MSG using my added cb fields so that I can get notice of the fields when someone registers.

Now I'm moved to CB 2.0 and have modified the file also (in accordance as well with this post: www.joomlapolis.com/forum/255-developer-members-support/227278-new-user-sign-up-email-to-admin#253174

However, despite this I only get the generic admin approval message with the following details:
A new user has registered at {mysite} and requires approval.
Name -
Email -
Username -

It doesn't seem to have any of the extra details as I've added them and I'm a bit perplexed as this is not described in the forum for the new CB - how to fix this.

Thanks for any help.

Stan

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48630
  • Thanks: 8307
  • Karma: 1446
9 years 11 months ago #256761 by krileon
What files did you modify specifically? You need to first install the English language plugin then modify the English language plugin files. Please also ensure you've latest CB nightly installed as previous releases we've found various bugs with language loading not working properly. You can find the latest CB nightly below.

www.joomlapolis.com/downloads/doc_details/640-community-builder-nightly-build


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • spletcher
  • spletcher
  • OFFLINE
  • Posts: 54
  • Thanks: 0
  • Karma: 0
9 years 11 months ago #256806 by spletcher
I modified the file that I listed originally:

components/com_comprofiler/plugin/language/dfault_language/default_language.php

Specifically I modified the line that includes the definition for this: _UE_REG_ADMIN_PA_MSG

I had done this before without any problem and added additional fields that I have added to registration in order to get notice of all registration fields from any new user.

When you say I need to install the English language plugin, are you talking about the Joomla english language plugin or something specific for CB? My site is in English already so I'm a bit confused about this.

Please Log in or Create an account to join the conversation.

  • spletcher
  • spletcher
  • OFFLINE
  • Posts: 54
  • Thanks: 0
  • Karma: 0
9 years 11 months ago #256807 by spletcher
ok - I installed the plugin for english language. Not sure why that was necessary as there was already a plugin named english language that was there.
then I found the file:
/components/com_comprofiler/plugin/language/en-gb/language.php and modified the fields there.

This did work.

I am a bit confused what the purpose for the entries in the other file are for since they don't do anything now: components/com_comprofiler/plugin/language/dfault_language/default_language.php

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48630
  • Thanks: 8307
  • Karma: 1446
9 years 11 months ago #256841 by krileon
The default_language.php file doesn't work anymore and isn't loaded anymore. Core frontend language file is now just language.php. You can safely delete default_language.php. However, you should not modify the defaults at all and should always modify a language plugin (e.g. the English language plugin) to avoid losing your changes on every upgrade.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum