PDA

View Full Version : Feeta vB Chat v1.0 (phpmychat mod) FIXED


fleccy
01-03-2004, 10:00 PM
hi all i decided to convert phpmychat to vbulletin i have also converted them for other bb systems such as phpbb and invisionboard

Features:

fits in nicely to the board

32 languages

all default emotions

users with spaces in their names can chat

all files converted to .php files because some had problems with .php3

Screenshots:

none but please post some

Demo: http://www.pointanime.com/forum/chat.php

NOTE: sorry i had to take out the part of the admin cp but for next time it will be fixed and also in the chat you cant kick people

if you have any problems or need help please post in this topic or email me andrewfleccy@hotmail.com

Thanks and Enjoy :D

also ignore all posts up to page 5 :p

Eladesor
01-04-2004, 01:19 PM
Downloading and trying it out on RC1 right now... desperate for a decent Chat system for my site ;)
Thanks for sharing :)

fleccy
01-04-2004, 01:23 PM
tell me as soon as you have installed it if it works please :)

Eladesor
01-04-2004, 01:47 PM
Oopps -

Database error: Invalid SQL: SELECT password,perms FROM ibf_members WHERE username='admin' LIMIT 1
MySQL error: 1146 (Table 'vbulletinrc1.ibf_members' doesn't exist)
Session halted.


nice instructions btw - and only too around 5 mins to complete... just need to sort the error out now :)

fleccy
01-04-2004, 01:48 PM
oops what file was that in?

Eladesor
01-04-2004, 01:53 PM
Same error when logging in via the chat link in the admin CP or directly to the chat.php file

fleccy
01-04-2004, 01:56 PM
sorry about that i fixed it open room/config/config.lib.php and replace:

define("C_REG_TBL", 'ibf_members');

with

define("C_REG_TBL", 'user');

Eladesor
01-04-2004, 02:00 PM
No problem :)
Just happy enough to be gettign a solution.... :)

Done that - now reporting 'Wrong name or password.' -> i'll take a nosey around it ;)

fleccy
01-04-2004, 02:02 PM
where is your forum i want to take a look

Eladesor
01-04-2004, 02:03 PM
I'm testing it offline on a local server -> never put anything online live without testing first ;)

fleccy
01-04-2004, 02:05 PM
did you get wrong name or password when trying to access the admin part? if so i know why

Eladesor
01-04-2004, 02:08 PM
did you get wrong name or password when trying to access the admin part? if so i know why

Yep -> when accessing via link in the admin CP - login box shows up, enter 'Username' and 'Password' -> result = Wrong name or password.

fleccy
01-04-2004, 02:09 PM
thank god ok heres how to gain access to the admin panel

in phpmyadmin click on your database then click on user then click on browse then find your name and edit it go down to perms and in the perms box type admin

Eladesor
01-04-2004, 02:14 PM
Had already done that as per the original instructions :(

fleccy
01-04-2004, 02:22 PM
have a look at this tutorial i just made it to check if you did

Eladesor
01-04-2004, 02:31 PM
Thanks for the quick replies and help - its appreciated ;)

Sorry, thats what I did fist time round, and I've double checked everything again... but still says wrong password.

fleccy
01-04-2004, 02:41 PM
uppercase or lowercase? because it's case sensitive anyways forget the admin stuff can you chat? ur making this mod look rubbish :p

Eladesor
01-04-2004, 02:46 PM
uppercase or lowercase? because it's case sensitive anyways forget the admin stuff can you chat? ur making this mod look rubbish :p

Case -> Not that thick ;)
Chat -> Nope
Rubbish -> wel lyou did say it hadn't been tried on RC1 ....

It's probably something stupid that is just being missed.... I'll keep trying and let you know how I get on.

fleccy
01-04-2004, 02:49 PM
do you have msn? add me andrewfleccy@hotmail.com we can chat

SB2002
01-04-2004, 04:15 PM
I'm also having the same problems, and it should be noted that the feetachat template is wrong too. This line needs to be edited so that it works for all forums.

<iframe src="http://localhost/upload/room/" width=710 height=500 name="chat" scrolling="no" frameborder="no" align="center">
</iframe>

not just the localhost that it was created on. I do believe that by removing the http://localhost/upload (leaving the preceeding / before room bit, it (the template) should work then

fleccy
01-04-2004, 04:16 PM
i thought i put the note down im gonna get rc 1 later

SB2002
01-04-2004, 04:24 PM
Ok, after that template edit, the actual chat works, but the admin stuff doesn't. It also should be noted that my username is longer than what the login allows, which isn't much help either

fleccy
01-04-2004, 04:25 PM
it's only beta :P

SB2002
01-04-2004, 04:29 PM
Yeah i know, I was just giving you the feedback, lol. It looks like there may be some kind of change needed in admin.php although i'm not certain, but i'm guessing it would be a change in the area of the database it is reading from?

fleccy
01-04-2004, 04:30 PM
dunno :p this is my first time hacking vb and it only took me 1 hour lol converting from phpbb good going since im a newbie on vb

SB2002
01-04-2004, 04:33 PM
I figure that it's probably going to be a database call in admin.php. But not knowing enough about php to try messing with it i dunno. But when it is up and running the chat runs very well and is very well integrated, i am impressed. Just the admin bit and the inability to edit profiles due to usernames being too long that isn't so good. But again, some of that is down to phpmychat anyways for not letting us have long usernames

fleccy
01-04-2004, 04:35 PM
well i cant do much more till my m8 gets online he has the licence lol so i cant do much more till he installs rc 1

SB2002
01-04-2004, 04:37 PM
ok, well i'll have a flick through the admin.php and see if there is something obvious that has been missed

UPDATE: I've found a few points in admin.php and lib/login.lib.php where it makes calls to certain databases, but as i don't know what i'm doing i've not played about with them

Buczilla
01-04-2004, 06:13 PM
Great work!


This is what my chat aspires to be :o


I will definitely use this!

fleccy
01-04-2004, 06:15 PM
thank you :D i will fix it when my friend comes on so maybe tommorow or tonight if very lucky (very lucky)

Buczilla
01-04-2004, 06:29 PM
One more question......what are we supposed to login with? I used my vB username and password and it didn't work. Do I have to register again? :\

fleccy
01-04-2004, 06:30 PM
no it's just not working at the moment i have to wait for my friend to come online to he can install rc 1

Buczilla
01-04-2004, 06:37 PM
Ooooh....I see.


But the plan is to use the vB login?

Cool :p

fleccy
01-04-2004, 06:39 PM
well as soon as i get rc 1 ill know the problem straight away it's just he's not online alot when im on different timezones lol so yes if you have a gamma board it will work sry ppl i will have it working though i promise

StoneHalo
01-04-2004, 06:49 PM
If anyones got any screenshots, please post 'em! :) I'm curious as to what it looks like.

Cheers!

Buczilla
01-04-2004, 08:07 PM
Edit: Never mind.

fleccy
01-04-2004, 08:09 PM
oops sorry will be fixed has the password system changed in rc 1? i have rc 1 now but i cant figure out why it isnt working ill fix it tommorow too late now

Buczilla
01-04-2004, 08:10 PM
Sorry, I made a mistake. The vB table is called ipadress. I don't know why all the IP's were deleted.

:confused:

fleccy
01-05-2004, 06:34 AM
rc 2 is out now maybe it was a problem with rc 1

Eladesor
01-05-2004, 08:11 AM
rc 2 is out now maybe it was a problem with rc 1

???? Still only shows RC1 - no announcments about RC2

fleccy
01-05-2004, 08:12 AM
well it is out today :p if you look on vbulletin.com

fleccy
01-05-2004, 09:21 AM
this is killing me i cant figure out whats wrong vbulletin geniuses this is whats the problem

if (md5(($password)) != $password && (!isset($PWD_Hash) || $PWD_Hash != $password)) $Error = L_ERR_USR_4;

sry im very new to vbulletin i just need a little help

Buczilla
01-05-2004, 03:59 PM
rc2 is not out.


I suggest taking your question to General Hacking Discussion as well :)

xxskullxx
01-05-2004, 07:43 PM
Yes RC2 is out... ;)

JamesFrost
01-05-2004, 07:45 PM
RC2 is indeed out. I'm so glad I upgraded my test board yesterday. :(

Buczilla
01-05-2004, 10:30 PM
Yes, RC2 is now out. It wasn't at the time of my post though :p

SternFan
01-06-2004, 05:07 PM
Your instructions say to "Open upload/admin/index.php and find:". There is no such file that exists in the zip that you sent. Can you clarify which file it is please.

Thanks!

fleccy
01-06-2004, 05:08 PM
lol thats you vb u have to edit btw this mod doesnt work yet only on gamma will be fixed soon though

SternFan
01-06-2004, 05:17 PM
OK...that's what I figured, not a lot of good chat hacks out there that I can see and I like the idea of incorporating it into VB. Thanks for the response.

Buczilla
01-06-2004, 06:56 PM
How much longer do you think?

;)

boutwell
01-08-2004, 12:22 AM
I am looking forward to this one Fleccy. Thanks for your efforts on this, friend :)

Rids
01-08-2004, 04:10 PM
This will finish one of my sites off nicely so I'm waiting eagerly for this :)

MBV
01-09-2004, 08:38 PM
hey fleccy its deJECTED

get this working bro!

need any help hit me up in AIM or on 4orums :P

peace

fleccy
01-09-2004, 08:40 PM
yeah everyone btw this hack is now property to 4orums hehe :)

gmarik
01-09-2004, 10:41 PM
Any demos boards or working chat screenshots?

fleccy
01-10-2004, 05:10 PM
ive nearly finished and a huge thanks to tom for helping me

test board:

http://www.pointanime.com/forum/chat.php?styleid=1

username: test
password: test

Eladesor
01-10-2004, 05:53 PM
ive nearly finished and a huge thanks to tom for helping me

test board:

http://www.pointanime.com/forum/chat.php?styleid=1

username: test
password: test
Excellent ;) Looking forward to it's release.

fleccy
01-10-2004, 05:59 PM
very soon just need to finish the profile part and the admin panel bit

Davey-UK
01-10-2004, 06:32 PM
Just been to your test board Fleccy and tested something.

Registered on your site, and went into the chatroom.
I then left the chatroom without actually clicking the exit button(closed browser)

Then went back to chatroom, but when logging in, got this mysql error, because it thought i was still in there.

Database error: Invalid SQL: INSERT INTO c_users VALUES ('Default', 'myusername, '1', '1073766590', 'u','81.79.173.42')
MySQL error: 1062 (Duplicate entry 'Default-myusername for key 1)
Session halted.

fleccy
01-10-2004, 06:33 PM
yeah you cant get in for 5 minutes after that sry but i cant fix that

Davey-UK
01-10-2004, 06:35 PM
Yeah, no probs, its just me testing everything.
Nice to see you got the usernames with spaces sorted out.

Great addon though.

fleccy
01-12-2004, 02:52 PM
im gonna release it in 5 mins but it is broken and admin cp doesnt work sorry ppl but ill fix it for next release

fleccy
01-12-2004, 03:10 PM
it's out now :)

piercing
01-12-2004, 06:30 PM
I get this error while running chat.php

Fatal error: Call to undefined function: fetch_template() in /home/conneco/public_html/forum/chat.php on line 3

how do i solve it?

fleccy
01-12-2004, 06:31 PM
add the feetachat template

piercing
01-12-2004, 06:31 PM
i added it!

piercing
01-12-2004, 06:33 PM
just a moment..should the script work on vb 2.3.4?

fleccy
01-12-2004, 07:20 PM
lol what? this is for vbulletin 3 if you want the vbulletin 2 version look here https://vborg.vbsupport.ru/showthread.php?t=60109 :D

Eladesor
01-12-2004, 11:49 PM
Working fine for me now :) Many thanks for the time and effort ;)
Its a good addition to my site.

apokphp
01-13-2004, 01:25 AM
I had to change a part of the template where the iframe was referenced, to:


<iframe src="room/"

Very cool hack! I dig it. :)

I'm looking forward to the AdminCP being fixed. Is the AdminCP where one would edit, create, remove chat rooms? Right now there is Default, Room 1, Room 2. How can I make it so that it's just Room 1? Have to wait for the next update?



/clicks installs

fleccy
01-13-2004, 05:18 AM
if you want to change the room name look in room/config/config.lib.php and you will be able to tell what to edit :)

dano
01-13-2004, 06:16 PM
I cant find one working demo of this anywhere? Uggh.

Eladesor
01-13-2004, 08:18 PM
I cant find one working demo of this anywhere? Uggh.

:rolleyes: From post #1 -> "Demo: http://www.pointanime.com/forum/chat.php"

fleccy
01-13-2004, 08:20 PM
an example of the mp3 part lol http://www.latinfreestyle.com/forums/index.php?pg=room the system may change though in later versions :p main project is fixing admin :)

p.s. it's on a different forum software but it's really the same :) but this one has bad music :p

dano
01-13-2004, 09:46 PM
:rolleyes: From post #1 -> "Demo: http://www.pointanime.com/forum/chat.php"
Correct I did see that. This morning and last night that site was down and I was getting errors trying to get in. It seems to be up now.

apokphp
01-14-2004, 02:10 AM
Correct I did see that. This morning and last night that site was down and I was getting errors trying to get in. It seems to be up now.
Mine works perfectly as well if anyone needs to check 'er out.

www.onlinedebate.net/forums/chat.php

Eladesor
01-14-2004, 10:55 AM
Doesn't work with Mozilla or Konqueror - and my AOL users have having a nightmare.
Anyone else experiencing this - or better still have a work-around?

JamesFrost
01-14-2004, 11:57 AM
I've now got this working on my test board, and it looks really nice - certainly seems a big improvement over the highly hacked phpmychat with vbulletin integration that I'm using at the moment. I've got a few (;)) questions however....

I'm interested in the Admin panel, as to what that will contain, and when it will be available. We've been running phpmychat for over a year now, and have come across quite a few issues which we have resolved manually (but not in a format suitable for a hack!):

Could we have the facility to ban certain usergroups from being able to use chat? We currently have a 'no chat' group for users that persistently cause offense on chat, but are OK on the forums. Also the usergroup 'awaiting user confirmation' is unable to access chat until details are verified.

At the moment the /kick command on phpmychat is pretty useless, as the user can just log straight back on. Will it be possible to implement a time delay (say 24 hours) before the user can re-enter chat?

I assume it will be possible to setup moderators and administrators through the admin panel without resorting to SQL.

What is the refresh time that fetachat uses at the moment? It doesnt look like it is regularly refreshing as phpmychat does every 5 seconds. Does it work in a different way?

happy to test any of the above as we have a pretty active phpmychat board at the moment.

fleccy
01-14-2004, 01:59 PM
i know a fix for all the browsers i will fix it some :)

ill be able to fix the awaiting users stuff not sure about the others :p ive only been working on phpmychat for about 6 months now

Eladesor
01-14-2004, 04:23 PM
i know a fix for all the browsers i will fix it some :)

ill be able to fix the awaiting users stuff not sure about the others :p ive only been working on phpmychat for about 6 months now

Excellent that will be great. At the moment I've a divided membership... ;) Those who can use it, and those who are sulking because they cant.

JamesFrost
01-15-2004, 05:31 PM
fleccy - do you have a timescale for the next version? The key feature for me is the ability to /kick people as without this we cannot really moderate properly.

My suggestion would be to store a 'kicked <date>' in the perms database field in the user table (where <date> represents the date they were kicked). You could test this variable when entering chat (as you do when someone is an admin) and stop someone entering chat if <date> = todays date. (If <date> was not equal to todays date then you would reset this field.) This would stop someone who had been kicked from reentering till the start of the next calendar day.

Another nice feature would be an 'invisible mode' (for admins only) so they could watch the chat without being shown as being in it. I've seen this on a few PHPmyChat boards previously.

Sorry to be a pest - it's a great hack so far :)

fleccy
01-15-2004, 05:34 PM
it wont be long because well it's half working and this is my main project at the moment :) damn school...

JamesFrost
01-15-2004, 05:38 PM
it wont be long because well it's half working and this is my main project at the moment :) damn school...
damn school...

Don't worry about school - never did me any good.

(Well, apart from the nice job, house, car, family etc.) :D

JamesFrost
01-20-2004, 11:09 AM
it wont be long because well it's half working and this is my main project at the moment

fleccy,

any update on when this might be available? It's the last thing I need working before I can move over to VB3 (after the new excellent Arcade hack that is available :D)

thanks

James

muse.mu
01-23-2004, 09:12 AM
Indeed, i just gave this a shot and have countless SQL errors. im hoping to get this on before we move servers.

JamesFrost
01-23-2004, 10:45 AM
muse,

what errors are you getting? I'm running on a test board without problem.

Are you using the 2.3 version or the version 3 one in this thread?

pcalloway
01-28-2004, 02:44 AM
muse,

what errors are you getting? I'm running on a test board without problem.

Are you using the 2.3 version or the version 3 one in this thread?
Any chance of this working for RC3?

Thanatos
01-29-2004, 03:46 AM
Any chance of this working for RC3?
Works fine with RC3. Just not the Admin part.

muse.mu
01-29-2004, 07:22 AM
muse,

what errors are you getting? I'm running on a test board without problem.

Are you using the 2.3 version or the version 3 one in this thread?


could be dreamweaver, i edited the files in that. ill give it another shot. the errors were:

Database error: Invalid SQL: UPDATE c_users SET u_time = 1075368298 WHERE room = 'Default' AND name = 'James'
MySQL error: 1054 (Unknown column 'name' in 'where clause')
Session halted.

Database error: Invalid SQL: SELECT usr.name, usr.latin1, usr.status, reg.gender FROM c_users usr LEFT JOIN user reg ON usr.name = reg.name WHERE usr.room = 'Default' ORDER BY name
MySQL error: 1054 (Unknown column 'usr.name' in 'field list')
Session halted

thankfully its the test board.

i think i missed a query somewhere

Detomah
01-29-2004, 10:31 PM
Any news on this hack yet? I'm really looking forward to it being a stable release as my users are desperate for a nice integrated chat room. :)

Question: Do you need to have your own copy of phpmychat for this or is it all included in the hack?

Okiewan
01-30-2004, 02:11 PM
Question: Do you need to have your own copy of phpmychat for this or is it all included in the hack?

Yes you do.

fleccy
01-30-2004, 07:53 PM
it's all included in the hack it's like a total conversion

JamesFrost
01-31-2004, 06:10 AM
fleccy,

any update on when Mod stuff will be possible? Sorry to hassle - I'm hoping to go live with v3 next weekend.

James

JamesFrost
02-02-2004, 10:24 AM
OK Fleccy - managed to get the /kick function to work, but am not sure if this represents a security risk :

in kick.cmd.php change

if (($password != $PWD_Hash) || (($perms != "moderator")&&($perms != "admin")) || (($perms == "moderator")&&(!room_in(stripslashes($R), $rooms))))


to

if ( (($perms != "moderator")&&($perms != "admin")) || (($perms == "moderator")&&(!room_in(stripslashes($R), $rooms))))

it seems to be the password checking that was causing the kick function to fail - does the password need to be rechecked at this point anyway as the user is already logged in to chat?

fleccy
02-02-2004, 02:11 PM
sorry ive been away im very busy with school and others things so i wont be able to work on this as much as id like to but yeah nice job saves me the time teling every one lol :)

JamesFrost
02-02-2004, 03:04 PM
This code also needs changed in the promote and ban functions. After this, the whole thing works very well. Do you want me to package it back up so you can re-release the original zip?

fleccy
02-02-2004, 03:05 PM
sure i appreciate it :)

BadBoyCologne
02-05-2004, 05:02 AM
Hello,
i have problems with the chat.
i have installed how it standing in the installfile.
Now i become a white site of www.euroawm.com/board/chat.php
Please can u help me?

P.S I have the VB 3 RC3

Eladesor
02-07-2004, 04:44 PM
i know a fix for all the browsers i will fix it some :)

ill be able to fix the awaiting users stuff not sure about the others :p ive only been working on phpmychat for about 6 months now

Do you have this yet?

dartmoore
02-12-2004, 01:56 AM
Hey,
This is awesome..install flawlessly..Wish the admin issue was resolved but I'm sure you are working on it, as it blows everything else out of the water..there is one thing..when I try to edit the english welcome message i get this when logging in,

Database error: Invalid SQL: INSERT INTO c_messages VALUES (1, 'Default', 'SYS welcome', '', '1076565793', 'dartmoore', 'sprintf("Welcome to Shadow Company's Internal Chat")')
MySQL error: 1064 (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 's Internal Chat")')' at line 1)
Session halted.

hit refresh and chat loads w/o(without) the welcome..I can restore the file to original and all is ok..

any ideas..only changed text between the quotes..

JamesFrost
02-12-2004, 07:15 AM
Dartmoore - looks like a problem with having quotes in the text you are trying to insert.

You need to use \' for a single quote. Try the following.

case 'english': // For english users
define('WELCOME_MSG', "Welcome to Shadow Company\'s Internal Chat");
break;

fleccy
02-12-2004, 01:49 PM
or he wiped out his config.lib.php post it here so we can see :)

dartmoore
02-12-2004, 06:12 PM
Dartmoore - looks like a problem with having quotes in the text you are trying to insert.

I think (can never remember syntax) you need to use /' for a single quote (although it might be two single quotes!). Try the following.

case 'english': // For english users
define('WELCOME_MSG', "Welcome to Shadow Company/'s Internal Chat");
break;


it was the quote and the above did not work..just took it out and it worked fine..

dartmoore
02-13-2004, 06:13 PM
Dartmoore - looks like a problem with having quotes in the text you are trying to insert.

I think (can never remember syntax) you need to use /' for a single quote (although it might be two single quotes!). Try the following.

case 'english': // For english users
define('WELCOME_MSG', "Welcome to Shadow Company/'s Internal Chat");
break;


Ok, after further research I got it to work..you had it except it is a backslash instead of a forward slash..thnx for pointing me in the right direction..

second note..is there a time frame to get the admin login issue fixed?

thnx dart

JamesFrost
02-14-2004, 12:09 PM
Ok, after further research I got it to work..you had it except it is a backslash instead of a forward slash..thnx for pointing me in the right direction..

second note..is there a time frame to get the admin login issue fixed?

thnx dart
Ok, after further research I got it to work..you had it except it is a backslash instead of a forward slash..thnx for pointing me in the right direction..

that's what I said! ;)

snakes1100
02-18-2004, 09:15 PM
Ok, didn't do none of the mod's for admin, but it's running fine on rc4, just wanted to let you all know.

One note to the coder of this fine chat, think you should fix the template or at least add instructions to the install file, so ppl know to edit the path.

Thanx, nice hack.

fleccy
02-19-2004, 05:29 AM
thanks :)

JamesFrost
02-19-2004, 07:31 AM
Ok, didn't do none of the mod's for admin, but it's running fine on rc4, just wanted to let you all know.

One note to the coder of this fine chat, think you should fix the template or at least add instructions to the install file, so ppl know to edit the path.

Thanx, nice hack.
The admin functions don't prevent the chat from running. All they do is allow better management of chat permissions through VB usergroups. (such as banning a certain usergroup from using chat, or assigning a group as chat moderators).

Also, I dont believe some of the mod functions (such as /kick) work properly with usernames with spaces in them at the moment.

I've made a few tweaks to the software which I've sent to fleccy to do some of the above. I've got a few more bits to finish off, after which I'll send him a new build. All working OK on my site at the moment though.

fleccy
02-19-2004, 07:32 AM
yeah thanks for helping m8 :D

trilOByte
02-19-2004, 10:19 PM
Just installed and get this error...

Database error: Invalid SQL: SELECT password,perms,rooms,salt FROM user WHERE username='tril0Byte' LIMIT 1
MySQL error: 1146 (Table 'synobyte_pchat1.user' doesn't exist)
Session halted.

....any ideas?

I dont have a "user" table in my database, which is specified in your first query.
ALTER TABLE `user` ADD `firstname` VARCHAR( 32 ) NOT NULL ,

Wouldn't I have to create the table "user" before I can alter it? If have a "c_users", but no "user"

dartmoore
02-27-2004, 01:26 AM
ok I got a demo goin on RC4,
user: Chat_Guest pword:guest

http://www.newsoutlet.info/forums/index.php

still not able to get pass the login for the admin tho..

mylesmg
03-05-2004, 05:50 PM
Just installed and get this error...



....any ideas?

I dont have a "user" table in my database, which is specified in your first query.


Wouldn't I have to create the table "user" before I can alter it? If have a "c_users", but no "user"

I had this issue also. I actually had the table prefix vb3_ so I had to change the SQL statement to vb3_user and then also change it in the config file.

mylesmg
03-06-2004, 11:39 PM
To be able to log into the admin with VB3 RC4, change that lines in login.lib.php that looks like this:

"$DbLink4Login->query("SELECT password,perms FROM ".C_REG_TBL." WHERE username='$NAME' LIMIT 1");
if ($DbLink4Login->num_rows() != 0)
{
list($PWD_Hash, $perms) = $DbLink4Login->next_record();
if ($PWD_Hash == md5($PASSWORD)) || $PWD_Hash == $PASSWORD)"

to this:
"$DbLink4Login->query("SELECT password,perms,salt FROM ".C_REG_TBL." WHERE username='$NAME' LIMIT 1");
if ($DbLink4Login->num_rows() != 0)
{
list($PWD_Hash, $perms, $salt) = $DbLink4Login->next_record();
if ($PWD_Hash == md5(md5($PASSWORD).$salt) || $PWD_Hash == $PASSWORD)"

Craigr
03-07-2004, 04:00 PM
Hack worked great for me. :)

Craig

mylesmg
03-09-2004, 06:26 PM
Hack worked great for me. :)

Craig

Good to know! If anyone finds any bugs with what I have done, please post them here asap, and I'll see what I can do about them.

fleccy
03-13-2004, 01:52 PM
nice job sry i been away :) i iz back now really

jarekn
03-16-2004, 08:47 PM
Is it possible for the chat not to ask for the user name and password? I would like all the users in the chat to be auto logged in with the same user as they have in the forum.

Does anyone have that working?

sross
03-18-2004, 09:08 PM
Hi, I've followed the instructions 100%, and it only loads a white page :(

I tried editing the template src as well to /room and still nothing. Can anyone help? thanks

JamesFrost
03-19-2004, 07:12 AM
I've seen this before where the chat templates have been loaded into a different style to the one you have currently selected.

sross
03-19-2004, 06:57 PM
I've seen this before where the chat templates have been loaded into a different style to the one you have currently selected.
ahh i figured it out, i had the template named wrong :)

sross
03-19-2004, 07:19 PM
Ah spoke too soon :(

I can now login and the chatroom seems to open. I get the box below to enter text into but when I submit the text nothing shows up on screen....

sross
03-19-2004, 07:31 PM
Also notice the rooms list is not loaded and after seeing a working demo of the room my "chat text screen" is not there. thanks for any help, I think I'm close!! :)

sross
03-22-2004, 12:49 AM
Anyone around? anyone.......... help.....

Thanatos
03-24-2004, 04:14 PM
Anyone around? anyone.......... help.....
Are you using IE? I have a user that can't see text in the room who uses Netscape.

sross
03-24-2004, 10:27 PM
Are you using IE? I have a user that can't see text in the room who uses Netscape.
nope latest IE, oh well, might have to try a different chat mod :(

Thanatos
03-25-2004, 02:12 AM
nope latest IE, oh well, might have to try a different chat mod :(
hmm...well...post your link to it and I'll go look.

Can't guarantee you I Can help..but I did manage to set it up and make it work on gold.

obsidian
03-31-2004, 02:17 AM
sross did you change the link in the template? The help file calls out http://localhost.... You need to change that to the address of your site and room or you will get a white screen.

I think this mod has some serious possibilites. I would love some help on getting it to auto-logon the members.

Davey-UK
04-15-2004, 05:49 AM
Why don't you lot just use ZZ Flash Chat. Its sooooo simple, and it comes with instructions for auto login on any board!

:laugh:

fleccy
04-15-2004, 07:03 AM
how about noooooooooooooooooooooooooooooooo

obsidian
04-15-2004, 03:10 PM
Fleecy...... You can not expect people to stick with your hack if there is zero support or activity on it. I have read through most of the other forums that you have released this hack for and the story is the same. You release a partial hack and then leave. I can understand you having other responsibilites but in my opinion you can not complain when people jump ship.

btw that flashchat was eating up 70 to 80% of my cpu when I was testing it out.

fleccy
04-15-2004, 03:11 PM
no i left here but i didnt leave phpbb

dede1
04-15-2004, 06:15 PM
Hello

my Problem look :

http://63.246.136.220/Board/chat.php

fleccy
04-15-2004, 09:30 PM
you need to change http://localhost to http://63.246.136.220/Board/room in ur feetachat template :) sorry about the bad instructions

dede1
04-16-2004, 05:58 PM
Thanks :)

fleccy
04-16-2004, 07:12 PM
no problem! :)

RichieBoy67
04-18-2004, 01:24 PM
I am tring to install this but I don't know where PHPMYADMIN is... How do I access this to copy the code there??? Is this something I have to install??

Thanks,

Rich :ninja:

fleccy
04-18-2004, 05:44 PM
go to www.phpmyadmin.org and install it or if you have cpanel go to mysql and click phpmyadmin

thanks :)

obsidian
04-21-2004, 01:56 PM
This hack has promise in my opinion but I ended up switching to flashchat which already has vbulletin integration: http://www.tufat.com/script.php?id_num=2 Perhaps the integration for that could be adopted to this hack.

fleccy
04-21-2004, 01:58 PM
ah well

SmasherMaster
04-27-2004, 11:49 AM
Will this work on vB3 3.0.0 Gold? This would be awesome for my site. :)

fleccy
04-27-2004, 02:13 PM
yeah :)

SmasherMaster
04-27-2004, 02:29 PM
And I have to have phpmychat installed before I add this hack right?

JamesFrost
04-27-2004, 05:52 PM
And I have to have phpmychat installed before I add this hack right?
no - the hack includes a modified version of PHPmychat.

fleccy
05-04-2004, 08:26 PM
yo james got your message having hotmail problems so cant send u got another way to send?

kall
05-06-2004, 11:12 PM
I have managed to get this running on my test server...had to edit many many SQL functions from 'name' to 'username' as this was by no means consistent.

The smilies in the window just seem to create a large version of their text code when I mouseover, but do work from the help screen that pops up when you clcik the smilie to the left of the input field.

pjdaley
05-07-2004, 08:08 PM
works good. managed to take out the flags... and take out the members create chatrooms option... add a little jpg looks decent. good job fleecy.

pjdaley
05-07-2004, 08:09 PM
I have managed to get this running on my test server...had to edit many many SQL functions from 'name' to 'username' as this was by no means consistent.

The smilies in the window just seem to create a large version of their text code when I mouseover, but do work from the help screen that pops up when you clcik the smilie to the left of the input field.
yea i noticed you gotta just write then out like " :cool: " or whatever and they work

twoseven
05-08-2004, 12:20 AM
i just noticed when you have a space in your member name it bypasses the login and pass check (just a small little bug that could be exploited)

twoseven
05-08-2004, 04:34 PM
pjdaley could you post or tell me where to remove the chat room options

pjdaley
05-08-2004, 06:19 PM
To get rid of the tutorial link.
Find and Erase this:

<P>
<A HREF="<?php echo($ChatPath); ?>tutorial_popup.php?<?php echo("L=$L&Ver=L"); ?>" onClick="tutorial_popup(); return false" CLASS="ChatLink" TARGET="_blank"><?php echo(L_TUTORIAL); ?></A>
</P>



To get rid of the make your own room section:
Find and Erase this:
<?php echo(" ".L_SET_12); ?> :
</TD>
<TD VALIGN="TOP" CLASS="ChatCell">
<INPUT TYPE="text" NAME="R2" SIZE=11 MAXLENGTH=10 <?php if($DefaultRoomFound == 0 && $R != "") echo("VALUE=\"".htmlspecialchars(urldecode($R))."\""); ?> CLASS="ChatBox" onChange="reset_R2();">

