Drupal Modules

ratings

Ratings

AttributeAverage
Features3 / 5
Reliability3 / 5
Ease Of Use3 / 5
Documentation3 / 5
Vote Count1
averages
module overview

Module Overview

Drupal.org Excerpt:

This module builds user profiles as nodes, which opens the opportunity to use the Content Construction Kit (CCK). So it's possible to make use of the field types, which are available for CCK. The integration of the views module allows one to easily build customizable user listings or even user searches. Furthermore... [More...]

Details:

Maintainer:fago
Links:
Categories:Community, Content, Content Construction Kit (CCK)
downloads

Downloads

VersionDateFilesRelease notes
5.x-1.42008-Apr-20DownloadRecommended
4.7.x-1.12007-Mar-22DownloadRecommended
5.x-1.x-dev2010-Jul-11DownloadDevelopment
4.7.x-1.x-dev2010-Jul-11DownloadDevelopment
Total Downloads: 377 "Development" releases should be considered in beta.

reviews

Reviews

Options: Add a review

rating

For Current Users

As you know, Node Profile has stopped development ... but that hasn't stopped other module developers from referring to its code!

I speak, of course, of Register Profile that allows for multiple profile types. Once you enable Register Profile and set up a single profile type, you're fine. But add a second type ... and Register Profile cries out for is_nodeprofile() ... and all registration attempts throw an error when it cannot be found.

The fix? Simple.

Grab this bit of code from nodeprofile.module and paste it into the top of registerprofile.module. Voila! Here's the function ripped from nodeprofile:

======= snip ========
/**
* Determine if a given node is a nodeprofile.
* @param $type The node object or the node's type
*/
function is_nodeprofile($type) {
if (is_object($type)) {
$type = $type->type;
}
return variable_get('nodeprofile_'. $type, 0);
}
======= snip ========

Enjoy!

Twitter


Sponsored By


iO1 Drupal Consultants

Top Drupal Books

  1. Using Drupal (O'Reilly)
  2. Definitive Guide to D7
  3. Beginning Drupal 7
  4. Drupal For Dummies
  5. Pro Drupal Development 7
Module Finder New Modules RSS Feeds