I’m looking for someone to help me install the Intercom script on my Discourse install.
Instructions can be found here.
Our Discourse installation is installed on a DO server.
We need to script to call the logged in users email address and their name (as opposed to username).
Let me know if you are interested?
Note the two places in the code of YOUR_INTERCOM_APP_ID and YOUR_DISCOURSE_DOMAIN.
Also FYI the current Intercom Messenger doesn’t play well on iOS devices on Discourse. But they could be working on an updated Messenger. And if I were to have used an updated Intercom Messenger, I would say that it works very well on iOS now
var currentusernamefromjson = String(json.current_user.username);
var currentuserflname = String(json.current_user.name);
var fulllinktojson = "https://YOUR_DISCOURSE_DOMAIN/users/" + currentusernamefromjson + ".json";
var currentuseremail = String(json.user.email);
I tried this but it still isn’t working. Could that be something to do with the fact that I don’t have SSL setup on the forum?
Or perhaps because I’m using SSO via Wordpress to control logins?
Happy to pay to have this setup for me. I can likely struggle my way around doing it myself but I don’t have the patience
I’ll run a quick test with this code to see what the issue is. Before I do, I assume that your Wordpress/Discourse user emails match up with users you’ve already loaded into the Intercom admin dashboard?
SSO isn’t an issue. I actually have the same set up.
They are. I have just messaged through access details to the forum if that is any help.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.