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)
support.mozilla.org
Knowledge Base Software
Tracking
(Not tracked)
RESOLVED
FIXED
1.5.2
People
(Reporter: jsocol, Assigned: paulc)
Details
(Whiteboard: sumo_only)
Attachments
(1 file, 1 obsolete file)
|
1.08 KB,
patch
|
jsocol
:
review+
|
Details | Diff | Splinter Review |
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.
| Assignee | ||
Comment 1•15 years ago
|
||
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)
| Reporter | ||
Comment 2•15 years ago
|
||
| Assignee | ||
Comment 3•15 years ago
|
||
(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?
| Reporter | ||
Comment 4•15 years ago
|
||
Seems like the condition should be:
if($livechat_id && $livechat_id!=$login)
If the livechat_id is set, and not the login, display it.
| Assignee | ||
Comment 5•15 years ago
|
||
Take that! I practically pasted what you said :)
Attachment #418418 -
Attachment is obsolete: true
Attachment #418894 -
Flags: review?(james)
Attachment #418418 -
Flags: review?(james)
| Reporter | ||
Comment 6•15 years ago
|
||
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+
| Assignee | ||
Comment 7•15 years ago
|
||
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
Updated•15 years ago
|
Target Milestone: 1.5.1 → 1.5.2
You need to log in
before you can comment on or make changes to this bug.
Description
•