Profiles as nodes

We are a developers group that are very much interested in using nodes for profiles. There is a module, and some other code already, but that needs polishing.

Especially for bigger and more complex communities, people need features such as finer grained permissions on profiles, categorising of users, or simply search in profiles. Nodes offer all that. We tie them together.

How do you set up user profiles?

public
specmav - Mon, 2008-07-07 06:42

With the vast amount of profile as nodes implementations, how do you set up your own profiles on your sites?

What I am really looking for are what modules are deprecated and rarely used to the more flexible and complete user profile solution.

Does anyone who is serious about creating complex and dynamic profile(s) ever use profile.module and if so, why?

Do you use any custom coding, and if yes then for what?

I am really looking forward to creating a profile solution for one of my sites and I want to maintain a clean back end and flexibility.

Format and line breaks in multi-line text

Liliplanet's picture
public
Liliplanet - Fri, 2008-05-23 10:01

Hi!

I can imagine this is pretty easy, but have done an extensive search and :) cannot find a solution please ..

Inserting a multi-line text in node-profile.tpl.php with field_introduction and field_detailed_profile just prints as text without line breaks or automatic links.


<?php
print $node->field_introduction[0]['value']
?>


Profiles as nodes and GMAP

peashooter's picture
public
peashooter - Fri, 2008-05-23 08:51

Hello all,

I'm looking to switch my user profiles to nodes because it gives me more flexibility with gmap.

Unless my user profiles are nodes, I can't use views to select them (or subsets of them) to display on a google map.

Has anyone had any experience of creating user location maps with nodeprofile/userprofile and gmap?

I've hesitated until now to change profiles to nodes. I'm not so worried about performance (low traffic site) but I don't want clashes with all my other installed modules!

crossing my fingers...

Cheers


MySite + CCK + Panels + Users + Profiles + Account Mgmt + AdvProfile + lots more = one BRAVE new user* world

public
sdboyer - Sun, 2008-05-11 03:13

There are a ton of great & ongoing discussions about different ways to try to bridge the gap between some of the existing methods of organizing and presenting user data. The ones that I'm most aware of - and please do forgive me if I've missed something big here - are the ongoing attempts to bring Bio and Nodeprofile together, the discussion about integrating MySite and Panels, not to mention Advprofile, which is in itself an attempt to unify a number of disparate modules.

Am I doing this wrong?

heather's picture
public
heather - Wed, 2008-05-07 03:10

I decided to go with the Bio module, since I have one type of profile, and fairly simple needs.

  • When registering, people enter some basic contact info First Name, Last name and some info that will remain private, like phone number.
  • When their application is accepted, they can create their "profile"... But I want to be able to keep the First Name and Last Name they originally entered on their registration form.
  • I don't want them to use the "title" field for their name.

Bio Module and LDAP Integration

public
dperdue@drupal.org - Thu, 2008-05-01 01:36

At work I've got LDAP (Active Directory) integration working just fine. However, I also wanted to pull profile information (Job Title, Department, Phone Number, etc.) out of Active Directory so there's a central repository for that type of information.

Use Bio now and later Profiles as Nodes

public
dotty@drupal.org - Mon, 2008-04-14 14:59

I really love this new module idea. Right now i am using Drupal 5,7. So,i can't use this module. I would like to use most likely Bio module or Node profile and collect the user information using CCK fields. Is it OK ? I mean i would like to use this module after my site code upgraded to 6.X. is that right approach ? or should i wieght ? My guess, once if i have this module, i just need to re-assain CCK fiels to content type related to this module. Am i right ...or too much imaginations ? Please advise me

Insert node profile fields on a content type

Liliplanet's picture
public
Liliplanet - Sun, 2008-03-02 11:34

Hi,

Hope this message finds you very well.

I would like to have company information below press releases (content type = 'article'). In my node.tpl I have

<?php
print $node->field_company[0]['value']
?>

, but it only shows up on the profile page and not underneath the article. mmm ..

node.tpl is currently as follows:


Replace profile.module fields with nodeprofile

Liliplanet's picture
public
Liliplanet - Tue, 2008-02-26 13:09

Hi Everyone,

I'm trying to install http://www.drupal.org/project/phplist, but for it to update in the external php installation, have to replace profile.module fields (which we don't use) with our nodeprofile fields ..

Would you be so kind to point me in the right direction in replacing the fields for my phplist please?


How to create a view based on 'wanted' fields in a node profile?

public
luke76@drupal.org - Fri, 2008-02-22 11:53

Hi,

I hope I'm asking this in the right place. What I am trying to achieve is a swapping type site for housing e.g User A has 2 bedrooms, wants to swap for a 1 bedroom. I think I am right in using nodeprofile to make all users nodes and have added cck fields for what they have and what they want, but cannot for the life of me work out how to a create user-specific View which shows a list other user's profiles(nodeprofile) matched to the user's 'wanted' field. I suppose you could liken the functionality I'm looking for to something like a 'matching' or dating site.

Need advice on select from list by role

Liliplanet's picture
public
Liliplanet - Tue, 2008-02-19 08:08

Hi,

I'm trying to get my head around this and somehow just don't get it.

I have 2 roles, the normal 'authenticated' and a 'platinum' profile.

Both fill in the authenticated profile where they can select 1 listing (select list) in the business directory from a content type called 'directory'.

I would like the 'platinum role' to be able to choose 3 listings for the directory. How would I do that please?

Do I create a separate content type just for platinum users where they can choose their 3 listings in the directory or is there perhaps an easier way to do this?


Different Profile Details per Subscribed Group

public
avdp@drupal.org - Thu, 2008-02-14 14:31

Hello all,
I am investigating Drupal and (probably) the Organic Groups to create a website.
What I would like to achieve is the following:
A person can be a member of different groups. I would like to make it possible that each user has a different profile (or different profile details visible) for each group.

Profile Advice

public
ChadH - Tue, 2008-02-05 20:10

Like many, I'm creating a networking site. While I'm new to Drupal, I've worked with PHP, HTML, CSS, etc. My question is what is the best way to allow a user to add multiple items to their profile? For example we'd like our users to add their work history to their profile. Since we can't tell how many jobs someone's had, we'd like the option for adding, editing and deleting each job individually (similar to LinkedIn). So do we create CCK modules to enter the information? Use nodes for each job and add a view for them on the profile page?

What is the difference between Node Profile and Usernode?

public
kirilius - Mon, 2008-01-28 06:06

What is the difference between Node Profile and Usernode modules?

1) Node Profile. According to its documentation: "This module builds user profiles as nodes, which opens the opportunity to use the Content Construction Kit (CCK)"

2) Usernode. Again the documentation says: "This module tries to make users nodes." And later on: "Use views to build user listings or even searches" and "Makes building of nodeprofiles easier"

content profile 6.x prototype

fago@drupal.org's picture
public
fago@drupal.org - Fri, 2008-01-25 11:16

I'm creating a new thread for continuing the discussion of http://groups.drupal.org/node/8261.

I've just done some work and implemented a first prototype of the possible base module (variant 2) --> http://drupal.org/project/content_profile -> Test it!

This prototype allows to mark multiple content types as content profile, but tries to keep the code clean and simple. As nodeprofile had already the multiple content type stuff, I found it easier to start with it, and so I took the ongoing nodeprofile 6.x port, scraped features out of it, simplified the code and made it more extensible.


Link from Views to User

Liliplanet's picture
public
Liliplanet - Sat, 2008-01-19 10:16

Hi Everyone,

I'm using Nodeprofile and Usernode, and all beautiful.

When I create tables in Views with the fields, and have tried :

link to node
node: view link
etc

it all links to the node url .... not the user/ url.

I've tried bio and advanced profile, all with the same results.

Please, how do I link from a table in Views (CCK content) to the user profile and not the node.

Would most appreciate any reply.

Lilian


Profiles as nodes in d6

