News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

AjaxChat Integration (latest version 3.2.1)

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

Previous topic - Next topic

~J~

Quote from: techno489 on October 01, 2011, 12:56:15 AM
upload your index.template.php and i will have a look at it for you

but if this if your code
// If the user is logged in, display stuff like their name, new messages, etc.
            if ($context['user']['is_logged'])
            {
               if (!empty($context['user']['avatar']))
               echo '
                  <p class="avatar">', $context['user']['avatar']['image'], '</p>';
               echo '
                  <ul class="reset">
                     <li class="greeting">', $txt['hello_member_ndt'], ' <span>', $context['user']['name'], '</span></li>
                     <li><a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a></li>
                     <li><a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a></li>';
         
               echo '
                  </ul>';
               }
               // Otherwise they're a guest - this time ask them to either register or login - lazy bums...
               else


change it to this
// If the user is logged in, display stuff like their name, new messages, etc.
            if ($context['user']['is_logged'])
            {
               if (!empty($context['user']['avatar']))
               echo '
                  <p class="avatar">', $context['user']['avatar']['image'], '</p>';
               echo '
                  <ul class="reset">
                     <li class="greeting">', $txt['hello_member_ndt'], ' <span>', $context['user']['name'], '</span></li>
                     <li><a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a></li>
                     <li><a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a></li>';
         

if (!empty($modSettings['enableChatBelowPM'])){
$count = count(chatOnlineUsers());
if ($count == 0 )
echo '<li>' . $txt['chat_no_user'] . '</li>';
elseif ($count == 1 )
  echo '<li>1' . $txt['chat_aUser'] . '</li>';
else
  echo '<li> ' . $count . $txt['chat_users'] . '.</li>';
}

               echo '
                  </ul>';
               }
               // Otherwise they're a guest - this time ask them to either register or login - lazy bums...
               else


here it is man maybe you can figure out what I'm doing wrong

T3CHN0

Ok try this one ~J~
Works for me

corrections made

~J~

Quote from: techno489 on October 01, 2011, 12:13:13 PM
Ok try this one ~J~
Works for me

corrections made
I just tried it & still got errors see attachment

T3CHN0

error connection 500 is in the FAQ answers, have you had a look there!!!
but first make sure in your /chat/ and /shoutbox/ both index.php permissions are set on 755

I can see your template is working as is shows the box, just not the chat apart from error message

~J~

I looked there & did what it suggested & still got the 500 error I even went 1 step further & after the cmod 755 didn't work tried the 777 & still nothing so now I don't know what to do

T3CHN0

OK without actually being an administrator to your site I can't help any more but you can try this.
admin>Modification Settings>chat

tick the following

Enable the ShoutBox?
check for ShoutBox on any page or uncheck for only in
index page: 
Integrate shout box and chat room? 
chat in popup page?

leave the last 2 unticked

I once had a problem when only wanting to use shoutbox nothing would work

~J~

making progress now get rid of the error with your tip but now when I went to do a test shout & clicked shout it didn't show up  & I went to faqs for that & things look right

krash661

im using SMF 2.0.1 and using the insidious template.i want a group chat on my forum how do i do this?i also already have SA Chat Beta 3 Rev40,but i also want a group chat on my forums.

every time i try to install the ajax(AChat_0_2_1.zip),or(Mibbit Ajax IRC Chat) , or (AjaxChat Integration) ,i get this message:Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

i cant install any of the ajax chats.i dont understand,i even uninstalled all other chats i had on my forum and im still getting this message.PLEASE HELP.

krash661

i can see that im being ignored..this SMF support sucks big time..

outlawsys

« Reply #8247 on: Today at 05:34:22 PM »

« Reply #8248 on: Today at 05:47:38 PM »
i can see that im being ignored..this SMF support sucks big time..


Because you didn't get a reply in 13 minutes??? Seriously..CALM DOWN. If you are going to act like that after waiting all of 13 mins., why would anyone WANT to help you?

krash661

man i have been waiting all morning.ive been waitng in this room for 13 minutes,but been waiting all morning long on the whole site.,ive been told go here go there,im in the wrong room or something,every where i go im not getting any answers and all the old post about this subject isnt help full cause its all out dated info..

Ozzie

