Anonymous username
| Project: | Chatblock |
| Version: | 5.x-1.0.x-dev |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Jump to:
This module was exactly what i needed for my site save a couple of things:
1. Anonymous access. While this module has it, any post doesn't include a u/n.
2. Ability to type a message longer than 128 characters.
This patch solves those 2 problems.
1. A "Username" textfield is added to the chat block above the message for anonymous users only. After the first message is sent, the username textfield is disabled. Additionally, the message box and username fields now have titles.
2. The message box was changed from a textfield to a textarea. Additionally, upon install, the database creates a varchar field for the message that is 1000 instead of 255. You will need a version of sql that supports this.
You could just as easily change the type of the field instead, but whatever.
| Attachment | Size |
|---|---|
| chatblock.patch | 3.9 KB |

#1
Looks pretty good. I'll leave this issue open for other people, but as this doesn't look like it will have much impact on sites which do not allow anonymous users to view the site it seems like it should be a good addition.
I'm not going to be doing any coding until my summer time starts though as I am too busy, so it may be several weeks before this gets tested and committed.
Dave