Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
MGC Chatbox Evo Details »»
MGC Chatbox Evo
Version: 3.4.0, by VBDev VBDev is offline
Developer Last Online: Dec 2021 Show Printable Version Email this Page

Category: Chat Modifications - Version: 4.2.x Rating:
Released: 01-27-2008 Last Update: 09-01-2013 Installs: 2476
DB Changes Uses Plugins Template Edits Auto-Templates
Additional Files Translations  
No support by the author.



This mod is automatically compatible with vB3.6.x, vB3.7.x, vB3.8.x and vB4.x.x


Overview

MGC Chatbox Evo is the most ever installed chatbox for vBulletin !


It offers a new enhanced online experience to your members leading to increased time spent online of more than 25% by providing them with a new, more interactive, way to interact with each other.
  • Important number of features
  • High level of configurability to fit each users needs
  • Channels system
  • Many commands
  • Bot system
  • and more...
... makes MGC Chatbox Evo a must have for your forum !

Detailed features

Following is a non-exhaustive list:
  • Simple install
  • Ajax based with:
    • Fast and Intelligent chats retrieval through javascript calls to server files (refresh delay configurable per usergroup)
    • Edit/update by double-clicking on a chat
    • Interact on chats through menus and javascript
  • Many usergroup permissions to limit features according to usergroups
  • Full configuration of the chatbox display:
    Size, position on forum pages, editor layout (either top/bottom input or left/right textarea) and position, number of chats displayed, ...
  • Full configuration of the chats display:
    Authorized bbcodes selection, date/time options, avatar display, ...
  • Possibility to create channels (unlimited number) with multiple configuration options:
    • Warn user of new message when not active through blinking image and eventually sound notification
    • Possibility to select on which specific page each is displayed
    • Option to display the channel only for selected languages
    • Usergroup/User permissions to access the channel
  • Many commands available with usergroup/user permissions to access them:
    • /me: well known IRC command
    • /del: remove shouts (different possibilities of removal)
    • /ignore: ignore shouts from another user
    • /ban: ban user from chatbox
    • /pm: send a private chat to another user
    • /announcement: modify the announcement on top of the chatbox
    • /slap: allow user to slap another user
    • /team: chats sending between specified usergroups
    • /l33t: I33t-ify a message
    • /banchan: ban user from specific channel [PRO only]
  • Forum activity notifications system in the chatbox:
    • Different display options:
      • In the chatbox melted with chats
      • In the chatbox in a separate column
      • In the vB4 sidebar or a custom sidebar for vB3
    • Multiple notifications:
      • New thread creation
      • New post creation
      • Post thanked (Abe's)
      • New registrations (not included - separate product)
      • IBProarcade highscore (not included - separate product)
  • Bot system with set of predefined trigger chat and corresponding answers and automatic bot chats [PRO only]
  • Archive system with statistics as well as download and search capabilities
  • Possibility to display the list of users online in the chatbox
  • Force anynomous to enter a username before chatting if they can access the chatbox
  • Antiflood system
  • Private chats feature through PM in tabs
  • Optional sound notifications
  • Inactive mode feature for server load optimization
  • User statistics display in posts and profile
  • Chatbox statistics display on forumhome
  • Create thread from a chat [PRO only]
  • CMS Integration (not included - separate product)
    • vBAdvanced CMPS
    • vBulletin 4 CMS
  • Importers from other chatbox systems:
Install

Refer to the readme for the chatbox install.

Demo

Live demo on MGC Products forum

Languages
  1. French
  2. English
  3. German [Not yet updated]
  4. Serbian [Not yet updated]
Support

On my website mostly and in this thread


Int?gration

Integration in IBProarcade is described in the readme.
vBAdvanced CMPS and vBulletin 4 CMS integration are available as additional modules.


Compatibility

This hack is compatible with vB3.6.x, vB3.7.x
, vB3.8.x and vB4.x.x

Changelog

First part:

https://vborg.vbsupport.ru/showpost....&postcount=221

Second part:
https://vborg.vbsupport.ru/showpost....postcount=5429

Third part:

https://vborg.vbsupport.ru/showpost....postcount=8469

How to set the channel images


Thanks to princeedwards for this little how to : click here

PRO version and additional addons available on my website

This mod is automatically compatible with vB3.6.x, vB3.7.x, vB3.8.x and vB4.x.x

Download Now

File Type: zip [FREE]MGC_Chatbox_Evo_3.4.0.zip (1.70 MB, 3001 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #3582  
Old 12-31-2008, 06:59 AM
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Location: France
Posts: 2,570
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by solidlink View Post
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 View Post
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.
Reply With Quote
  #3583  
Old 12-31-2008, 09:19 AM
Harley D's Avatar
Harley D Harley D is offline
 
Join Date: Jan 2003
Location: WagnerTech.net
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3584  
Old 12-31-2008, 11:49 AM
entertain entertain is offline
 
Join Date: May 2007
Location: Bavaria
Posts: 435
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 View Post
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.
Reply With Quote
  #3585  
Old 12-31-2008, 01:03 PM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3586  
Old 12-31-2008, 01:11 PM
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Location: France
Posts: 2,570
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Harley D View Post
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 View Post
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 View Post
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.
Reply With Quote
  #3587  
Old 12-31-2008, 01:37 PM
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Location: France
Posts: 2,570
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FF|Skyrider View Post
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 !
Reply With Quote
  #3588  
Old 12-31-2008, 01:43 PM
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Location: France
Posts: 2,570
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by entertain View Post
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.
Reply With Quote
  #3589  
Old 12-31-2008, 02:36 PM
CristianoDiaz CristianoDiaz is offline
 
Join Date: Jun 2007
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3590  
Old 12-31-2008, 06:01 PM
Harley D's Avatar
Harley D Harley D is offline
 
Join Date: Jan 2003
Location: WagnerTech.net
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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>
Reply With Quote
  #3591  
Old 12-31-2008, 06:02 PM
Harley D's Avatar
Harley D Harley D is offline
 
Join Date: Jan 2003
Location: WagnerTech.net
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:29 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08264 seconds
  • Memory Usage 2,452KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (7)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (16)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete