PDA

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


fleccy
04 Jan 2004, 14:55
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
04 Jan 2004, 15:19
Downloading and trying it out on RC1 right now... desperate for a decent Chat system for my site ;)
Thanks for sharing :)

fleccy
04 Jan 2004, 15:23
tell me as soon as you have installed it if it works please :)

Eladesor
04 Jan 2004, 15:47
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
04 Jan 2004, 15:48
oops what file was that in?

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

fleccy
04 Jan 2004, 15:56
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
04 Jan 2004, 16:00
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
04 Jan 2004, 16:02
where is your forum i want to take a look

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

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

Eladesor
04 Jan 2004, 16:08
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
04 Jan 2004, 16:09
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
04 Jan 2004, 16:14
Had already done that as per the original instructions :(

fleccy
04 Jan 2004, 16:22
have a look at this tutorial i just made it to check if you did

Eladesor
04 Jan 2004, 16:31
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
04 Jan 2004, 16:41
uppercase or lowercase? because it's case sensitive anyways forget the admin stuff can you chat? ur making this mod look rubbish :p

Eladesor
04 Jan 2004, 16:46
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
04 Jan 2004, 16:49
do you have msn? add me andrewfleccy@hotmail.com we can chat

SB2002
04 Jan 2004, 18:15
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
04 Jan 2004, 18:16
i thought i put the note down im gonna get rc 1 later

SB2002
04 Jan 2004, 18:24
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
04 Jan 2004, 18:25
it's only beta :P

SB2002
04 Jan 2004, 18:29
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
04 Jan 2004, 18:30
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
04 Jan 2004, 18:33
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
04 Jan 2004, 18:35
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
04 Jan 2004, 18:37
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
04 Jan 2004, 20:13
Great work!


This is what my chat aspires to be :o


I will definitely use this!

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

Buczilla
04 Jan 2004, 20:29
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
04 Jan 2004, 20:30
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
04 Jan 2004, 20:37
Ooooh....I see.


But the plan is to use the vB login?

Cool :p

fleccy
04 Jan 2004, 20:39
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
04 Jan 2004, 20:49
If anyones got any screenshots, please post 'em! :) I'm curious as to what it looks like.

Cheers!

Buczilla
04 Jan 2004, 22:07
Edit: Never mind.

fleccy
04 Jan 2004, 22:09
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
04 Jan 2004, 22:10
Sorry, I made a mistake. The vB table is called ipadress. I don't know why all the IP's were deleted.

:confused:

fleccy
05 Jan 2004, 08:34
rc 2 is out now maybe it was a problem with rc 1

Eladesor
05 Jan 2004, 10:11
rc 2 is out now maybe it was a problem with rc 1

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

fleccy
05 Jan 2004, 10:12
well it is out today :p if you look on vbulletin.com

fleccy
05 Jan 2004, 11:21
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
05 Jan 2004, 17:59
rc2 is not out.


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

xxskullxx
05 Jan 2004, 21:43
Yes RC2 is out... ;)

JamesFrost
05 Jan 2004, 21:45
RC2 is indeed out. I'm so glad I upgraded my test board yesterday. :(

Buczilla
06 Jan 2004, 00:30
Yes, RC2 is now out. It wasn't at the time of my post though :p

SternFan
06 Jan 2004, 19:07
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
06 Jan 2004, 19:08
lol thats you vb u have to edit btw this mod doesnt work yet only on gamma will be fixed soon though

SternFan
06 Jan 2004, 19:17
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
06 Jan 2004, 20:56
How much longer do you think?

;)

boutwell
08 Jan 2004, 02:22
I am looking forward to this one Fleccy. Thanks for your efforts on this, friend :)

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

MBV
09 Jan 2004, 22:38
hey fleccy its deJECTED

get this working bro!

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

peace

fleccy
09 Jan 2004, 22:40
yeah everyone btw this hack is now property to 4orums hehe :)

gmarik
10 Jan 2004, 00:41
Any demos boards or working chat screenshots?

fleccy
10 Jan 2004, 19:10
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
10 Jan 2004, 19:53
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
10 Jan 2004, 19:59
very soon just need to finish the profile part and the admin panel bit

Davey-UK
10 Jan 2004, 20:32
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
10 Jan 2004, 20:33
yeah you cant get in for 5 minutes after that sry but i cant fix that

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

Great addon though.

fleccy
12 Jan 2004, 16:52
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
12 Jan 2004, 17:10
it's out now :)

piercing
12 Jan 2004, 20:30
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
12 Jan 2004, 20:31
add the feetachat template

piercing
12 Jan 2004, 20:31
i added it!

piercing
12 Jan 2004, 20:33
just a moment..should the script work on vb 2.3.4?

fleccy
12 Jan 2004, 21:20
lol what? this is for vbulletin 3 if you want the vbulletin 2 version look here http://www.vbulletin.org/forum/showthread.php?t=60109 :D

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

apokphp
13 Jan 2004, 03:25
I had to change a part of the template where the iframe was referenced, to:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



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
13 Jan 2004, 07:18
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
13 Jan 2004, 20:16
I cant find one working demo of this anywhere? Uggh.

Eladesor
13 Jan 2004, 22:18
I cant find one working demo of this anywhere? Uggh.

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

fleccy
13 Jan 2004, 22:20
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
13 Jan 2004, 23:46
: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
14 Jan 2004, 04:10
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
14 Jan 2004, 12:55
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
14 Jan 2004, 13:57
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
14 Jan 2004, 15:59
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
14 Jan 2004, 18:23
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
15 Jan 2004, 19:31
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
15 Jan 2004, 19:34
it wont be long because well it's half working and this is my main project at the moment :) damn school...

JamesFrost
15 Jan 2004, 19:38
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
20 Jan 2004, 13:09
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
23 Jan 2004, 11:12
Indeed, i just gave this a shot and have countless SQL errors. im hoping to get this on before we move servers.

JamesFrost
23 Jan 2004, 12:45
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
28 Jan 2004, 04:44
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
29 Jan 2004, 05:46
Any chance of this working for RC3?
Works fine with RC3. Just not the Admin part.

muse.mu
29 Jan 2004, 09:22
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
30 Jan 2004, 00:31
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
30 Jan 2004, 16:11
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
30 Jan 2004, 21:53
it's all included in the hack it's like a total conversion

JamesFrost
31 Jan 2004, 08:10
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 Feb 2004, 12:24
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



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



to



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



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 Feb 2004, 16:11
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 Feb 2004, 17:04
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 Feb 2004, 17:05
sure i appreciate it :)

BadBoyCologne
05 Feb 2004, 07:02
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
07 Feb 2004, 18:44
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
12 Feb 2004, 03:56
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
12 Feb 2004, 09:15
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.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

fleccy
12 Feb 2004, 15:49
or he wiped out his config.lib.php post it here so we can see :)

dartmoore
12 Feb 2004, 20:12
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.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



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

dartmoore
13 Feb 2004, 20:13
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.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



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
14 Feb 2004, 14:09
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
18 Feb 2004, 23:15
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
19 Feb 2004, 07:29
thanks :)

JamesFrost
19 Feb 2004, 09:31
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
19 Feb 2004, 09:32
yeah thanks for helping m8 :D

trilOByte
20 Feb 2004, 00:19
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
27 Feb 2004, 03:26
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
05 Mar 2004, 19:50
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
07 Mar 2004, 01:39
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
07 Mar 2004, 18:00
Hack worked great for me. :)

Craig

mylesmg
09 Mar 2004, 20:26
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
13 Mar 2004, 15:52
nice job sry i been away :) i iz back now really

jarekn
16 Mar 2004, 22:47
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
18 Mar 2004, 23:08
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
19 Mar 2004, 09:12
I've seen this before where the chat templates have been loaded into a different style to the one you have currently selected.

sross
19 Mar 2004, 20:57
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
19 Mar 2004, 21:19
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
19 Mar 2004, 21:31
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
22 Mar 2004, 02:49
Anyone around? anyone.......... help.....

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

sross
25 Mar 2004, 00:27
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
25 Mar 2004, 04:12
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
31 Mar 2004, 04:17
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
15 Apr 2004, 07:49
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
15 Apr 2004, 09:03
how about noooooooooooooooooooooooooooooooo

obsidian
15 Apr 2004, 17:10
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
15 Apr 2004, 17:11
no i left here but i didnt leave phpbb

dede1
15 Apr 2004, 20:15
Hello

my Problem look :

http://63.246.136.220/Board/chat.php

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

dede1
16 Apr 2004, 19:58
Thanks :)

fleccy
16 Apr 2004, 21:12
no problem! :)

RichieBoy67
18 Apr 2004, 15:24
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
18 Apr 2004, 19:44
go to www.phpmyadmin.org and install it or if you have cpanel go to mysql and click phpmyadmin

thanks :)

obsidian
21 Apr 2004, 15:56
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
21 Apr 2004, 15:58
ah well

SmasherMaster
27 Apr 2004, 13:49
Will this work on vB3 3.0.0 Gold? This would be awesome for my site. :)

fleccy
27 Apr 2004, 16:13
yeah :)

SmasherMaster
27 Apr 2004, 16:29
And I have to have phpmychat installed before I add this hack right?

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

fleccy
04 May 2004, 22:26
yo james got your message having hotmail problems so cant send u got another way to send?

kall
07 May 2004, 01:12
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
07 May 2004, 22:08
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
07 May 2004, 22:09
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
08 May 2004, 02:20
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
08 May 2004, 18:34
pjdaley could you post or tell me where to remove the chat room options

pjdaley
08 May 2004, 20:19
To get rid of the tutorial link.
Find and Erase this:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------




To get rid of the make your own room section:
Find and Erase this:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



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
08 May 2004, 21:29
thanks pjdaley

ashley53680
19 May 2004, 08:08
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
20 May 2004, 00:10
cool i want to install tomorrow, but not in my board ;)

ashley53680
20 May 2004, 02:14
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
20 May 2004, 02:52
the admin side doesnt work, why it's a beta release.

ashley53680
20 May 2004, 04:23
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
20 May 2004, 04:37
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
20 May 2004, 12:10
yeah it works fine, thxxx :-)

ap0c
20 May 2004, 14:27
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
20 May 2004, 17:22
Thanks apoc!! :)

ap0c
20 May 2004, 20:46
Where did you take out the flags? Did you just erase all the language files?in the config.lib file change this line:

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


to

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

ashley53680
20 May 2004, 20:48
Thank you! :)

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

thxxx subu1

pjdaley
03 Jun 2004, 23:23
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
05 Jun 2004, 21:48
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
10 Sep 2004, 01:25
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
10 Sep 2004, 15:10
The /invite {user} doesn't work. Screen comes back to the login et pass window sayins it's the wrong password.

fleccy
10 Sep 2004, 15:49
strange thanks for the report

Vogelfreund
22 Sep 2004, 23:11
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
23 Sep 2004, 15:54
it's because you installed the auto login patch

xfaethorx
28 Sep 2004, 15:06
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
27 Oct 2004, 18:33
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
27 Oct 2004, 18:35
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
07 Dec 2004, 17:08
When does the new version of the Chat come?