mchat don't work on phpbb3 bbcodes premod!
mchat don't work on phpbb3 bbcodes premod!
there are any problems: mchat go in conflict with the styles, i think the jquery is the problem....
I'm sorry for my english....
I'm sorry for my english....
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
mchat don't work on phpbb3 bbcodes premod!
You are right. When installing mchat you install jquery again.
Delete the mchat jquery line in overall_header.html
Delete the mchat jquery line in overall_header.html
Board rules! No PM support
mchat don't work on phpbb3 bbcodes premod!
ok now the style work, but the emoticon and bbcode of mchat don't working
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
mchat don't work on phpbb3 bbcodes premod!
Thats probably a mchat install issue.
Post up your overall_header.html and i will have a look.
Post up your overall_header.html and i will have a look.
Board rules! No PM support
mchat don't work on phpbb3 bbcodes premod!
ok thanks
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="keywords" content="" />
<meta name="description" content="" />
{META}
<title><!-- IF S_IN_MCP -->{L_MCP} • {PAGE_TITLE}<!-- ELSEIF S_IN_UCP -->{L_UCP} • {PAGE_TITLE}<!-- ELSEIF SCRIPT_NAME == "viewtopic" -->{PAGE_TITLE} - {FORUM_NAME}<!-- ELSEIF SCRIPT_NAME == "viewforum" -->{FORUM_NAME}<!-- ELSE -->{SITENAME} • {PAGE_TITLE}<!-- ENDIF --></title>
<!-- IF S_ERROR_PAGE -->
<base href="{U_FORUM_BASE}" />
<!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS -->
<!-- IF S_ENABLE_FEEDS_OVERALL --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" /><!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{U_FEED}?mode=forums" /><!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_NEW}" href="{U_FEED}?mode=topics" /><!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_TOPICS_ACTIVE --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_ACTIVE}" href="{U_FEED}?mode=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="{U_FEED}?f={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="{U_FEED}?f={S_FORUM_ID}&t={S_TOPIC_ID}" /><!-- ENDIF -->
<!-- ENDIF -->
<!--
phpBB style name: prosilver Special Edition
Based on style: prosilver (this is the default phpBB3 style)
Original author: Tom Beddard ( http://www.subblue.com/ )
Modified by: phpBB Styles Team
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 and 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_SUPER_TEMPLATE_PATH}/styleswitcher.js"></script>
<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/forum_fn.js"></script>
<script type="text/javascript" src="{ROOT_PATH}script/jquery-1.5.2.min.js"></script>
<script type="text/javascript" src="{ROOT_PATH}script/collapse/jquery.cookie.js"></script>
<script type="text/javascript" src="{ROOT_PATH}script/collapse/jquery.collapse.js"></script>
<!-- IF SCRIPT_NAME == "viewtopic" or SCRIPT_NAME == "posting" -->
<script type="text/javascript" src="{ROOT_PATH}script/charCount.js"></script>
<!-- ENDIF -->
<!-- IF SCRIPT_NAME == "viewtopic" or SCRIPT_NAME == "viewforum" -->
<script type="text/javascript" src="{ROOT_PATH}script/prettySociable/js/jquery.prettySociable.js"></script>
<!-- ENDIF -->
<script type="text/javascript" src="{ROOT_PATH}script/prettyphoto/jquery.prettyPhoto.js"></script>
<script type="text/javascript">
// <![CDATA[
$(document).ready(function(){
$("a[rel^='prettyPhoto']").prettyPhoto();
<!-- IF SCRIPT_NAME == "viewtopic" or SCRIPT_NAME == "viewforum" -->
$.prettySociable();
<!-- ENDIF -->
<!-- IF SCRIPT_NAME == "viewtopic" or SCRIPT_NAME == "posting" -->
$(".messagecount").charCount();
<!-- ENDIF -->
$( '.onerror' ).error( function () { this.src = '{ROOT_PATH}images/brokenimage.png'; } );
$('a[href=#wrap]').click(function(){
$('html, body').animate({scrollTop: 0}, 'slow');
return false;
});
});
// ]]>
</script>
<!--[if lte IE 6]><script src="{ROOT_PATH}script/prettySociable/js/DD_belatedPNG.js" type="text/javascript"></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="{ROOT_PATH}script/prettyphoto/css/prettyPhoto.css" rel="stylesheet" type="text/css" />
<!-- IF SCRIPT_NAME == "viewtopic" or SCRIPT_NAME == "viewforum" -->
<link rel="stylesheet" href="{ROOT_PATH}script/prettySociable/css/prettySociable.css" type="text/css" media="screen" />
<!-- ENDIF -->
<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}">
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT and not S_IN_UCP -->
<div id="info"><div id="infobar">
<a href="{U_REGISTER}"><img style="width: 50px; height: 50px; padding-right: 100px; vertical-align:middle;" alt="" src="{T_THEME_PATH}/images/reg.png" />{L_PMG_WELCOME} {SITENAME}. {L_PMG_REGISTER}<img style="width: 50px; height: 50px; padding-left:100px; vertical-align:middle;" alt="" src="{T_THEME_PATH}/images/reg.png" /></a>
</div></div>
<!-- ENDIF -->
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN and S_USER_PM_POPUP and S_DISPLAY_PM and (S_USER_NEW_PRIVMSG or S_USER_UNREAD_PRIVMSG) -->
<div id="info"><div id="infobar">
<a href="{U_PRIVATEMSGS}"><img style="width:50px; height: 50px; padding-right: 100px; vertical-align:middle;" alt="" src="{T_THEME_PATH}/images/mail.png" />{L_PMG_HELLO} {S_USERNAME} {L_PMG_YOUHAVE} {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD --> {L_PMG_AND} {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --><img style="width: 50px; height: 50px; padding-left:100px; vertical-align:middle;" alt="" src="{T_THEME_PATH}/images/mail.png" /></a>
</div></div>
<!-- ENDIF -->
<div id="wrap">
<div class="border-left">
<div class="border-right">
<div class="border-top">
<div class="border-top-left">
<div class="border-top-right">
<div class="inside" style="direction: {S_CONTENT_DIRECTION}; ">
<a id="top" name="top" accesskey="t"></a>
<div id="page-header">
<!-- IF SCRIPT_NAME == "faq" --><div class="header-bar" style="background-image: url({T_THEME_PATH}/images/bg_header34.jpg); background-position: top;">
<!-- ELSEIF SCRIPT_NAME == "search" --><div class="header-bar" style="background-image: url({T_THEME_PATH}/images/bg_header37.jpg); background-position: top;">
<!-- ELSEIF SCRIPT_NAME == "memberlist" --><div class="header-bar" style="background-image: url({T_THEME_PATH}/images/bg_header4.jpg); background-position: top;">
<!-- ELSEIF SCRIPT_NAME == "ucp" --><div class="header-bar" style="background-image: url({T_THEME_PATH}/images/bg_header27.jpg); background-position: top;">
<!-- ELSEIF SCRIPT_NAME == "viewtopic" --><div class="header-bar" style="background-image: url({T_THEME_PATH}/images/bg_header30.jpg); background-position: top;">
<!-- ELSEIF SCRIPT_NAME == "viewforum" --><div class="header-bar" style="background-image: url({T_THEME_PATH}/images/bg_header26.jpg); background-position: top;">
<!-- ELSEIF SCRIPT_NAME == "mcp" --><div class="header-bar" style="background-image: url({T_THEME_PATH}/images/bg_header36.jpg); background-position: top;">
<!-- ELSEIF SCRIPT_NAME == "posting" --><div class="header-bar" style="background-image: url({T_THEME_PATH}/images/bg_header29.jpg); background-position: top;">
<!-- ELSEIF SCRIPT_NAME == "portal" --><div class="header-bar" style="background-image: url({T_THEME_PATH}/images/bg_header20.jpg); background-position: top;">
<!-- ELSEIF SCRIPT_NAME == "donate" --><div class="header-bar" style="background-image: url({T_THEME_PATH}/images/bg_header15.jpg); background-position: top;">
<!-- ELSEIF S_IN_FAKEMODCP --><div class="header-bar" style="background-image: url({T_THEME_PATH}/images/bg_header14.jpg); background-position: top;">
<!-- ELSEIF S_ERROR_PAGE --><div class="header-bar" style="background-image: url({T_THEME_PATH}/images/bg_header12.jpg); background-position: top;">
<!-- ELSE --><div class="header-bar"><!-- ENDIF -->
<span class="corners-top"><span></span></span>
<div id="board-description">
<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
<p class="skiplink"><a href="#start_here">{L_SKIP}</a></p>
</div>
</div>
<div id="menu">
<div id="menu_corner"></div>
<ul>
<li<!-- IF SCRIPT_NAME == "portal" --> class="menu_button_active"<!-- ELSE --> class="menu_button"<!-- ENDIF -->><a href="{U_PORTAL}"><span>Portale</span></a></li>
<li<!-- IF SCRIPT_NAME == "index" or SCRIPT_NAME == "viewforum" or SCRIPT_NAME == "viewtopic" or SCRIPT_NAME == "posting" or SCRIPT_NAME == "faq" or SCRIPT_NAME == "memberlist" or SCRIPT_NAME == "ucp" --> class="menu_button_active"<!-- ELSE --> class="menu_button"<!-- ENDIF -->><a href="{U_INDEX}"><span>Forum</span></a></li>
<!-- IF S_DISPLAY_SEARCH -->
<li<!-- IF SCRIPT_NAME == "search" --> class="menu_button_active"<!-- ELSE --> class="menu_button"<!-- ENDIF -->><a href="{U_SEARCH}"><span>Cerca</span> {S_SEARCH_HIDDEN_FIELDS}</a></li>
<!-- ENDIF -->
<!-- IF U_ACP --><li class="menu_button"><a href="{U_ACP}"><span>ACP</span></a></li><!-- ENDIF -->
<!-- IF U_MCP --><li class="menu_button"><a href="{U_MCP}"><span>MCP</span></a></li><!-- ENDIF -->
</ul>
<div id="menu_corner_right"></div>
<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
<div id="top-search">
<form action="{U_SEARCH}" method="post" id="search">
<fieldset>
<input name="keywords" class="search-input" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" 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}';" />
</fieldset>
</form>
</div>
<!-- ENDIF -->
</div>
<div class="navbar">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="linklist navlinks">
<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a> <!-- BEGIN navlinks --> <strong>‹</strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></li>
<li class="rightside"><a href="#" onclick="fontsizeup(); return false;" onkeypress="return fontsizeup(event);" 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>
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
<ul class="linklist leftside">
<li class="icon-ucp">
<a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="e">{L_PROFILE}</a>
<!-- IF S_DISPLAY_PM --> (<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>)<!-- ENDIF -->
<!-- IF S_DISPLAY_SEARCH --> •
<a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>
<!-- ENDIF -->
<!-- IF U_RESTORE_PERMISSIONS --> •
<a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a>
<!-- ENDIF -->
</li>
</ul>
<!-- ENDIF -->
<ul class="linklist rightside">
<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
<!-- IF S_MCHAT_ENABLE and U_MCHAT --><li class="icon-bump"><a href="{U_MCHAT}#mChat" title="{L_MCHAT_TITLE}">{L_MCHAT_TITLE}</a></li><!-- ENDIF -->
<!-- IF not S_IS_BOT -->
<!-- IF S_DISPLAY_MEMBERLIST --><li class="icon-members"><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --><li class="icon-register"><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->
<li class="icon-logout"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x">{L_LOGIN_LOGOUT}</a></li>
<!-- ENDIF -->
</ul>
<span class="corners-bottom"><span></span></span></div>
</div>
</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="information" 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 -->
<div class="forabg">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="topiclist">
<li class="header">
<dl class="icon">
<dt>Advertising</dt>
</dl>
</li>
</ul>
<ul class="topiclist forums">
<li>
<div class="content" style="width:auto; height:auto; padding:10px; padding-bottom:5px;">
<div align=center>
<script type="text/javascript">
//<![CDATA[
document.write('<s'+'cript type="text/javascript" src="http://ad.altervista.org/js.ad/size=728X90/r='+new Date().getTime()+'"><\/s'+'cript>');
//]]>
</script>
</div>
</div>
</li>
</ul>
<span class="corners-bottom"><span></span></span></div>
</div>
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
mchat don't work on phpbb3 bbcodes premod!
You were only supposed to take out 1 single line from the mchat edit.
Only the jquery js line.
Only the jquery js line.
Board rules! No PM support
mchat don't work on phpbb3 bbcodes premod!
I have deleted :
I only delete
?
I'm sorry but I do not understand much English and are not an expert in php etc.
Code: Select all
<!-- IF S_MCHAT_ENABLE and (S_MCHAT_ON_INDEX or U_MCHAT) -->
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery-1.5.0.min.js"></script>
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_cookie_mini.js"></script>
<!-- ENDIF -->
Code: Select all
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_cookie_mini.js"></script>
I'm sorry but I do not understand much English and are not an expert in php etc.
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
mchat don't work on phpbb3 bbcodes premod!
Nope, this one should be deleted:
Code: Select all
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery-1.5.0.min.js"></script>
Board rules! No PM support
mchat don't work on phpbb3 bbcodes premod!
Now I deleted
but don't working
Code: Select all
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery-1.5.0.min.js"></script>
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
mchat don't work on phpbb3 bbcodes premod!
Then check your edits for the mchat mod.
It has nothing to do with the premod.
It has nothing to do with the premod.
Board rules! No PM support