Hi,
I'm happy to detect Rules Forms Support!
How can I add /user/register to activated forms?
I need to be logged in to get displayed event activation messages on forms - but I couldn't visit /user/register beeing logged in...
Is there a way to add forms manually?
Thanks in advanced,
Ralf
Comments
Comment #1
klausiUh, that is a bug indeed, we didn't consider that.
The form ID is "user_register" and the link must be something like http://www.example.com/admin/rules/forms/user_register/activate/ .
Change the domain to you site and you should be able to activate it (logged in as rules admin).
To work around it for other anonymous user forms, you can comment out line 63 and line 67 in rules_forms.module, then you get the form ID activation link even if you are not logged in. Copy the link, login back as rules admin and paste the link.
Comment #2
aismail commentedOr, you could just add the "administer rules" permission to the anonymous user, temporarily. Worked for me, today! I'm using rules-6.x-1.1.
Comment #3
klausiYeah, but never ever do that on a live production site, it introduces a huge security threat if anyone is able to administer your rules.
Comment #4
mitchell commentedIf anyone wants to be able to configure the user/register form in the rules form ui, and this issue's documentation is not sufficient, please reopen this issue.
Comment #6
bfr commentedI had the same problem, and easiest solution was to make a node / view and print the form with drupal_get_form().
That way you can activate it and check the id's and everything.