Closed (fixed)
Project:
Chatroom
Version:
6.x-2.12
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Nov 2007 at 15:15 UTC
Updated:
13 Feb 2011 at 00:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedi'm not opposed to this feature request, but i'm not interested in working on the 5.x branch.
bumping to latest branch.
Comment #2
artscoop commentedHi,
Well, it would be great to have this feature in D6.
Comment #3
shane birley commentedAnonymous user nick name update would be cool. Is there any concern over exploitation on this?
Comment #4
Nick Robillard commentedI've implemented this.
Some notes:
1) I stored the anon name data in the chatroom_msg table since a user could change their name in a later message.
2) I'm still appending the guest id to the anon name to avoid confusion if someone changes their name mid-chat.
3) I fixed an unrelated issue where the guest prefix vanished from anon messages after they've left. ie: i would see "9: (message)" instead of "guest-9: (message)". I did this by removing
!in_array($message->sid, $guest_sids)from the condition in function chatroom_chat_load_messages_helper in chatroom.module. I'm sure there's a good reason it was there but i don't see any side effects after removing it.Comment #5
Anonymous (not verified) commentedthanks! i'll review this later today.
Comment #6
Anonymous (not verified) commentedthanks! committed this (slightly modified) here:
http://drupal.org/cvs?commit=491446