Eternal Posted January 13, 2009 Posted January 13, 2009 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You will need to edit the smileys in these scripts to suit what ever you like create chat.txt and chmod it to 7 7 7 or 7 5 5 as you wish in root directory create chat.php store in root directory You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Eternal Posted January 13, 2009 Author Posted January 13, 2009 Re: [mccode V2] Chat Mod NEW Creat folder chat then in that folder place back.php ~~~> You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Then in header.php you will need to place this at top under your style section. basicly at the TOP You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Eternal Posted January 13, 2009 Author Posted January 13, 2009 Re: [mccode V2] Chat Mod NEW At the moment i haven't coded the staff panel bit where you assign the user either png name color name and text color.. Quote
nedved Posted January 13, 2009 Posted January 13, 2009 Re: [mccode V2] Chat Mod NEW Any Screenshots? Quote
Eternal Posted January 13, 2009 Author Posted January 13, 2009 Re: [mccode V2] Chat Mod NEW Any Screenshots? Quote
dj_rive Posted January 14, 2009 Posted January 14, 2009 Re: [mccode V2] Chat Mod NEW I got an error on my header Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /header.php on line 129 Line 129 was $blinki=$_SERVER['SCRIPT_NAME']; Quote
John99 Posted January 14, 2009 Posted January 14, 2009 Re: [mccode V2] Chat Mod NEW Nice.. and also im making a new chat mod ajax/javascript once i done it ill post it up :) Quote
rulerofzu Posted February 23, 2009 Posted February 23, 2009 Re: [mccode V2] Chat Mod NEW This works well. I had a T PARSE error in the header but when i removed the code which you have said place in there the chat room works fine. The only problems ive found so far is that the users online refreshes and then doesnt reload just goes blank. Also....and this maybe connected to layout else where. This doesnt work (and neither have any of the ajax chat ive tried) in Firefox 3 Im using your earlier version with the same resize option so that I can use PNG's so ill be looking forward to the admin end. :-D Quote
Jambomb Posted February 23, 2009 Posted February 23, 2009 Re: [mccode V2] Chat Mod NEW I got an error on my header Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /header.php on line 129 Line 129 was $blinki=$_SERVER['SCRIPT_NAME']; For $blinki=$_SERVER['SCRIPT_NAME']; change to $blinki=$_SERVER[sCRIPT_NAME]; Might work then... havent tested but worth a try Quote
grimsybaby Posted February 23, 2009 Posted February 23, 2009 Re: [mccode V2] Chat Mod NEW hmm doesnt work just brings you to another error Quote
Jambomb Posted February 23, 2009 Posted February 23, 2009 Re: [mccode V2] Chat Mod NEW and that error is ?????? Quote
Eternal Posted February 24, 2009 Author Posted February 24, 2009 Re: [mccode V2] Chat Mod NEW Lawl i forgot about this mod. With this the error is not on that line but the query before it. You either didn't close it proper or missed something along those lines. If you could post up to line 129 would be helpfull on correcting this error. Quote
gulley Posted February 25, 2009 Posted February 25, 2009 Re: [mccode V2] Chat Mod NEW Try The Line Above ! Send it to me Or Reply To The Topic Thanks Gulley There Is No Error In That Code You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Karlos Posted February 25, 2009 Posted February 25, 2009 Re: [mccode V2] Chat Mod NEW above that add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. after all the header edit add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Should Work... Untested.. Quote
grimsybaby Posted February 25, 2009 Posted February 25, 2009 Re: [mccode V2] Chat Mod NEW Done what you said Karlos m8 and.... another error apeard :P Fatal error: Call to a member function on a non-object in /home/thepanda/public_html/game/header.php on line 91 Quote
grimsybaby Posted February 25, 2009 Posted February 25, 2009 Re: [mccode V2] Chat Mod NEW couldnt edit my last post for some strange reason XD fixed it :) the only downside im not sure how to fix this but if a user goes into the chat the name stays there even if they arnt online, cant you change that so they go once they go off the page :s Quote
TheBigChief Posted March 1, 2009 Posted March 1, 2009 Re: [mccode V2] Chat Mod NEW Mine keeps saying loading. Am I correct in saying that I was to create a new folder on root called Chat then add the back.php and header.php in there? Quote
avguste Posted March 3, 2009 Posted March 3, 2009 Re: [mccode V2] Chat Mod NEW Where exactly in the header.php? I cant seem to figure where the style section ends Creat folder chat then in that folder place back.php ~~~> You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Then in header.php you will need to place this at top under your style section. basicly at the TOP You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Eternal Posted March 3, 2009 Author Posted March 3, 2009 Re: [mccode V2] Chat Mod NEW A basic example using the original mccodes header file on how it should be placed... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
avguste Posted March 3, 2009 Posted March 3, 2009 Re: [mccode V2] Chat Mod NEW Hmm I am getting the following error: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. also when i test the chat.php I get errors that say: " warning:file(../chat.txt) [function.file]: failed to open stream:No such file or directory in home/avguste/public_html/chat/back.php on line 56" then the same text but on line 89 then I get: "invalid argument supplied for foreach() in home/avguste/public_html/chat/back.php on line 113" Any help would be appreciated Quote
avguste Posted March 4, 2009 Posted March 4, 2009 Re: [mccode V2] Chat Mod NEW ok,we fixed it. Now where do I add the smilies in the script.Or maybe you have smilies I could use Also,the list of users in chat doesn't seem to update Quote
Eternal Posted March 4, 2009 Author Posted March 4, 2009 Re: [mccode V2] Chat Mod NEW little update on this due to the users update failing. remove what i said from header and put this in chat.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Fully tested seen working on http://www.deadlyghetto.net/chat.php As for smileys find your own i haven't yet added in smileys only the coding if i was to put this as a working script Quote
rulerofzu Posted March 4, 2009 Posted March 4, 2009 Re: [mccode V2] Chat Mod NEW That works great now thanks! Now to look at getting in the png's if a user has them :D I noticed this You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Banned from chat is a excellent option. Quote
Eternal Posted March 4, 2009 Author Posted March 4, 2009 Re: [mccode V2] Chat Mod NEW At the moment it is via phpmyadmin you enter the userid and that. Also on blocking with mute that first bit is just informing them they muted. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. That is the block on it Quote
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.