Page 2 of 3
Re: mChat add message
Posted: 20 Jan 2015, 09:05
by tumba25
Ok, great. I'll set up a test site. phpBB 3.0 or 3.1?
Re: mChat add message
Posted: 20 Jan 2015, 09:14
by deejay_xb
phpbb 3.0.12
Re: mChat add message
Posted: 23 Jan 2015, 17:58
by tumba25
Re: mChat add message
Posted: 24 Jan 2015, 10:36
by deejay_xb
ty, but i need to find how the autogenerate form_token is made..
maybe rich can help?
Re: mChat add message
Posted: 24 Jan 2015, 13:23
by tumba25
Re: mChat add message
Posted: 24 Jan 2015, 14:06
by RMcGirr83
The form token is generated within the includes/functions.php file within the add_form_key function which is done within mchat.php file via
Re: mChat add message
Posted: 24 Jan 2015, 16:46
by deejay_xb
Re: mChat add message
Posted: 25 Jan 2015, 10:14
by tumba25
Re: mChat add message
Posted: 25 Jan 2015, 11:48
by tumba25
Re: mChat add message
Posted: 25 Jan 2015, 12:52
by tumba25
@RMcGirr83: Do you have a non mini version of mchat_ajax_mini.js?
@deejay_xb: You really need to get the form token and form created time from mChat. The best would have been a API, but since the author didn't think about that you need to scrape it from the site.
Re: mChat add message
Posted: 25 Jan 2015, 13:24
by RMcGirr83
Re: mChat add message
Posted: 25 Jan 2015, 14:25
by tumba25
Re: mChat add message
Posted: 25 Jan 2015, 15:40
by deejay_xb
Re: mChat add message
Posted: 25 Jan 2015, 20:02
by RMcGirr83
The code you posted doesn't look anything like what tumba25 posted. Well it does but it isn't correct. Use what tumba25 posted.
Re: mChat add message
Posted: 27 Jan 2015, 07:02
by deejay_xb