Integrated Chat Mod

Started by Goosemoose, December 05, 2004, 08:57:18 PM

Previous topic - Next topic

maxchung

I had gotten the chat status somewhat working. I can detect the names of the users and count up the total number of members but only once. The problem is yes the list of members in the chat room is accurate but the number remains "stuck". So if there were originally two people in the chat room and one quits, there chat status will say there is only 1 member on but the total number of members in the chat room is 2.

xXxexpertxXx

#1801
I just installed integrated chat! now when i click Chat on my forum

its asking for the following

So i put the following

Nick:Expert (my forum admin login)
Password:(My Forum Admin Password
Room:Gamingnet

than i click connect

than it asks for Authorization required to use registered nickname

What do i do here.. What im i doing wrong... anyone know?



xXxexpertxXx

i have posted this in like 6 different spots! no one is able to help me! i can connect to my ROOM but i dont have admin! how can i get it!

Bass_Chaz

Tried to put it on my 1.1.4 version and could not get past the apply mod section because there were errors in the package

SgtMic

Quote from: Bass_Chaz on April 13, 2008, 03:46:41 PM
Tried to put it on my 1.1.4 version and could not get past the apply mod section because there were errors in the package

Depending on the errors, you will need to manually install the mod.
There is nothing more deadly than a US Marine and his rifle.
A close second is a US Marine and his K-BAR.
2/5 Fox Co.  (BlackHearts)
FAST Co. 5th Plt. (FIDO)

funcouldron

9.     Execute Modification     ./Sources/Load.php     Test failed
11.     Execute Modification     ./Sources/ModSettings.php     Test failed
15.     Execute Modification     ./Themes/default/Profile.template.php     Test failed
Visit us at  ww.4moreFun.com

Kindred

Quote from: willwishers on April 14, 2008, 04:10:59 AM
9.     Execute Modification     ./Sources/Load.php     Test failed
11.     Execute Modification     ./Sources/ModSettings.php     Test failed
15.     Execute Modification     ./Themes/default/Profile.template.php     Test failed

that means that you have added other mods which changed the code that this mod looks for...    If you still want this mod, you will have to manually apply the mod to those files.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

geoffstr

What is going on with htis mod? I installed it into a fresh 1.14.

Did all the settings in the admin page.

Registered the room.

The window size will not change.

It won't grab my forum members.

It wont grab the rom I set.

Users trying to get in get a screen that says lobby

The password will not work, they have to choose a new nickname to get in.

donjoe

Hmph. I can't even get that far. I've gone directly to the everywherechat website to register my root user and chat room first, and I did the first one just fine, but when I click "Room Settings" and then "Register", it just sits there forever with its marquee-like striped bar moving, indefinitely "Registering..."  :(

donjoe

Quote from: hawkeye69 on April 06, 2008, 10:11:25 AMThe new address for a normal chat window is

http://www.everywherechat.com/chatnow.php?defaultRoom=CHAT ROOM NAME&roomList=false&fontSize=12

Thats what I was told at Everywherechat.
That seems wrong to me. That takes you to an HTML page with a simple login form and no Flash. I think they meant this:
<script src="http://www.everywherechat.com/e.php?defaultRoom=Lobby&roomList=false&fontSize=12&width=700&height=500"></script>
Now, it's not as simple as copy-pasting that line. You actually have to integrate it into your Chat.template.php by replacing this:
<script language="JavaScript" src="http://irc.everywherechat.com:8000/Java/e.js?room=' . $chatRoomName . '&roomstab=' . $chatRoomsTab . '&width=' . $chatWidth . '&height=' . $chatHeight . '&nick=' . $chatName . '&keypass=&paramfilename=' . $chatLanguage . '&ads=' . $chatAds .'"></script>
with something like this:
<script language="JavaScript" src="http://www.everywherechat.com/e.php?defaultRoom=' . $chatRoomName . '&roomList=' . $chatRoomsTab . '&width=' . $chatWidth . '&height=' . $chatHeight . '&keypass=&paramfilename=' . $chatLanguage . '&ads=' . $chatAds .'"></script>

It seems to work almost as expected on my SMF (except that I can't for the life of me finish the room registration).

hawkeye69

The link was for a non integrated chat and you had to insert your chat room name, then it works.

3fifty

Plans to comply with SMF 1.1.5? 
Ive heard good things about this and would like to use it.
Thanks for all of your time and effort!

Sakae

This mod is awesome, I used it when I had SMF 1.1.2.

But now I'm using SMF 1.1.5, I would like to hear about ppl using it on this version. Anybody?
http://www.tigrelog.com.br
l: simple p: machines

Mulgarus

has anyone heard anything about this mod being upgraded?

AcidFMHQ

Yea since Everywhere chat changed to flash this mod is in need of a big upgrade

Impsat-1

Hi This MOD exist for SMF 1.1.5??? I' need for 1.1.5 can update? what I have to do for update??? please tell me... uhhh sorry for my english but I'm From Argentina thanks, regards ;) .-
Vive Cáda Momento De Tu Vida Como Si Fueras a Irte Mañana, Más Planificala Cómo Si Jamás Fueras a Irte ;).-

Snowy

The closest I can get to an integration with everywhere chat is making the link to my chatroom in the menu at the top of the forum (people have to log into the chat room manually) and I am able to have the names of who is in chat listed... See the image attached. This is how it looks in all the themes (in each theme's format).... the who is in chat is listed with the other info, like, Welcome (username), View unread posts since last visit, etc...

I'm using SMF 1.1.5

BTW ... only people logged in to my forum can see the chat room, photo gallery and other goodies you can see in this menu.

Here's what the top of the screen of my forum looks like with the Meadows theme.

itweb

I am not sure it's the right place to post it but G6 directed me here to get help with my install.

I had chat mod installed some time ago. It didn't work for me so I had it uninstalled. Right then, default theme developed an error I wasn't able to fix since:

It pops this error:
QuoteFatal error: Cannot redeclare updatechatstats() (previously declared in (...)/Sources/Load.php(1810) : eval()'d code:800) in (...)/Sources/Load.php(1810) : eval()'d code on line 865

Part of load.php:
Quote
   elseif ($set == 'profile')
   {
      $select_columns = "
         IFNULL(lo.logTime, 0) AS isOnline, IFNULL(a.ID_ATTACH, 0) AS ID_ATTACH, a.filename, a.attachmentType,
         mem.signature, mem.personalText, mem.location, mem.gender, mem.avatar, mem.ID_MEMBER, mem.memberName,
         mem.realName, mem.emailAddress, mem.hideEmail, mem.dateRegistered, mem.websiteTitle, mem.websiteUrl,
         mem.birthdate, mem.ICQ, mem.AIM, mem.YIM, mem.MSN, mem.posts, mem.lastLogin, mem.memberIP, mem.memberIP2, mem.lngfile, mem.ID_GROUP, mem.ID_THEME, mem.buddy_list, mem.pm_ignore_list,
         mem.pm_email_notify, mem.timeOffset" . (!empty($modSettings['titlesEnable']) ? ', mem.usertitle' : '') . ",
         mem.timeFormat, mem.secretQuestion, mem.is_activated, mem.additionalGroups, mem.smileySet, mem.showOnline,
         mem.totalTimeLoggedIn, mem.ID_POST_GROUP, mem.notifyAnnouncements, mem.notifyOnce, mem.notifySendBody,
                        mem.thank_you_post_made, mem.thank_you_post_became,
         mem.notifyTypes, lo.url, mg.onlineColor AS member_group_color, IFNULL(mg.groupName, '') AS member_group,
         pg.onlineColor AS post_group_color, IFNULL(pg.groupName, '') AS post_group,
         IF(mem.ID_GROUP = 0 OR mg.stars = '', pg.stars, mg.stars) AS stars, mem.passwordSalt";
      $select_tables = "
         LEFT JOIN {$db_prefix}log_online AS lo ON (lo.ID_MEMBER = mem.ID_MEMBER)
         LEFT JOIN {$db_prefix}attachments AS a ON (a.ID_MEMBER = mem.ID_MEMBER)
         LEFT JOIN {$db_prefix}membergroups AS pg ON (pg.ID_GROUP = mem.ID_POST_GROUP)
         LEFT JOIN {$db_prefix}membergroups AS mg ON (mg.ID_GROUP = mem.ID_GROUP)";
   }

Per Notepad++, Line 865 is:
Quotemem.totalTimeLoggedIn, mem.ID_POST_GROUP, mem.notifyAnnouncements, mem.notifyOnce, mem.notifySendBody,

Can someone point me into right direction?

itweb

Nevermind, got it fixed.

updatechatstats function called twice (shouldn't be there even once, since mod was uninstalled) that messed things up, because there was nothing to call to since load.php was cleaned out of this mod.

sosimple

I've installed this on an SMF 1.1.5 forum and got the basics of the chat to work ...

Chat config access from admin screen works, chat button opens chat window and passes chat-room name.

There are some errors in the SMF error-log that may explain why some of the chat/forum integration features are not working:

SMF Error log shows these three repeating errors:
.../forum/index.php?action=chat
8: Undefined index: chatLanguage
.../forum/Themes/default/Chat.template.php (eval?)
Line: 34

.../forum/index.php
8: Undefined index: chatUsersList
File: .../forum/Themes/classic/BoardIndex.template.php (eval?)
Line: 412

.../forum/index.php
8: Undefined index: chatNumUsers
.../forum/Themes/classic/BoardIndex.template.php (eval?)
Line: 411


So, it appears to me that the array/index for $modSettings['chatLanguage'], $modSettings['chatNumUsers'], and $modSettings['chatNumUsers'] is not defined.

Does any one know where I need to add the definitions and how they should be defined ?

Thanks !

Advertisement: