The registration field and the link (per display settings) does not appear for anonymous users. How do I fix this? I made sure that anonymous users can create a register on the admin/people/permissions page. Under the fields/field_register_here manage field settings, I don't see anonymous users under the access control "Roles that can register" under additional settings (only auth, admin and two custom roles).

Thanks for the input!

SUMMARY OF POSSIBLE SOLUTIONS (as of Aug 2014):

1) Make sure that "Registration Label" under "Manage Display" is set correctly. #4
2) Give Anonymous users permission to: "Create new registration" and "Register other people". #4
3) On the content type, make sure that none of the "Roles That Can Register" are checked. #13 & #15
4) Make sure that the event is Open for Registration #17
5) Create a new instance of the "node" - some of the above changes will not effect previously created nodes. #30
6) Clear Cache

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bartmann’s picture

Ditto

Nevermind, had to set the permissions for anonymous user to 'Register other people'

I couldn't find this in the documentation right offhand :(

cmejo’s picture

bartmann- thank you! Now it is appearing on the actual node page, but the view I created, with the field Content: Register uses the formatter "Default" and it doesn't appear in the table view page I created... any ideas? I also tried "formatter: registration link" with no luck. If I select formatter: registration form, the full form appears, but this is not optimal for a table view...

Any suggestions? Thanks again!

elvismdev’s picture

Hey guys, i have been playing around this module for my event directory system and i still not get to show the link or form to register on the node page for the anonymous users, it just shows up when its a registered user.

I have set the permissions for anonymous user to 'Register other people' but nothing happens. also when i manage the field settings, I don't see anonymous users under the access control "Roles that can register" under additional settings (only auth, admin and another custom role i've created).

What is missing here? is this the default behaviour of this module?

andres_de’s picture

You should see the registration link in the node when you insert a "Registration label" (see format options for your registration field at "Manage Display"). The Label gets lost when you switch the options.
My permissions for guests: "Create new registration" and "Register other people".
Don't forget to clear cache.

cmejo’s picture

@andres_de thank you for your reply. I had those options checked and it still wasn't showing the register link for anonymous users. However, I found the issue: in my view, my field: Content: Register needed the formatter "Registration Link" [b]and it also needs[/b]a label for the formatter, I named my Register. NB: This label is in addition to the field above "Create a label".

@elvismdev - hope that helps!

elvismdev’s picture

FileSize
16.66 KB
20.76 KB

Hi guys, still nothing. i followed punctually all your intructions @cmejo on my view and also have set my permissions for anonymous "Create new registration" and "Register other people" as @andres_de says but still can't be able to see the registration link when accesing the web as anonymous users. As registered it does shows.

On my view i have 3 fields showing up as table format, they are Content: Title, Content: Date and Content: Register. In Content: Register i have set the formatter "Registration Link" and also a label for the formatter that I named my Registrarse (is Register in spanish)

Screenshot as Registered User: displays and access to the registration link
Registered User Screenshot

Screenshot as Anonymous User: dont displays and no access to the registration link
Anonymous User Screenshot

It doesn't shows me at least some another link like "you must be registered user to register at this event, register here plase" some like that would be happy.

I think this should be a problem with users permisions and access to the registration link or page cause when as anonymous user i try to manually access to the registration page of my node (event) http://www.example.dev/node/14/register it gives me access denied. if i have set the correct permisions for anonymous "Create new registration" and "Register other people" the correct is to let me access to that page and show me the registration link, insn't? i think there should be some problem at the moment the module check for anonymous permisions or something like that.

Plase keep posting and sharing some advance about this.

cmejo’s picture

Did you clear caches?

Show me the view field options. Thanks!

elvismdev’s picture

FileSize
67.04 KB
23.08 KB

Yes all caches cleared

It should displays some words in spanish but i think they are completely understandable.

My fields on views
My Fields

Options of the Content: Registration field
Registration field options

cmejo’s picture

Hmm... Have you tried setting every permission allowed for anon users, and clearing cache after removing them one by one?

elvismdev’s picture

Yes, i had selected all permissions for anonymous in registration, including the administration permissions of the module and it shows the registration link as espected. after uncheking them one by one and clearing cache it desappears when i finally uncheck "Registration Test: Administer settings", but this is not the desireable permision for my anonymous users cause if so anybody could change all the registration settings of my entity. The normal behaviour should be "Registration Test: Create new registration" enabled for anonymous users but it doesn't working properly as espected. :(

cmejo’s picture

Priority: Normal » Major

I'm changing the priority of this ticket. Can you try to create a fresh install with this module and see what happens? Can you try the -dev version and see if that makes a difference on your live site? I don't see a CHANGELOG unfortunately, but it can't hurt as it's slightly newer than the 7.x-1.1 version.

elvismdev’s picture

OK, sounds good, am on it right now, in minutes i post results.

elvismdev’s picture

Priority: Major » Normal

Gotcha!!! uFFFF!!! I Finally got it!

Under the registration field settings, in "Roles that can register" must be unchecked ALL of them, i repeat, ALL OF THEM, this must be controlled in the user and roles permissions cause it will override every permisions that have been set to the anonymous user like "Create new registration" and "Register other people", they will just not take effect. Anyway i see this a little tricky to uderstand and tends to be confusing so i think the developers must have this on mind to polish more the module options and workout. If i give to user Anonymous permission to "Create new registration" why i must check also "Register other people" to get the registration form and email field? It could have more sense just letting "Create new registration" option checked for Anonymous and giving him the option to set his own email, and validate through it his registration if needed like users validate their new user accounts.

Anyway i hope this tip saves more lifes for who were stuck on using this module for Anonymous users because in deed is a very good one and i wish it have more and bigger development :)

utaren’s picture

I have exactly the same problem like elvismdev. After uncecking "Administer Settings" the Registration tab for anonymous user disappears.
@elvismdev: did you re-install an updated module? or did you solve by re-setting all the permissions?

elvismdev’s picture

FileSize
11.44 KB

Nope, just go to Content Types -> "Your Event or whatever content type" -> Administer fields -> edit Entity Registration field. Down at the bottom there you will see an option "Roles that can register" uncheck all of them. (see my screenshot)

Registration field options

After this you just have to set permisions to anonymous users "Create new registration" "Register other people" and you will be able to access to the registration form as anonymous user.

Hope this helps for you. ;)

TravisJohnston’s picture

FileSize
24.93 KB

I still can't get this to work.. I have followed everyones thoughts on allowing anonymous to create new and register other, but I get a warning saying that the product is not available. Even though I have it enabled to accept registration, no specific user role is selected, its published, etc.

Also noticed that when logged out, a lot of the registration fields disappear from the teaser as well, so I am also seeing less than normal.

TravisJohnston’s picture

omg. Ok I see what my problem was. I had the roles all set right, the problem was I was confused by the Open and Closed date. At first I thought that was the time of the event, not that it was when you can accept registrations... so of course non-admin users couldn't register because the event wasn't open to registration yet.....

bryanhidalgo’s picture

I had the same problem and resolved as @elvismdev describes it. This is weird since the registration was working ok and suddenly anonymus users couldn't register. I had to uncheck all permission fields on content type registration field and node/*/registrations/settings, you have to manage permission through roles permissions page.

romansta’s picture

I have installed the dev-version. My setting are like recommended. If I select the registration link at the "manage display"-page everything works fine.

But if I select the registration form, it is not visible - until I give the anonymous user the permission to "Administer settings".

Any idea?

ishworthapaliya’s picture

Similar problem here as #19. Also even when i select the registration link in the "Manage display", i don't see the registration link at all (anonymous user side).

Version that i am using currently : 7.x-1.1

Help / hints welcome and will be appreciated!

Thanks!

jdflorez’s picture

As for the node itself, I have no issues either choosing Registration Form or Registration Link. Thanks #13 for the insight.
I do have problems with the view, I'll open a separate issue.

adeia’s picture

Version: 7.x-1.1 » 7.x-1.2

Hi, in 7.x-1.2 anonymous user can't register. I used Post by elvismdev. Any idea? Thanks

pedas126’s picture

Hi All, is there any idea to show the registration link for authenticated user only , and for anonymous user, it will redirect to sign up page and show " You must be a member to sign up this event" ?

knalstaaf’s picture

Version: 7.x-1.2 » 7.x-1.x-dev
Priority: Normal » Major
Issue summary: View changes

This issue still persists in the dev version. I'm not using it in Views, but in a simple node. Couldn't agree more with elvismdev about maintainers cleaning up sloppy issues.

I can't make my form visible for anonymous users, even after taking all the advice from above. This leads to the module having no proper use in my case.

elvismdev’s picture

Read and well follow my explanation in #15 comment. At least for me in that way I describe I was able to show the registration form to anonymous users.

ascg’s picture

I ran into the same issue like comment #19 and #20 today. As soon as I remove the "Administer settings" permission for user group Anonymous , the registration form/link disappears. Unbelievable how such a serious problem can persist for over 9 months.

Anonymous’s picture

Hi
i am having the same issue, tried everything (cache purge, permissions etc) but i am in the same situation with #19 #20...

ledbelly2142’s picture

Thanks elvismdv, #13 worked for me.

Its important to note that the Entity Registration with the Commerce Registration module for Commerce (selling registrations with commerce) that if you check any of the "Roles that can register" options, anonymous users will not be able to register for your event. Would be nice if they added the anonymous role to the registration as an option so that you can manage registrations either by role or by permissions.

When you set up registrations (create type) for a product entity in commerce, the "Roles that can register" section is in the product, not in the registration (because it's part of the product entity). To change you need to go to admin=>store=>products=> to whatever your product name is, then under the "registrations settings" tab (which is not expanded by default" you can uncheck the Roles boxes.

You guys rock, thank you.

El Bandito’s picture

I haven't untangled my setup yet, but just in case it helps anyone the "Roles that can register" form field only appears if you've enabled the 'Registration Entity Access' module, which I hadn't as I don't know what it does (yet).

yaach’s picture

I had the same problem as many in here, BUT I SOLVED IT AS FOLLOWS:
I was trying to apply the registration field to an existing instance of a content type. My content type was Event and I had already set an event "Annual Dinner 2014". After trying all the advices here, I tried to create a NEW CLEAN event and there you go!!!...the registration form showed up!!!...So I guess the module features can only be applied to new content types instances and not pre-installation instances...which in some part make sense but now I wonder if there is any case (site) where old events will need registration.... good luck!

stpaultim’s picture

Issue summary: View changes
jonbim’s picture

#13 is correct - thank you elvismdv - you need to just have Create new registration & Register other people checked. This second setting is confusing at first as it can be mistaken for the separate functionality of making a booking 'on behalf of' but it's separate from that.

roball’s picture

Title: Registration field and link not appearing for anonymous user? » Registration field and link not appearing for anonymous user
Component: Registration Entity Access » Registration Core

There is definitely a major bug in this module that prevents the anonymous user from being able to register under normal circumstances. The "Roles that can register" section only appears when the Registration Entity Access sub module is enabled, and it does not contain the anonymous user. So, just keep the Registration Entity Access sub module disabled to prevent that section being present. However, this still does not solve the problem. Anonymous users still won't see the registration form on the registration-enabled entity.

keneso’s picture

Hi,

I have tried all combinations, but still can't get the link to show, not even from admin interface.
I also tried uninstalling, which however is not possible because it wants you to disable entity api.

I deleted registration type, and restarted.
I did try adding registration to old, and newly created content.
No matter what, no joy.

Really don't know what elese to do.
Wierd thing is that on a local test about couple month ago I had managed to display it! Unfortunatelly due to pc crash I lost all the test data, and info.

roball’s picture

My conclusion is that the module simply does not support registrations by anonymous users, so I force a login prior to registration.

keneso’s picture

Thanks for the reply.

Actually I don't mind your solution, how do you force it?
Please keep in mind I am fairly new to D7, and not a coder.

Anyhow I can't see the link even in admin, or as authenticated user.

I did a fresh (local) install of D7, and still can't get the link to show up.

TravisJohnston’s picture

@roball this module does indeed support anonymous registration - I've been using it with Commerce Registration for almost 2 years now and I do not allow user registration on my site so it's all anon.

Make sure all of the following are set:

  • The event is published, and the registration for the event is Enabled under Manage Registration > Settings
  • Under Manage Registration > Settings, do not specifically select a role that can register - leave this all blank
  • The Open Date is either blank or is it has passed
  • The following Permissions are set for Anonymous user role:
    • Registration (This is a per registration type permission, you need to enable this for each type): View own registrations
    • Registration (This is a per registration type permission, you need to enable this for each type): Create new registration
    • Registration (This is a per registration type permission, you need to enable this for each type): Register other people
keneso’s picture

Thank you TravisJohnston,

The event is published, and the registration for the event is Enabled under Manage Registration > Settings

I could have looked at that page other 100 times, and wouldn't have seen the "enable" check.

In my quick test everything worked as expected, both when setting permission for only authenticated, and for anonymous.

jprstoney’s picture

#13 worked a charm. I needed to uncheck all roles in both the content type and individual node.

Many thanks elvismdev!

perlgal’s picture

#13 was right on. I was not able to enable registration for a particular role (and not anonymous role) and the solution worked! Thank you elvismdev!

imclean’s picture

If you're using the Commerce Registration module it appears you can't use Registration Link, instead you need the "Add to cart" form.

If you do try to use the Registration link, the path will be a link to edit the product the registration is attached to, which anonymous users generally don't have permission to access.

Greg Boggs’s picture

Until the administration of this feature is made easier, I believe the solution here is to create a documentation page that expands on anonymous user registration with the tips from this thread.

levelos’s picture

Category: Bug report » Support request
Priority: Major » Normal
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

SuperTyp’s picture

I had the same issue right now.
I could fix the problem with the help of #13.
But, unfortunately only new nodes are affected of this permission change.
You need to edit older nodes permissions by going to the node > edit > manage registrations (e.g. http://yourDrupal.com/node/17/registrations/settings) and there uncheck the roles like its mentioned in #13.

liquidcms’s picture

we had this same issue and solved by setting perm for "allow other people"

my question is why did i need to do this? is anon considered other people? that sort of makes sense but why do we need 2 perms for this (other than to confuse the shit out of people). is there a valid use case where we can have anon but NOT other people? if there isn't then this should be considered a bug.

feldmarv’s picture

THANKS for #13 saves a lot of time!