Advertisement:

Author Topic: AjaxChat Integration (latest version 3.2.1)  (Read 2178024 times)

Offline mrtrc266

  • SMF Hero
  • ******
  • Posts: 2,164
  • Gender: Male
    • Monsters Mansion
Re: AjaxChat Integration
« Reply #400 on: February 11, 2009, 06:56:42 PM »
I installed this mod on my forum (1.1.8) and it works fine for the default theme but any other theme just crashes (but only when you visit the home directory)

Any ideas?

I was having the same exact problem, I had to do the manual edits for all my themes to get it to work.

http://www.simplemachines.org/community/index.php?topic=257973.msg1926709#msg1926709

http://www.simplemachines.org/community/index.php?topic=257973.msg1926854#msg1926854

Offline syntaxera

  • Semi-Newbie
  • *
  • Posts: 21
Re: AjaxChat Integration
« Reply #401 on: February 11, 2009, 07:01:37 PM »
I'm reinstlling now...  so i can load the scripts you guys worked on fresh into the custom theme.
I figured I would get chat to work... THEN mod the custom theme...

Anything I should know before doing this?
« Last Edit: February 11, 2009, 07:03:22 PM by syntaxera »

Offline mrtrc266

  • SMF Hero
  • ******
  • Posts: 2,164
  • Gender: Male
    • Monsters Mansion
Re: AjaxChat Integration
« Reply #402 on: February 11, 2009, 07:07:04 PM »
I'm going to reload the board from scratch i guess :-/

See what happens...

thank god i did not do this on the main site yet

Not sure if you saw my post but I have this working perfectly on your Multi Blue Theme on a fresh install of SMF 118.

When you're done installing your theme, then AJAX Chat, then AJAX Chat Intergration and then immediately replace these 3 files in your /Themes/Multi Blue directory

You can jump in and check it out if you like.

Username: test
Password: testuser

http://www.monsters-mansion.com/test118/index.php

Attatched is the edited files for Multi Blue

BoardIndex.template
index.template
style
« Last Edit: February 11, 2009, 07:13:56 PM by mrtrc266 »

Offline syntaxera

  • Semi-Newbie
  • *
  • Posts: 21
Re: AjaxChat Integration
« Reply #403 on: February 11, 2009, 07:15:28 PM »
so far... working perfect in the DEFAULT THEME  (love this mod.. gotta get it to work in custom.)

so I will hold my breath and install the custom theme and the editted files...  wish me luck  :)

Offline syntaxera

  • Semi-Newbie
  • *
  • Posts: 21
Re: AjaxChat Integration
« Reply #404 on: February 11, 2009, 07:51:46 PM »
it was working for a second... i closed the browser and now nothing is coming up.

is that site workin for you guys?   www.DeadTix.info [nofollow]

Offline mrtrc266

  • SMF Hero
  • ******
  • Posts: 2,164
  • Gender: Male
    • Monsters Mansion
Re: AjaxChat Integration
« Reply #405 on: February 11, 2009, 07:56:48 PM »
it was working for a second... i closed the browser and now nothing is coming up.

is that site workin for you guys?   www.DeadTix.info

Yeah I've been lookin at it for the last 30 minutes waiting to see the shoutbox pop up :-) It's still up for me.

Offline syntaxera

  • Semi-Newbie
  • *
  • Posts: 21
Re: AjaxChat Integration
« Reply #406 on: February 11, 2009, 08:19:34 PM »
weird... wasnt loading on on IE.  Is now... looks great.

The background image for the CHAT TAB does not come up on safari and firefox...  and idea?

And how to I start the shout box?  (forgive my dumbness... can't find the options in the admin lol)

« Last Edit: February 11, 2009, 08:22:42 PM by syntaxera »

Offline syntaxera

  • Semi-Newbie
  • *
  • Posts: 21
Re: AjaxChat Integration
« Reply #407 on: February 11, 2009, 08:27:31 PM »
and you version of the script does not make you login to the chat when it's clicked and shows the number of users in the CHAT TAB.

I assume I am missing that in the control window as well...   lol
Or maybe I installed the wrong version of AJAZ chat.

do you the direct link to the SMF AJAX CHAT...  I am rather sure I grabbed the right one, but there must a reason behind these errors... and why it was not working when the theme was modded.

I really want to add it to www.PhishTix.info [nofollow]  (1000 members just this week) BUT I am freaked out to mess with it.  I would hate to see it crash and have to reload it again like the deadtix site.

Offline mrtrc266

  • SMF Hero
  • ******
  • Posts: 2,164
  • Gender: Male
    • Monsters Mansion
Re: AjaxChat Integration
« Reply #408 on: February 11, 2009, 08:40:05 PM »
and you version of the script does not make you login to the chat when it's clicked and shows the number of users in the CHAT TAB.

I assume I am missing that in the control window as well...   lol
Or maybe I installed the wrong version of AJAZ chat.

do you the direct link to the SMF AJAX CHAT...  I am rather sure I grabbed the right one, but there must a reason behind these errors... and why it was not working when the theme was modded.

I really want to add it to www.PhishTix.info  (1000 members just this week) BUT I am freaked out to mess with it.  I would hate to see it crash and have to reload it again like the deadtix site.

Go here and login with username: test password: testuser

http://www.monsters-mansion.com/test118/index.php

Offline mrtrc266

  • SMF Hero
  • ******
  • Posts: 2,164
  • Gender: Male
    • Monsters Mansion
Re: AjaxChat Integration
« Reply #409 on: February 11, 2009, 09:26:19 PM »
and you version of the script does not make you login to the chat when it's clicked and shows the number of users in the CHAT TAB.

I assume I am missing that in the control window as well...   lol
Or maybe I installed the wrong version of AJAZ chat.

do you the direct link to the SMF AJAX CHAT...  I am rather sure I grabbed the right one, but there must a reason behind these errors... and why it was not working when the theme was modded.

I really want to add it to www.PhishTix.info  (1000 members just this week) BUT I am freaked out to mess with it.  I would hate to see it crash and have to reload it again like the deadtix site.

WOOOHOOOOO Site #1 is up and running! WTG!

Offline MarineSniper

  • Semi-Newbie
  • *
  • Posts: 43
Re: AjaxChat Integration
« Reply #410 on: February 11, 2009, 09:27:29 PM »
Something happened to my chat.

- The Online Users box doesn't show the online users, including my administrator account
 
- When I type in text and hit enter or submit, the message never show up, but there is no error message.
 
- None of the icons work either: i.e. smilies, BBcode buttons etc.
 
Does anyone know if there is a way to refresh this, or some how fix it?

My site is http://mobland.comyr.com/index.php for somereason you have to be a member to access chat but chat is http://mobland.comyr.com/chat/index.php

Thanks

Offline segvon2003

  • Semi-Newbie
  • *
  • Posts: 37
Re: AjaxChat Integration
« Reply #411 on: February 11, 2009, 09:45:12 PM »
I am trying to download it but it says Query: SELECT userID, userName, userRole, channel, UNIX_TIMESTAMP(dateTime) AS timeStamp, ip FROM chelky_IC_20090205_023412.ajax_chat_online ORDER BY userName; Error-Report: Table 'chelky_IC_20090205_023412.ajax_chat_online' doesn't exist Error-Code: 1146


when I go to the chat/index.php

Offline MarineSniper

  • Semi-Newbie
  • *
  • Posts: 43
Re: AjaxChat Integration
« Reply #412 on: February 11, 2009, 09:50:57 PM »
ummm i know it does not work in firefox that i have not figured out at all but i am attaching a picture of the chat i cannot type or do anything no one can. i have uninstalled the mod and deleted the chat in the server and re uploaded the chat to the server ran the install.php. and then re added the mod and applied it but still nothing

Offline segvon2003

  • Semi-Newbie
  • *
  • Posts: 37
Re: AjaxChat Integration
« Reply #413 on: February 11, 2009, 09:56:32 PM »
Thank You

Offline MarineSniper

  • Semi-Newbie
  • *
  • Posts: 43
Re: AjaxChat Integration
« Reply #414 on: February 11, 2009, 10:13:23 PM »
well now i have tried 2 more browsers google chrome and firefox and i get all kinds of errors when i log into my site and then go to my chat. chat box comes up in ie 7 but you cannot type see users or anything


Offline MarineSniper

  • Semi-Newbie
  • *
  • Posts: 43
Re: AjaxChat Integration
« Reply #415 on: February 12, 2009, 10:30:32 AM »
Okay i did a complete fresh install and viola the chat worked. but then when i went into my admin panel and made new boards the chat stopped working it will load up but you cannot type anything or do nothing anyone have any ideas.

Offline mrtrc266

  • SMF Hero
  • ******
  • Posts: 2,164
  • Gender: Male
    • Monsters Mansion
Re: AjaxChat Integration
« Reply #416 on: February 12, 2009, 11:00:42 AM »
Okay i did a complete fresh install and viola the chat worked. but then when i went into my admin panel and made new boards the chat stopped working it will load up but you cannot type anything or do nothing anyone have any ideas.

If you really don't need or want all you boards as channels, you can try this an see if that works.

http://www.simplemachines.org/community/index.php?topic=257973.msg1924652#msg1924652

Offline MarineSniper

  • Semi-Newbie
  • *
  • Posts: 43
Re: AjaxChat Integration
« Reply #417 on: February 12, 2009, 11:05:28 AM »
you will find the settings here /public_html/chat/lib/config.php and find


// Defines an array of channelIDs (e.g. array(0, 1)) to limit the number of available channels, will be ignored if set to null:
$config['limitChannelList'] = null;

okay what do i need to change in that section or is that the way it should look to just have the public channel because that is the only channel that i need

Offline mrtrc266

  • SMF Hero
  • ******
  • Posts: 2,164
  • Gender: Male
    • Monsters Mansion
Re: AjaxChat Integration
« Reply #418 on: February 12, 2009, 12:22:19 PM »
@ MarineSniper

you will find the settings here /public_html/chat/lib/config.php and find

Code: [Select]
// Defines an array of channelIDs (e.g. array(0, 1)) to limit the number of available channels, will be ignored if set to null:
$config['limitChannelList'] = null;


You would then replace that code with something like this. Of course you would change your board number to what board you want to use array(33,) and you could add channels/boards by seperating with a comma.
This is an example of mine.
Code: [Select]
// Defines an array of channelIDs (e.g. array(0, 1)) to limit the number of available channels, will be ignored if set to null:
$config['limitChannelList'] = array(33,);
« Last Edit: February 20, 2009, 09:41:32 PM by mrtrc266 »

Offline MarineSniper

  • Semi-Newbie
  • *
  • Posts: 43
Re: AjaxChat Integration
« Reply #419 on: February 12, 2009, 12:36:43 PM »
okay i am going to change it to array(0,) that is what my default public board is i am installing a clean version of smf with new database right now and then i am going to create all my boards and then install the chat script and then the mod i hope it works this time