If you use content_profile module the option 'Use on Auto Assign Role paths' doesn't work.
It just doesn't save settings.
I fixed it:
autoassignrole.module line 478
<?php
if (empty($autoassignrole)) {
$autoassignrole['values'] = array_keys(user_roles((TRUE)));
}
?>changed to
<?php
if (empty($autoassignrole)) {
$autoassignrole['autoassignrole_use'] = array_keys(user_roles((TRUE)));
}
?>
Comments
Comment #1
edufol commentedThanks! It works :)
Comment #2
cyberswat commentedThis isn't a patch
Comment #3
fenstrat#755308: Content profile settings are not saved
Comment #4
guntherdevisch commentedHi all,
I think my settings under 'Use on Auto Assign Role paths' aren't saved. I have two AAR paths, where i want to display an upload box on one of the registration forms. I marked 'Use on Auto Assign Role paths' in my Content Profile settings, but when i check my registration form, i don't see the upload box. Where are the values of 'Use on Auto Assign Role paths' saved in the database? So i can check.
The patch above is allready in my version, 6.x-2.0-beta1.
Note: I'm also using LoginToboggan.
See also this issue: http://drupal.org/node/1038880
Can someone help me?
Thanks,
Gunther
Comment #5
fenstratPlease follow this up in #1038880: Filefield upload not displayed on registration form, using "Auto Assign Role paths"
Comment #6
Egypt Web Design commentedJulia !
YOU ARE THE BEST, thank you so much :-)
Comment #7
LGLC commentedThis worked perfectly for me. The setting wasn't being saved at all before this, rendering it obsolete. Now it works like a charm. Thanks!