News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

AjaxChat Integration (latest version 3.2.1)

Started by .HuNTeR., August 27, 2008, 12:59:06 AM

Previous topic - Next topic

Martingonnella

At last!!!!! Someone has noticed and made a list of correction.. Nice one PLAYBOY.. All they need now is for someone to work on These and make it the best it possibly can be :) :)

blanchardc

Any follow-up on these installation problems?

Falcon_99

Got this frcking error ..
Can anyone help ?

QuoteDatabase Error

No database selected
File: /home/******/domains/*********.eu/public_html/Tables_2.php
Line: 12
Back

TheListener

To set default Chat Room template and/or remove the template selection from drop down list

Remove selection from list delete the ones you don't want from the "Availabe Styles" array.

To set default template just change "Default style" to what you want.

Open.....yourforum/chat/lib/config.php

Find


// Available styles:
$config['styleAvailable'] = array('beige','black','grey','Oxygen','Lithium','Sulfur','Cobalt','Mercury','Radium','prosilver','subsilver2','subblack2','subSilver','Core','MyBB','vBulletin');
// Default style:
$config['styleDefault'] = 'Core';



TheListener

Quote from: Falcon_99 on July 21, 2011, 01:52:44 PM
Got this frcking error ..
Can anyone help ?

QuoteDatabase Error

No database selected
File: /home/******/domains/*********.eu/public_html/Tables_2.php
Line: 12
Back

Can you explain what you did?

Also where did you download the mod from?

TheListener

Add a Welcome Message when you users enter the Chat

Open.....yourforum/chat/js/custom.js

Find

// Overriding client side functionality:



Add After (of course change Welcome to the chat! to whatever you like.)

ajaxChat.customInitialize = function() {
   ajaxChat.addChatBotMessageToChatList('Welcome to the chat!');
}

Falcon_99

Quote from: Brack1 on July 21, 2011, 11:06:33 PM
Quote from: Falcon_99 on July 21, 2011, 01:52:44 PM
Got this frcking error ..
Can anyone help ?

QuoteDatabase Error

No database selected
File: /home/******/domains/*********.eu/public_html/Tables_2.php
Line: 12
Back

Can you explain what you did?

Also where did you download the mod from?

What do you mean ..
I did everything on how to install it to 2.0RC3 and downloaded the mod from here ...

Heeks

Quote from: Martingonnella on July 17, 2011, 09:58:50 PM
I've installed it on 2.0 GOLD, but I would type something, then the next few hours or day, the writing would would disappear, any ideas?

i'm looking for an answer on that question, too.

blanchardc

I'm still waiting for an answer on my first question. The error is attached below.

TheListener

Quote from: blanchardc on July 22, 2011, 10:08:22 AM
I'm still waiting for an answer on my first question. The error is attached below.

Test failed means the file requires a manual edit.

You can use the parser.

TheListener

Quote from: Falcon_99 on July 22, 2011, 08:33:25 AM
Quote from: Brack1 on July 21, 2011, 11:06:33 PM
Quote from: Falcon_99 on July 21, 2011, 01:52:44 PM
Got this frcking error ..
Can anyone help ?

QuoteDatabase Error

No database selected
File: /home/******/domains/*********.eu/public_html/Tables_2.php
Line: 12
Back

Can you explain what you did?

Also where did you download the mod from?

What do you mean ..
I did everything on how to install it to 2.0RC3 and downloaded the mod from here ...

The most recent edition of the mod is attached.

Unfortunately this mod is one of the few which relies heavily on users updating the mod themselves.

(I'm not one of them.)

blanchardc

Quote from: Brack1 on July 22, 2011, 10:23:21 AM
Quote from: blanchardc on July 22, 2011, 10:08:22 AM
I'm still waiting for an answer on my first question. The error is attached below.

Test failed means the file requires a manual edit.

You can use the parser.

*sigh* You didn't read all my replies then. I "have" used the parser. It doesn't matter weather it's RC3, RC4 or RC5. They all don't work.

TheListener

Have you tried 2.0?

/Sources/Subs.php

Find:

   $context['allow_pm'] = allowedTo('pm_read');

Add After:


         
   $num = empty($modSettings['enableChatButtonNo']) ? 0 : count(chatOnlineUsers());
$chatButton = 'Chat';
$chatButton .= ($num > 0) ?  ('('.$num.')') : '';
$chatLink = str_replace("index.php", "chat/index.php", $scripturl);
if (!empty($modSettings['chatPopUp']))
$chatLink .= '" onclick="openWindow(this.href);this.blur();return false;';



Find:

               'mlist_search' => array(
'title' => $txt['mlist_search'],
'href' => $scripturl . '?action=mlist;sa=search',
'show' => true,
'is_last' => true,
),
),
),


Add After:


         'chat' => array(
'title' => $chatButton,
'href' => $chatLink,
'show' => true,
'sub_buttons' => array(
),
),

blanchardc

Alright, so I added the code you provided and it manually added a chat button on the top menu, but in SMF 2.0 mode, it still gives me a Test Failed on Subs.php while trying to install the package.

To re-iterate, I have tried 2.0, 2.0 RC3, 2.0 RC4 and 2.0 RC5. None of them allows the package to install.

Do I force the install at this point, since the code was added manually?

TheListener

Yes now the code has been manually added you are now safe to continue.

Martingonnella

It worked for me doing it this way, but I have found It would type something and have others chat too, then the next few hours or day, the writing would would disappear, and It will be blank to atart again. Is this normal? any ideas? You may experience the same blanchardc... Not sure

PLAYBOY


TheListener

Quote from: PLAYBOY on July 22, 2011, 12:25:59 PM
Any solution to Error: 500?

Have you looked at the FAQs on the mods first post?

PLAYBOY

Quote from: Brack1 on July 22, 2011, 12:32:56 PM
Quote from: PLAYBOY on July 22, 2011, 12:25:59 PM
Any solution to Error: 500?

Have you looked at the FAQs on the mods first post?

Yes and most other people. It didint solve my issues. I have read so far every post about that issue. But it still continues.

blanchardc

Weird behavior now. I have TinyPortal installed and I have read what to add in htaccess to get it to work, but when I click on the Chat icon, it re-opens the main page inside the small chat window. There's no chat input box, just a repeat of the home page.

Any ideas?

Advertisement: