Hello,

As per http://drupal.org/node/391884#comment-2186400 opening a new feature request for compatibility with cck. I believe work on this has started here by dafeder http://drupal.org/node/391884#comment-1905126 Would any be able to continue the work to extend compatibility of this Validateage module?

Many thanks!

CommentFileSizeAuthor
#4 validateage-705432.patch5.46 KBvkareh

Comments

robby.smith’s picture

+1 subscribing

RicardoJBarrios’s picture

Some plan to allow the use of content profile registration and CCK?

+1 subscribing

robby.smith’s picture

kindly bumping

vkareh’s picture

Assigned: Unassigned » vkareh
Status: Active » Needs review
StatusFileSize
new5.46 KB

I added this functionality for a client. Attached is the patch... it allows you to select a date field of a Content Profile content type for age validation. The CCK field needs to be either required or configured to show on registration (same as for the core Profile module, anyway).

After applying the patch, set up your Content Profile, then go to admin/user/validateage to select the field.

nicholas.alipaz’s picture

Nice work on this vkareh. If I get approved for being a maintainer I will add this or a variation to the module. I have not yet tested since I am already running a patched version of this module on my site.

vkareh’s picture

Thanks nicholas! Is this module being actively developed? I see a July 2010 date on the dev snapshot, but I don't see any activity from the maintainers in the issue queue.

nicholas.alipaz’s picture

despite that date in the dev snapshot, the last cvs commit was Feb 2010. http://drupal.org/project/cvs/118354

So I would say no. I did apply to work on it so we'll see if we can revive it.

vkareh’s picture

That would be nice. It's a very useful module, and I saw your patch (where you requested maintainership) and it has a lot of valuable additions. Nice work!

nicholas.alipaz’s picture

Thanks, and I guess we just wait now...

thomasmuirhead’s picture

Hi there,

Just wanted to say thanks for this patch - really helpful.

hongpong’s picture

subscribing - if there is anyway to agitate for nicholas.alipaz for modulemaintainer plz count me in. good work people

nicholas.alipaz’s picture

vkareh, would you be willing to do a new patch against the latest cvs checkout of 6.x branch?

nicholas.alipaz’s picture

Status: Needs review » Needs work
nicholas.alipaz’s picture

Note on cck integration and field selection... It may be worth it to use hs_field_selector module for a nicer interface to selecting the cck field for use:
http://drupal.org/project/imagefield_avatar is a good example of this and http://drupal.org/project/hs_field_selector is the module to easily add integration of this.

nicholas.alipaz’s picture

Status: Needs work » Needs review

added to dev: http://drupal.org/cvs?commit=484040
may take some time to update.

Lightly tested and seems to be working.

I would like some more testers to try it out and report issues, if any. I will then be posting a proper release.

nicholas.alipaz’s picture

Version: 6.x-1.x-dev » 6.x-1.0
Status: Needs review » Fixed

This is now in our first official release.

hongpong’s picture

Issue tags: +content profile

Hey I am trying to get a required contentprofile / CCK date field to appear on the /user/register , and it appears when Registration Validation is disabled. Once it is enabled and associated to the contentprofile CCK date field, there is no more widget drawn. I have tried using the selectList widget and the Date picker widget.

Not sure where this stems from - also I'm not sure where the actual code in this module is to draw the widget itself. If this module doesn't actually draw the widget (the core content_profile really does it) maybe somehow it interferes with the call for the widget, i.e. by grabbing control of it? [i.e. changes the entry on some $form array when adding the submit hook or etc.)

Thanks for the fine work on this, if there is more info needed I would like to provide it -- right now unsure how to debug further.

hongpong’s picture

Status: Fixed » Needs review

bumping the status is ok I think - regards.