Support Forum

Changing Inbox Button Color If Unread Messages

17 Answers

New Answer

MP Mr Papa
Mr Papa
Member

No, that is incorrect… they will have a ID of 0 for guests…  but does look like I gave you incorrect code… should be:

SP()->user->thisUser->ID

but I will have to research why the member user_id even exists for users… and why we use it in couple locations…  should be consistent and stick with the right one..

JI jim
jim
Member

Mr Papa said
but does look like I gave you incorrect code…

Fantastic! Thanks for the quick fix, as usual. I can confirm that does the trick.

Just one more issue to resolve and we can update our live site to SP 6.0.