Hi,

I'd like to use this very useful module to expand the core Profile module possibilities.

By creating a new profile content type, let say "Other profile infos", I'd like users to have the tab in their account edit page (next to the account tab), even if they don't have entered any informations yet (so I believe the node is not created yet), and not have the link in the "Create content" menu.

So I've created my content type and checked the box to use it as a content profile.
I've set the permissions for the roles I wanted to have this tab in their account to "edit" this content type.
In the content type "Content profile" tab, I've check "Show a link to the content profile creation page, if there is no profile".

But when a user is created, he doesn't get the tab in his account edit page.
Admin user has it, so I believe it's about permissions. If I set the permission to create this content type to the users, they have the tab, and the create content link, which I don't want. If I only let the "edit own content" permission, they can see the the tab only if an admin modify something in the tab for them (this creates the node...).

I don't want the users to have the ability to create this content type so they don't have the "Create content" link in the menu.

Soo this long speech to say :
Is there a way to automatically create an empty profile node for new users so they only have the edit permission for this node type ?

(I hope I didn't speak too much for a simple thing I maybe missed ^_^)

Thanks !

Comments

JThan’s picture

Hello.

You could use Rules for Creating the Content as soon as the user logs in and does not have the type.

Or you could use node_limit to limit the creation of nodes to one.

Hope I did understand what you mean.

Best regards
JThan

Pierre_G’s picture

You did :)

Thanks for your answer.
I think I'll try to create the content type automatically using rules when a user registers. Or maybe when he logs in and doesn't have the type as you say.

mrgoltra’s picture

subscribing

davidneedham’s picture

Status: Active » Closed (works as designed)

Actually, you'll be happy to know (a few years later) that this is something already provided in the latest version of the module for both Drupal 6 and 7. Users who have a content profile assigned to them are able to see the tab and automatically generate the node when they click the tab.