Jump to content
MakeWebGames

Recommended Posts

Posted

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

Posted

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

  • 2 weeks later...
Posted

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 :/

Posted

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...

Posted

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)

  • 3 weeks later...
  • 2 weeks later...
Guest Anonymous
Posted

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.

  • 4 months later...
Posted

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 \.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...