Skip to Content Skip to Menu

mod_cblogin no longer shows "no account" text?

13 years 4 months ago #167943 by catconner1
I've just done an upgrade from CB 1.2 to CB 1.4. It works well, except that the mod_cblogin module no longer shows the _UE_NO_ACCOUNT text next to the "Register" link.

In version 1.2 of /modules/mod_cblogin/mod_cblogin.php, at line 811 I see:

if ( ( ! $compact ) && ( $show_remind_register_icons == 0 ) ) {
echo _UE_NO_ACCOUNT . " ";
}

In the new 1.4 version of the same file, at line 898 these lines are commented out:
// if ( ( ! $compact ) && ( $show_remind_register_icons == 0 ) ) {
// echo _UE_NO_ACCOUNT . " ";
// }

The variable _UE_NO_ACCOUNT is still defined in /components/com_comprofiler/plugin/language/default_language/default_language.php.

Was this removed for a reason? Or am I missing somewhere else that this text should be configured in the new version?

Thanks!

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

13 years 3 months ago #168830 by catconner1
Ah well. Guess I'll just have to hack it :(

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48449
  • Thanks: 8280
  • Karma: 1443
13 years 3 months ago #168928 by krileon
The string was intentionally removed from CB 1.4. If you'd like it restored then you'll need to uncomment those lines. String remains in language files as we use a parsing script to obtain the language strings and it can't determine the difference between lines of code that have been commented out.


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.
The following user(s) said Thank You: catconner1

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

13 years 3 months ago #168929 by catconner1
That's what I did, but I'm glad to know I won't break something else by doing so. Thanks for the response!

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

Moderators: beatnantkrileon
Powered by Kunena Forum