Even after enabling create account block and placing it in different sections such as sidebar second, sidebar first, content; the block is not visible (Yes, I tried after logging out.)
I want to make home page as Facebook's for users who aren't logged in. So, want to keep "create account" block on homepage.

User's Picture block is only visible at profile page. I want the block to be visible at Home page too. how do I do it?

Thanks.

Comments

lelizondo’s picture

Two questions here.

1. The create account is not working yet, is the next thing I'll be working on. Probably it will be ready by this weekend.

2. The user picture block takes the user I'd of the user being seen, it only works inside the user/someuid path tree.

It you want to show the block outside this path, it will only work for the currently logged in user but you can still do it.

You have two options, the first one is to look at the code of this module, copy the block code into your own module and make some little small adjustments, basically you'll be changing $account for $user

The other option, probably easier, is to use views.

lelizondo’s picture

Version: 7.x-1.0-alpha1 » 7.x-1.x-dev
Assigned: Unassigned » lelizondo
Category: feature » task
Priority: Normal » Major
verynic’s picture

+1

lelizondo’s picture

Title: Create Account Block and User's Picture Block » Create User Account Register Block

I've just pushed a series of commits to 6.x-1.x-dev creating a block that allows you to create an account without going to the user/register page. This is something very simple but suitable for most cases. Of course, it can be altered and themed if you need to.

For those who wonder how does it looks like or how can it be used, you can go to http://www.gomiso.com as that is a perfect example on how the block would look with some nice theming.

The block uses a theme file so anyone can modify it to their needs. Even printing the Facebook login button would be really easy to do by implementing a preprocess function.

Finally, the block, currently does not accept custom profile fields to show up. This was not set by default since the block could become really big losing it's main purpose, but sometimes, it would be desirable to show one or two profile fields in the block. This is registered as a task, as soon as I port the block to 7.x-1.x I'll get to work on this. I accept patches.

Other things I'll be working on are: the possibility to set the button to a custom message without the need to alter it and maybe some integration with some other module that takes the email as the username making the username not needed. I still don't know what module does this so any suggestions are appreciated.

lelizondo’s picture

Unless someone suggests different I'll start working on integration with http://drupal.org/project/email_registration