AjaxChat Integration (latest version 3.2.1)

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

Previous topic - Next topic

mrtrc266

Quote from: EJR on February 10, 2009, 02:23:31 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

fords8

Sorry if this was answered already, but is .HuNTeR. going to make this mod useable for SMF 2 RC1?

mrtrc266

Yes, should coming very soon  :)

syntaxera

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

mrtrc266

Quote from: syntaxera 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

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

syntaxera

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

YOU RULE!   Thank you SO MUCH!

very excited....

mrtrc266

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!

syntaxera

still no good... but we might be getting closer:

Now I get this error:

QuoteTemplate 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  :)


mrtrc266

what's the link to the theme you're using?

syntaxera


mrtrc266

#390
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?

.HuNTeR.

ok use these edited files and also you need these edits for your theme
open Themes\multiblue118\style.css
add this in first line

@import url(../../chat/css/shoutbox.css);

and find:

#header h1 {
    position: absolute;
    top: 90px;

replace with:

#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:

$config['contentType'] = '';

replace with:

$config['contentType'] = 'text/html';

mrtrc266

#392
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 ?

syntaxera

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...

syntaxera

I even tried to re-install chat... no luck

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

mrtrc266

Quote from: syntaxera 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

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 

syntaxera

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...

syntaxera

I tried loading the default theme and the site fell apart  lol

now it just reads this error

QuoteFatal 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

syntaxera

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

LT07

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?

Advertisement: