News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

AjaxChat Integration (latest version 3.2.1)

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

Previous topic - Next topic

hcfwesker

Quote from: PLAYBOY on July 22, 2011, 12:39:03 PMYes and most other people. It didint solve my issues. I have read so far every post about that issue. But it still continues.

Don't just change the folder's permissions to 755 , may also have to change every individual file's permissions to 755.  (if you already did that, then sorry, i can't help anymore...  but that's what i had to do, change every single file in the chat folder, and chat sub folders to 755)

hcfwesker

Quote from: Brack1 on July 21, 2011, 11:10:09 PM
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!');
}


I tried this, but wanted to add a link to the Chat Rules page, like this ...

   ajaxChat.addChatBotMessageToChatList('Welcome to the chat!  Be sure to follow the Chat Rules');

Where "Chat rules" would link to our chat rules page on the forum.  I tried html, but didn't work

Falcon_99

Quote from: Brack1 on July 22, 2011, 10:27:08 AM
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.)

What do you mean .. ?

PLAYBOY

Quote from: hcfwesker on July 22, 2011, 01:43:22 PM
Quote from: PLAYBOY on July 22, 2011, 12:39:03 PMYes and most other people. It didint solve my issues. I have read so far every post about that issue. But it still continues.

Don't just change the folder's permissions to 755 , may also have to change every individual file's permissions to 755.  (if you already did that, then sorry, i can't help anymore...  but that's what i had to do, change every single file in the chat folder, and chat sub folders to 755)

The folder itself was 755 already i tried every way. and now every file and the folder they all are 755. and i still get the error just like many other people.

Farjo

In the previous pages I've noticed this error cropping up:

TypeError: Object #<HTMLObjectElement> has no method 'create'

I can only recreate it in Chrome, not Firefox or Opera. Does this give any clues to its cause / solution?

PLAYBOY

Quote from: Farjo on July 23, 2011, 10:35:00 AM
In the previous pages I've noticed this error cropping up:

TypeError: Object #<HTMLObjectElement> has no method 'create'

I can only recreate it in Chrome, not Firefox or Opera. Does this give any clues to its cause / solution?

Same here.

hcfwesker

#7926

Error Concerning Google Chrome in the Ajax Chat.

Quote from: Farjo on July 23, 2011, 10:35:00 AM
In the previous pages I've noticed this error cropping up:

TypeError: Object #<HTMLObjectElement> has no method 'create'

I can only recreate it in Chrome, not Firefox or Opera. Does this give any clues to its cause / solution?

It is an error for chrome users only.  But I do have the fix.   The solution is an outdated FABridge.js file   , that needs to be updated.

I'll upload the updated one, attached to this post.

Goto  public_html/chat/js/
 
And upload the file there, to overwrite the old one.

Note to Chrome users: Remember to open chat and press CTRL + R to flush Chrome's cache. After you do that, close the chat window and try opening it again.


Farjo


PLAYBOY

Quote from: hcfwesker on July 23, 2011, 07:50:33 PM
Quote from: Farjo on July 23, 2011, 10:35:00 AM
In the previous pages I've noticed this error cropping up:

TypeError: Object #<HTMLObjectElement> has no method 'create'

I can only recreate it in Chrome, not Firefox or Opera. Does this give any clues to its cause / solution?

It is an error for chrome users only.  But I do have the fix.   The solution is an outdated FABridge.js file   , that needs to be updated.

I'll upload the updated one, attached to this post.

Goto  public_html/chat/js/
 
And upload the file there, to overwrite the old one.

Note to Chrome users: Remember to open chat and press CTRL + R to flush Chrome's cache. After you do that, close the chat window and try opening it again.



Same here. It worked. Thank you. Now my only problem is the Error:500

Farjo

I know you've heard this before but I fixed the 500 error by permissions... For me it was solved by changing the index.php files in ./chat and ./shoutBox to 755. The folders and subfolders are all 755 and all other files are 666.

Probably irrelevant but I also have the ./.htaccess file as mentioned in the FAQ regarding portals.

PLAYBOY


JamesCameron

Quote from: ayalon28 on July 03, 2011, 11:40:05 AM
Ok, I spent two days for adapting AjaxChat to SMF 2.0 Final.
I've corrected install.xml and config.php
Just upload the .zip file via Admin and install it. After that enable all "V" in Admin/Configuration/Modification settings/Chat.
And after that in Members/General permission allow to guest/members to view the chat and shoutbox.
Just registered for that...

Love you ;)

hcfwesker

No problem, you two.  :)  Should actually be linked, or mentioned in the MOD's FAQ page.

blanchardc

I really dislike having to post questions twice before someone pays attention to it without skipping over it. I still cannot get this mod to work. As an admin, I should be able to access the chatroom but all the popup window comes up with is a duplicate of my home page.

Farjo

The author no longer supports this mod so we're lucky for any response to our questions.

Try removing the line(s) you added for having a portal.

hcfwesker

Quote from: blanchardc on July 25, 2011, 04:35:14 PM
I really dislike having to post questions twice before someone pays attention to it without skipping over it. I still cannot get this mod to work. As an admin, I should be able to access the chatroom but all the popup window comes up with is a duplicate of my home page.

there's only so much I can do, and theorize.  I can work much faster if I was actually on the sites with problems, with full access.  So, if you want help from me, PM me.  If you don't want to trust anyone with that info, I completely understand, but won't be able to help any further.

TheListener

Quote from: hcfwesker on July 25, 2011, 05:24:36 PM
Quote from: blanchardc on July 25, 2011, 04:35:14 PM
I really dislike having to post questions twice before someone pays attention to it without skipping over it. I still cannot get this mod to work. As an admin, I should be able to access the chatroom but all the popup window comes up with is a duplicate of my home page.

there's only so much I can do, and theorize.  I can work much faster if I was actually on the sites with problems, with full access.  So, if you want help from me, PM me.  If you don't want to trust anyone with that info, I completely understand, but won't be able to help any further.

+ 1

blanchardc

Quote from: hcfwesker on July 25, 2011, 05:24:36 PM
Quote from: blanchardc on July 25, 2011, 04:35:14 PM
I really dislike having to post questions twice before someone pays attention to it without skipping over it. I still cannot get this mod to work. As an admin, I should be able to access the chatroom but all the popup window comes up with is a duplicate of my home page.

there's only so much I can do, and theorize.  I can work much faster if I was actually on the sites with problems, with full access.  So, if you want help from me, PM me.  If you don't want to trust anyone with that info, I completely understand, but won't be able to help any further.

PM'ed

[unplugged]

Quote from: hcfwesker on July 22, 2011, 01:45:52 PM
Quote from: Brack1 on July 21, 2011, 11:10:09 PM
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!');
}


I tried this, but wanted to add a link to the Chat Rules page, like this ...

   ajaxChat.addChatBotMessageToChatList('Welcome to the chat!  Be sure to follow the Chat Rules');

Where "Chat rules" would link to our chat rules page on the forum.  I tried html, but didn't work

Have you tried BBC instead of HTML? Something like:
ajaxChat.customInitialize = function() {
   ajaxChat.addChatBotMessageToChatList('Welcome to the [url=http://www.yoursite.com/path/to/the/rules]chat[/url]!');
}

« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



[unplugged]

Quote from: blanchardc on July 25, 2011, 04:35:14 PM
I really dislike having to post questions twice before someone pays attention to it without skipping over it. I still cannot get this mod to work. As an admin, I should be able to access the chatroom but all the popup window comes up with is a duplicate of my home page.

There are roughly 400 pages in this thread with a nice rounded number of 10 posts per page. Those being questions and answers, that gives us about 1999 questions aside from yours being asked in this thread. Also keep in mind, not everyone reads the thread every day. Not everyone who reads the thread knows the answer. Not everyone sees your post. Crunch a couple of numbers on your little solar powered calculator and you'll see....sometimes it's a good idea to ask the question twice.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



Advertisement: