Create a node and then associate to a user profile if desired

Events happening in the community are now at Drupal community events on www.drupal.org.
hip's picture

Hello,

I'm trying to develope a business directory + online community project (http://drupal.org/node/167168) and I think Drupal may be the right approach. Although I've been in touch with Drupal for some 3 years I'm still quite anewbe and it gets quite hard for me to guess what's the right direction now.

At this stage of developement I'd like to have a node for each business (I believe that will make use of CCK). And then, when a business representative visits his/her node will be able to create a user for him/herself and 'ask me' to associate both. I'd like to make it as automatized as possible, but there'll have to be some 'human filter' to this association.

I have quite a few doubts, but one now is to know whether it may be possible to achieve what I explained above:
associate an existing node (actually a business profile) with a user (login and some rights) on demand

I plan to make use of node-profile, views, CCK and pageroute modules. Do you have any suggestions, comments,...

Any help is much appreciated.

Thanx in advance,
hip

Comments

Some progress

hip's picture

Hi,

I'm happy to say I'm doing some progress. (Once you get it) it doesn't look so-hard-to-achieve. The process is described in the node linked above.

Though I now see some light I may find some more stones in my way -> I'll keep on posting for advice and suggestions.

Thanx,
hip

Did you succeed?

edward.peters@drupal.org-gdo's picture

I am trying to create the same solution as you! Did you succeed? Could you update us on progress? Thanks in advance

Other Useful Modules to look into

voidengine's picture

Hi hip,

I'm in the process of learning about this stuff too. Here are a few other modules that can help you:

Usernode - automatically create/delete the user node when users are created/deleted.
Automatic Nodetitles - create the title of the node automatically & optionally keep it hidden. You can use php or tokens (another module) to make the title contain the new user name, for example.
Node Familyforms a relationship between nodes. It's essential if you want to make a multi-node profile.

If you want to have tabbed pages in your profile that means creating a custom module to add them to the user page.
To refine the design of your profile you'll need to look into theming with template files and template.php.
(I seem to be learning PHP as I go through this process)

Good luck!
Ray

Ray Guillette
Void Engineer
www.voidengineering.com

Thanx for the replays and

hip's picture

Thanx for the replays and sorry for being so late to answer them. I'm really busy lately with that project. You can check what I've achieved until now:
- here: Cultural and leisure events in Seville - www.youthing.org
- and here: Guía de Sevilla

I don't have much improvements in the user - node connection and at this moment I'm filling it personally all the info for both venues and events. Maybe in summer I'll have some time to give a look at the several available modules or perhaps I find a bag with some millions in it ;-) and can find someone to 'collaborate' in my project.

In this town, at cultural levels, you have to get to know someone in the council or you're no one. :-(

business directory in Drupal

Z2222's picture

It doesn't have all the features you are looking for, but I built a local business directory in Drupal for Pioneer Valley Local First. Each business is a node with CCK fields (e.g., Florence Savings Bank page). To allow businesses to edit their nodes, they can just change the username in the "authored by" field.

Are you in Sevilla? I might be moving there in the fall. I wish I could read Spanish and understand your Guía de Sevilla site...

business directory module

theamoeba's picture

Hi J,

I need to build a business directory module for an application that I am writing using Drupal 6 (could use 5 if i cant get all of the required modules). I read your comment and was wondering if you could perhapps help me a little and show me a few things about how you made the business directory.

I looked at the site and it looks pretty cool.


theamoeba
espresso online

business directory

Z2222's picture

Sure... ask your questions here on Drupal Groups, or contact me through the webform here.

I'll also try to write a tutorial on how I did it when I have time.

cool, thanks

theamoeba's picture

cool, thanks - would you be able to guide me through the process? I had a look last night but didnt really know where to start :)

Thanks,


theamoeba
espresso online

Profiles as nodes

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week