• Welcome to Simple Machines Community Forum. Please login or sign up.

[BETA] Integrated Chat Mod 2.0 for SMF BETA 5

Started by Goosemoose, May 02, 2004, 07:52:35 PM

Previous topic - Next topic

Goosemoose

Okay, here is the new updated version for Beta 5. Not much else has changed. I did add code in the mod file in the instructions to add the number of people and who they are in chat to your News box. Quite a few people mentioned they liked it at the top like it was in YaBBSE.

Added the chat button which I had forgotted to add the code for before. Cleaned up the code a bit.

If you are just upgrading you do not need to run the dbmod file.

This is an integration to use an IRC room hosting by Brodle at everywherechat for FREE

You can see an example at http://www.goosemoose.com/rfc  I have also added a section in the bottom of the main page that lists the users logged into chat.

Let me know if this works okay for you guys!!

You can download the file at:
Download here

[Unknown]

2.0 for SMG Beta 5 :P?

Here, I've attached an untested package that should work if uploaded the the Packages directory - assuming the proper files are 777.

-[Unknown]

Goosemoose

May 02, 2004, 08:20:43 PM #2 Last Edit: May 02, 2004, 08:43:59 PM by goosemoose
If anybody gets a chance, download the version that Unknown posted and save it to your packages directory and then run it from the packages center of your admin panel. Then let us know if it works ;) I can't test it right now because my server is missing the zlib library. Most peoples should have it already installed.

[Unknown]

Here's a new version that actually works, I got a chance to test it ;).

-[Unknown]

Zeke

Um, not it dosn't work... sorry, to say unless I did somthing wrong... oO; But I saved/uploaded to server ( Uploaded to Packages dir [ Was that right? ] ) then went to admin on forums then package section then I have to go to install options give it my username,password, and server type then I hit browse packages then his Apply Mod and I got this...

QuoteWarning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 520 is not allowed to access /home/virtual/site7/fst/var/www/html/AIF/Packages/temp owned by uid 48 in /home/virtual/site7/fst/var/www/html/AIF/Sources/Subs-Package.php on line 574
Warning: opendir(/home/virtual/site7/fst/var/www/html/AIF/Packages/temp): failed to open dir: Success in /home/virtual/site7/fst/var/www/html/AIF/Sources/Subs-Package.php on line 574
Warning: readdir(): supplied argument is not a valid Directory resource in /home/virtual/site7/fst/var/www/html/AIF/Sources/Subs-Package.php on line 576
Warning: closedir(): supplied argument is not a valid Directory resource in /home/virtual/site7/fst/var/www/html/AIF/Sources/Subs-Package.php on line 591
Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid is 520 is not allowed to access /home/virtual/site7/fst/var/www/html/AIF/Packages/temp owned by uid 48 in /home/virtual/site7/fst/var/www/html/AIF/Sources/Subs-Package.php on line 837
Warning: fopen(/home/virtual/site7/fst/var/www/html/AIF/Packages/temp/chat.gif): failed to open stream: Success in /home/virtual/site7/fst/var/www/html/AIF/Sources/Subs-Package.php on line 837
Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid is 520 is not allowed to access /home/virtual/site7/fst/var/www/html/AIF/Packages/temp owned by uid 48 in /home/virtual/site7/fst/var/www/html/AIF/Sources/Subs-Package.php on line 837
Warning: fopen(/home/virtual/site7/fst/var/www/html/AIF/Packages/temp/Chat.php): failed to open stream: Success in /home/virtual/site7/fst/var/www/html/AIF/Sources/Subs-Package.php on line 837
Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid is 520 is not allowed to access /home/virtual/site7/fst/var/www/html/AIF/Packages/temp owned by uid 48 in /home/virtual/site7/fst/var/www/html/AIF/Sources/Subs-Package.php on line 837
Warning: fopen(/home/virtual/site7/fst/var/www/html/AIF/Packages/temp/Chat.template.php): failed to open stream: Success in /home/virtual/site7/fst/var/www/html/AIF/Sources/Subs-Package.php on line 837
Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid is 520 is not allowed to access /home/virtual/site7/fst/var/www/html/AIF/Packages/temp owned by uid 48 in /home/virtual/site7/fst/var/www/html/AIF/Sources/Subs-Package.php on line 837
Warning: fopen(/home/virtual/site7/fst/var/www/html/AIF/Packages/temp/chatdb.php): failed to open stream: Success in /home/virtual/site7/fst/var/www/html/AIF/Sources/Subs-Package.php on line 837
Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid is 520 is not allowed to access /home/virtual/site7/fst/var/www/html/AIF/Packages/temp owned by uid 48 in /home/virtual/site7/fst/var/www/html/AIF/Sources/Subs-Package.php on line 837
Warning: fopen(/home/virtual/site7/fst/var/www/html/AIF/Packages/temp/chatIcon.gif): failed to open stream: Success in /home/virtual/site7/fst/var/www/html/AIF/Sources/Subs-Package.php on line 837
Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid is 520 is not allowed to access /home/virtual/site7/fst/var/www/html/AIF/Packages/temp owned by uid 48 in /home/virtual/site7/fst/var/www/html/AIF/Sources/Subs-Package.php on line 837
Warning: fopen(/home/virtual/site7/fst/var/www/html/AIF/Packages/temp/integratedChat_2.0.mod): failed to open stream: Success in /home/virtual/site7/fst/var/www/html/AIF/Sources/Subs-Package.php on line 837
Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid is 520 is not allowed to access /home/virtual/site7/fst/var/www/html/AIF/Packages/temp owned by uid 48 in /home/virtual/site7/fst/var/www/html/AIF/Sources/Subs-Package.php on line 837
Warning: fopen(/home/virtual/site7/fst/var/www/html/AIF/Packages/temp/package-info.xml): failed to open stream: Success in /home/virtual/site7/fst/var/www/html/AIF/Sources/Subs-Package.php on line 837
Warning: file(): Unable to access /home/virtual/site7/fst/var/www/html/AIF/Packages/temp/package-info.xml in /home/virtual/site7/fst/var/www/html/AIF/Sources/Subs-Package.php on line 333
Warning: file(/home/virtual/site7/fst/var/www/html/AIF/Packages/temp/package-info.xml): failed to open stream: Success in /home/virtual/site7/fst/var/www/html/AIF/Sources/Subs-Package.php on line 333
Fatal error: Call to a member function on a non-object in /home/virtual/site7/fst/var/www/html/AIF/Sources/Subs-Package.php on line 362
[/b]

[Unknown]

May 02, 2004, 11:51:58 PM #5 Last Edit: May 02, 2004, 11:59:55 PM by [Unknown]
The package manager does not currently work on servers using safe mode, and it may not ever. (but I'm working on it.)

-[Unknown]

Zeke

o crud... that sucks major... I was hoping on using the mod tongiht  :'(

Hyperflo

I get this when I tried to install it  on smf 1.0 beta 5

QuoteWarning: copy(/home/xxxxxxxx/public_html/megacrew/mcforums/Themes/default/images/english/chat.gif): failed to open stream: Permission denied in /home/xxxxxxxx/public_html/megacrew/mcforums/Sources/Subs-Package.php on line 493 Error updating the DB. SQL Error: Duplicate entry 'chatLanguage' for key 1

Warning: fopen(/home/xxxxxxxx/public_html/megacrew/mcforums/Packages/installed.list): failed to open stream: Permission denied in /home/xxxxxxxx/public_html/megacrew/mcforums/Sources/Subs-Package.php on line 315
Warning: fputs(): supplied argument is not a valid stream resource in /home/xxxxxxxx/public_html/megacrew/mcforums/Sources/Subs-Package.php on line 322
Warning: fclose(): supplied argument is not a valid stream resource in /home/xxxxxxxx/public_html/megacrew/mcforums/Sources/Subs-Package.php on line 324

Unfortunately, I have no idea what it means, nothing in my forums was damaged.

[Unknown]

Quote from: [Unknown] on May 02, 2004, 08:08:32 PM
assuming the proper files are 777.

You will need to have the following 777:
/Packages/installed.list
/Themes/default/images/english

Among others.

Quote from: Zeke on May 03, 2004, 12:05:56 AM
o crud... that sucks major... I was hoping on using the mod tongiht  :'(

As I said, I'm working on it... but really, if your host is using safe mode they should also use php suexec, which the package manager works under. (like Lycos, yes it even works there!)

-[Unknown]

Hyperflo

Thanks Unknown, that got the package to load, but I have one last error:

QuoteError updating the DB. SQL Error: Duplicate entry 'chatLanguage' for key 1

I would not know what to do here either!?

[Unknown]

Ignore it, it would be using an "upgrade" script but the old version wasn't done with the package manager.

-[Unknown]

Hyperflo

Ok, thanks again, now I just gotta figure out where it is. I found the confog stuff in admin, but I can't find the chat program itself! :-X

Goosemoose

Zeke,
You might be able to get around the safe mode errors you have by creating a folder called temp with permissions 777 inside of the packages folder. It worked for me ;)

Zeke

No, that dosn't work either... you just run into more errors! I tryed already...

Hyperflo

Ok, I give up...I installed the chat, but cannot find it.  I see no links or references to it, except in the admin.  Where could it have gone?  I hate sneaky chat!

Room11

Nothing is Impossible
Room 11 Designs

Hyperflo

Anybody know how I can link to or better yet even find the chat that I have just installed?

Owdy

Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Goosemoose

Quote from: Hyperflo on May 03, 2004, 04:15:14 PM
Anybody know how I can link to or better yet even find the chat that I have just installed?

Did you use the package or the zip file to do the install? If you used the zip file make sure you did all the steps in the mod. The mod file has the edit for the index.template.php which has the chat button in it.

Owdy did you get the package to work or did you use the zipped mod?

Owdy

May 03, 2004, 05:16:02 PM #19 Last Edit: May 03, 2004, 05:18:51 PM by Owdy
I used attached. Just upload it to your "Packages" dir and
chmod 777:
/Packages/installed.list
/Themes/default/images/english
Then just install it with package manager. That CHMOD thang is very important!

test it : http://www.halko.net/smf/index.php
user:test
pass:test
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Advertisement: