In Lullabot podcast no. 64, the question is raised: "now that Views 2 can generate lists of everything in the database, instead of just nodes, do we still need to turn everything into a node?"

I'm interested to read how the developers and users of content profile would answer this question. In which situations is the profiles-as-nodes solution still superior to the core profile module?

Comments

michelle’s picture

Core profile is ancient and limited. There are still a lot of things you can do with nodes that you can't do with it. In D7, when you can add fields to users, this will change and that release will likely mark the end of profiles as nodes. But, for D6, it's still a definite plus if you want complex profiles.

Michelle

marcvangend’s picture

Thanks Michelle, that's intresting to read. One more question to get things even clearer: When you say 'if you want complex profiles', how would you define 'complex profiles'?

michelle’s picture

Well, I wouldn't use core profile for anything more than just some basic info. If you want to store a little info about users but don't have a social networking site, core profile does ok. I use it on my camera club's site to keep roster info because I can restrict who can view it. The members aren't that web savvy so no real need to have fancy profiles. But I wouldn't want to store all the data that I use nodes for in APK in core profile.

Michelle

nevets’s picture

Consider CCK and all the possible field types as compared to what the profile module allows. Also you can use taxonomy to allow users to categorize themselves. There there are all the modules that work on nodes.

marcvangend’s picture

Status: Active » Closed (fixed)

Thank you both for your answers. I guess that even if I don't need content profiles right now, it's still the better solution in terms of "future-proofness".
Issue closed, as far as I'm concerned.

paganwinter’s picture

I somehow couldn't get Content Profile to work fine with APK.
I was in a hurry, so just chucked it for the core profile. Works for me as of now...

michelle’s picture

APK works a lot better with content profile. You lose out on the supplied node type that saves you a lot of typing. Plus the fieldgroups make for easier placement.

Michelle

paganwinter’s picture

I have a doubt regarding Content Profile and APK. It's more like a design suggestion.

I got Content Profile and APK and work as desired.
But now my question is:
When I go to a user's profile page (user/), I am shown a Panel page with different panes, out of which I have set one to show the user's Content Profile page. Now this Pane also has a 'View' Link which takes me to the user's Content Profile page (I have set this to profile/ using Pathauto).

Basically I now have 2 user profile pages (user/ and profile/), with the Panels page also displaying the user profile page content.
Isn't this a bit ambiguous for a visitor?

What I'd like to have instead is something like this:

Show the Panels page (the user/ page) to visitors to a user's profile, but hide the Content Profile page (profile/) and show it only to the owning user.
But using Views (perhaps) show the user's personal info (data from user's Content profile page) in a separate Pane.

Consider the metaphor of 'Home' and 'Profile' used in most sites. Where home is a place for the user to edit his own details and profile is a page shown to profile visitors.

I am working on a Gaming portal and would like to have a nice Panels page showing a users scores, favorite games, personal info, etc. to other visiting users. While the logged in user can access his Content Profile page and edit Personal info, which would be shown on his Panels page (through Views).

Does this sound like a good idea? Or is there a better way of using APK and Content Profile?

williamjh’s picture

Michelle: thanks for all your hard work. Paganwinter: you can work with the cck, panels and views capability to create whatever you need, seems to me. Those do require a little digging around. I know that the APK for D6 does require some tweaking in panels to get it to work. The "my profile"? menu item disappears when APK is enabled I assume because of the panel overwrite. So adding a menu item back shouldn't be a problem. Can't wait till Michelle gets the polished version out for D6.

paganwinter’s picture

Is there some way of hiding a user's Content Profile page from others but allowing it to be displayed as a pane in the User's Panels profile page which is visible to others?

Basically there shouldn't be a 'View' button on the Profile Pane in the User's Profile Panel page.

paganwinter’s picture

Michelle,

Can you elaborate as in how have you used Content Profile with the APK on your site?
http://socnet.shellmultimedia.com/user/1

The problem I am facing is that I am including the User Profile (one created by Content Profile) as a Pane in my User Profile page (Panel). Now I also have a separate User Profile (Content Profile) apart from the default User Profile Panel (created by APK) and the User Profile Pane in the Panel has a link pointing to the User Profile (Content Profile).

I don't see that at your site.

michelle’s picture

@paganwinter: That's the demo site for Advanced Profile Kit, so I use that.

Michelle

fumbling’s picture

I want to be able to add a list of the users recent posts on their profile. Can I use core profile for that or would I need content profile? In any case, do you know of a module that adds one's recent posts to one's profile? Thanks for any help.

arilikeairy’s picture

You can make a block with Views, or are you looking to integrate that directly onto the profile page?

fumbling’s picture

Thanks. I'd be happy to create a block view and place it on all user profiles. Going that route, do you know what views argument and/or relationship I would use to make that work? Other than the node ID argument, I'm very much a newbie to arguments and relationships.

paganwinter’s picture

I believe that you'd need to use the User Id as an argument, then filter out nodes depending on the author (= supplied user id) and if needed, the node type too...

fumbling’s picture

Thanks, got it working