
Polls doesn't work with rooms addon
- BanterFace
- Donor
- Posts: 51
- Joined: 01 Feb 2017, 12:42
Polls doesn't work with rooms addon
PhpBB 3.2.1, digi with custom edits, mChat with custom edits, lots of other ext's (but disables for experiment). Enabled mChat Rooms and mChat in forums and topics disables able to sending poll's form with that message:


Last edited by BanterFace on 25 Jul 2018, 18:36, edited 1 time in total.
Re: Polls doesn't work with rooms addon
This sounds like a problem with form tokens. Please test with the latest mChat 2.1.0, or apply these changes to your mChat code: https://github.com/kasimi/mChat/commit/ ... f1ece52e1d
- BanterFace
- Donor
- Posts: 51
- Joined: 01 Feb 2017, 12:42
Re: Polls doesn't work with rooms addon
Made edits from github in my 2.0.3, didn't help.
Re: Polls doesn't work with rooms addon
I don't have any other ideas at the moment. Let us know if you find a solution.
Re: Polls doesn't work with rooms addon
I might have a solution: after applying the fix I linked to in my last post, remove all event handlers for the
Let me know if it works.
core.add_form_key
event from all mChat add-on extensions. Here is how to do this: in all mChat add-on extensions, open all event listener classes (.php
files in the event
folder). For each of these files, inline find 'core.add_form_key'
. If you have a match, comment the entire line by adding //
in front of them. Let me know if it works.
- BanterFace
- Donor
- Posts: 51
- Joined: 01 Feb 2017, 12:42
Re: Polls doesn't work with rooms addon
Yeah.
That solution works fine, thanks kasimi!
That solution works fine, thanks kasimi!
Re: Polls doesn't work with rooms addon
Thanks for confirming. I will remove the code of the form token workaround from all the add-on extensions in their next updates.
Who is online
Users browsing this forum: Bing [Bot] and 1 guest