• Resolved Ambyomoron

    (@josiah-s-carberry)


    Using WP 4.9.5 and Watson plugin 0.6.6
    I tried out the feature that allows you to set context variables for the wordpress account data of the visitor, but it did not work. I did the following:
    0) set the values for first name and nickname to fname and nickname within the plugin config, and saved it.
    1) Customized the dialog that recognizes the greeting intent (e.g., “Hello”) to handle multiple responses.
    2) Entered three responses, as follows:
    $nickname Hi, $nickname
    $fname Hi, $fname
    Hi
    3) Logged in to WordPress and opened the chatbox.
    4) Typed “Hello”
    5) Watson responds with “Hi”, even though I have a fname and a nickname defined
    Please note that I do not have a caching plugin and do not use a CDN. Clearing the browser cache has no effect. The problem exists on both Firefox and Chrome browsers.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor cognitiveclass

    (@cognitiveclass)

    Hi Josiah,
    Could you update to the latest version of the plugin, go back to your Context Variables page and let me know if the values next to the input boxes are correct? Also, if you could provide the link to your website, it could help me in diagnosing the issue.

    Thread Starter Ambyomoron

    (@josiah-s-carberry)

    Yes, those values displayed are correct.
    Do you have a private way I can give you the URL? As a test environment, I prefer not to share that information publicly.
    Also, would you like me to create a wordpress account for you? I have disabled this function for non-admins.

    Plugin Contributor cognitiveclass

    (@cognitiveclass)

    When creating posts, there is a “Link to the page you need help with” field that you can fill in which is only visible to me. Alternatively, you can email me privately at [email protected]. I will need to be able to talk to the chatbot to investigate the issue.

    Thread Starter Ambyomoron

    (@josiah-s-carberry)

    Problem is resolved in ver. 0.6.8
    Thank you very much!

    I didn’t realize that the “link to the page..” was not publicly visible. Good to know.

    Plugin Contributor cognitiveclass

    (@cognitiveclass)

    Hi, I would like to make the correction that the “link to the page..” actually is visible to other users as well, but only if they are signed in.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WordPress Account context variables not working’ is closed to new replies.