and now i can't remember the others... =/ heres what i'll do... i'll upload my index.lib.php with the changes already made... you can just change the welcome on the top i put, and i put a little banner up there.

demo: http://www.bvpoetry.com/forum/chat.php

twoseven
05-08-2004, 07:29 PM
thanks pjdaley

ashley53680
05-19-2004, 06:08 AM
I installed it, not too bad! :)

You can see mine at http://simply-baby.net/forum/chat.php I did a few minor changes to it.


I read through this whole thread and I still wonder:

1.) How to get rid of all those darn flags!!! lol
2.) Where is that little "help" thing that was at the bottom of each page.
3.) Can they customize their user profile on this thing?
4.) Ummm, that's it!!

This is a great hack, I have been waiting for this FOREVER it seems! :)


***clicks install***

subu1
05-19-2004, 10:10 PM
cool i want to install tomorrow, but not in my board ;)

ashley53680
05-20-2004, 12:14 AM
Okay... I went and did the admin instructions... although it will not let me log in as admin!! :( What else do I need to do besides turn the perms to admin?

Thanks in Advance!

Ashley

ap0c
05-20-2004, 12:52 AM
the admin side doesnt work, why it's a beta release.

ashley53680
05-20-2004, 02:23 AM
Ahhhh... lol


Also the commands aren't working right! :) I wish I was a coder, I'd help ya figure it out, but I am clueless!

ashley53680
05-20-2004, 02:37 AM
works good. managed to take out the flags... and take out the members create chatrooms option... add a little jpg looks decent. good job fleecy.
Where did you take out the flags? Did you just erase all the language files?

subu1
05-20-2004, 10:10 AM
yeah it works fine, thxxx :-)

ap0c
05-20-2004, 12:27 PM
Ahhhh... lol


Also the commands aren't working right! :) I wish I was a coder, I'd help ya figure it out, but I am clueless!
working on them now;), I'm not a coder either, if I get them working,I'll post in this thread

ashley53680
05-20-2004, 03:22 PM
Thanks apoc!! :)

ap0c
05-20-2004, 06:46 PM
Where did you take out the flags? Did you just erase all the language files?in the config.lib file change this line:define("C_MULTI_LANG", '1');
to define("C_MULTI_LANG", '0');

ashley53680
05-20-2004, 06:48 PM
Thank you! :)

subu1
05-23-2004, 04:55 AM
hi guys, what is the away status in this chat, its verry important.... /away or /afk don't work.

thxxx subu1

pjdaley
06-03-2004, 09:23 PM
is it possible in the code, that it'll automatically sign in the person? instead of everytime the person having to put in user and pw?

ashley53680
06-05-2004, 07:48 PM
Okay, I have looked around but cant find it...

Is there any way I can show "who's online" in the chat room on my forum home? I know if I go to the regular who's online it will show if someone is in the chat room, but it's mixed in with all the other people online. I want something just to show who is online.

Thanks!

Ash

cclaerhout
09-09-2004, 11:25 PM
If you want the chat works with Mozilla, go to :
http://www.theforumcity.com/showthread.php?goto=newpost&t=351
Download "Feeta phpBB Chat Autologin v2.zip"
Extract, go to "New Installation", "room", then copy these files :
-messagesL.php
-users_popupL.php
-usersL.php

... and connect your server, find the same old files ; replace them with the new ones.

Works with Mozilla now :-)

cclaerhout
09-10-2004, 01:10 PM
The /invite {user} doesn't work. Screen comes back to the login et pass window sayins it's the wrong password.

fleccy
09-10-2004, 01:49 PM
strange thanks for the report

Vogelfreund
09-22-2004, 09:11 PM
Hello,

wenn i log out, i cant log in again :-(

allways tells me:

You have now successfully logged out of the chat room you may now close your browser

:-(

And it doesn work with netscape

Can someone help?

fleccy
09-23-2004, 01:54 PM
it's because you installed the auto login patch

xfaethorx
09-28-2004, 01:06 PM
ok i have a few quick questions.

Its working and i am aware its a beta . however I can't log into the admin side, so no swear filter alterations etc and no users can change their profiles everything comes back as wrong U : P. Any reason why or is that expected?

L-Mane
10-27-2004, 04:33 PM
Is there anyway to not having previous text showing everytime you leave and come back?

Also is there a way yo get this to show on who's online?

fleccy
10-27-2004, 04:35 PM
Is there anyway to not having previous text showing everytime you leave and come back?

Also is there a way yo get this to show on who's online?

yeah take a look in config/config.lib.php for the time thing

the users in the chat is a seperate mod somewhere on the forum

Blgrw
12-07-2004, 03:08 PM
When does the new version of the Chat come?