Hello!

I would like to create a webpage for my brass band. In this webpage I would like to store information about the members of the brass band, e.g. Email, telephone no., birthday, instrument etc.
The users of the site should have the possibility to maintain their own data. But I have now the problem that not all members of the brass band have internet access and/or email addresses. Therefore I can't create for each member of the brass band a drupal user. As I said, for those who have access to the internet, it should be possible to maintain the data by their own, for the others I (as admin) am willing to maintain the data.
In the site I would like to create dynamic lists like a telephone list, birthday list etc. over ALL members of the brass band (e.g. with views).

How can I solve my requirement within drupal? As far I understood, it is madatory to have an email address for drupal website users ...

Thanks for your help in advance und best regards,

Christian

Comments

ezraw’s picture

It should be pretty simple. Use CCK to create a custom content type, called "offline users" or something like that. You can then use a view to display it in the list with your real users.

Ezra Wolfe
DLC Solutions
EthosCE

finke77’s picture

Hello ezraw,

Thanks for your fast response!
Do I understand you right? I have to create a new content type ("offline-user") and I put in the same fields like in the user node?
Afterwards I can create a view over both content types?

What is, if a former offline user wants to get access to the site and I create a drupal user? Can I reassign the old "offline-user" node to the new user, means can I change the node type?

Best regards,

Christian

ezraw’s picture

Yes, that is my suggestion. Keep in mind that user profiles are not nodes, so creating the view would require a relationship (I think). On one hand you'd have nodes, and on the other users. I'll see if I can give it try once I get my kids to take a nap.

If a former offline user wanted to create a real account, you would not be able to reassign the old offline-user node (at least without customization).

There is a module (content profile) that uses nodes for user profiles. Before starting, I'd definately look at that module, it might also help you with the migration.

Ezra Wolfe
DLC Solutions
EthosCE

WorldFallz’s picture

I think you should be able to do this by just creating user accounts for the offline users. If you don't require email verification (user settings) i don't think drupal cares what the email address is-- you could just use something like 'noone@noplace.com'. This method has the added advantage of being able to give users access to their accounts if they do get internet access at some point.

If that doesn't work, you could just setup a single free account at gmail or hotmail and use the http://drupal.org/project/sharedemail module to allow all offline users to be assigned the same email.

ezraw’s picture

Cool module. Another possible answer for this is to use email aliasing, which is provided for many services, such as gmail.

So, for example, if your email address is example@gmail.com, you can get also get mail at example+user1@gmail.com.

I also checked out Content Profile and I don't think that will work for what you want, because you cannot create additional content profiles without an additional user -- you need one user per profile :-(

If WorldFallz suggestion doesn't work for you, then check out the CCK option.

Ezra Wolfe
DLC Solutions
EthosCE

finke77’s picture

Hello again,

I am a little bit confused :-/

Maybe some background: I started last year with Drupal 5. But I had to lay down my private project because I had some problems with my requirenments and I didn't have enough time at that timepoint. Now I want to give the project a new try, because I have my annual leave in three weeks (gives me hopefully more time ;-). This time I would go for Drupal 6, because I think it is now better than Drupal 5.

Last year I searched also for a solution of this requirenment and I found something like nodes for profile, bio, nodeprofile etc. It seems that there is still a lot of stuff on webpages, forums etc. about this.

ezraw: Keep in mind that user profiles are not nodes, so creating the view would require a relationship (I think).

But as far I understood, the profiles in Drupal 6 are redesigned and "content_profile" is now a core module in Drupal 6 and makes nodes of users with all the possibilities of CCK and Views (is this right what I understood?)

WorldFallz: If you don't require email verification (user settings) i don't think drupal cares what the email address is

As far I remember, I got into some troubles with this last year with Drupal 5. Maybe I should give it a new try und maybe "sharedmail" is the key to the solution.
With this I could really use a fake email address (like noreply@domain.de) and with this, automatic replies/notifications, newsletters etc. (what I also plan to set up) are dropped in the mailserver and I can have an additional email field for displaying in views in the profile. This field gives the real email address and is empty for offline users.

Has already anyone tested a similar setup (content_profile, CCK, Views, fake email addresses without email verification, sharedmail)?

For my understanding: If I use content profile, do I need also the CCK module?

Thanks all for your help and ideas!

Christian

ezraw’s picture

To try to answer your question: "content_profile" is not in the core modules provided with Drupal 6, but "profile" is.

Profile doesn't create a node, but content_profile does.

If you are using fake email addresses for your offline users, I suppose it doesn't make a difference whether you use content_profile or profile. That would probably depend on what fields you need in your users' profiles.

Has already anyone tested a similar setup (content_profile, CCK, Views, fake email addresses without email verification, sharedmail)?

I did a test, and admins can create new accounts without real email addresses (e.g., text@example.com) -- Drupal doesn't even send an email verification for admin-created users unless you select that option.

I know from previous experience the email aliasing also works to create users. We use it to create test users on dev/test sites.

We have another site that uses content_profile with CCK to create profiles and it works fine with views.

I think WorldFallz suggestion is the way to go. This should be relatively quick and easy to set up -- why not give it a test?

Ezra Wolfe
DLC Solutions
EthosCE

WorldFallz’s picture

No, profiles as nodes is not core in d6 and not likely to be any time soon. It's not a lacking feature, but by Dries' specification that profiles are not nodes in core. For D6, content_profile is the single module that provides the profiles as nodes option and it works well. however, it still requires a user account.

You seem to be confusing user profiles with user accounts somewhat. You don't need content_profile to do what you want. It's a separate decision. The core profile module is somewhat less featured than content_profile, but it's perfectly adequate much of the time. With views2 for d6, which can handle both core user and profile data (which wasn't true in d5), the distinction becomes even less important.

Regardless of whether or not you choose to use the content_profile module, imo the best way to create user pages for your non-active users is to disable email verification, use a gmail account with email aliases as ezraw recommended (i'd totally forgotten about that, and it's one less module to worry about), and create actual user accounts for them.

finke77’s picture

Hey folks!

It's perfect, I just tried it on locahost with a test installation and it seems to work!

Drupal is great! I remeber that I struggled last year and spent a lot of time now it just works ;-)

Thanks for your help!

Best regards,

Christian