Mchat only downstairs

Support area for phpBB's mChat extension
marrat
Posts: 4
Joined: 03 May 2020, 13:03

Mchat only downstairs

#1

Post by marrat » 03 May 2020, 13:08

HI,
I installed mchat on my forum. I wish he was upstairs and he is downstairs all the time and it can't be changed. My templates are eles.
Anyone help?

User avatar
kasimi
mChat developer
Posts: 1056
Joined: 06 Oct 2016, 09:56
Location: Germany
Contact:

Re: Mchat only downstairs

#2

Post by kasimi » 03 May 2020, 13:32

Hi marrat, I have replied in your support topic: https://www.phpbb.com/customise/db/exte ... pic/217551

marrat
Posts: 4
Joined: 03 May 2020, 13:03

Re: Mchat only downstairs

#3

Post by marrat » 03 May 2020, 13:56




and mChat all the time down

User avatar
kasimi
mChat developer
Posts: 1056
Joined: 06 Oct 2016, 09:56
Location: Germany
Contact:

Re: Mchat only downstairs

#4

Post by kasimi » 03 May 2020, 14:34

Is mChat displayed at the top when you use prosilver?

marrat
Posts: 4
Joined: 03 May 2020, 13:03

Re: Mchat only downstairs

#5

Post by marrat » 03 May 2020, 14:35

yes

User avatar
kasimi
mChat developer
Posts: 1056
Joined: 06 Oct 2016, 09:56
Location: Germany
Contact:

Re: Mchat only downstairs

#6

Post by kasimi » 03 May 2020, 14:42

In that case your style doesn't have the template event index_body_markforums_before. You should let the developers know so that they can fix it. In the meantime, open overall_header.html and place this line of code where you want to display mChat when location = top is selected.

Code: Select all

{% EVENT index_body_markforums_before %}

marrat
Posts: 4
Joined: 03 May 2020, 13:03

Re: Mchat only downstairs

#7

Post by marrat » 03 May 2020, 15:12

Code: Select all

<!DOCTYPE html>
<html id="eles" lang="{S_USER_LANG}">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1" />
{META}
<title><!-- IF UNREAD_NOTIFICATIONS_COUNT -->({UNREAD_NOTIFICATIONS_COUNT}) <!-- ENDIF --><!-- IF not S_VIEWTOPIC and not S_VIEWFORUM -->{SITENAME} - <!-- ENDIF --><!-- IF S_IN_MCP -->{L_MCP} - <!-- ELSEIF S_IN_UCP -->{L_UCP} - <!-- ENDIF -->{PAGE_TITLE}<!-- IF S_VIEWTOPIC or S_VIEWFORUM --> - {SITENAME}<!-- ENDIF --></title>

<!-- IF S_ENABLE_FEEDS -->
	<!-- IF S_ENABLE_FEEDS_OVERALL --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{{ path('phpbb_feed_index') }}"><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{{ path('phpbb_feed_news') }}"><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{{ path('phpbb_feed_forums') }}"><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_NEW}" href="{{ path('phpbb_feed_topics') }}"><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_TOPICS_ACTIVE --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_ACTIVE}" href="{{ path('phpbb_feed_topics_active') }}"><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{{ path('phpbb_feed_forum', { forum_id : S_FORUM_ID } ) }}"><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{{ path('phpbb_feed_topic', { topic_id : S_TOPIC_ID } ) }}"><!-- ENDIF -->
	<!-- EVENT overall_header_feeds -->
<!-- ENDIF -->

<!-- IF U_CANONICAL -->
	<link rel="canonical" href="{U_CANONICAL}">
<!-- ENDIF -->


<link href="{ROOT_PATH}styles/eles/theme/bootstrap.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet" />




<link href="{T_STYLESHEET_LINK}" rel="stylesheet">

<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
	<link href="{ROOT_PATH}styles/eles/theme/bidi.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet">
<!-- ENDIF -->

<!-- IF S_COOKIE_NOTICE -->
	<link href="{T_ASSETS_PATH}/cookieconsent/cookieconsent.min.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet">
<!-- ENDIF -->

<!--[if lte IE 9]>
	<link href="{ROOT_PATH}styles/eles/theme/ie.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet">
	<script src="//oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
	<script src="//oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->

<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,300,400italic,600,700,800" rel="stylesheet" type="text/css">

<!-- EVENT overall_header_head_append -->

{$STYLESHEETS}

<!-- EVENT overall_header_stylesheets_after -->

</head>

<body id="phpbb" class="nojs notouch section-{SCRIPT_NAME} {S_CONTENT_DIRECTION} {BODY_CLASS} {C_STYLE_CORNERS} {C_PARENT_THEME} {C_LAYOUT_MODE}">
<!-- EVENT overall_header_body_before -->
<div id="wrap">
	<a id="top" class="anchor" accesskey="t"></a>

	<header id="page-header">
		{% include "inc/header.html" %}
	</header>

	<!-- EVENT overall_header_page_body_before -->

	<a id="start_here" class="anchor"></a>

	<div id="page-body" role="main">
		<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) -->
		<div id="information" class="rules">
			<div class="inner">
				<strong>{L_INFORMATION}{L_COLON}</strong> {L_BOARD_DISABLED}
			</div>
		</div>
		<!-- ENDIF -->

		<!-- EVENT overall_header_content_before -->
I totally don't know where to put it

User avatar
kasimi
mChat developer
Posts: 1056
Joined: 06 Oct 2016, 09:56
Location: Germany
Contact:

Re: Mchat only downstairs

#8

Post by kasimi » 03 May 2020, 15:15

I'm not familiar with the style so I don't know either. Try at the bottom of the file. If mChat doesn't show up where you want, try somewhere else. You can't really break much. :)

terry2
Donor
Posts: 215
Joined: 22 Oct 2016, 18:22
Location: My castle

Re: Mchat only downstairs

#9

Post by terry2 » 04 May 2020, 11:51

Add it the the index_body.html

Code: Select all

{% EVENT index_body_markforums_before %}

User avatar
kasimi
mChat developer
Posts: 1056
Joined: 06 Oct 2016, 09:56
Location: Germany
Contact:

Re: Mchat only downstairs

#10

Post by kasimi » 04 May 2020, 14:02

Ah, of course it should be index_body.html and not overall_header.html, my bad.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest