Forum Discussion

thomaswelton's avatar
thomaswelton
Contributor
8 years ago

ActiveCast TalkBack - User not logged in

Running Lithium version 16.8

Implementing the ActiveCast TalkBack plugin.

 

The plugin loads comments from our specified thread, however both the leave comment and login forms are rendered at the same time.

When checking to see if the user is logged in this API method always returns false regardless of wether the user is logged into the forum

 

LITHIUM.ActiveCast.User().isUserLoggedIn()

 

The widget is being used on an external page hosted on a domain that has been whitelisted.

 

Our expectation is that the leave comment form would only be visible if the user is logged in, and the login form would only be shown if the user is not logged in. 

If this is supposed to be the case can anyone provide help in getting this to work as expected.

 

 

We are loading the plugin by pulling this script

https://community.example.com/t5/activecast/talkbackpage

 

And initialising the plugin as follows

 

LITHIUM.ActiveCast.getTalkBack(boardId, threadId, options);

 

No RepliesBe the first to reply