Update only when ”submit”
-
I was thinking.
To save bandwitch its better to update the chat only when someone clicks ”submit”.What do you think?
Can it be done?
-
Thanks for the feedback. If that were the case, then the chat would not show any new chats until the “submit button” was clicked. So users would have to submit something just to check if there were any new messages.
@specialk After the update, the plugin stopped working. After sending a message, sends to /wp-content/plugins/simple-ajax-chat/simple-ajax-chat-core.php and nothing happens.
Sounds like something is interfering.. which version were you running before upgrading?
I used the last version. I’m not sure that problem appeared after the update, but I didn’t change the plugin code in any way.
What about your other plugins, did you also update any of them? Or make any other changes to your theme, adding plugins, etc.?
Solved the problem, thanks for the quick response. It was in the
<script src=”https://code.jquery.com/jquery-2.2.4.js”></script>I changed the page template which uses a different header. Didn’t connect it jquery.
Awesome, glad you got it sorted 🙂
It would be cool if you made the option of automatic cleaning chat from 1 to 24 hours. I use the chat on the webinar page, and each time guests see the chat that was in the last time instead of the new net chat.
This is the best plugin for word press and do things like webinars.
Thank you))
Actually that functionality already exists in the plugin. Here is a tutorial:
https://wp-mix.com/simple-ajax-chat-auto-clear-chats/
Also please leave a 5-star review if you like the plugin, it really helps.
-
This reply was modified 8 years, 9 months ago by
Jeff Starr.
Well its not resolved!
Im trying to use this plugin cause i like it the most.Someone write something about
<script src=”https://code.jquery.com/jquery-2.2.4.js”></script>What exectly did you do to solve it?
I have disabled all plugins fresh install.
Hello autox420, please do not double post on threads, it just means more work for everyone. If you ever need to get in touch directly, you can reach me here.
For your question, there a few big things to look at:
1) Is your wp-config.php file in the usual location, or a custom location
2) Is the required SAC JavaScript getting loaded correctly on the page
3) Is there any other JavaScript that may be interfering with the SAC JSI would begin by checking those three things. To check for the JS on the page, you can inspect your source code. For the JS errors, you can install a browser extension.
If there is any further information I can provide, please let me know. Thank you
-
This reply was modified 8 years, 9 months ago by
The topic ‘Update only when ”submit”’ is closed to new replies.