I found it confusing for the user to just hide everything (form or link) when he's already registered. By looking at the formatter code, the reasons for hiding such a link are plenty, from access, to being registered, etc.
I added a bit of logic to show an "Already registered", exclusively if the user is registered and the registration does not allow multiple. It uses a theme function that can be changed if necessary. I am not sold 100% on this solution but I think it's a good starting point.
| Comment | File | Size | Author |
|---|
Comments
Comment #1
hanoiiComment #2
hanoiiAdding some possible related issues.
Comment #3
hanoiiSmall fix on the patch.
Comment #4
Renee S commented(sigh. wrong issue)
Comment #5
bartmann commentedThanks hanoii - this patch works for us.
Comment #6
chris matthews commentedThe patch in #3 no longer applies to 7.x-1.x-dev. Added needs reroll issue tag.
Checking patch includes/registration.field.inc...
error: while searching for:
error: patch failed: includes/registration.field.inc:264
error: includes/registration.field.inc: patch does not apply
Checking patch registration.module...
Hunk #1 succeeded at 917 (offset 10 lines).
Hunk #2 succeeded at 966 (offset 10 lines).
Comment #7
john.oltman commentedThis feature is present in the latest 3.x release.