vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Chat Modifications - MGC Chatbox Evo (https://vborg.vbsupport.ru/showthread.php?t=168992)

VBDev 12-31-2008 06:59 AM

Quote:

Originally Posted by solidlink (Post 1697597)
hey it looks nice, but the message "MGC Chatbox Evo created by MGC, Version 2.0.2, Copyright 2008 all rights reserved"

placed at the immediate bottom of the chatbox looks a little cluttered on my website (www.onestash.com)

im guessing it does the same to others as well.

What do you mean by clustered ?

Quote:

Originally Posted by solidlink (Post 1697633)
The distance between the Member's nickname and the reply seems so far apart now:
http://www.onestash.com/forums/showthread.php?t=872

It's because one of your member has a huge username so all chats are align on it.

Harley D 12-31-2008 09:19 AM

Here is one of the errors I get when I click the O.K. icon on one of the themes where the chatbox doesn't work.

Code:

Database error in vBulletin 3.6.7:

Invalid SQL:

                SELECT c.*,fromu.userid AS fromuserid,fromu.username AS fromusername,fromu.usergroupid AS fromusergroupid,fromu.displaygroupid AS fromdisplaygroupid,tou.userid AS touserid,tou.username AS tousername,tou.usergroupid AS tousergroupid,tou.displaygroupid AS todisplaygroupid,
                avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline, customavatar.width AS avwidth, customavatar.height AS avheight, customavatar.height_thumb AS avheight_thumb, customavatar.width_thumb AS avwidth_thumb, customavatar.filedata_thumb,fromu.avatarid,fromu.avatarrevision
                FROM moparpar_mgc_cb_evo_chat AS c
                LEFT JOIN moparpar_user AS fromu ON (c.fromuid=fromu.userid)
                LEFT JOIN moparpar_user AS tou ON (c.touid=tou.userid)
                LEFT JOIN moparpar_avatar AS avatar ON (avatar.avatarid = fromu.avatarid)
                LEFT JOIN moparpar_customavatar AS customavatar ON (customavatar.userid = fromu.userid)
                WHERE chanid='0' AND coidentifier IN ('0') AND (touid='0' OR fromuid='1'OR touid='1') AND iswarning='0' AND c.dateline>'1230635753'
                ORDER BY c.dateline DESC
              LIMIT 0, 15;

MySQL Error  : Unknown column 'customavatar.height_thumb' in 'field list'
Error Number : 1054
Date        : Wednesday, December 31st 2008 @ 04:15:53 AM
Script      : http://www.laserenthusiast.com/forums/mgc_cb_evo.php
Referrer    : http://www.laserenthusiast.com/forums/mgc_cb_evo.php
IP Address  : 11.111.11.111
Username    : High Octane
Classname    : vB_Database

Here are the errors from FireFox's Error Console from one of the non working themes.

Code:

Error: send_chat is not defined
Source File: http://www.laserenthusiast.com/forums/index.php?styleid=6#mgc_cb_evo_top
Line: 1

Error: missing ; before statement
Source File: http://www.laserenthusiast.com/forums/index.php?styleid=6#mgc_cb_evo_top
Line: 2117, Column: 22
Source Code:
  var val_timeout =  * 1000;

Error: chatbox_refresh is not defined
Source File: http://www.laserenthusiast.com/forums/index.php?styleid=6#mgc_cb_evo_top
Line: 2384

Error: chatbox_refresh is not defined
Source File: javascript:alert('TODO: FIXME')
Line: 0


entertain 12-31-2008 11:49 AM

Quote:

Originally Posted by entertain
Opera 9.63:
In the chatbox
Clicking on the graphic to open the menu of a shout doesn't work

Need a bugfix-release soon
Quote:

Originally Posted by VBDev (Post 1696383)
Just tested while going through bug list.

Works fine for me with Opera 9.63. Perhaps another bug that was messing around...


I have tested it again... This bug is only there, when you select that the latest shouts will be displayed at the bottom of the chatbox.

Skyrider 12-31-2008 01:03 PM

VBDev, is there any way for us to set the width of the special box for the created threads & replies? It's really small at the moment (the box). All the new replies and threads being displayed in the new box are getting cut in 2 or more lines. Wish everything to be in 1 line. Neat feature though. Thanks!

Btw, bug found. You know the button to see the active users in the chat box? Try to click in when you have the special box in the right enabled. You'll see a huge box opening with the users online in the chat box. I don't think this is normal.

VBDev 12-31-2008 01:11 PM

Quote:

Originally Posted by Harley D (Post 1697722)
Here is one of the errors I get when I click the O.K. icon on one of the themes where the chatbox doesn't work.

Code:

Database error in vBulletin 3.6.7:

Invalid SQL:

        SELECT c.*,fromu.userid AS fromuserid,fromu.username AS fromusername,fromu.usergroupid AS fromusergroupid,fromu.displaygroupid AS fromdisplaygroupid,tou.userid AS touserid,tou.username AS tousername,tou.usergroupid AS tousergroupid,tou.displaygroupid AS todisplaygroupid,
        avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline, customavatar.width AS avwidth, customavatar.height AS avheight, customavatar.height_thumb AS avheight_thumb, customavatar.width_thumb AS avwidth_thumb, customavatar.filedata_thumb,fromu.avatarid,fromu.avatarrevision
        FROM moparpar_mgc_cb_evo_chat AS c
        LEFT JOIN moparpar_user AS fromu ON (c.fromuid=fromu.userid)
        LEFT JOIN moparpar_user AS tou ON (c.touid=tou.userid)
        LEFT JOIN moparpar_avatar AS avatar ON (avatar.avatarid = fromu.avatarid)
        LEFT JOIN moparpar_customavatar AS customavatar ON (customavatar.userid = fromu.userid)
        WHERE chanid='0' AND coidentifier IN ('0') AND (touid='0' OR fromuid='1'OR touid='1') AND iswarning='0' AND c.dateline>'1230635753'
        ORDER BY c.dateline DESC
          LIMIT 0, 15;

MySQL Error  : Unknown column 'customavatar.height_thumb' in 'field list'
Error Number : 1054
Date        : Wednesday, December 31st 2008 @ 04:15:53 AM
Script      : http://www.laserenthusiast.com/forums/mgc_cb_evo.php
Referrer    : http://www.laserenthusiast.com/forums/mgc_cb_evo.php
IP Address  : 11.111.11.111
Username    : High Octane
Classname    : vB_Database

Here are the errors from FireFox's Error Console from one of the non working themes.

Code:

Error: send_chat is not defined
Source File: http://www.laserenthusiast.com/forums/index.php?styleid=6#mgc_cb_evo_top
Line: 1

Error: missing ; before statement
Source File: http://www.laserenthusiast.com/forums/index.php?styleid=6#mgc_cb_evo_top
Line: 2117, Column: 22
Source Code:
  var val_timeout =  * 1000;

Error: chatbox_refresh is not defined
Source File: http://www.laserenthusiast.com/forums/index.php?styleid=6#mgc_cb_evo_top
Line: 2384

Error: chatbox_refresh is not defined
Source File: javascript:alert('TODO: FIXME')
Line: 0


For the database error, it's fixed in the next version.

For the javascript errors, seems like in those style javascripts are not taken into account.
Could you register the source code of the page and attach it as text file here ?

Quote:

Originally Posted by FF|Skyrider (Post 1697840)
VBDev, is there any way for us to set the width of the special box for the created threads & replies? It's really small at the moment (the box).

Possibility added in next version.

Quote:

Originally Posted by entertain (Post 1697798)
I have tested it again... This bug is only there, when you select that the latest shouts will be displayed at the bottom of the chatbox.

Ok will test.

VBDev 12-31-2008 01:37 PM

Quote:

Originally Posted by FF|Skyrider (Post 1697840)
Btw, bug found. You know the button to see the active users in the chat box? Try to click in when you have the special box in the right enabled. You'll see a huge box opening with the users online in the chat box. I don't think this is normal.

No it's not, gonna fix this !

VBDev 12-31-2008 01:43 PM

Quote:

Originally Posted by entertain (Post 1697798)
I have tested it again... This bug is only there, when you select that the latest shouts will be displayed at the bottom of the chatbox.

The dropdown menu does show for me with this version of opera and latest shouts at the bottom.

CristianoDiaz 12-31-2008 02:36 PM

Is there any way to make Save the default when you hit enter in the box that pops up to send a PM in the chat box? Right now, you have to click on Save - if you click enter after typing your message, the box closes but it is not sent.

Harley D 12-31-2008 06:01 PM

O.K. I have found the reason why the ChatBox will only work with ONE theme. :D

For some reason this template mgc_cb_evo is not being removed during the UNINSTALL and/or is not being updated with a fresh install or update.

Here are the files... The first is the NOT UPDATED and causing the ChatBox not to load properly, The CORRECT version is in my next post as I exceed the text limit when posting both here. :(

Code:

<script type="text/javascript">
  var val_timeout = $vboptions[mgc_cb_evo_refresh_rate] * 1000;
  var auto_refresh = $vboptions[mgc_cb_evo_refresh_active];
  var chats_when_collapsed = $vboptions[mgc_cb_evo_nbchats_closed];
  var channel_id = 0;
  var chats_order = $vboptions[mgc_cb_evo_chats_order];
  var chat_input_prompt = $show[mgc_cb_evo_promptmsg];
  var inactive_mode = $vboptions[mgc_cb_evo_inactive_mode];
  var inactive_mode_delay = $vboptions[mgc_cb_evo_inactive_mode_delay] * 60 * 1000;
  var bburl = "$vboptions[bburl]";
  var mgc_cb_evo_jsloc = "$mgc_cb_evo_floc";
  var phrase_error_chat_in_process = "$vbphrase[mgc_cb_evo_jserror_chat_in_progress]";
  var phrase_enter_url = "$vbphrase[mgc_cb_evo_js_enter_url]";
  var phrase_enter_imgurl = "$vbphrase[mgc_cb_evo_js_enter_imgurl]";
  var phrase_already_editing = "$vbphrase[mgc_cb_evo_already_editing]";
  var phrase_edit_forbidden = "$vbphrase[mgc_cb_evo_edit_forbidden]";
  var phrase_inactive = "$vbphrase[mgc_cb_evo_inactive]";
  var chatbox_inactive = 0;
  var idleTimeout = null;
  var warn_active = $vboptions[mgc_cb_evo_channels_warning];
  var warn_delay = $vboptions[mgc_cb_evo_channels_warning_delay] * 60 * 1000;
  <if condition="!empty($vbulletin->options['mgc_cb_evo_whoisonline_autorefresh']) && $vbulletin->options['mgc_cb_evo_whoisonline_autorefresh']">
      var whoisonline_active = 1;
      var whoisonline_delay = $vboptions[mgc_cb_evo_whoisonline_autorefresh] * 1000 * 60;
                <if condition="!$vbulletin->options['mgc_cb_evo_whoisonline_showintab']">
              whoisonlineTimeout = setTimeout("get_online_users()", whoisonline_delay);
      </if>
  </if>

  if ($vboptions[mgc_cb_evo_inactive_mode] && $vboptions[mgc_cb_evo_inactive_mode_onload])
  {
      chatbox_inactive = 1;
  }
  else if ($vboptions[mgc_cb_evo_inactive_mode])
  {
      idleTimeout = setTimeout("activate_idle_chatbox()", inactive_mode_delay);
  }
</script>


<if condition="THIS_SCRIPT == 'mgc_cb_evo'">
  <script type="text/javascript">var cb_location = "full";</script>
<else />
  <script type="text/javascript">var cb_location = "inc";</script>
</if>

<script type="text/javascript" src="{$mgc_cb_evo_floc}clientscript/mgc_cb_evo.js"></script>
$commands_js_includes

<a name="mgc_cb_evo_top" id="mgc_cb_evo_top"></a>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<!-- Chatbox Title Row -->
<tbody>
  <tr>
      <td class="thead" align ="center" colspan="2">
        <a style="float:$stylevar[right]" href="#mgc_cb_evo_top" onClick="return exec_mgc_cb_evo_collapse();"><img id="collapseimg_mgc_cb_evo" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_mgc_cb_evo].gif" alt="" border="0" /></a>
        <span id='mgc_cb_evo_title_opened' style='display: <if condition="$vbcollapse[collapseobj_mgc_cb_evo] == ''"><else />none</if>'>
            <span class="normalfont">$vboptions[mgc_cb_evo_title]</span>
        </span>
        <span id='mgc_cb_evo_title_closed' style='display: <if condition="$vbcollapse[collapseobj_mgc_cb_evo] == ''">none<else /></if>'>
            $vboptions[mgc_cb_evo_title]&nbsp;<a href="#mgc_cb_evo_top" onClick="return exec_mgc_cb_evo_collapse();"><img src="$stylevar[imgdir_misc]/menu_open.gif" alt="" border="0" /></a>
        </span>                         
        &nbsp;<span>[<a href="$vboptions[bburl]/mgc_cb_evo.php?$session[sessionurl]do=view_archives&page=1">$vbphrase[mgc_cb_evo_archives]</a>]
      </td>
  </tr>
</tbody>
<!-- / Chatbox Title Row -->

<!-- vBulletin Collapse Tricking -->
<tbody id="collapseobj_mgc_cb_evo" style="$vbcollapse[collapseobj_mgc_cb_evo]">
</tbody>
<!-- / vBulletin Collapse Tricking -->

<!-- Chatbox inner in opened mode -->
<tbody id="mgc_cb_evo_opened" style="$vbcollapse[collapseobj_mgc_cb_evo]" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
  <!-- Announcement -->
  <if condition="!empty($vboptions[mgc_cb_evo_announcement])">
      <tr class="alt1" valign="middle" width="100%">
        <td colspan="2">
            $vboptions[mgc_cb_evo_announcement]
        </td>
      </tr>
  </if>
  <!-- / Announcement -->
       
        <!-- Editor if position above -->
  <if condition="$vboptions[mgc_cb_evo_editor_position] == 0">
                $mgc_cb_evo_editor
        </if>
        <!-- Editor if position above -->
       
        <!-- Chatbox row -->
  <tr class="alt2">
      <td width="100%" colspan="2">     
        <!-- Javascript popups -->
        <div style="z-index: 1; position: absolute; display: none;" id="mgc_cb_evo_chat_popup">
            <table class="tborder" align="center" cellpadding="5">
              <tr class="thead">
                        <td align="center"><b>$vbphrase[mgc_cb_evo_information]</b></td>
                      </tr>
                      <tr class="alt1">
                                <td style="padding: 5px 5px;">
                                    <div id="mgc_cb_evo_chat_popup_content"></div>
                                    <div id="mgc_cb_evo_prompt_input_div" style="display: none;"><input type="text" size="35" name="mgc_cb_evo_prompt_input" id="mgc_cb_evo_prompt_input" /></div>
                                              <br />
                                                <div align="center" id="mgc_cb_evo_close_button" style="display: none;">
                        <input type="button" value="$vbphrase[mgc_cb_evo_close]" onclick="mgc_cb_js_hidepopup();" />
                    </div>
                                                <div align="center" id="mgc_cb_evo_okcancel_buttons" style="display: none;">
                        <input type="button" value="$vbphrase[go]" onclick="mgc_cb_js_hideprompt(1);" />
                        <input type="button" value="$vbphrase[cancel]" onclick="mgc_cb_js_hideprompt(0);" />
                    </div>
                                      </td>
                              </tr>
          </table>
        </div>
        <!-- / Javascript popups -->

        <!-- Channel icons and chats -->
        <table width="100%" cellpadding="0" cellspacing="2">
            <tr>
                   
                                                <td nowrap="nowrap" valign="top" align="$stylevar[left]">
                                                        <div id="channel_gen_on">
                                                                <img id="mgc_cb_channel_gen_on" src="$stylevar[imgdir_misc]/mgc_cb_evo/mgc_cb_gen_channel_sel.gif" width="20px" height="20px" alt="" border="0" title="$vbphrase[mgc_cb_evo_channel_gen]" />&nbsp;
                                                        </div>
                                                        <div id="channel_gen_off" style="display: none;">
                                                                <a href="#mgc_cb_evo_top" onClick="return display_channel(0);"><img id="mgc_cb_gen_off" src="$stylevar[imgdir_misc]/mgc_cb_evo/mgc_cb_gen_channel_nosel.gif" width="20px" height="20px" alt="" border="0" title="$vbphrase[mgc_cb_evo_channel_gen]" /></a>&nbsp;
                                                        </div>
                                                        <div id="channel_gen_new" style="display: none;">
                                                                <a href="#mgc_cb_evo_top" onClick="return display_channel(0);"><img id="mgc_cb_gen_new" src="$stylevar[imgdir_misc]/mgc_cb_evo/mgc_cb_gen_channel_new.gif" width="20px" height="20px" alt="" border="0" title="$vbphrase[mgc_cb_evo_channel_new]" /></a>&nbsp;
                                                        </div>
                                                        $channels_bit
                                                </td>
                                       
              <td width="100%" colspan="<if condition="$show['genchan']">2<else />3</if>">
                  <div style="width:100%; height: {$chatbox_height}px;overflow-y: auto;border: none; z-index: 1;" id="chats"> $vbphrase[mgc_cb_evo_loading] </div>
                 
                                        <!-- Chatbox whosonline in tab -->
                                        <if condition="$show['mgc_cb_evo_whoisonline'] && $vbulletin->options['mgc_cb_evo_whoisonline_showintab']">
                                                <div id="collapseobj_mgc_cb_evo_online" style="display: none;width:100%; height: {$chatbox_height}px;overflow-y: auto;border: none; z-index: 1;">
                                                        <strong>$vbphrase[mgc_cb_evo_online_users]</strong> : <span id="mgc_cb_evo_nb_online_users"><if condition="$show['mgc_cb_evo_nouser_online']">0<else />$users_online[nb]</if></span> $vbphrase[mgc_cb_evo_users]
                                                        <span id="mgc_cb_evo_online_users">
                                                                <if condition="!$show['mgc_cb_evo_nouser_online']">
                                                                        <br />

                                                                        $users_online[list]
                                                                </if>
                                                        </span>
                                                </div>
                                        </if>
                                        <!-- / Chatbox whosonline in tab -->                                                 
                                                                                       
 
              </td>
            </tr>
                  </table>
        <!-- / Channel icons and chats -->                 
      </td>
  </tr>
  <!-- / Chatbox row -->
 
  <!-- Editor if position below -->
        <if condition="$vboptions[mgc_cb_evo_editor_position] == 1">
                $mgc_cb_evo_editor
        </if>
        <!-- / Editor if position below -->
       
        <!-- Who is online in the chatbox -->
        <if condition="$show['mgc_cb_evo_whoisonline'] && !$vbulletin->options['mgc_cb_evo_whoisonline_showintab']">
      <tr class="alt1">
        <td width="100%" colspan="2">
            <strong>$vbphrase[mgc_cb_evo_online_users]</strong> : <span id="mgc_cb_evo_nb_online_users"><if condition="$show['mgc_cb_evo_nouser_online']">0<else />$users_online[nb]</if></span> $vbphrase[mgc_cb_evo_users]
            <span id="mgc_cb_evo_online_users">
              <if condition="!$show['mgc_cb_evo_nouser_online']">
                  <br />
                  $users_online[list]
              </if>
            </span>
        </td>
      </tr>       
  </if>
        <!-- / Who is online in the chatbox -->
</tbody>
<!-- Chatbox inner in opened mode -->

<!-- Chatbox inner in closed mode -->
<if condition="($vbcollapse[collapseobj_mgc_cb_evo] == '') || ($vbcollapse[collapseobj_mgc_cb_evo] != '' && !$vboptions['mgc_cb_evo_nbchats_closed'])">
  <tbody id="mgc_cb_evo_closed" style="display:none;">
<else />
  <tbody id="mgc_cb_evo_closed" style="">
</if>
  <tr class="alt2">
      <td colspan="2">
        <div id="chats_last"></div>
      </td>
  </tr>
</tbody>
<!-- / Chatbox inner in closed mode -->
</table>

<!-- Javascript calls before the end of the chatbox display build -->
<script type="text/javascript">
  $js_channels_ids_array
 
  /* Overflow problem with some browsers */
  if (is_opera || is_saf || is_ns)
  {
      fetch_object('chats').style.overflow = 'auto';
  }
</script>

<!-- Chats retrieving loading when not in collapsed mode -->
<if condition="empty($vbcollapse['collapseobj_mgc_cb_evo'])">
  <if condition="!$vbulletin->options['mgc_cb_evo_inactive_mode'] || ($vbulletin->options['mgc_cb_evo_inactive_mode'] && !$vbulletin->options['mgc_cb_evo_inactive_mode_onload'])">
      <script type="text/javascript">
        chatbox_refresh('forced');
      </script>
  <else />
      <script type="text/javascript">
        fetch_object('chats').innerHTML = "<div align=\center\>$vbphrase[mgc_cb_evo_inactive]</div>";
      </script>
  </if>
<else /> 
<!-- Chats retrieving loading when in collapsed mode -->
  <if condition="$vboptions['mgc_cb_evo_nbchats_closed']">
      <script type="text/javascript">
        mgc_cb_evo_get_last_chats();
      </script> 
  </if>
</if>


Harley D 12-31-2008 06:02 PM

Here is the CORRECT version.. AT LEAST IN MY CASE!

Code:

$mgc_cb_evo_js_vars
$mgc_cb_evo_js_script
 
<!-- Javascript popups -->
<div class="yui-skin-sam">
<div id="mgc_cb_evo_chat_popup"></div>
</div>
<div class="yui-skin-sam">
<div id="chatpopupinput" style="visibility: hidden;">
<div class="hd">$vbphrase[mgc_cb_evo_enter_info]</div>
<div class="bd">
<form method="post" action="assets/post.php">
        <div id="mgc_cb_evo_chat_popup_content"></div><input type="text" size="35" id="id_mgc_cb_evo_prompt_input" name="mgc_cb_evo_prompt_input" />
</form>
</div>
</div>
</div>
<!-- / Javascript popups -->
 
<!-- vBulletin Collapse Tricking -->
<div id="collapseobj_mgc_cb_evo" style="$vbcollapse[collapseobj_mgc_cb_evo];"></div>
<!-- / vBulletin Collapse Tricking -->
 
<if condition="THIS_SCRIPT == 'mgc_cb_evo'">
  <script type="text/javascript">var cb_location = "full";</script>
<else />
  <script type="text/javascript">var cb_location = "inc";</script>
</if>
 
<a name="mgc_cb_evo_top" id="mgc_cb_evo_top"></a>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="{$vbulletin->options[mgc_cb_evo_normalmode_width]}" align="center">
<!-- Chatbox Title Row -->
<thead>
  <tr>
      <td class="thead" align ="center" colspan="2">
        <a style="float:$stylevar[right]" href="#mgc_cb_evo_top" onclick="return exec_mgc_cb_evo_collapse();"><img id="collapseimg_mgc_cb_evo" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_mgc_cb_evo].gif" alt="" border="0" /></a>
        <span id='mgc_cb_evo_title_opened' <if condition="$vbcollapse[collapseobj_mgc_cb_evo] != ''">style='display: none'</if>>
            <span class="normalfont">
                    $vboptions[mgc_cb_evo_title]
                    <if condition="$vbulletin->options['mgc_cb_evo_show_channelname']">
                            $vboptions[mgc_cb_evo_channelname_separator] <span id="mgc_cb_evo_channel_name">&nbsp;</span>
                    </if>
            </span>
        </span>
        <span id='mgc_cb_evo_title_closed' <if condition="$vbcollapse[collapseobj_mgc_cb_evo] == ''">style='display: none'</if>>
            $vboptions[mgc_cb_evo_title]&nbsp;<a href="#mgc_cb_evo_top" onclick="return exec_mgc_cb_evo_collapse();"><img src="$stylevar[imgdir_misc]/menu_open.gif" alt="" border="0" /></a>
        </span>                         
        &nbsp;<span>[<a href="$vboptions[bburl]/mgc_cb_evo.php?$session[sessionurl]do=view_archives&amp;page=1">$vbphrase[mgc_cb_evo_archives]</a>]</span>
      </td>
  </tr>
</thead>
<!-- / Chatbox Title Row -->
 
<!-- Chatbox inner in opened mode -->
<tbody id="mgc_cb_evo_opened" style="$vbcollapse[collapseobj_mgc_cb_evo]">
  <!-- Announcement -->
  <if condition="!empty($vboptions[mgc_cb_evo_announcement])">
      <tr class="alt1" valign="middle" width="100%">
        <td colspan="2">
            $vboptions[mgc_cb_evo_announcement]
        </td>
      </tr>
  </if>
  <!-- / Announcement -->
 
        <!-- Editor if position above -->
  <if condition="$vboptions[mgc_cb_evo_editor_position] == 0">
                $mgc_cb_evo_editor
        </if>
        <!-- Editor if position above -->
 
        <!-- Chatbox row -->
  <tr class="alt2">
      <td width="100%" colspan="2">     
 
        <!-- Channel icons and chats -->
        <table width="100%" cellpadding="0" cellspacing="2">
            <tr>
                    <if condition="$show['genchan']">
                                                <td nowrap="nowrap" valign="top" align="$stylevar[left]">
                                                        <div id="channel_gen_on">
                                                                <img id="mgc_cb_channel_gen_on" src="$stylevar[imgdir_misc]/mgc_cb_evo/mgc_cb_gen_channel_sel.gif" width="20px" height="20px" alt="" border="0" title="$vbphrase[mgc_cb_evo_channel_gen]" />&nbsp;
                                                        </div>
                                                        <div id="channel_gen_off" style="display: none;">
                                                                <a href="#mgc_cb_evo_top" onclick="return display_channel(0);"><img id="mgc_cb_gen_off" src="$stylevar[imgdir_misc]/mgc_cb_evo/mgc_cb_gen_channel_nosel.gif" width="20px" height="20px" alt="" border="0" title="$vbphrase[mgc_cb_evo_channel_gen]" /></a>&nbsp;
                                                        </div>
                                                        <div id="channel_gen_new" style="display: none;">
                                                                <a href="#mgc_cb_evo_top" onclick="return display_channel(0);"><img id="mgc_cb_gen_new" src="$stylevar[imgdir_misc]/mgc_cb_evo/mgc_cb_gen_channel_new.gif" width="20px" height="20px" alt="" border="0" title="$vbphrase[mgc_cb_evo_channel_new]" /></a>&nbsp;
                                                        </div>
                                                        $channels_bit
                                                </td>
                                        </if>
              <td width="100%" colspan="<if condition="$show['genchan']">2<else />3</if>">
                        <div id="mgc_cb_evo_user_warn" <if condition="empty($warn_msg)">style="display: none;"</if>>$warn_msg</div>
                  <if condition="$vbulletin->options['mgc_cb_evo_separate_special_chats'] == 0">
                    <div style="width:100%; height: {$chatbox_height}px;overflow-y: auto;border: none; z-index: 1;" id="chats_container">
                            <table width="95%" align="$stylevar[left]" cellspacing="0">
                                                  <tbody id="chats">
                                          <tr>
                                                  <td>$vbphrase[mgc_cb_evo_loading]</td>
                                            </tr>
                                    </tbody>                                 
                            </table>                 
                    </div>
                  <else />
                          <table width="100%">
                          <tr>
                            <td width="75%" align="left">
                            <div style="width:100%; height: {$chatbox_height}px;overflow-y: auto;border: none; z-index: 1;float: left;" id="chats_container">
                                    <table width="95%" align="$stylevar[left]" cellspacing="0">
                                                          <tbody id="chats">
                                                  <tr>
                                                          <td>$vbphrase[mgc_cb_evo_loading]</td>
                                                    </tr>
                                            </tbody>                                 
                                    </table>                 
                            </div>
                                </td>
                                <td width="25%" align="left">
                        <div style="width:100%; height: {$chatbox_height}px;overflow-y: auto;border: none; z-index: 1;" id="schats_container">
                              <table width="95%" align="$stylevar[left]" cellspacing="0">
                                                    <tbody id="schats">
                                            <tr>
                                                    <td>&nbsp;</td>
                                              </tr>
                                      </tbody>                                 
                              </table>                 
                        </div>                                             
                      </td>
                    </tr>
                    </table>
                  </if>
 
                                        <!-- Chatbox whosonline in tab -->
                                        <if condition="$show['mgc_cb_evo_whoisonline'] && $vbulletin->options['mgc_cb_evo_whoisonline_showintab']">
                                                <div id="collapseobj_mgc_cb_evo_online" style="display: none;width:100%; height: {$chatbox_height}px;overflow-y: auto;border: none; z-index: 1;">
                                                        <strong>$vbphrase[mgc_cb_evo_online_users]</strong> : <span id="mgc_cb_evo_nb_online_users"><if condition="$show['mgc_cb_evo_nouser_online']">0<else />$users_online[nb]</if></span> $vbphrase[mgc_cb_evo_users]
                                                        <span id="mgc_cb_evo_online_users">
                                                                <if condition="!$show['mgc_cb_evo_nouser_online']">
                                                                        <br />
                                                                        $users_online[list]
                                                                </if>
                                                        </span>
                                                </div>
                                        </if>
                                        <!-- / Chatbox whosonline in tab -->                                                 
 
 
              </td>
            </tr>
                  </table>
        <!-- / Channel icons and chats -->                 
      </td>
  </tr>
  <!-- / Chatbox row -->
 
  <!-- Editor if position below -->
        <if condition="$vboptions[mgc_cb_evo_editor_position] == 1">
                $mgc_cb_evo_editor
        </if>
        <!-- / Editor if position below -->
 
        <!-- Who is online in the chatbox -->
        <if condition="$show['mgc_cb_evo_whoisonline'] && !$vbulletin->options['mgc_cb_evo_whoisonline_showintab']">
      <tr class="alt1">
        <td width="100%" colspan="2">
            <strong>$vbphrase[mgc_cb_evo_online_users]</strong> : <span id="mgc_cb_evo_nb_online_users"><if condition="$show['mgc_cb_evo_nouser_online']">0<else />$users_online[nb]</if></span> $vbphrase[mgc_cb_evo_users]
            <span id="mgc_cb_evo_online_users">
              <if condition="!$show['mgc_cb_evo_nouser_online']">
                  <br />
                  $users_online[list]
              </if>
            </span>
        </td>
      </tr>       
  </if>
        <!-- / Who is online in the chatbox -->
</tbody>
<!-- Chatbox inner in opened mode -->
 
<!-- Chatbox inner in closed mode -->
<if condition="($vbcollapse[collapseobj_mgc_cb_evo] == '') || ($vbcollapse[collapseobj_mgc_cb_evo] != '' && !$vboptions['mgc_cb_evo_nbchats_closed'])">
  <tbody id="mgc_cb_evo_closed" style="display:none;">
<else />
  <tbody id="mgc_cb_evo_closed" style="">
</if>
  <tr class="alt2">
      <td colspan="2">
        <div id="chats_last">
                  <table width="95%" align="$stylevar[left]" cellspacing="0">
                    <tbody id="lchats">
                            <tr>
                                      <td>$vbphrase[mgc_cb_evo_loading]</td>
                            </tr>
                    </tbody>       
                        </table>           
        </div>
      </td>
  </tr>
</tbody>
<!-- / Chatbox inner in closed mode -->
</table>

So if you have multiple themes and are having the same issue, just make sure this file is correct.


All times are GMT. The time now is 06:24 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08447 seconds
  • Memory Usage 1,934KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (7)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete