Gossamer Forum
Home : General : Chit Chat :

phpmychat

Quote Reply
phpmychat
Has anyone ever heard of phpmychat?

.....I just wrote (or started writing) a phpmychat inspired chat script in perl :)

What do you think?

http://www.wiredon.net/cgi-bin/chat/chat.cgi

A mac user is having a few problems with the frames and not being able to submit by hitting enter but I'm working on that.

I started it 2 days ago so I still have stuff to add, just interested to hear your thoughts.

Last edited by:

RedRum: Mar 4, 2002, 8:10 AM
Quote Reply
Re: [RedRum] phpmychat In reply to
Nice.

Check out the one @ http://perlmonks.org for some ideas. They have one that supports /me style IRC commands and stuff.

- wil
Quote Reply
Re: [Wil] phpmychat In reply to
All the javascript, perl and frames are driving me nuts. Its so complicated getting everything where you want it :)

It currently supports markup tags like:

[b] [/b]

[red] [/red]

etc....all the markup is in its own file so it is really easy to add stuff. Its just a big hashref like:

'[sometag]' => 'output'

Then the smilies are in another file.

Hmm admin/moderators can also ban/kick or promote/demote using:

[promote username] [demote username] [kick username]

You can even make an alert popup for the kicked/banned user telling them why....its pretty cool :)

Last edited by:

RedRum: Mar 4, 2002, 8:49 AM
Quote Reply
Re: [RedRum] phpmychat In reply to
What about IRC style commands like /me. That would be quite cool.

- wil

Last edited by:

Wil: Mar 4, 2002, 8:51 AM
Quote Reply
Re: [Wil] phpmychat In reply to
What should it output?
Quote Reply
Re: [RedRum] phpmychat In reply to
Dunno. You know what I mean, though? The kind of command like

/me slaps Paul :-)

And the output is:

wil slaps paul

IRC kinda puts it into a different font, like the system messages,. It's an "action", usually.

- wil
Quote Reply
Re: [Wil] phpmychat In reply to
Added :) ...but don't you go slapping me! Smile

Last edited by:

RedRum: Mar 4, 2002, 9:12 AM
Quote Reply
Re: [RedRum] phpmychat In reply to
This is something I have been wanting to write for a while .I've got about 6 or 7 more scripts I was hoping to write before a chat one, but after that I'm looking at writing a similar one (in PHP) to PHPMYChat Wink And Paul, I'm not copying you...lol. I betcha that my design and javascript won't be as good though. Its certainly something I need to inmprove on Crazy

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [AndyNewby] phpmychat In reply to
As I said to Jason yesterday, my javascript sucks ass.

I just knew enough to get the chat working reasonably Smile
Quote Reply
Re: [RedRum] phpmychat In reply to
I'm sure I will be able to scrounge enough javascript from other resource sites to put something half decent together Wink

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [AndyNewby] phpmychat In reply to
Yeah just make sure you don't scrounge it from my script lol
Quote Reply
Re: [RedRum] phpmychat In reply to
Yeah, you've done a good job there, Paul!

You gonna put this one up for sale or something?! I wouldn't mind this one!

- wil
Quote Reply
Re: [Wil] phpmychat In reply to
You'd pay for something I made? Praise indeed Wink
Quote Reply
Re: [RedRum] phpmychat In reply to
Well we (the company I work for) is actually looking for something similar for a number of websites. In fact, it would be used for a 'live' chat with Rachel on http://www.rachelsorganic.co.uk. If it's worth the price, I'll be happy to pay for it. Unless, you were thinking of releasing it free of charge that is :-)

- wil
Quote Reply
Re: [Wil] phpmychat In reply to
Well originally I thought it would be cool to get in touch with the phpmychat developers to strike up some kind of partnership......but I can't release it for free for a couple of reasons.....the main being that is was for a paying client. (They are ok with me selling copies too even though it was developed specifically for them).

I'm considering the possibility of a GForum type thing, ie time limited....just need to make sure my encryption is secure enough so I don't shoot myself in the foot Pirate

Whatever the decision I'm expecting it to be about $30-$40 (depending on how well it turns out).....I'm just starting on the admin script now.
Quote Reply
Re: [RedRum] phpmychat In reply to
Is phpmychat free is it?

Well I only anticipated using this kind of software for one-off events anyway. Because otherwise, due to the nature of our sites, there would be a constant need for moderation which would prove impossible. But for live chats with special guests, I think your sofware looks appealing. Good design, extremly simple to use (which is a massive bonus - my manager turned down gforum as it she couldn't work it out :-\).

Cheers

- wil
Quote Reply
Re: [Wil] phpmychat In reply to
Yeah phpmychat is free, thats why charging for mine is a bit of a bummer. Although if I make it better than phpmychat then hopefully it will be worth the small fee.

I still need to add private rooms and stuff.
Quote Reply
Re: [RedRum] phpmychat In reply to
No! :-\

Make a 'lite' version as-is, free of charge.

You can develop a more feature-rich version with private rooms and stuff where you could charge a fee for.

I like it just the way it is. It's so simple to use. It's great.

- wil
Quote Reply
Re: [Wil] phpmychat In reply to
Ugh. QooQ says the whole thing crashes on his mac. Andy says there are tons of JS errors.....why don't I see any of that Pirate

The JS is pretty basic, only alerts and stuff.....Im gonna cry. If anyone has a few minutes, please test here:

http://213.106.15.150/cgi-bin/chat/chat.cgi

You may need to signup as it uses a different db.

Oh I added a swear filter.....you can test using the f word and sh*t

Last edited by:

RedRum: Mar 5, 2002, 10:55 AM
Quote Reply
Re: [RedRum] phpmychat In reply to
The only thing I noticed was with Mozilla. The message screen doesn't clear when you hit send. A minor inconvenience.

- wil
Quote Reply
Re: [Wil] phpmychat In reply to
Hm. Now whenever I post it 'sends me packing' - charming!

- wil
Quote Reply
Re: [Wil] phpmychat In reply to
Damn....I can't figure out what's up with it.

I can login and post without a hitch but I've been looking for the cause of Andy's/your problems and can't see why it is doing it.

It is to do with the sessions but everything looks fine....I can see your session in the database.
Quote Reply
Re: [Wil] phpmychat In reply to
I think I nailed that problem, not that I know what caused it still.
Quote Reply
Re: [RedRum] phpmychat In reply to
Decent chat script, although doesn't work in Netscape 4.76...when I type in a message, more Wiredon banners appear in the bottom frame, and no message is posted.

See screenshot for a visual.
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Heckler] phpmychat In reply to
Does that happen just when submitting using return or even if you click "post"?
Quote Reply
Re: [RedRum] phpmychat In reply to
Both.
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Heckler] phpmychat In reply to
Downloading 4.76....sigh.
Quote Reply
Re: [Heckler] phpmychat In reply to
Hmm I just installed 4.76 and it worked fine.....(well fine meaning it posted).

Last edited by:

RedRum: Mar 5, 2002, 1:30 PM
Quote Reply
Re: [RedRum] phpmychat In reply to
That was quick...and the fact of the matter is that it doesn't work for me with Netscape 4.76, just thought you'd be interested. bye.
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Heckler] phpmychat In reply to
Not that I don't believe you or anything, but why not show the whole screen shot than just the chat area, so that we can visually see that you are, indeed, using Netscape 4.76.
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [RedRum] phpmychat In reply to
Also, viewing the profiles doesn't work in NS 4.76.

Here are the javascript errors I came across:

Quote:

JavaScript Error: http://213.106.15.150/cgi-bin/chat/chat.cgi, line 101:

login is not defined.

JavaScript Error:
http://213.106.15.150/cgi-bin/chat/chat.cgi?do=load_frames&frame=frameset_nav&session=3WGRXcFNLaRPV8z6goFjf18lu5u5B6tYqRuMBdsf9UXF25cVHb,

line 97:

window.showModalDialog is not a function.
JavaScript Error:
http://213.106.15.150/cgi-bin/chat/chat.cgi?do=load_frames&frame=frameset_nav&session=3WGRXcFNLaRPV8z6goFjf18lu5u5B6tYqRuMBdsf9UXF25cVHb,


Good luck...
========================================
Buh Bye!

Cheers,
Me

Last edited by:

Heckler: Mar 5, 2002, 1:35 PM
Quote Reply
Re: [Heckler] phpmychat In reply to
>>
Not that I don't believe you or anything, but why not show the whole screen shot than just the chat area, so that we can visually see that you are, indeed, using Netscape 4.76.
<<

Why on earth would I try to fake the browser I was using?.....this is a script I want to release to the public.

...FYI, the download was 12MB and at 70k/s it doesn't take long Mad

But if it makes you happy....
Quote Reply
Re: [Heckler] phpmychat In reply to
Yep thats because 4.76 is quite a few years old and doesn't support modal dialogs

Last edited by:

RedRum: Mar 5, 2002, 1:37 PM
Quote Reply
Re: [RedRum] phpmychat In reply to
Oh...forgot, you have a fast connection to the Net...I connect at 26.6 kps and it is slower than molasses to download anything more than 1.0 MG.

Well, I just think it's odd that we are using the same browsers/versions and you are getting a totally different result...and the reason that I asked to see a full screen shot was that you may have downloaded and installed a different version of NS than 4.76, that's all. No need to get defensive, Paul!
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [RedRum] phpmychat In reply to
Understandable...you might want to consider making the application somewhat backward compatible and do a browser detect to print the appropriate JS codes...
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Heckler] phpmychat In reply to
>>
Understandable...you might want to consider making the application somewhat backward compatible and do a browser detect to print the appropriate JS codes...
<<

I assume 4.7x supports normal popups?
Quote Reply
Re: [RedRum] phpmychat In reply to
Yes, it does.
========================================
Buh Bye!

Cheers,
Me