erus Posted February 14, 2008 Posted February 14, 2008 I have emailed Seanybob and he gave me permission to add here what i have done with his chat script. Hopefully someone else can look at it and maybe improve on what i have changed (I am not and do not profess to be a coder) via reading up and learning from various sites including this one. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. As I said above the code boxes I am not a coder yet and just learning. The main reason I have put this here is because I think that given the chance and a few good coders this could become a S*** hot add on for McCodes (but that is just my opinion we all have them) Hope some people find this useful and/or some can alter this and repost it. Erus Quote
HITMAN 17 Posted February 14, 2008 Posted February 14, 2008 Re: Ajax chat for V2 http://www.tbrpg.890m.com/chat.php it dont work right have a look Quote
iseeyou94056 Posted February 14, 2008 Posted February 14, 2008 Re: Ajax chat for V2 this dont work Quote
erus Posted February 14, 2008 Author Posted February 14, 2008 Re: Ajax chat for V2 can be seen working as instructed on http://urbanheist.com on the left hand menu under the heading of basic chat Quote
iseeyou94056 Posted February 14, 2008 Posted February 14, 2008 Re: Ajax chat for V2 you did something wrong on here then beacuse it dont work on mine or his game Quote
erus Posted February 14, 2008 Author Posted February 14, 2008 Re: Ajax chat for V2 I will look into it and see what i did wrong but i still think it is an addon worth toying with (when i get it up here right lol) forgot to say chmod the txt file to 777 Quote
erus Posted February 15, 2008 Author Posted February 15, 2008 Re: Ajax chat for V2 What did you need to do to fix it please as i would like others to work on it and make it better Quote
iseeyou94056 Posted February 15, 2008 Posted February 15, 2008 Re: Ajax chat for V2 replace the chat.php with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. it will make it white and move the shout thing to where ppl can see it Quote
HITMAN 17 Posted February 15, 2008 Posted February 15, 2008 Re: Ajax chat for V2 works perfect http://www.tbrpg.890m.com/chat.php Quote
KDawg08 Posted February 24, 2008 Posted February 24, 2008 Re: Ajax chat for V2 The one problem i have here is that i don't have a file called globals.php. I have one other issue but not with this... it's that after 50 members nobody can register :/ Quote
iseeyou94056 Posted February 25, 2008 Posted February 25, 2008 Re: Ajax chat for V2 thats because you are using v1 codes do you want me to convert it? Quote
KDawg08 Posted February 25, 2008 Posted February 25, 2008 Re: Ajax chat for V2 Oh very nice i thought i was on v2 :/ i did PURCHASE v2... i'll have to complain to DB at mccodes. Anyhow, How could i convert to version 2 without ruining the users and such. And is there a way to remove the 50 registered users limit? Nobody else can register and i didn't modify the PHPMYADMIN or the SQL or the register page... Quote
iseeyou94056 Posted February 25, 2008 Posted February 25, 2008 Re: Ajax chat for V2 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
KDawg08 Posted February 25, 2008 Posted February 25, 2008 Re: Ajax chat for V2 does this have a built in auto refresh by chance? Quote
KDawg08 Posted February 25, 2008 Posted February 25, 2008 Re: Ajax chat for V2 I have a problem... Everytime someone types the word "he's" it does this: KDawg08 he\'s also for :'( it does this :\'( basically anything with a ' in it adds a \ before it. Anyway to fix that? (V1 version) Quote
erus Posted February 29, 2008 Author Posted February 29, 2008 Re: Ajax chat for V2 not found a fix for that as yet but working on the problem as it annoys me too. Quote
tittlemouse Posted March 2, 2008 Posted March 2, 2008 Re: Ajax chat for V2 thanks this is a good code. Quote
GrimR Posted March 20, 2008 Posted March 20, 2008 Re: Ajax chat for V2 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. i keep getting this when trying to post stuff Quote
Halo Posted March 28, 2008 Posted March 28, 2008 Re: Ajax chat for V2 You have to change the permissions to 0777 Quote
Guest Anonymous Posted March 28, 2008 Posted March 28, 2008 Re: Ajax chat for V2 Noooo! Never use 777 - That means *everybody* on that server has access to those files - You need to read up on unix file permissions. Quote
Ragnar Posted August 14, 2008 Posted August 14, 2008 Re: Ajax chat for V2 I have a problem... Everytime someone types the word "he's" it does this: KDawg08 he\'s also for :'( it does this :\'( basically anything with a ' in it adds a \ before it. Anyway to fix that? (V1 version) It's extremely easy to fix that. Just censor it!! $message = str_replace("\'","'",$message); \' now shows up as ' with out the \. 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.