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

mrtrc266

@ Chatterbox...That's exaclty what I was gonna say :D

Yes it will be the same for 1.1.x as well. Glad you got it sorted.

Greymalkin

#2381
Have a minor glitch and I think it's something in the parsing for this mod that's causing it (since I haven't tweaked anything else lately). 

In my header, under the 'Hello Username' and Show Unread/New Replies lines, the 'Welcome Guest' greeting is appearing even when the user is logged in.  I'm guessing it's being caused by a line somewhere in the parsing inserts, so if someone can tell me what to remove (or how else to fix it), I'd be most appreciative.

EDIT: knew I forgot something -- index.template now attached

Chit-Chat ChatterBox Boss

@ mrtrc266
To get around that make your chatbot smarter mod for the command situation I just added a new command called '/commands' into AJAXChat.php and if admins & mods do the command it lists all their commands and then for users their commands are listed. Was trying to do this for the smarter chatbot mod but it didn't like the user roles being used so it was easier to make a fresh command in AJAXChat that already used user roles. Now I will just use the smarter chatbot just for things without user role ...... except for the future I would still like to figure out how to get user roles to work in the smarter chatbot setup.

Only thing I am fighting that I want to know if you know how to add is in the Online Users box I want to add a 'commands' button so people can just click it and it runs off my '/commands' command. Do you know how I can add this?
Chit-Chat ChatterBox

Our site is open to everyone. It is a resource for anyone and everyone to talk about anything and everything you could possibly think of. It's a great place to come and talk, ask questions, or just simply hang out. We offer many great features. All we ask is that you follow by the site rules. Hope to see you around!
www.chitchatchatterbox.com
Remember in the "Referral" box to put "Caleb" while registering.

[unplugged]

All fixed Greymalkin. It was just a misplaced }.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



Greymalkin

poof!  Extra greeting gone!

Thanks :)

[unplugged]

Very glad I could help. Enjoy!
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



ajes

can some one please help me how to install ajax chat?

i have tried in many ways but not success yet.

i use the SMF 1.1.8 for now, before that i use SMF 1.1.9 the installation is success but the ajax is do not appear to my forum. then i downgrade to 1.1.8 for now. still like before the case.

please somebody help.. thanks before..

fext

@ SunKing...

The file is attached bro... Cheers!

[unplugged]

I am at work now, but will look at it as soon as I get home...in about 8 hours.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



fext

Nice one - appreciate it bro :)

christianstogether

hiya i'm running smf 1.9 and installed the chat and shout
i'm having a few problems tho that i need help with
it took us 3 attempts to install it and get it workin but its now sorta workin
that chat opens up and is fine but if i enable the shout box it says error connection 500 unless i intregrate it with chat
but then whatever is typed in chat shows in the shout and visa versa

any ideas please

mrtrc266

Quote from: christianstogether on June 10, 2009, 11:04:36 AM
hiya i'm running smf 1.9 and installed the chat and shout
i'm having a few problems tho that i need help with
it took us 3 attempts to install it and get it workin but its now sorta workin
that chat opens up and is fine but if i enable the shout box it says error connection 500 unless i intregrate it with chat
but then whatever is typed in chat shows in the shout and visa versa

any ideas please

Set your file permissions (CHMOD) /chat/index.php and /shoutbox/index.php to 755

That should fix it.

christianstogether

Quote from: mrtrc266 on June 10, 2009, 11:30:16 AM
Quote from: christianstogether on June 10, 2009, 11:04:36 AM
hiya i'm running smf 1.9 and installed the chat and shout
i'm having a few problems tho that i need help with
it took us 3 attempts to install it and get it workin but its now sorta workin
that chat opens up and is fine but if i enable the shout box it says error connection 500 unless i intregrate it with chat
but then whatever is typed in chat shows in the shout and visa versa

any ideas please

Set your file permissions (CHMOD) /chat/index.php and /shoutbox/index.php to 755

That should fix it.


it has a huge thank you cos we had been trying to figure it out for days


ajes

XML Parsing Error: mismatched tag. Expected: </html>.
Location: http://ajezz.ifastnet.com/ [nofollow]//chat/index.php
Line Number 386, Column 3:</noscript>
--^




can somebody help me please that problem?  :( :(

Chit-Chat ChatterBox Boss

Quote from: ajes on June 10, 2009, 02:22:35 PM
XML Parsing Error: mismatched tag. Expected: </html>.
Location: http://ajezz.ifastnet.com///chat/index.php
Line Number 386, Column 3:</noscript>
--^




can somebody help me please that problem?  :( :(

Please attach your index.php (the one that says the error is in).
Chit-Chat ChatterBox

Our site is open to everyone. It is a resource for anyone and everyone to talk about anything and everything you could possibly think of. It's a great place to come and talk, ask questions, or just simply hang out. We offer many great features. All we ask is that you follow by the site rules. Hope to see you around!
www.chitchatchatterbox.com
Remember in the "Referral" box to put "Caleb" while registering.

ajes

Quote from: Chit-Chat ChatterBox Boss on June 10, 2009, 03:48:34 PM
Quote from: ajes on June 10, 2009, 02:22:35 PM
XML Parsing Error: mismatched tag. Expected: </html>.
Location: http://ajezz.ifastnet.com/ [nofollow]//chat/index.php
Line Number 386, Column 3:</noscript>
--^

this one?



can somebody help me please that problem?  :( :(

Please attach your index.php (the one that says the error is in).

Chit-Chat ChatterBox Boss

Quote from: ajes on June 10, 2009, 04:13:32 PM
Quote from: Chit-Chat ChatterBox Boss on June 10, 2009, 03:48:34 PM
Quote from: ajes on June 10, 2009, 02:22:35 PM
XML Parsing Error: mismatched tag. Expected: </html>.
Location: http://ajezz.ifastnet.com///chat/index.php
Line Number 386, Column 3:</noscript>
--^

this one?



can somebody help me please that problem?  :( :(

Please attach your index.php (the one that says the error is in).

you gave me your ./index.php we need your ./chat/index.php
Chit-Chat ChatterBox

Our site is open to everyone. It is a resource for anyone and everyone to talk about anything and everything you could possibly think of. It's a great place to come and talk, ask questions, or just simply hang out. We offer many great features. All we ask is that you follow by the site rules. Hope to see you around!
www.chitchatchatterbox.com
Remember in the "Referral" box to put "Caleb" while registering.

[unplugged]

@Youngiiie

Attached is your index.template.php with a bright new shiny members-only chat button.  :P
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



Chit-Chat ChatterBox Boss

@mrtrc266 and @ SunKing

I don't know if you two remember maybe about a week ago I talked to both of you (different times) about the shoutbox message limit per minute. mrtrc266 & SunKing you both tried it and said it does not work (same with me). I just wanted to clarify we are all retarded about this LOL because in the script where it is coded into AJAXChat.php it is coded for it not to apply for admins and moderators ;D. So that means all 3 of us trying it on our main account thats why it is not working. I tried it on my sites test account and it worked. Now that has been stated ..... I have a few questions.


  • Where can I change the time for the limit. Right now it is 1 minute = how many messages you set allowed. I want it to be like 5 minutes = how many messages you set allowed.
  • Where can I change the message that pops up (right now its this) "Error: You exceeded the maximum number of messages per minute." to like "Error: You exceeded the maximum number of messages per every 5 minutes. Please submit only 1 message within a 5 minute period." (I want this changed only when I get #1 changed).
  • In the Online Users box I want to add a 'Command List' button so people can just click it and it runs off my '/commands' command. Do you know how I can add this?
Chit-Chat ChatterBox

Our site is open to everyone. It is a resource for anyone and everyone to talk about anything and everything you could possibly think of. It's a great place to come and talk, ask questions, or just simply hang out. We offer many great features. All we ask is that you follow by the site rules. Hope to see you around!
www.chitchatchatterbox.com
Remember in the "Referral" box to put "Caleb" while registering.

ajes

Quote from: Chit-Chat ChatterBox Boss on June 10, 2009, 05:26:56 PM
Quote from: ajes on June 10, 2009, 04:13:32 PM
Quote from: Chit-Chat ChatterBox Boss on June 10, 2009, 03:48:34 PM
Quote from: ajes on June 10, 2009, 02:22:35 PM
XML Parsing Error: mismatched tag. Expected: </html>.
Location: http://ajezz.ifastnet.com/ [nofollow]//chat/index.php
Line Number 386, Column 3:</noscript>
--^

this one?



can somebody help me please that problem?  :( :(

Please attach your index.php (the one that says the error is in).

you gave me your ./index.php we need your ./chat/index.php

sorry for my mistake bro..

maybe this one.

Advertisement: