Discourse Meta
Widget's user awareness
Dev
zcuric
(Zdravko)
March 31, 2020, 4:35pm
2
You can use:
const user = api.getCurrentUser() if(user) { return user.username; }
More info here:
5 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
How to find out if user logged in
Support
6
1129
November 2, 2020
Discourse API Get Current Topic
Support
1
1059
December 23, 2020
How to get username and make an URL with that?
Support
5
2019
July 28, 2018
How to show HTML view and how to update data in HTML view
Dev
1
861
November 30, 2020
Now that there is an API call for Merge Users, how to call it?
Dev
rest-api
,
merge-user
5
1288
May 19, 2022