AjaxChat Integration (latest version 3.2.1)

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

Previous topic - Next topic

TheListener

On the mods download page you should see where the parser is.

This should help with the manual edits required.

SAW_Cracker

Ok I am using TP and I have the edits in, the permissions changed to 755 on both shoutbox and chat folders. I have enabled the shoutbox and its just blank

www.canesforum.com is my site

Swayforth

Quote from: Swayforth on February 14, 2011, 10:54:10 PM
Quote from: nCogNeato on August 15, 2010, 12:21:28 PM
Quote from: greg04 on August 12, 2010, 04:25:18 PM
how would i go about getting the "Chat" link to open in a new tab, but NOT a popup?  if you uncheck the pop-up box in the preferences and users click the link, it just replaces the main SMF forum window.

thanks!

I'm also having pop-up issues.

Using SMF1.1.11.  I've managed to install Ajax and it's working great.  However, the "CHAT" button always opens in a new window.  Toggling the "chat in popup page?" Admin option has no effect.  Any ideas?


Hello everyone, I have been looking all over the place and i am just not finding a solution. Like the 2 above me, i am trying to find the code to have the chat button open in a new tab like it did when i was using SMF 1.1.13.

Users didn't like the idea of having to do a wheel click to open in a new tab, but i gave it a shot anyway :).
I tried this is subs.php

'chat' => array(
'title' => $chatButton,
'href' => 'http://www.mysite.example/chat"target="blank" ',
'show' => true,
'sub_buttons' => array(

When using this solution the chat button doesn't show in IE, but did work for FF and Chrome

Any help would be greatly appreciated.

INFO
SMF=2.0RC5
AjaxChat Integration_3.2.1 RC3_Curve_Friendly
Theme=Blackrain3



Got it to work.
'chat' => array(
'title' => $chatButton,
'href' => $chatLink . '" target="_blank',
'show' => true,
'sub_buttons' => array(


King Death II

Can someone update this for RC4 and 5?

Thanks!

TheListener

Quote from: King Death II on February 17, 2011, 10:52:33 PM
Can someone update this for RC4 and 5?

Thanks!

Take a look at reply 7588 you may be plesantly surprised.

Dave J

further to my post #7538

I have now uninstalled this as I still cannot get rid of the Error 500 message even on a clean install of RC4.

I have now installed 'Simple Portal 2.3.3' which has a good shoutbox included in it and works very well.

If you want quizzes to add to the new SMF2.1 quiz mod go here . There are also walkthroughs in the forum to explain how to install them and other tips.

kirankuruvila

I had 2 questions..

1) is there any way to open the chat in the same window? right now it either opens in a separate window or a new tab.
The reason that i want this in the same window is so that the purpose of having my google ads remains; so another question is ,is there a way to add google ads to this if the chat opens in a different tab or window?

2) i get some errors with chrome , but with mozilla it works fine

I hope someone can guide me here..Thank you..

dopamina

I've just downloaded AjaxChat Integration_3.2.1.zip.
In the chat/readme.txt I read:

QuoteExecute the provided installation script by visiting the following URL with your browser:
        http:// hxxp:example.org/forum/chat/install.php [nonactive]

I cannot find the install.php file

b4pjoe

If you want it integrated with your SMF forum, you need to download the Ajax Chat mod and upload it through package manger. It looks like you've just downloaded the stand alone version.

Cobra97

I'm still looking for a answer to my problem.  I get / all the time instead of  ' ? and so on.   The forum is version 2.0 RC3 and set to English.  My guess was it's a language problem, but this is all English?

I really need help on this one, it's very annoying with //// coming up on everything.

Thanks

John

TheListener

Quote from: Cobra97 on February 20, 2011, 07:31:53 PM
I'm still looking for a answer to my problem.  I get / all the time instead of  ' ? and so on.   The forum is version 2.0 RC3 and set to English.  My guess was it's a language problem, but this is all English?

I really need help on this one, it's very annoying with //// coming up on everything.

Thanks

John

Is there anything related to the mod in your language files?

Cobra97

Quote from: Brack1 on February 20, 2011, 07:40:50 PM
Quote from: Cobra97 on February 20, 2011, 07:31:53 PM
I'm still looking for a answer to my problem.  I get / all the time instead of  ' ? and so on.   The forum is version 2.0 RC3 and set to English.  My guess was it's a language problem, but this is all English?

I really need help on this one, it's very annoying with //// coming up on everything.

Thanks

John

Is there anything related to the mod in your language files?

There is two, which both are setup at installation, I could find anything else.
Shout.english.php
Shout.persian.php

TheListener

Have you checked the files edits in the parser?

PokémonS

Hello, I'm using this mod in my SMF v1.1.11. I want to change the shoutbox position to the bottom. Isn't it possible? And how?
きみと手をつなごう つらいときはもっと
ゼロからはじめよう ほら ほら 手をつなごう
みんな手をつなごう つらいときはもっと
力を合わせよう ほら ほら 手をつなごう

Bugo

Well, open Shout.template.php, cut content of function template_shout_above() and paste into function template_shout_below();

<?php

function template_shout_above() {
}

function 
template_shout_below() {

global $modSettings$context$options$settings$txt$boardurl;

if (!empty($modSettings['enableShoutBox'])){
if (empty($modSettings['miniChat']))
$flag allowedTo('shout_view');
else
$flag allowedTo('chat_access');
if ($flag){

// We'll have to use the cookie to remember the shoutBox header...
if ($context['user']['is_guest'])
$options['sb_collapsed'] = !empty($_COOKIE['sb_collapsed']);

echo '
<script type="text/javascript">
var sb_current_header = ' 
. (empty($options['sb_collapsed']) ? 'false' 'true') . ';
function ajax_shoutBox_collapse(mode)
{'
;

if ($context['user']['is_guest'])
echo '
document.cookie = "sb_collapsed=" + (mode ? 1 : 0);'
;
else
echo '
smf_setThemeOption("sb_collapsed", mode ? 1 : 0, null, "' 
$context['session_id'] . '");';

echo '
document.getElementById("ajax_shoutbox_collapse").src = smf_images_url + (mode ? "/expand.gif" : "/collapse.gif");
document.getElementById("ShoutBox").style.display = mode ? "none" : "";
sb_current_header = mode;
}
</script>'
;

if (!empty($modSettings['anyPageShoutBox']) || isset($context['chat_isHome'])){
echo'
<div class="cat_bar">
<h3 class="catbg">
<span class="floatleft">'
$txt['shoutBox'], '</span><span class="floatright" style="font-size: 0.65em">AJAX Chat &copy; blueimp.net&nbsp;|&nbsp; Integrated with SMF <a rel="nofollow" href="#" onclick="ajax_shoutBox_collapse(!sb_current_header)" style="outline: none"><img id="ajax_shoutbox_collapse" src="'$settings['images_url'], empty($options['sb_collapsed']) ? '/collapse.gif' '/expand.gif','" alt="*" style="margin-right: 5px;padding-top:7px"  /></a></span>
</h3>
</div>
<div id="ShoutBox"'
, empty($options['sb_collapsed']) ? '' ' style="display: none;"''>
<span class="upperframe" style="height:18px;"><span>&nbsp;</span></span>
<div class="roundframe">
<div style="margin:-5px;">'
getShoutBoxContent() ,'</div>
</div>
<span class="lowerframe"><span>&nbsp;</span></span>
</div>'
;
}
}
}
if (!empty($modSettings['chatPopUp']))
echo '
<script type="text/javascript">
           function openWindow(url,width,height,options,name) {
           width = width ? width : 800;
             height = height ? height : 600;
              options = options ? options : \'resizable=yes\';
              name = name ? name : \'openWindow\';
              window.open(
               url,
               name,
               \'screenX=\'+(screen.width-width)/2+\',screenY=\'+(screen.height-height)/2+\',width=\'+width+\',height=\'+height+\',\'+options
              )
           }
</script>'
;
}

?>

PokémonS

きみと手をつなごう つらいときはもっと
ゼロからはじめよう ほら ほら 手をつなごう
みんな手をつなごう つらいときはもっと
力を合わせよう ほら ほら 手をつなごう

TheListener


PokémonS

きみと手をつなごう つらいときはもっと
ゼロからはじめよう ほら ほら 手をつなごう
みんな手をつなごう つらいときはもっと
力を合わせよう ほら ほら 手をつなごう

PokémonS

Sorry, it worked now, the problem is the Bugo's code didn't exact with my version.
きみと手をつなごう つらいときはもっと
ゼロからはじめよう ほら ほら 手をつなごう
みんな手をつなごう つらいときはもっと
力を合わせよう ほら ほら 手をつなごう

King Death II

Quote from: Brack1 on February 18, 2011, 07:34:21 AM
Quote from: King Death II on February 17, 2011, 10:52:33 PM
Can someone update this for RC4 and 5?

Thanks!

Take a look at reply 7588 you may be plesantly surprised.

I downloaded and installed it but when I tried to use it, it wouldnt let me click the enter box to enter text into the chatbox.... How would I fix this?

Advertisement: