This patch adds a setting to the node_module to specify a message to appear at the bottom of the "User login" block, explaining the advantages of registering. Depending on what modules are enabled and what permissions are set, this might be something like "As a registered user, you can post messages to our forums and comment on articles."

This patch repeats some of what is in another patch (for adding a "Privacy policy" link to the same block) as they both introduce a "User login" group to the settings.

Comments

killes@www.drop.org’s picture

Doesn't apply anymore.

nedjo’s picture

StatusFileSize
new1.7 KB

Updated patch for current CVS. I think this would be a useful addition for improving accessibility to users unfamiliar with content management systems.

dries’s picture

Unless more people want this, I'm not going to commit this yet.

Bèr Kessels’s picture

I think this is very usefull.
One small things, though: you use variable_get("user_register_message", 0) and on the other place variable_get("user_register_message", "blabla") this way the user_register message often, but not always contain 0, because after clean installation one must first register, but after upgrade you will first configure.

My .02

matt westgate’s picture

How will this patch affect the 'User registration guidelines' setting via user/register? I usually use this spot to explain the benefits/guidelines of registering with a site. There, I'm also not limited to the space of a block.

nedjo’s picture

StatusFileSize
new1.69 KB

The proposed enhancement does not replace but compliments the "User registration guidelines".

Faced with a "User login" block (the main registration route on most Drupal sites), visitors unfamiliar with the idea of an online commmunity-driven site have no immediate cue as to what an "account" is or why they might wish to register.

The "User registration guidelines" are indeed the best place to give extended information. But these guidelines are visible only if a site visitor has already made the decision to register and clicked on "Create new account" (or has initiated registration before deciding, assuming that there may be further information available through the registration process).

The point of this proposed enhancement is (optionally, since the text can simply be left blank) to provide a brief, quick idea of what registration means for the benefit of the uninitiated.

Revised patch fixes a couple of errors caused by changing double to single quotes. (Issue noted by Ber is now addressed.)

moshe weitzman’s picture

Instead of writing code just for this block, how about enhancing the block system so that it calls out to the hook_help('block, 'module-delta') or something like that. This way, we can use the help hook to inject text into any block, just like a 'page'.

killes@www.drop.org’s picture

Doesn't apply anymore.

nedjo’s picture

With the new block configuration methods, Moshe's suggestion looks easily doable--though I don't seem to have gotten around to it yet!

coreb’s picture

Version: x.y.z » 6.x-dev

Moving out of the x.y.z queue into 6.x-dev.

pasqualle’s picture

Version: 6.x-dev » 7.x-dev
jody lynn’s picture

Status: Active » Closed (won't fix)

I don't think this belongs in core. We can't add settings all over the place for every possible customization someone would want to do to a block.