sniko Posted May 5, 2015 Author Share Posted May 5, 2015 (edited) How easy is this to extend? Is there some kind of global file to add to? There is a class (Pusher). Either you can overwrite the entire class by issuing another namespace, or extend the class and overwrite functions as none are marked as final. Throughout the class, I inject dependancies (db object and $ir) rather than bringing them into the scope via global. The div's used are marked individually with nice names so you can easily override styling for a specific aspect (ie: change user mentions background color) Edited May 5, 2015 by sniko Quote Link to comment Share on other sites More sharing options...
TheMasterGeneral Posted May 5, 2015 Share Posted May 5, 2015 Thanks again, sniko! Quote Link to comment Share on other sites More sharing options...
TheMasterGeneral Posted May 5, 2015 Share Posted May 5, 2015 (edited) Apologies for the double, but it appears once you hit the chats shown limit set in settings.ini, messages will no longer be seen after a new page load. Easy fix is to set the chat_shown value to some high value. Also, the first few rooms you add in are ID'd two higher than normal. An easy fix is to just set the id manually in the DB Edited May 5, 2015 by TheMasterGeneral Additions Quote Link to comment Share on other sites More sharing options...
AdamHull Posted May 5, 2015 Share Posted May 5, 2015 I am stuck trying to get this to work, I have followed MTG's wiki and nothing, The chat boxs appear but they will not submit the messages. Any one have any idea? Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted May 5, 2015 Share Posted May 5, 2015 I am stuck trying to get this to work, I have followed MTG's wiki and nothing, The chat boxs appear but they will not submit the messages. Any one have any idea? If you're using Firefox/Chrome, please enable the console and reload the page. Paste any error messages please Quote Link to comment Share on other sites More sharing options...
AdamHull Posted May 5, 2015 Share Posted May 5, 2015 the only error i get in the console is from the jquery library which is: Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted May 5, 2015 Share Posted May 5, 2015 the only error i get in the console is from the jquery library which is: Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead Right, there is a way to fix that, but that means grabbing a local copy of the jQuery lib. Also, that's not what's causing the issue.. If you'd like, I'll take a look and see what I can find. Quote Link to comment Share on other sites More sharing options...
AdamHull Posted May 5, 2015 Share Posted May 5, 2015 ill pop up on skype MTG Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted May 5, 2015 Share Posted May 5, 2015 Repaired :) Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted May 6, 2015 Share Posted May 6, 2015 Staff panel here WARNING! This has been tested for parse errors only. Please report any bugs here Quote Link to comment Share on other sites More sharing options...
Damond Posted May 7, 2015 Share Posted May 7, 2015 (edited) Love the idea of this staff panel. Just a few errors so far. Trying to ban a user. edit: QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-bans WHERE userid = 100' at line 1 Query was SELECT ban_type, ban_until, banned_by FROM pusher_chat-bans WHERE userid = 100 If I had opened my eyes I would have seen the problem here: Line 113 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Change too: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. New error when trying to ban someone. ERROR You didn't select a valid ban type Trying to edit a room Select the one and only room that I have and change the name. ERROR You didn't select a valid room Add room works fine. Delete room works fine as well. Edited May 7, 2015 by Damond Quote Link to comment Share on other sites More sharing options...
Coly010 Posted May 7, 2015 Share Posted May 7, 2015 MTG going all out developing on top of this, good job mate! :) Quote Link to comment Share on other sites More sharing options...
-BRAIDZ- Posted May 7, 2015 Share Posted May 7, 2015 Archive: chat_master.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of chat_master.zip or chat_master.zip.zip, and cannot find chat_master.zip.ZIP, period. And it won't let me unzip it on my computer Quote Link to comment Share on other sites More sharing options...
sniko Posted May 7, 2015 Author Share Posted May 7, 2015 Archive: chat_master.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of chat_master.zip or chat_master.zip.zip, and cannot find chat_master.zip.ZIP, period. And it won't let me unzip it on my computer I'll re-upload tonight, or if you add me on Skype I'll send it to you through there. Also please read this. Quote Link to comment Share on other sites More sharing options...
-BRAIDZ- Posted May 7, 2015 Share Posted May 7, 2015 I'll re-upload tonight, or if you add me on Skype I'll send it to you through there. Also please read this. I dont have Skype, but I can send you my email and you can just email it to me? Quote Link to comment Share on other sites More sharing options...
Monkey644 Posted May 14, 2015 Share Posted May 14, 2015 Hey all! The ZIP file is not opening :S Downloads, but does not open on my system. Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted May 15, 2015 Share Posted May 15, 2015 Hey all! The ZIP file is not opening :S Downloads, but does not open on my system. New download mirror: http://magictallguy.tk/dl/chat_sniko.zip I've fixed the zip issue Quote Link to comment Share on other sites More sharing options...
Monkey644 Posted May 15, 2015 Share Posted May 15, 2015 Hey all! The ZIP file is not opening :S Downloads, but does not open on my system. You, my good sir, are awesome :) Quote Link to comment Share on other sites More sharing options...
DISTORTED Posted January 4, 2016 Share Posted January 4, 2016 I cant get that zip to work ether Quote Link to comment Share on other sites More sharing options...
sniko Posted January 5, 2016 Author Share Posted January 5, 2016 I cant get that zip to work ether Will upload the files to a cloud storage service later (not as .zip). That should then resolve your issues. Quote Link to comment Share on other sites More sharing options...
DISTORTED Posted January 7, 2016 Share Posted January 7, 2016 ok cool :) Quote Link to comment Share on other sites More sharing options...
sniko Posted January 7, 2016 Author Share Posted January 7, 2016 (edited) ok cool :) Please see the original post :) Unsure if it's still valid, but; Signup to Pusher and enter coupon code SNIKO_REALTIME_50 when upgrading your package for a free 50$ Edited January 7, 2016 by sniko Quote Link to comment Share on other sites More sharing options...
benlucraft Posted January 19, 2016 Share Posted January 19, 2016 I'm still confused on how to install this? have you got an instructions.txt for this? sorry for my stupidity lol Quote Link to comment Share on other sites More sharing options...
DISTORTED Posted January 22, 2016 Share Posted January 22, 2016 I'm still confused on how to install this? have you got an instructions.txt for this? sorry for my stupidity lol I could not get it going ether I ended up just installing ajax Quote Link to comment Share on other sites More sharing options...
Coly010 Posted January 25, 2016 Share Posted January 25, 2016 I could not get it going ether I ended up just installing ajax You can install Ajax? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.