Hi,

I'm using AAR for 2 roles; each has a separate registration path (using "Assign from Path"). That's working fine, but i also have a content profile field (an upload box) that's activated in my content profile settings ("Use on Auto Assign Role paths") for one of my registration pages. The problem is that i'm not seeing my content profile field in my registration form.

Can someone help me?

I'm also using LoginToboggan.

Thanks for your time,
Gunther

Comments

fenstrat’s picture

Project: Auto Assign Role » Content Profile
Version: 6.x-2.0-beta1 » 6.x-1.0
Component: Code » User registration module
Status: Active » Closed (works as designed)

This is a content_profile module issue and is documented in the readme on line 220:

Putting file uploads on the registration form is not supported and probably won't work right.

Also see #451654: Filefield upload during registration

guntherdevisch’s picture

Hi fenstrat,

Thanks for your reply,

I'll take a look at #451654: Filefield upload validation during registration,

Thanks,
Gunther

guntherdevisch’s picture

Hi fenstrat,

I've looked at the issue above (#451654), but there the filefield upload is displayed. In my case it's not visible.

Do you know why?

Thanks,
Gunther

guntherdevisch’s picture

Title: Content Profile fields not displayed » Filefield upload not displayed on registration form, using "Auto Assign Role paths"
Status: Closed (works as designed) » Active

Sorry but my problem isn't fixed,

Does someone has the same problem or can someone reproduce?

Thanks,
Gunther

fenstrat’s picture

Hi Gunther,

I've just tested this and it works fine for me. One thing I did notice was that unless the "Use on Auto Assign Role paths:" was checked for the correct profile on admin/content/node-type/your-profile-name/profile then no cck fields showed up on the registration form, not just filefield fields. Can you see other cck fields on the registration page (e.g. text fields)?

But it appears to be working fine here. I've custom coded filefields on user registration pages a number of times previously, but it now appears you can do it all through point and click with aar and content_profile.

p.s. Make sure you're using aar 6.x-2.0-beta1 as aar by paths is broken in 6.x-1.2.

guntherdevisch’s picture

StatusFileSize
new231.35 KB
new264.19 KB
new780.65 KB

Hi Saul,

Thanks for your help.

I looked if everything was set right, then watched my registration page, but again the cck field wasn't visible. So i reinstalled the AAR module (6.x-2.0-beta1) and the Content Profile module (6.x-1.x-dev) and tried again, but still the cck field won't show up. I tested it with other cck fields (image, text-field); enabled the content profile (Use this content type as a content profile for users) and then checked the "Use on Auto Assign Role path", but also these profile fields aren't visible on the registration page, strange!

I made some screenshots of my content profile type, AAR settings (assign from-path), registration-form. I also made a screenshot of the Logintoboggan settings page, because i thought that maybe this would be the cause?

Thanks for having a look,

Greets,
Gunther

guntherdevisch’s picture

Hi Saul,

Thanks for your help.

I looked if everything was set right, then watched my registration page, but again the cck field wasn't visible. So i reinstalled the AAR module (6.x-2.0-beta1) and the Content Profile module (6.x-1.x-dev) and tried again, but still the cck field won't show up. I tested it with other cck fields (image, text-field); enabled the content profile (Use this content type as a content profile for users) and then checked the "Use on Auto Assign Role path", but also these profile fields aren't visible on the registration page, strange!

I made some screenshots of my content profile type, AAR settings (assign from-path), registration-form. I also made a screenshot of the Logintoboggan settings page, because i thought that maybe this would be the cause?

Thanks for having a look,

Greets,
Gunther

fenstrat’s picture

Something went wrong with your screenshot uploads, however I found all of them apart from registration-form.jpg.

Sorry to say I can't see anything that is glaringly wrong. Try stripping it right back, just enable one piece of functionality at a time (certainly disable logintoboggan to begin with).

Given that you cannot see any cck fields on the registration page this is not a filefield specific issue. That's where I'd start testing.

guntherdevisch’s picture

Okay thanks Saul,

I will have a further look and testing,

I'll keep you updated, when i found the problem,

Thanks for your help and quick reply,

Greets,
Gunther

guntherdevisch’s picture

Status: Active » Closed (fixed)

Hi Saul,

I found the problem, i had to enable the module 'Content Profile User Registration'. Stupid, but i didn't knew it.

Greets,
Gunther

fenstrat’s picture

Glad you found the problem Gunther. I actually think it's a joy when the source of the problem is that simple!