ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Template code for /member/register page

January 03, 2012 4:53am

Subscribe [0]
  • #1 / Jan 03, 2012 4:53am

    Suraj Timalsina

    32 posts

    Hi,
    If Allow New Member Registrations? is disabled in Control Panel,  visiting http://url.tld/member/register page generates a page with following content:
    ———-
    Notice

    New membership accounts are not accepted at this time.
    —————-

    I am trying to customize the look and feel of this page. It does not seem to be in profiles_themes folder. Where can I find the file that generates template with above output.

    Thanks.

  • #2 / Jan 03, 2012 5:40am

    Suraj Timalsina

    32 posts

    Hi I figured it out.

    Also, it turns out that ‘mbr_registration’ is not defined in language/english/member_lang.pnp but used in modules/member/mod.meber_register.php

  • #3 / Jan 03, 2012 7:22pm

    Dan Decker

    7338 posts

    Hi Bishnu Timalsina,

    So you found the templates you were looking for? Those fall under the Specialty Templates in Design-> Themes-> Member Profile Templates, and can be accessed by file at /themes/profile_themes/default as well.

    The language key you refer to, is it in the form of {lang:mbr_registration}? Can you provide a line location? Did you experience any errors as the result of this missing? I’d like to get together some info for a bug report.

    Thanks!

  • #4 / Jan 04, 2012 12:39am

    Suraj Timalsina

    32 posts

    Hi Dan,

    ‘mbr_registration’ language key is used in line 38 of /expressionengine/modules/member/mod.member_register.php, but has not been defined in expressionengine/language/english/member_lang.pnp

    The page title of http://domain.tld/member/register when new member registration is disabled, gets parsed as mbr_registration instead of the key value. Minor issue, but an easy fix. Just add the language key value.

  • #5 / Jan 05, 2012 1:02am

    Dan Decker

    7338 posts

    Bishnu Timalsina,

    I verified this and submitted a Bug Report. Thanks for finding this! Is there anything else we can assist you with?

    Cheers!

  • #6 / Jan 05, 2012 1:59am

    Suraj Timalsina

    32 posts

    Thanks 😊

  • #7 / Jan 05, 2012 7:40pm

    Dan Decker

    7338 posts

    Excellent! If you need anything else, let us know in a new thread.

    Cheers!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases