mChat

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
sentinelace
Registered User
Posts: 151
Joined: Wed Nov 19, 2008 7:17 pm

Re: mChat

Post by sentinelace »

muggins wrote:AJAX: Asynchronous JAvascript and XML. You don't have to install anything to make AJAX work: it is a method.

Glacier is a prosilver-based theme if I'm not horribly mistaken, so apply the style edits for prosilver in your Glacier theme directory under /root/styles.
I did but steps at the end of the guide are not in my overview header like they are for the prosilver. :(
User avatar
muggins
Registered User
Posts: 1183
Joined: Fri Feb 22, 2008 5:12 pm
Location: Texas
Name: Donovan

Re: mChat

Post by muggins »

Post your overall_header.html so we can have a look. :)
Muggins
sentinelace
Registered User
Posts: 151
Joined: Wed Nov 19, 2008 7:17 pm

Re: mChat

Post by sentinelace »

muggins wrote:Post your overall_header.html so we can have a look. :)
Now, it is working fine but I am trying to upgrade so I have the options in my .MOD tab and I am stuck on what to do with Glacier. Thanks for your help.]

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<!--
	phpBB style name: prosilver
	Based on style:   prosilver (this is the default phpBB3 style)
	Original author:  Tom Beddard ( http://www.subBlue.com/ )
	Modified by:   Ika - ShadowFlames Development     
	
	NOTE: This page was generated by phpBB, the free open-source bulletin board package.
	      The phpBB Group is not responsible for the content of this page and forum. For more information
	      about phpBB please visit http://www.phpbb.com
-->

<script type="text/javascript">
// <![CDATA[
	var jump_page = '{LA_JUMP_PAGE}:';
	var on_page = '{ON_PAGE}';
	var per_page = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';
	var style_cookie = 'phpBBstyle';
	var style_cookie_settings = '{A_COOKIE_SETTINGS}';
	var onload_functions = new Array();
	var onunload_functions = new Array();

	<!-- IF S_USER_PM_POPUP -->
		if ({S_NEW_PM})
		{
			var url = '{UA_POPUP_PM}';
			window.open(url.replace(/&/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');
		}
	<!-- ENDIF -->

	/**
	* Find a member
	*/
	function find_username(url)
	{
		popup(url, 760, 570, '_usersearch');
		return false;
	}

	/**
	* New function for handling multiple calls to window.onload and window.unload by pentapenguin
	*/
	window.onload = function()
	{
		for (var i = 0; i < onload_functions.length; i++)
		{
			eval(onload_functions[i]);
		}
	}

	window.onunload = function()
	{
		for (var i = 0; i < onunload_functions.length; i++)
		{
			eval(onunload_functions[i]);
		}
	}

// ]]>
</script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/styleswitcher.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/forum_fn.js"></script>
<link rel="stylesheet" href="{ROOT_PATH}mchat/mchat_prosilver.css" type="text/css" />
<script type="text/javascript" src="{ROOT_PATH}jquery_core_mini.js"></script>
<script type="text/javascript" src="{ROOT_PATH}jquery_cookie_mini.js"></script>


<!--[if lt IE 7.]>
<script defer="defer" type="text/javascript" src="{T_TEMPLATE_PATH}/pngfix.js"></script>
<![endif]-->

<link href="{T_THEME_PATH}/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />
<link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />

<link href="{T_THEME_PATH}/normal.css" rel="stylesheet" type="text/css" title="A" />
<link href="{T_THEME_PATH}/medium.css" rel="alternate stylesheet" type="text/css" title="A+" />
<link href="{T_THEME_PATH}/large.css" rel="alternate stylesheet" type="text/css" title="A++" />

<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
	<link href="{T_THEME_PATH}/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->

</head>

<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
    <div class="outside">
       <div class="top-left"></div><div class="top-center"></div><div class="top-right"></div>
          <div class="inside">
             <div class="notopgap"></div>
<div id="wrap">
	<a id="top" name="top" accesskey="t"></a>

    <div id="header_nav">
        <span class="preload1"></span>
        <span class="preload2"></span>
        
            <ul id="nav">
                <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN -->
                <li class="top"><a href="{U_INDEX}" class="top_link"><span style="color: red;">{L_BOARD_DISABLED}</span></a></li>
                <!-- ENDIF -->
                <!-- IF not S_IS_BOT -->
                <li class="top"><a href="{U_LOGIN_LOGOUT}" class="top_link"><span>{L_LOGIN_LOGOUT}</span></a></li>
                <!-- ENDIF -->
                <!-- IF U_RESTORE_PERMISSIONS -->
                <li class="top"><a href="{U_RESTORE_PERMISSIONS}" class="top_link"><span>{L_RESTORE_PERMISSIONS}</span></a></li>
                <!-- ENDIF -->
                <!-- IF not S_IS_BOT -->
                    <!-- IF S_USER_LOGGED_IN -->
                        <!-- IF S_DISPLAY_PM -->
                        <li class="top"><a href="{U_PRIVATEMSGS}" class="top_link"><span>{PRIVATE_MESSAGE_INFO}</span></a></li>
                        <!-- ENDIF -->
                        <!-- ELSE -->
                        <li class="top"><a href="{U_REGISTER}" class="top_link"><span>{L_REGISTER}</span></a></li>
                        <!-- ENDIF -->
                <!-- ENDIF -->
                <!-- IF S_USER_LOGGED_IN -->
                <li class="top"><a href="#" id="controlpanel" class="top_link"><span class="down">Control Panel</span><!--[if gte IE 7]><!--></a><!--<![endif]-->
                    <!--[if lte IE 6]><table><tr><td><![endif]--><ul class="sub">
                        <!-- IF S_USER_LOGGED_IN -->
                        <li><b>Users</b></li>
                        <li><a href="{U_PROFILE}" class="fly">{L_PROFILE}<!--[if gte IE 7]><!--></a><!--<![endif]-->
                                <!--[if lte IE 6]><table><tr><td><![endif]--><ul>
                                    <li><a href="./ucp.php?i=163">Overview</a></li>
                                    <li><a href="./ucp.php?i=164">Profile</a></li>
                                    <li><a href="./ucp.php?i=165">Board Preferences</a></li>
                                    <li><a href="./ucp.php?i=166">Private Messages</a></li>
                                    <li><a href="./ucp.php?i=167">User Groups</a></li>
                                    <li><a href="./ucp.php?i=168">Friends & Foes</a></li>
                                </ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
                        </li>
                        <!-- ENDIF -->
                        <!-- IF U_MCP -->
                        <li><b>Moderators</b></li>
                        <li><a href="{U_MCP}">{L_MCP}</a></li>
                        <!-- ENDIF -->
                        <!-- IF U_ACP -->
                        <li><b>Administrators</b></li>
                        <li><a href="{U_ACP}">{L_ACP}</a></li>
                        <!-- ENDIF -->
                    </ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
                </li>
                <!-- ENDIF -->
                <li class="top"><a href="{U_INDEX}" id="forumlinks" class="top_link"><span class="down">Forum</span><!--[if gte IE 7]><!--></a><!--<![endif]-->
                    <!--[if lte IE 6]><table><tr><td><![endif]--><ul class="sub">
                        <li><b>Information</b></li>
                        <li><a href="{U_FAQ}">{L_FAQ}</a></li>
                        <!-- IF S_DISPLAY_MEMBERLIST --><li><a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
                        <li><b>Manage</b></li>
                        <!-- IF not S_IS_BOT and U_MARK_FORUMS --><li><a href="{U_MARK_FORUMS}">{L_MARK_FORUMS_READ}</a></li><!-- ENDIF -->
                        <!-- IF not S_IS_BOT and U_MARK_TOPICS --><li><a href="{U_MARK_TOPICS}">{L_MARK_TOPICS_READ}</a></li><!-- ENDIF -->
                    </ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
                </li>
                <!-- IF S_DISPLAY_SEARCH -->
                <li class="top"><a href="{U_SEARCH}" id="forumsearch" class="top_link"><span class="down">{L_SEARCH}</span><!--[if gte IE 7]><!--></a><!--<![endif]-->
                    <!--[if lte IE 6]><table><tr><td><![endif]--><ul class="sub">
                        <li><b>Common Searches</b></li>
                        <li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a></li>
                        <li><a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></li>
                        <!-- IF S_USER_LOGGED_IN -->
                        <li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li>
                        <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li>
                        <!-- ENDIF -->
                        <li><b>Custom Searches</b></li>
                        <li><a href="{U_SEARCH}">Advanced Search</a></li>
                    </ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
                </li>
                <!-- ENDIF -->
                <li class="top"><a href="#" id="phpbbresources" class="top_link"><span class="down">Links</span><!--[if gte IE 7]><!--></a><!--<![endif]-->
                    <!--[if lte IE 6]><table><tr><td><![endif]--><ul class="sub">
                        <li><b> Premium Members Only</b></li>
                        <li><a href="http://www.pothsprojects.com/autoindex.php">Storage Login</a></li>
                        <li><a href="http://www.pothsprojects.com/viewforum.php?f=123">Private Forum</a></li>
                        <li><a href="http://www.pothsprojects.com/autoindex.php">Downloads</a></li>
                        
                       
                        <li><b>All Members</b></li>
                        <li><a href="http://www.pothsprojects.com/viewtopic.php?f=143&t=392">Connecting To TS</a></li>
                        <li><a href="http://www.pothsprojects.com/arcade.php">POTHS Arcade</a></li>
                        <li><a href="http://www.pothsprojects.com/mchat.php">POTHS CHAT</a></li>

                        <!-- IF U_ACP -->
                        <li><b>Admin Links</b></li>
                        <li><a href="http://www.pothsprojects.com/adm/index.php">Admin Login</a></li>

                        <!-- ENDIF -->
                    </ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
                </li>
                <!-- IF S_USER_LOGGED_IN -->
                <li class="top"><a href="{U_SEARCH_NEW}" class="top_link"><span>{L_SEARCH_NEW}</span></a></li>
                <!-- ENDIF -->
            </ul>
            
        </div>
        
        <div id="page-header">
		<div class="headerbar">
			<div class="inner"><span class="corners-top"><span></span></span>
			<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
				<br />
			<div id="site-description">
				
				<h1>{SITENAME}</h1>
				<p>{SITE_DESCRIPTION}</p>
				<p style="display: none;"><a href="#start_here">{L_SKIP}</a></p>
			</div>

		<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
			<div id="search-box">
				<form action="{U_SEARCH}" method="post" id="search">
				<fieldset>
					<input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" /> 
					<input class="button2" value="{L_SEARCH}" type="submit" /><br />
					<a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_SEARCH_HIDDEN_FIELDS}
				</fieldset>
				</form>
			</div>
		<!-- ENDIF -->

			<span class="corners-bottom"><span></span></span></div>
		</div>
		
        <!-- IF not $S_IN_PORTAL or not S_DISPLAY_MAINMENU -->
		<div class="navbar">
			<div class="inner"><span class="corners-top"><span></span></span>

			<ul class="linklist navlinks">
				<li class="icon-home"><a href="{U_PORTAL}">{L_PORTAL}</a> &#187; <a href="http://www.pothsprojects.com/arcade.php">Arcade Index</a> &#187;<a href="{U_INDEX}" accesskey="h">{L_INDEX}</a> <!-- BEGIN navlinks --> <strong>&#8249;</strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></li>

				<li class="rightside"><a href="#" onclick="fontsizeup(); return false;" onkeypress="fontsizeup(); return false;" class="fontsize" title="{L_CHANGE_FONT_SIZE}">{L_CHANGE_FONT_SIZE}</a></li>

				<!-- IF U_EMAIL_TOPIC --><li class="rightside"><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}" class="sendemail">{L_EMAIL_TOPIC}</a></li><!-- ENDIF -->
				<!-- IF U_EMAIL_PM --><li class="rightside"><a href="{U_EMAIL_PM}" title="{L_EMAIL_PM}" class="sendemail">{L_EMAIL_PM}</a></li><!-- ENDIF -->
				<!-- IF U_PRINT_TOPIC --><li class="rightside"><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}" accesskey="p" class="print">{L_PRINT_TOPIC}</a></li><!-- ENDIF -->
				<!-- IF U_PRINT_PM --><li class="rightside"><a href="{U_PRINT_PM}" title="{L_PRINT_PM}" accesskey="p" class="print">{L_PRINT_PM}</a></li><!-- ENDIF -->
			</ul>

			<span class="corners-bottom"><span></span></span></div>
		</div>
		<!-- ENDIF -->

	</div>

	<a name="start_here"></a>
	<div id="page-body">
		
		 <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) --> 
		<div id="message" class="rules">
			<div class="inner"><span class="corners-top"><span></span></span>
				<strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED}
			<span class="corners-bottom"><span></span></span></div>
		</div>
		<!-- ENDIF -->
Last edited by camm15h on Tue Oct 20, 2009 12:24 pm, edited 1 time in total.
Reason: Code tags added.
chuxy
Registered User
Posts: 68
Joined: Fri Sep 04, 2009 5:18 pm

Re: mChat

Post by chuxy »

If you use large (1000px's) and static background on you forum, the mchat shoubox than has a small lag problem when scrolling. This only happens in Mozilla. In IE6+, Opera, Google Chrome, Safari not..
sentinelace
Registered User
Posts: 151
Joined: Wed Nov 19, 2008 7:17 pm

Re: mChat

Post by sentinelace »

I am using glacier. When it says to find this:

Code: Select all

<li class="icon-bump"><a href="{ROOT_PATH}mchat.php" title="mChat">mChat</a></li>
I do not have that. What am I supposed to do? I am at the end of this installl too....LOL
sentinelace
Registered User
Posts: 151
Joined: Wed Nov 19, 2008 7:17 pm

Upgrade errors

Post by sentinelace »

I have obviously missed something. I get this error when I try to go into the mod chat config in control panel.


General Error

Code: Select all

template->_tpl_load_file(): File ./style/acp_mchat.html does not exist or is empty
daev95
Registered User
Posts: 8
Joined: Sun Oct 11, 2009 10:54 pm

Re: mChat

Post by daev95 »

hi installed the chat right but i dunno how to show it in bf vista style can you help me please i cant find the lines to replace in the overall_header and i dunno how to change the color to match style this is the overall header:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />

<!--[if lt IE 7]>
<script language="JavaScript">
function correctPNG() // correctly handle PNG transparency in Win IE 5.5 & 6.
{
   var arVersion = navigator.appVersion.split("MSIE")
   var version = parseFloat(arVersion[1])
   if ((version >= 5.5) && (document.body.filters))
   {
      for(var i=0; i<document.images.length; i++)
      {
         var img = document.images[i]
         var imgName = img.src.toUpperCase()
         if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
         {
            var imgID = (img.id) ? "id='" + img.id + "' " : ""
            var imgClass = (img.className) ? "class='" + img.className + "' " : ""
            var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
            var imgStyle = "display:inline-block;" + img.style.cssText
            if (img.align == "left") imgStyle = "float:left;" + imgStyle
            if (img.align == "right") imgStyle = "float:right;" + imgStyle
            if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
            var strNewHTML = "<span " + imgID + imgClass + imgTitle
            + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
            + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
            + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>"
            img.outerHTML = strNewHTML
            i = i-1
         }
      }
   }
}
window.attachEvent("onload", correctPNG);
</script>
<![endif]-->

<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
	if ({S_NEW_PM})
	{
		popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
	}
<!-- ENDIF -->

function popup(url, width, height, name)
{
	if (!name)
	{
		name = '_popup';
	}

	window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
	return false;
}

function jumpto()
{
	var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
	var perpage = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';

	if (page !== null && !isNaN(page) && page > 0)
	{
		document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * perpage);
	}
}

/**
* Find a member
*/
function find_username(url)
{
	popup(url, 760, 570, '_usersearch');
	return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
	var parent = document.getElementById(id);
	if (!parent)
	{
		eval('parent = document.' + id);
	}

	if (!parent)
	{
		return;
	}

	var rb = parent.getElementsByTagName('input');

	for (var r = 0; r < rb.length; r++)
	{
		if (rb[r].name.substr(0, name.length) == name)
		{
			rb[r].checked = state;
		}
	}
}

<!-- IF ._file -->

	/**
	* Play quicktime file by determining it's width/height
	* from the displayed rectangle area
	*
	* Only defined if there is a file block present.
	*/
	function play_qt_file(obj)
	{
		var rectangle = obj.GetRectangle();

		if (rectangle)
		{
			rectangle = rectangle.split(',')
			var x1 = parseInt(rectangle[0]);
			var x2 = parseInt(rectangle[2]);
			var y1 = parseInt(rectangle[1]);
			var y2 = parseInt(rectangle[3]);

			var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
			var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
		}
		else
		{
			var width = 200;
			var height = 0;
		}

		obj.width = width;
		obj.height = height + 16;

		obj.SetControllerVisible(true);

		obj.Play();
	}
<!-- ENDIF -->

// ]]>
</script>
</head>
<body class="{S_CONTENT_DIRECTION}">

<a name="top"></a>

<div id="wrapheader">

	<div id="logodesc">
		<table width="100%" cellspacing="0">
		<tr>
			<td>&nbsp;</td>
			<td align="center"><a href="index.php">Home</a></td>
		  <td align="center"><!-- IF S_DISPLAY_SEARCH --><a href="{U_SEARCH}">{L_SEARCH}</a><!-- ENDIF --></td>
			<td align="center"><!-- IF S_USER_LOGGED_IN --><a href="{U_PROFILE}">Profile</a><!-- ENDIF --></td>
			<td>
				<!-- IF not S_IS_BOT -->
					<!-- IF S_USER_LOGGED_IN -->
						<!-- IF S_DISPLAY_PM --> &nbsp;<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF -->
					<!-- ELSE --> &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a>
					<!-- ENDIF -->
				<!-- ENDIF -->			
			</td>
			<td><!-- IF S_DISPLAY_MEMBERLIST --><a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><!-- ENDIF --></td>
		</tr>		
		<tr>
			<td><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
			<td width="55" align="right" valign="top" class="trans2ON" onmouseover="this.className='trans2OFF'" onmouseout="this.className='trans2ON'"><a href="index.php"><img src="{T_THEME_PATH}/images/home.png" width="50" height="50" alt="*" /></td>			
			<td width="55" align="right" valign="top" class="trans2ON" onmouseover="this.className='trans2OFF'" onmouseout="this.className='trans2ON'"><a href="{U_SEARCH}"><img src="{T_THEME_PATH}/images/search.png" width="50" height="50" alt="*" /></a></td>
			<td width="55" align="right" valign="top" class="trans2ON" onmouseover="this.className='trans2OFF'" onmouseout="this.className='trans2ON'"><a href="{U_PROFILE}"><img src="{T_THEME_PATH}/images/cpanel.png" width="50" height="50" alt="*" /></a></td>
			<td width="55" align="right" valign="top" class="trans2ON" onmouseover="this.className='trans2OFF'" onmouseout="this.className='trans2ON'"><a href="{U_PRIVATEMSGS}"><img src="{T_THEME_PATH}/images/messages.png" width="50" height="50" alt="*" /></a></td>
			<td width="55" align="right" valign="top" class="trans2ON" onmouseover="this.className='trans2OFF'" onmouseout="this.className='trans2ON'"><a href="{U_MEMBERLIST}"><img src="{T_THEME_PATH}/images/members.png" width="50" height="50" alt="*" /></a></td>
		</tr>
		</table>
	</div>

	<div id="menubar">
		<table width="100%" cellspacing="0">
		<tr>
			<td class="genmed">
				<!-- IF not S_IS_BOT --><a href="{U_LOGIN_LOGOUT}"><img src="{T_THEME_PATH}/images/pip.png" width="20" height="17" alt="*" /> {L_LOGIN_LOGOUT}</a>&nbsp;<!-- ENDIF -->
				<!-- IF U_RESTORE_PERMISSIONS --> &nbsp;<a href="{U_RESTORE_PERMISSIONS}"><img src="{T_THEME_PATH}/images/pip.png" width="20" height="17" alt="*" /> {L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
				<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> &nbsp;<span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF -->
				<!-- IF not S_IS_BOT -->
					<!-- IF S_USER_LOGGED_IN -->
						<!-- IF S_DISPLAY_PM --> &nbsp;<a href="{U_PRIVATEMSGS}"><img src="{T_THEME_PATH}/images/pip.png" width="20" height="17" alt="*" /> {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF -->
					<!-- ELSEIF S_REGISTER_ENABLED --> &nbsp;<a href="{U_REGISTER}"><img src="{T_THEME_PATH}/images/pip.png" width="20" height="17" alt="*" /> {L_REGISTER}</a>
					<!-- ENDIF -->
				<!-- ENDIF -->
			</td>
			<td class="genmed" align="{S_CONTENT_FLOW_END}">
				<a href="{U_FAQ}"><img src="{T_THEME_PATH}/images/pip.png" width="20" height="17" alt="*" /> {L_FAQ}</a>
				<!-- IF S_DISPLAY_SEARCH -->&nbsp; &nbsp;<a href="{U_SEARCH}"><img src="{T_THEME_PATH}/images/pip.png" width="20" height="17" alt="*" /> {L_SEARCH}</a><!-- ENDIF -->
				<!-- IF not S_IS_BOT -->
					<!-- IF S_DISPLAY_MEMBERLIST -->&nbsp; &nbsp;<a href="{U_MEMBERLIST}"><img src="{T_THEME_PATH}/images/pip.png" width="20" height="17" alt="*" /> {L_MEMBERLIST}</a><!-- ENDIF -->
					<!-- IF S_USER_LOGGED_IN -->&nbsp; &nbsp;<a href="{U_PROFILE}"><img src="{T_THEME_PATH}/images/pip.png" width="20" height="17" alt="*" /> {L_PROFILE}</a><!-- ENDIF -->
				<!-- ENDIF -->
			</td>
		</tr>
		</table>
	</div>

	<div id="datebar">
		<table width="100%" cellspacing="0">
		<tr>
			<td class="gensmall"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF --></td>
			<td class="gensmall" align="{S_CONTENT_FLOW_END}">{CURRENT_TIME}</td>
		</tr>
		</table>
	</div>

</div>

<div id="wrapcentre">

	<!-- IF S_DISPLAY_SEARCH -->
	<p class="searchbar">
		<span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></span>
		<!-- IF S_USER_LOGGED_IN -->
		<span style="float: {S_CONTENT_FLOW_END};"><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><!-- IF not S_IS_BOT and U_MARK_FORUMS --> | <a href="{U_MARK_FORUMS}">{L_MARK_FORUMS_READ}</a><!-- ENDIF --></span>
		<!-- ENDIF -->
	</p>
	<!-- ENDIF -->

	<br style="clear: both;" />

	<!-- INCLUDE breadcrumbs.html -->

	<br />
thx!!!!
User avatar
RMcGirr83
Former Team Member
Posts: 22072
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Upgrade errors

Post by RMcGirr83 »

sentinelace wrote:I have obviously missed something. I get this error when I try to go into the mod chat config in control panel.


General Error

Code: Select all

template->_tpl_load_file(): File ./style/acp_mchat.html does not exist or is empty
Wrong topic
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
sentinelace
Registered User
Posts: 151
Joined: Wed Nov 19, 2008 7:17 pm

Re: mChat

Post by sentinelace »

mikey12561 wrote:I know you have probably gotten this numerous of times and I don't want to seem like a pain. I've gone through every page on here looking for some support and everyone that has the same problem as I do I do what that support thing says and I get nothing.

So this is the thing. I type a message and hit send nothing happens I mean nothing. Could you list everything that would cause this.
I have the same problem. Did you resolve this?
User avatar
bbtestman
Registered User
Posts: 7
Joined: Wed Sep 09, 2009 11:03 pm

Re: mChat

Post by bbtestman »

In search of my problem for chatting with registered users only I found a simple option for excluding guests.
demo at http://colombia.sitioso.com
In styles\yourstyle\template\index_body.html EDIT the following
<!-- INCLUDE forumlist_body.html -->

<!-- IF S_USER_LOGGED_IN and not S_IS_BOT -->
<!-- INCLUDE mchat_body.html -->
<!-- ENDIF -->
Furthermore
In styles\yourstyle\template\overall_header.html EDIT the following
<!-- IF S_USER_LOGGED_IN -->
<li class="icon-bump"><a href="{U_MCHAT}" title="mChat">miniChat</a></li>
<!-- ENDIF -->
Effect is : No guests allowed and no minichat (options) visual.

I hope I helped someone with this.
But my problem still exist. When users want at the minichat only they have to select minichat button at the right menu above. But when clicking on it, causes a logoff of the registered user.
Who solved this problem?
User avatar
bbtestman
Registered User
Posts: 7
Joined: Wed Sep 09, 2009 11:03 pm

Re: mChat

Post by bbtestman »

Who has solved the problem with mchat AND internet explorer 7 en 8 ?
Because with opera and firefox members are displayed in the box and with IE7 OR IE8 not.
Last edited by bbtestman on Tue Oct 20, 2009 10:12 pm, edited 1 time in total.
sentinelace
Registered User
Posts: 151
Joined: Wed Nov 19, 2008 7:17 pm

Re: mChat

Post by sentinelace »

daxguy_016 wrote:hey guys.. i have a minor problem with the mchat its working for me.. i jus wanted to know if i could change the order of the new messages.. the new messages are appearing on top and moving down accordingly i want the new msgs to 1st appear below and than move up as new msgs apear.. in short want to change the order of the new msgs..

can anyone telme how can i change the refresh time from 10sec to 5 sec??
was this answered? I would like to do this as well.
XFreeRollaX
Registered User
Posts: 5
Joined: Wed Oct 21, 2009 8:18 am

Re: mChat

Post by XFreeRollaX »

sentinelace wrote:
daxguy_016 wrote:hey guys.. i have a minor problem with the mchat its working for me.. i jus wanted to know if i could change the order of the new messages.. the new messages are appearing on top and moving down accordingly i want the new msgs to 1st appear below and than move up as new msgs apear.. in short want to change the order of the new msgs..

can anyone telme how can i change the refresh time from 10sec to 5 sec??
was this answered? I would like to do this as well.
I want to do this too


Aditionally, how do I relocate mchat to the BOTTOM of the Index page? Just under statistics could be nice

networkedgamers.com
sentinelace
Registered User
Posts: 151
Joined: Wed Nov 19, 2008 7:17 pm

Re: mChat

Post by sentinelace »

I am getting "You are not authorised to access this area." for some users. Any idea?
isNumB
Registered User
Posts: 86
Joined: Thu Aug 06, 2009 7:59 am

Re: mChat

Post by isNumB »

can you change the hover effect color???

Return to “[3.0.x] MOD Database Releases”