Support » Plugin: Quick Chat » [Plugin: Quick Chat] Allow Transcript Saving for Non Admins

  • I was able to make the link visible to non admins by removing the check to make sure that $quick_chat_user_status == 0. But then the link only opened the chat page again…it is missing the Javascript code to pop up the transcript. I am not very good at Javascript…only PHP. Can anyone help me accomplish this task?

Viewing 1 replies (of 1 total)
  • Plugin Author Marko-M


    Hello jhoylman,
    non admin users have no nonce for transcript ajax call (security measure), also ajax call in Javascript isn’t registered for non admins (again security measure). I’ve tried to write you detailed instructions but I realized it’s too complicated cause you need to modify php to give non admins transcript nonce, shuffle transript click event code between javascript quick-chat-power.js and quick-chat-core.js files and modify javascript in multiple places. I made it all that way to make sure non admins couldn’t trick code into doing admin only actions. On top of it you need to minify .js files into .min.js files using google closure compiler for performance or run your site in debug mode otherwise. You can put something into my paypal bucket and I’ll package it for you. Good luck!

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Quick Chat] Allow Transcript Saving for Non Admins’ is closed to new replies.