you cannot expect a answer straight away ,first things first  all help here is done by voluntary people and secondly people can only answer your question if they know the solution and the person/persons who may have that info may not be on line you cannot expect people to be at your beck and call

Have some Patience

2000+ games available to download

krash661

Quote from: Ozzie on October 02, 2011, 06:13:23 PM
you cannot expect a answer straight away ,first things first  all help here is done by voluntary people and secondly people can only answer your question if they know the solution and the person/persons who may have that info may not be on line you cannot expect people to be at your beck and call

Have some Patience
o.k. thanks.

T3CHN0

Quote from: krash661 on October 02, 2011, 05:47:38 PM
i can see that I'm being ignored..this SMF support sucks big time..
mate not everyone has the time to sit at there computer waiting for the next person with a problem.
we all do what we can to help, you might want to take the time to learn how to install a mod on a custom
theme first. have a read of this "Manual Installation of Mods" every mod where you download from has
a parser and all you have to do is work with it and make the edits your self on the custom theme.
after you have done this walk through then come back and ask your question and explain what your error is
Cheers

P.S.
~J~ happy to hear you got it sorted buddy,.

TheListener

Quote from: krash661 on October 02, 2011, 05:47:38 PM
i can see that im being ignored..this SMF support sucks big time..

This mod will not work if another chat mod is installed.

T3CHN0

QuoteThis mod will not work if another chat mod is installed.
Yes it will, I use EzPortal chat and this mod, both work well together.
Don't know about other chat mods but just to point out it will work with at least one I know of.

krash661

Quote from: Brack1 on October 03, 2011, 02:31:21 AM
Quote from: krash661 on October 02, 2011, 05:47:38 PM
i can see that im being ignored..this SMF support sucks big time..

This mod will not work if another chat mod is installed.
"i even uninstalled all other chats i had on my forum and im still getting this message.PLEASE HELP.""
                  hmmm. i could of sworn i wrote this in my message.

krash661

Quote from: T3CHN0 on October 02, 2011, 08:47:49 PM
Quote from: krash661 on October 02, 2011, 05:47:38 PM
i can see that I'm being ignored..this SMF support sucks big time..
mate not everyone has the time to sit at there computer waiting for the next person with a problem.
we all do what we can to help, you might want to take the time to learn how to install a mod on a custom
theme first. have a read of this "Manual Installation of Mods" every mod where you download from has
a parser and all you have to do is work with it and make the edits your self on the custom theme.
after you have done this walk through then come back and ask your question and explain what your error is
Cheers

P.S.
~J~ happy to hear you got it sorted buddy,.
o.k.,i went here.im new at this stuff,i dont understand.from what i gathered from this is that i have to revise the mod's code?:"or because the mod you are attempting to install is for a different version of the file(s)."

and also,:"You can still try to install the mod, but you will have to MANUALLY make changes to the "failed" files.

If you click on the EDIT icon to the left of the instruction which failed, a pop-up will be generated indicating the specific instruction (the code being looked for and the code to be added or replace).

Take note of these instructions (if there is more than one failure, copy each instruction to a text editor for later use.) and click the Install Now button. You will receive a warning that the mod will not fully install, click OK.

At this point, your mod is mostly installed (depending on the number of failures).

Now, using an FTP program or your site's file manager, open and edit the files in which the system had noted failures. "

..where do i get these codes to change this and where is this FTP?,remember im new at this and dont understand where to go or what exactly to do.

MrNicotine

I've had the same problem with 2.01.

I've installed it by emulating the RC3 version of SMF (in package manager, click on advanced en set 2.01--> 2.0 RC3)
It will still install poorly, with fails, but if you follow the parser for 2.0 RC3, you will see it works. You're missing files, like I did ;)
http://custom.simplemachines.org/mods/index.php?action=parse   --> at the bottom of the page you will find where to put the files you have.

But now my problem. It works fine, however, only for me as Admin.
When I change the permissions of other groups and set them to view/use chat & shout, they only see an empty shoutbox, with no text, and they can't shout.
If they use the Chat-button, it opens a new window with the index page of the forum, but no chat.

I followed through the parser twice, checking every letter, no effect.
In desperation, I tried the tip I found on page 309, also no effect.

I have a feeling it is something pretty simple, but I can't find it. Anybody know the answer to this one?

TheListener


Advertisement: