Advertisement:

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

Offline mrtrc266

  • SMF Hero
  • ******
  • Posts: 2,164
  • Gender: Male
    • Monsters Mansion
Re: AjaxChat Integration
« Reply #380 on: February 10, 2009, 07:29:52 PM »
Having an issue intergrating chat into SMF.

I did a new install of SMF 1.1.8 today.  www.rescuetechs.com/community is the URL.  I placed the CHAT files within the install as directed. 

I then installed Ajax chat integration (tried with 2.2 and 2.3).  Now I can log into chat mand get it to work (I am the admin), but all of other members are told they do not have access?

Any thoughts?

The new version has "Permission Settings" make sure you give access to who you want to have chat access :D

Offline fords8

  • Jr. Member
  • **
  • Posts: 185
  • Gender: Male
  • SMF: Endless Possibilities!
    • Forum Cloud
Re: AjaxChat Integration
« Reply #381 on: February 10, 2009, 09:59:19 PM »
Sorry if this was answered already, but is .HuNTeR. going to make this mod useable for SMF 2 RC1?

Offline mrtrc266

  • SMF Hero
  • ******
  • Posts: 2,164
  • Gender: Male
    • Monsters Mansion
Re: AjaxChat Integration
« Reply #382 on: February 11, 2009, 12:32:00 AM »
Yes, should coming very soon  :)

Offline syntaxera

  • Semi-Newbie
  • *
  • Posts: 21
Re: AjaxChat Integration
« Reply #383 on: February 11, 2009, 12:47:24 AM »
can someone who is using this mod in a custom theme please look at the code I posted.

I would love to get this to work right...

page 19 of this post

Offline mrtrc266

  • SMF Hero
  • ******
  • Posts: 2,164
  • Gender: Male
    • Monsters Mansion
Re: AjaxChat Integration
« Reply #384 on: February 11, 2009, 12:56:58 AM »
can someone who is using this mod in a custom theme please look at the code I posted.

I would love to get this to work right...

page 19 of this post

I'm messing with it right now, will post it back in a few minutes.

Offline syntaxera

  • Semi-Newbie
  • *
  • Posts: 21
Re: AjaxChat Integration
« Reply #385 on: February 11, 2009, 01:06:52 AM »
Quote
I'm messing with it right now, will post it back in a few minutes.


YOU RULE!   Thank you SO MUCH!

very excited....

Offline mrtrc266

  • SMF Hero
  • ******
  • Posts: 2,164
  • Gender: Male
    • Monsters Mansion
Re: AjaxChat Integration
« Reply #386 on: February 11, 2009, 01:18:23 AM »
Ok, I'm not the greatest at this stuff but I have installed, uninstalled, reinstalled, deinstalled and whateveralled this MOD on my site atleast 100 times.

Only thing I'm not sure about on your index.template is the button portion. But give these a shot and let's see what happens.

Of course be sure to BACK UP!

Offline syntaxera

  • Semi-Newbie
  • *
  • Posts: 21
Re: AjaxChat Integration
« Reply #387 on: February 11, 2009, 03:06:29 AM »
still no good... but we might be getting closer:

Now I get this error:

Quote
Template Parse Error!
There was a problem loading the /Themes/multiblue/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.
--------------------------------------------------------------------------------


Parse error: syntax error, unexpected $end in .../Themes/multiblue/index.template.php on line 612

603:         return $ajaxChat->getShoutBoxContent();
604:     }
605:     return null;
606: }
607: 
608: function getChatOnlineUserIDs() {
609:     return ($chatInterface = getChatInterface()) ? $chatInterface->getOnlineUserIDs() : array();
610: }
611: 
612: ?>  613:
614:



either way I REALLY appreciate the help....

thanks in advance my friend  :)


Offline mrtrc266

  • SMF Hero
  • ******
  • Posts: 2,164
  • Gender: Male
    • Monsters Mansion
Re: AjaxChat Integration
« Reply #388 on: February 11, 2009, 03:26:56 AM »
what's the link to the theme you're using?

Offline syntaxera

  • Semi-Newbie
  • *
  • Posts: 21
Re: AjaxChat Integration
« Reply #389 on: February 11, 2009, 11:48:01 AM »
Multi Blue is the theme:  http://custom.simplemachines.org/themes/index.php?lemma=1347

thanks again for your help

Offline mrtrc266

  • SMF Hero
  • ******
  • Posts: 2,164
  • Gender: Male
    • Monsters Mansion
Re: AjaxChat Integration
« Reply #390 on: February 11, 2009, 01:15:48 PM »
Ok I think this might be a problem with SMF 1.1.8 cuz I never had any problems on 1.1.7. It seems that 1.1.8 might be messing something up???

Installed a Fresh version of SMF 1.1.8 on a test site no problems

Installed AJAX Chat no problems.

Installed AJAX Chat Intergration no problems. Works great on default theme.

Installed a custom theme and WITHOUT doing any edits I can't get to my /test118/index.php (home) page I get a 500 Internal Error.

I installed 2 more themes and the same exact thing happens. Everything installs clean with no errors but the moment I switch themes (once again with no edits) the home page goes dead. Then switch it back to default theme and everything is ok again.

I uninstalled this MOD and everything works fine on ALL themes.

Was there a change in SMF 1.1.8 somewhere that would cause this?
« Last Edit: February 11, 2009, 01:19:39 PM by mrtrc266 »

Offline .HuNTeR.

  • Jr. Member
  • **
  • Posts: 207
  • Gender: Male
Re: AjaxChat Integration
« Reply #391 on: February 11, 2009, 02:06:35 PM »
ok use these edited files and also you need these edits for your theme
open Themes\multiblue118\style.css
add this in first line
Code: [Select]
@import url(../../chat/css/shoutbox.css);
and find:
Code: [Select]
#header h1 {
    position: absolute;
    top: 90px;
replace with:
Code: [Select]
#header h1 {
    position: absolute;
    top: 50px;

and i think you can't access to your chat and will get xml parsing error
if so then open chat/lib/config.php
find:
Code: [Select]
$config['contentType'] = '';
replace with:
Code: [Select]
$config['contentType'] = 'text/html';

Offline mrtrc266

  • SMF Hero
  • ******
  • Posts: 2,164
  • Gender: Male
    • Monsters Mansion
Re: AjaxChat Integration
« Reply #392 on: February 11, 2009, 02:24:05 PM »
I had no probs accessing chat.

I just did all the manual edits for the themes right now. After I do the manaul  everything works fine.

The wierd thing is though if you install this MOD the custom themes will not work at all untill you do the manual edits. You should still be able to use the theme even though the edits for the MOD aren't done.

I have done the edits for the Themes Multi Blue and dilbermc on a Fresh Install of SMF 118 with no other MODS exept this one if you want them ?
« Last Edit: February 11, 2009, 02:48:32 PM by mrtrc266 »

Offline syntaxera

  • Semi-Newbie
  • *
  • Posts: 21
Re: AjaxChat Integration
« Reply #393 on: February 11, 2009, 02:53:07 PM »
very exciting...!  almost there, but still not working.

The chat pops up,  but does not work... and does not show user in the list.

here's the site: http://www.deadtix.info/index.php [nofollow]

user:   test
password:   test

and the chat at http://www.deadtix.info/chat [nofollow] of course...

Offline syntaxera

  • Semi-Newbie
  • *
  • Posts: 21
Re: AjaxChat Integration
« Reply #394 on: February 11, 2009, 03:30:26 PM »
I even tried to re-install chat... no luck

and now it is asking you to login again before you enter the chat

Offline mrtrc266

  • SMF Hero
  • ******
  • Posts: 2,164
  • Gender: Male
    • Monsters Mansion
Re: AjaxChat Integration
« Reply #395 on: February 11, 2009, 03:37:07 PM »
I even tried to re-install chat... no luck

and now it is asking you to login again before you enter the chat

Is the chat working on the default theme?

I have it going on the theme your using.

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

Offline syntaxera

  • Semi-Newbie
  • *
  • Posts: 21
Re: AjaxChat Integration
« Reply #396 on: February 11, 2009, 06:23:09 PM »
wow... it sure is working on you site  :(

dang!  I wonder what it is at this point...   hmmm

I will test it in the default theme now...

Offline syntaxera

  • Semi-Newbie
  • *
  • Posts: 21
Re: AjaxChat Integration
« Reply #397 on: February 11, 2009, 06:29:40 PM »
I tried loading the default theme and the site fell apart  lol

now it just reads this error

Quote
Fatal error: Cannot redeclare getchatinterface() (previously declared in /home/content/s/y/n/syntaxera/html/DeadTix/Sources/Load.php(1726) : eval()'d code:730) in /home/content/s/y/n/syntaxera/html/DeadTix/Sources/Load.php(1726) : eval()'d code on line 818

ugggh

Offline syntaxera

  • Semi-Newbie
  • *
  • Posts: 21
Re: AjaxChat Integration
« Reply #398 on: February 11, 2009, 06:40:31 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

Offline LT07

  • Semi-Newbie
  • *
  • Posts: 82
Re: AjaxChat Integration
« Reply #399 on: February 11, 2009, 06:49:52 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?