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.
User avatar
jeffm2008
Registered User
Posts: 84
Joined: Tue Sep 29, 2009 12:31 pm

Re: mChat

Post by jeffm2008 »

Only change the "<!-- INCLUDE mchat_body.html -->" place in the index_body.html file.

Worked like a charm! Thing of beauty! very impressive mod...thank you very much for this!
Last edited by jeffm2008 on Sun Oct 11, 2009 12:55 pm, edited 1 time in total.
User avatar
wang5555
Translator
Posts: 625
Joined: Wed Oct 27, 2004 2:57 pm
Location: Taiwan

Re: mChat

Post by wang5555 »

daxguy_016 wrote:i did the change but there is no affect...
Did you purge the cache?
It is more blessed to give than to reveive, good luck! ^_^
Welcome to my forum
https://wang5555.dnsfor.me/phpBB3/
User avatar
jeffm2008
Registered User
Posts: 84
Joined: Tue Sep 29, 2009 12:31 pm

Re: mChat

Post by jeffm2008 »

wang5555 wrote:
daxguy_016 wrote:i did the change but there is no affect...
Did you purge the cache?
Yeah...do what he said..purge the cache...it works! :)
Last edited by quahappy on Mon Oct 12, 2009 1:39 pm, edited 1 time in total.
Reason: Link in post removed - not needed. Thanks.
bloodmage
Registered User
Posts: 52
Joined: Sun May 17, 2009 9:04 pm

Re: mChat

Post by bloodmage »

hello board i have two question .

one : how to put the chat on all pages ? as in a reply page all peoples can view the chat and talk in too .

two : can i put the logo when a peoples talk in the box ?

thanks in advance bloodmage .
User avatar
Peetra
Registered User
Posts: 291
Joined: Mon Jun 04, 2007 1:41 pm
Location: Kokkola, Finland

Re: mChat

Post by Peetra »

bloodmage wrote:one : how to put the chat on all pages ? as in a reply page all peoples can view the chat and talk in too .
Try this: Ignore the edit for index_body.html and put

Code: Select all

<!-- INCLUDE mchat_body.html -->
in overall_header.html or overall_footer.html instead.
I am so hooked on bubbles, that I made a Bubble Witch Saga WP-site! Most addictive game since Tetris!
bloodmage
Registered User
Posts: 52
Joined: Sun May 17, 2009 9:04 pm

Re: mChat

Post by bloodmage »

hello so i have a problem when i put the code on the overall header
problem copy code :

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 15393 bytes) in /homez.99/robpleas/www/forum/includes/functions_template.php on line 103

whut i need doeing

and i want too a reply for my 2nd question :

can i add avatar when people talking on chat ?
isNumB
Registered User
Posts: 86
Joined: Thu Aug 06, 2009 7:59 am

Re: mChat

Post by isNumB »

i installed it finally... great mod. Anyway, to change width and height you have to find the values in mchat_body.html, isn't it?

EDIT: I've found where to change those values. Thanks anyway. :)
EDIT No.2: Where can i change the box height for the message. e.g. when i make the height of the entire mchat body to 100px it only fits in it 2 messages. But i want to fix 5... so how can i change the height of the message box. Thanks.
sentinelace
Registered User
Posts: 151
Joined: Wed Nov 19, 2008 7:17 pm

Re: mChat

Post by sentinelace »

yeah this mod rocks. Is there anything we can add? Avatars? Currently chatting?

Also when a guest logs in it gives "Access Denied". Can I customize this message? For example: "Please register to chat".????

Works great!
isNumB
Registered User
Posts: 86
Joined: Thu Aug 06, 2009 7:59 am

Re: mChat

Post by isNumB »

sentinelace wrote:yeah this mod rocks. Is there anything we can add? Avatars? Currently chatting?

Also when a guest logs in it gives "Access Denied". Can I customize this message? For example: "Please register to chat".????

Works great!
this doesn't happen to me. curious...
sentinelace
Registered User
Posts: 151
Joined: Wed Nov 19, 2008 7:17 pm

Re: mChat

Post by sentinelace »

fixed it. I accidently gave all users FALSE lol instead of just guest.
User avatar
waxxie
Registered User
Posts: 119
Joined: Fri Oct 16, 2009 5:21 pm

Re: mChat

Post by waxxie »

I installed this MOD on phpBB 3.05 and it works great.

The only issue I had was with the CSS/JS includes, which would cause a load conflict.
What was happening was that there would be a white page with no styles while the browser loaded the JS/CSS before your sites CSS/JS. This was resulting in the style-less page. You can usually see this when you "logout".

In my forum I just use the chat on its own, not within my actual forum index file.

the solution for me in this case was to remove

Code: Select all

<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>
from the overall_header.html of my style and instead place it in the mchat_body.html file

Code: Select all

<!-- IF MCHAT_ARCHIVE_MODE or MCHAT_CUSTOM_PAGE -->
<!-- INCLUDE overall_header.html -->
<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>
<!-- ENDIF -->
This guarantees that your own styles/JS load BEFORE the mchats.
Resulting in no style disturbances.

ENJOY!
:D
User avatar
muggins
Registered User
Posts: 1183
Joined: Fri Feb 22, 2008 5:12 pm
Location: Texas
Name: Donovan

Re: mChat

Post by muggins »

Good job! Thanks.
Muggins
sentinelace
Registered User
Posts: 151
Joined: Wed Nov 19, 2008 7:17 pm

Re: mChat

Post by sentinelace »

waxxie wrote:I installed this MOD on phpBB 3.05 and it works great.

The only issue I had was with the CSS/JS includes, which would cause a load conflict.
What was happening was that there would be a white page with no styles while the browser loaded the JS/CSS before your sites CSS/JS. This was resulting in the style-less page. You can usually see this when you "logout".

In my forum I just use the chat on its own, not within my actual forum index file.

the solution for me in this case was to remove

Code: Select all

<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>
from the overall_header.html of my style and instead place it in the mchat_body.html file

Code: Select all

<!-- IF MCHAT_ARCHIVE_MODE or MCHAT_CUSTOM_PAGE -->
<!-- INCLUDE overall_header.html -->
<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>
<!-- ENDIF -->
This guarantees that your own styles/JS load BEFORE the mchats.
Resulting in no style disturbances.

ENJOY!
:D

I want to put the chat in it's own. How is this done?
User avatar
muggins
Registered User
Posts: 1183
Joined: Fri Feb 22, 2008 5:12 pm
Location: Texas
Name: Donovan

Re: mChat

Post by muggins »

At the bottom of mchat.php, there are these lines:

Code: Select all

// Template
if(!$mchat_include_index)
{
  page_header($user->lang['MCHAT_TITLE']);
    $template->set_filenames(array('body' => 'mchat_body.html'));
  page_footer();
} 
The first uncommented line says: "if NOT{the variable that is set when mchat is on the index page}, then do what's in the following curly brackets, which is to output the page...

I'm sure the instructions are in the install.xml, or early on in this thread somewhere. A year ago I might have asked, too. ;)
Muggins
__Vicky__
Registered User
Posts: 22
Joined: Thu Jun 18, 2009 12:25 am

mchat

Post by __Vicky__ »

guys please help me with mchat i'm using Glacier Style

it says to find

Code: Select all

<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
in overall_header.html

and Add after

Code: Select all

<li class="icon-bump"><a href="{ROOT_PATH}mchat.php" title="mChat">mChat</a></li>
but there is no

Code: Select all

<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
in Glacier style overall_header.html

Glacier style overall_header.html:

Code: Select all

/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>

<!--[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">
					<!-- INCLUDE navigation.html -->
				</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 -->
							<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 S_DISPLAY_PHPBB_MENU -->
                    <div class="navbar">
						<div class="inner"><span class="corners-top"><span></span></span>
							<ul class="linklist navlinks">
								<li class="icon-home"><!-- IF U_PORTAL --><a href="{U_PORTAL}">{L_PORTAL}</a> &#187; <!-- ENDIF --><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 -->
                <!-- INCLUDE announcement_centre.html -->

please help

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