fago@drupal.org's picture
public
fago@drupal.org - Fri, 2008-01-18 10:15

Recently I contacted the bio maintainers - I wondered if they are interested in joining efforts with drupal 6.x.

We 'd like to get input from the community, so I post my ideas here:


Advanced Profile Wiki

public
Michelle - Sat, 2008-01-05 05:21

This wiki page is to create a roadmap for the Advanced Profile module. I already had a pretty good idea of what I wanted based on response to my tutorials but it helps to have it down on "paper". This is just a start and mostly a "mind dump" at this point. I will flesh it out more based on feedback.

help with setting up different nodeprofiles by role

public
panis@drupal.org - Wed, 2007-11-14 18:56

Is it possible to have a different cck node as a node profile for different roles? I have installed rolesignup - but my understanding is that it only helps decide which CCK nodeprofile edit form to display during registration.

In my case after registration and login all my users still end up having multiple "click here" to create profile links on their user pages one for each of the CCK nodes I enabled for "node profiles".

thank you for any help.

Biladi.us a social network website

toma's picture
public
toma - Thu, 2007-11-08 08:05

www.biladi.us is an online portal for Moroccan living in USA, biladi.us is a social network, register and create your profile, add events, pictures, etc


Blank nodes created by nodeprofile

public
kayblaino - Fri, 2007-11-02 19:28

An interesting thing is occurring on my development site. basically a blank node (without a node type) is being created whenever a user visits his or her own profile.

I have not really found the complete source of the problem but I do know when I set the user to not be able to edit their own profile then it stops doing this.

Does anyone have ideas on the best way to find out how this is happening? I'm reluctant to set my site live like this as it could really grow the database out of control in no time.

Views of Users and Images

ebeyrent's picture
public
ebeyrent - Wed, 2007-10-24 14:06

I am building a site where I have custom user profiles built using nodeprofile, usernode, nodefamily, et al. I am using Image Attach for the user images.

So, here's the problem: I want to create a view of nodes along with the attached image for the node author.

I can create a view that consists of the Node: Author and Image Attach: Display Image. I can create the view of nodes. What I can't do is get them to play nicely together. It seemed to me that Views Fusion would work for fusing these two views together, but I get errors:


Hiding fields based on selections in other fields

public
booizzy - Sun, 2007-10-14 19:59

I'm using nodeprofile and pageroute to create a registration wizard. I'm having users enter a personal address on the first page and a shipping address on a subsequent page. The shipping address might be their own address or it might be a different address. If they want it sent to themselves (which they'd designate by choosing from a dropdown), I'd like those address fields hidden or grayed out. Otherwise, I'd like those fields required. Does anyone know how to do this?

How do I manage a user profile section that only the admin can edit/view?

public
jkalpathy@drupal.org - Wed, 2007-10-03 13:54

I'm trying to create a user profile that has 3 parts: (A) user must fill out to register (B) user fills out later, and (C) internal control - every user has these fields but only the admin can edit/view - e.g user's rating. What modules should I use to do this? Wis the best way to manage (C)? Right now I have followed a combination of Michelle's docs and Fago's handbook, but can't get C to work.

How do you create a user profile with pageroute and nodeprofiles?

steve dondley@drupal.org's picture
public
steve dondley@d... - Fri, 2007-09-21 02:55

I have node profile and pageroute installed. I'd like for an administrator to be able to create a new Drupal user account using a page route. But as far as I can tell, you can only edit existing user accounts.

Let me try to make this more clear:

1) Administrator clicks a link called "Add new profile"
2) Administrator sees an empty user registration page (same form user for creating a new user found at /admin/user/user/create)
3) At the bottom of the form is a button to take you to the other node types associated with node profile


Can usernodes be used to allow multiple "rows" of data with several fields?

public
andrewpeacock - Thu, 2007-09-20 12:50

Hi,
I'm trying to set up a drupal site that allows a user to have multiple subscriptions to a service I run.

The subscription process works OK (via a 3rd party app) and the user account and profile fields are populated. The profile fields hold configuration data for the service they are paying for.

However, as I'm using standard profile fields, they can only have one set of configuration data per drupal profile.

Is it possible using user nodes to allow multiple sets, so that each user can have one or more sets of configuration data?

eg.

Problems with usernode + category + pathauto ?

designguru's picture
public
designguru - Fri, 2007-08-31 04:18

Hi guys and gals... I'm finishing up a site using these three modules and have noticed some funkiness between them - the '[cat]' variable is working when set for page nodes using pathauto, but when applied to usernode content (which I've custom created using the CCK), it seemed to work fine for a bit but seems now not to be working for new usernode content?!?!

Basically, I have set the default pathauto node paths for usernode content to something like :

something/[cat]/[title]


Critical bug in CCK - help from field module developpers needed

public
yched@drupal.org - Fri, 2007-08-17 13:09

A critical bug has been discovered in CCK field data storage, which can result in possible data loss under some (rare) circumstances.

Only a very limited number of field types are potentially affected, we need the help of contrib CCK fields developpers to help us list exactly which ones, so that we can extensively test the patch before committing it.

See http://drupal.org/node/168204 for more info.

Thanks all :-)

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

hip's picture
public
hip - Wed, 2007-08-15 20:14

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.


Using CCK taxonomy fields to tag users or Tagging nodes like the profile module does

Meg Lee Chin's picture
public
Meg Lee Chin - Sat, 2007-07-28 03:06

I love the way you can use a phrase like "People who live in %" using the regular Drupal profile module and then by clicking the link, get a list of all users who live in %. I'm trying to get the same thing happening with profiles as nodes. I've tried using CCK taxonomy fields in both the Node Profiles and the Bio Modules. It almost works, but only intermittantly. Sometimes I get the message "There are currently no posts in this category ..." other times, some users will show up and others won't - even when they have been tagged with the the term.


Nodeprofile vs Profile

public
ardas - Thu, 2007-07-19 13:56

Greetings,

Guys, can you please take part in this discussion http://drupal.org/node/160546 and help understand the situation?
I've just subscribed to this group and am also interesting in user profiles destiny since I dropped core profile.module off and switched to nodeprofile.module.

I created this forum topic mostly to try to attract profile.module authors and Drupal authors and get some information from them. I also hope you guys will help to understand situation too.

Thanks again.

New module to work with nodeprofile, pageroute, etc.

public
rconstantine - Sat, 2007-06-30 03:29

I've put together a module called Membership types and registration modification

This module adds the ability to have several different membership types, each collecting different data from the user for registration by using custom content types and the combination of nodeprofile and pageroute modules (both required). The accounttypes module is recommended but not required. See each required module for any dependencies that they might have.

What this module does is:

Clase/Debate: "Perfiles de Usuario: Profile, Usernode, Nodeprofile & Nodefamily"

Rosamunda's picture
public
Rosamunda - Wed, 2007-06-20 17:47
Start: 
2007-06-28 18:00 America/Buenos_Aires - 2007-06-28 20:00 America/Buenos_Aires

"Perfiles de Usuario: Profile, Usernode, Nodeprofile & Nodefamily"

En principio la clase/debate estará a cargo de Víctor Kane.
jueves 28 de Junio
18 horas
En el lugar de siempre: Lavalle y Montevideo "Meeting Place", entrepiso

La idea es que todos podamos charlar un poco del recurrente problema que suelen generar los Perfiles de usuario. Usualmente nos pasa que el Módulo Profile es insuficiente para lo que necesitamos, y nos vemos obligados a recurrir a otros módulos que puedan suplirlo.


Sharing our node profiles

Julien Marboutin's picture
public
Julien Marboutin - Wed, 2007-06-20 17:32

I have used the node profile at http://shellmultimedia.com/node/5

I plan to extend my node profil type with the features belows :

=> The HEAD is fix and contain on the left the photo of the user and basic informations like name and last connexion on the right.

=> A set of tabs under the HEAD contains groups of informations like "contact" "Education" "Works" "socializing" "meeting"...

=>Each group of information could be a node linked to the nodeprofile of the head with the node family module but for me it can also simply be a groupe of fields of my unik CCK node profil.


How can I link a user to taxonomy terms?

public
fransie@drupal.org - Mon, 2007-06-18 14:35

Hello,

I applaud the brilliant idea of turning user profiles as nodes! I think it is just what I need, but I am having difficulties proving it.

I desperately want to associate users with taxonomy terms. I also want overviews based on this association, like:
What are the taxonomy terms for a particular user?
What users belong to a certain taxonomy term?
List all users with an array of taxonomy terms
See the taxonomy tree (like in taxonomy_dhtml) with an array of associated users

Applying Profiles As Nodes to an existing 4.7 site with ~1000 users -- how do you get users imported?

Lisa Williams@drupal.org's picture
public
Lisa Williams@d... - Sat, 2007-06-16 04:55

Question:

I have an existing site on Drupal 4.7 with ~1000 users. I'd like to start using nodeprofile. Once I install nodeprofile and the modules it requires, how do I get information from a user's existing user page into a corresponding profile node?

Thanks!


Adding file attachments to profiles

public
lancast - Thu, 2007-06-14 14:37

I am using the Node Profile module to create the directory for a college website. It has worked well except for one problem. I need to have the ability to add files to these profiles - as in CVs. There is no field to add for "files" or "file-upload" in the Profile configuration. Any ideas? Am I missing something obvious?

Shell Multimedia Tutorial

mimhakkuh's picture
public
mimhakkuh - Tue, 2007-06-05 22:41

Hey there ... i was just trying to adapt the 'Step by step creation of a full featured user profile' recipe, Michelle did on:

http://shellmultimedia.com/node/5

... when I realized, that due to the overload of request, she quit the support (so to say). So I thought, this group would be the most appropriate place to discuss matters on this tutorial.

Maybe someone in here has successfully adapted the thing. I have a specific problem:


How to Automatically Create NodeProfile on user Registration

public
greal92 - Sat, 2007-05-26 05:58

Hey there,

I would like to implement complex user profiles using the nodeprofiles/usernode structure. Currently nodeprofiles are not created automatically like the usernodes unless you put the nodeprofile form on the registration page which is not a solution in my case.

I am trying to do the following:
- Automatically assign taxonomy term to usernode depending on role at registration
- After registration, create blank nodeprofiles associated with that role

Anybody has any idea how to do that?

Tanks in advance

Q

Using Nodeprofile fields elsewhere

public
jockox3@drupal.org - Thu, 2007-05-24 06:32

I'd like to use this nifty little piece of code - http://drupal.org/node/64248 - to make all references to users show up as their "real name" rather than their username. But their "real name" in this case is made up of concatenating five fields from the user's nodeprofile content type.

Is it possible to refer to the nodeprofile's fields in this way? If so, how?

In the following code:

Hiding profile fields but exposing them on a per user basis - possible?

public
rconstantine - Thu, 2007-05-24 05:54

I will shortly be creating a 'handshake' module. The idea is that all user data (except username and possibly one or two other items as determined by the site admin) is hidden from all other users. Only the user whose data it is and the site's authorized user administrators can view it. Users will be able to initiate a 'handshake' where the first user indicates (probably via checkbox) which data fields s/he is willing to expose. The second user gets a list of data field titles that are checked (only those checked by user one show up).

Using the same content type for users and customers

public
ivanfi@drupal.org - Tue, 2007-05-22 13:43

Hi,

Could somebody give me advice on how to handle the following need?

I would like to create a content type for contact information, including name, phone number, address, etc. It should be used for both users of the system and both for customers, who are not users, but "content" in the system. Users and customers should be the same content type, because I would like to handle them in the same way (displaying, editing, listing with views, searching).

What is the purpose of using usernodes for node profiles?

public
ivanfi@drupal.org - Tue, 2007-05-22 13:00

Hi,

I spent the day trying to understand what the Node Profile module does and how it is related to the Usernodes module. I have read http://drupal.org/node/130517 and http://drupal.org/node/97981, but it is still not clear to me what additional benefit usernodes bring.

Wanted - something similar to fullname field

public
jockox3@drupal.org - Sun, 2007-05-13 04:38

Can anyone give me some pointers to how to achieve the following:

I'm using CCK and nodeprofiles to let users give me some details of their families, careers, education achievements and leisure interests. I would like to have a "field" a little like the "fullname" field with multiple fields in it.

For example, on the education type, I want to let users fill in an arbitrary number of lines with "qualification, subject, grade, year". On the family form I want to have arbitrary numbers of "child firstname, year of birth, photo, description"

A question about nodefamily, and one about using views to create user searches.

firebus@drupal.org's picture
public
firebus@drupal.org - Fri, 2007-05-11 01:29

I've got multiple content types set as node profiles (http://www.scriptfrenzy.org)

  1. I'd like to stop using usernode (i've got a lot of users, i need to rebuild the node_access table, it's a long story)

The README for nodeprofile advises setting up a nodefamily relationship between multiple node profile content types.

However, if i'm using the default profile page to display my node profiles, it doesn't seem like i need to make a node family relation - the node family relationship is only useful if i want to display the node profiles as related nodes in another context.


Question about using Node Profile and AdSense at the same time

Walt Esquivel's picture
public
Walt Esquivel - Wed, 2007-05-09 20:16

So far, I have read the AdSense module and Node Profile module's “readme” files, the AdSense and Node Profile module's descriptions, the AdSense author's module info on his web site, and done a search on both d.o and g.d.o. However, I didn't find my answer.

I was wondering about the AdSense when using the Node Profile module because when I go to my website's modules page, e.g. www.abc.com/admin/build/modules, under the AdSense module it states: "Depends on: Profile". This means the core profile module must be enabled for AdSense to work.

Basically, I'm confused on what gets stored if I use both modules (core profile out of a necessity for AdSense AND Node Profile as my choice for enhanced profiles).


New tutorial available

public
Michelle - Wed, 2007-05-09 14:18

I'm calling my tutorial "done for now". Seems like everything I do is always a work in progress because I'm a fiddler, but it's completely ready to be used. I have gone through it step by step on a fresh Drupal 5.1 install and updated the tutorial whenever I found something not right. I could really use feedback if anyone tries it because it's still possible I missed something since I've been working on it so much. A fresh set of eyes is always good. Once I get some assurance that it's working for people, I'll move it into the handbook on drupal.org.

You can find it here:

Removing avatar pictures from integrated node profile drives me crazy

schnizZzla's picture
public
schnizZzla - Tue, 2007-05-08 17:05

At first, I really am grateful for this module. It is one of the modules I don't wanna miss.

I have a setup of multiple nodes as node profiles.

The problem is that avatar pics show multiple times. The one that should is displayed on the profile itself and the others are displayed on the integrated profile nodes.

That I can't find the easy solution how to remove avatar pics from integrated profile nodes, makes me jump in circles. I want to display avatars only when the node is displayed as a page.


Finished my site Launchlab

public
zzJames - Sun, 2007-05-06 18:04

This site uses nodeprofile/nodefamily and usernode. It's a site for members of the east london arts community to represent themselves,

each user has an associated CCK node which they use as a profile, when the users create there profiles they tag themselves with there artistic skills and styles.

The site has a advanced search and tag cloud for potential employers to quickly find relevant artists and see samples of there work.

It also has a section called 'the lab' with the usual community networking tools (forums, messages, links etc)

Best formula for multiple instances of same sub-content type on profile?

stephthegeek@drupal.org's picture
public
stephthegeek@dr... - Fri, 2007-05-04 17:16

I spent an afternoon reinstalling/reconfiguring profiles based on both tutorials on Drupal.org and Michelle's site, and the closest I got to exactly what I need was following these steps exactly: http://drupal.org/node/130489


Syndicate content