Closed Bug 535693 Opened 15 years ago Closed 15 years ago

Display Live Chat ID on My Account when it differs from SUMO login

Categories

(support.mozilla.org :: Knowledge Base Software, task, P4)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jsocol, Assigned: paulc)

Details

(Whiteboard: sumo_only)

Attachments

(1 file, 1 obsolete file)

Post-migration, when a Live Chat ID is different from the TikiWiki login, we should display that on the My Account page somewhere. (Read-only, of course.) We could display it all the time, but I think it's only particularly important when it's different.
This just displays it all the time, regardless of whether it is set or not. It's worth noting that, after the automatic migration script, all accounts should have a livechat_id set, none should be NULL. The admin management should take care of the potential few cases where users don't have a livechat_id set.
Assignee: nobody → paulc
Attachment #418418 - Flags: review?(james)
Why the change in behavior between comment 0 and comment 1? I might have forgotten, but I thought we talked about only displaying the livechat_id when it differed from the login?
(In reply to comment #2) > only displaying the livechat_id when it differed from the login? We can do that, yeah. Change was just to keep the code simpler. Should the livechat ID row be hidden entirely, if it does not differ?
Seems like the condition should be: if($livechat_id && $livechat_id!=$login) If the livechat_id is set, and not the login, display it.
Take that! I practically pasted what you said :)
Attachment #418418 - Attachment is obsolete: true
Attachment #418894 - Flags: review?(james)
Attachment #418418 - Flags: review?(james)
Comment on attachment 418894 [details] [diff] [review] v2, pasted james' code in comment 4 WFM. Thanks for the change!
Attachment #418894 - Flags: review?(james) → review+
r59231 Testing livechat_id when registering on stage should now work. To see it displayed, register a user with spaces or punctuation (which would make livechat_id different from the user login). See bug 534340 for the registration.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: 1.5.1 → 1.5.2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: