Skip to Content Skip to Menu

Issues with CB_login

  • hebardd
  • hebardd
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: 0
6 years 11 months ago #299741 by hebardd
Issues with CB_login was created by hebardd
I have two issues involoving the cb_login module.

1st. When a user logs in thier name is not displayed as in "Hi, Susan", instead what is displayed is "Hi, [firstname].

2nd. When a new user attempts to register by clicking the sign up button on the module, the following errors are received;

Warning: array_keys() expects parameter 1 to be array, null given in /libraries/CBLib/CB/Legacy/cbPluginHandler.php on line 1170

Warning: Invalid argument supplied for foreach() in /gphsa/libraries/CBLib/CB/Legacy/cbPluginHandler.php on line 1170

Any help is greatly appreciated.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
6 years 11 months ago #299746 by krileon
Replied by krileon on topic Issues with CB_login

1st. When a user logs in thier name is not displayed as in "Hi, Susan", instead what is displayed is "Hi, [firstname].

The greeting is a simple yes/no parameter and it uses the formatname field and not the firstname field. I'm guessing you set that in "Logout Pre-text" or modified the template file. Specifically it's the below language string.

Code:
'HI_FORMATNAME_0861f2' => 'Hi, [formatname]',

2nd. When a new user attempts to register by clicking the sign up button on the module, the following errors are received;

Ensure the Default template plugin within CB > Plugin Management is public and published. Next ensure CB Core is also public and published. If you migrated from CB 1.x it's possible their publish state and access may have migrated incorrectly.


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