Pagina 1 van 1
error na weizigen van overal_header.tpl
Geplaatst: 08 mar 2005, 16:49
door Tiger
Wat is het probleem? Foutmelding na het instaleren van een MOD
Wanneer ontstond het probleem? Direct na de instalatie van de MOD
Adres van je forum: http://213.10.134.211/stamtafel/modules/forums/
Geïnstalleerde mods: PM Popup Blocker Fix
Huidige template: Pixelstyle
phpBB versie: 2.0.13
Host: eigen webserver
Heb je onlangs een mod of stijl geïnstalleerd? ja
Heb je gezocht naar een antwoord? ja
Na het instaleren van een MOD kreeg ik de volgende error
Parse error: syntax error, unexpected $end in d:\wamp\www\stamtafel\modules\Forums\includes\template.php(127) : eval()'d code on line 122
en de template ziet er niet meer uit trekt alles uitelkaar en verliest zijn kleuren.
Zodra ik overall_header.tpl terug zet is het probleem verholpen maar werkt de MOD dus niet de code die ik moest veranderen is
Code: Selecteer alles
#-----[ FIND ]------------------------------------------
#
# NOTE: you will need to do this for all your templates!
#
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
}
//-->
</script>
<!-- END switch_enable_pm_popup -->
#
#-----[ REPLACE WITH ]------------------------------------------
#
<!-- BEGIN switch_enable_pm_popup -->
<script language="javascript" type="text/javascript">
<!--
// MOD: PM Popup Blocker Fix - by tomlevens (tom@tomlevens.co.uk)
// (4 lines replaced - original lines follow)
//
// if ( {PRIVATE_MESSAGE_NEW_FLAG} )
// {
// window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
// }
//
if({PRIVATE_MESSAGE_NEW_FLAG})
{
new_pm_prompt = confirm('{L_PRIVATEMSG_NEW}');
if(new_pm_prompt == true) {
// Redirect to Inbox if OK is clicked
window.location = '{U_PRIVATEMSGS}';
}
else {
// Close prompt if cancel is clicked
}
}
//
// END MOD
//-->
</script>
<!-- END switch_enable_pm_popup -->
Dit heb ik dus ook precies zo gedaan maar dan krijg ik dus de melding iemand een idee wat ik fout doe
Tnx Tiger
Geplaatst: 08 mar 2005, 16:53
door Duifje
Post je overall_header.tpl is.
Geplaatst: 08 mar 2005, 16:57
door Tiger
Code: Selecteer alles
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/PixelStyle/{T_HEAD_STYLESHEET}" type="text/css">
<!-- BEGIN switch_enable_pm_popup -->
<script language="javascript" type="text/javascript">
<!--
// MOD: PM Popup Blocker Fix - by tomlevens (tom@tomlevens.co.uk)
// (4 lines replaced - original lines follow)
//
// if ( {PRIVATE_MESSAGE_NEW_FLAG} )
// {
// window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
// }
//
if({PRIVATE_MESSAGE_NEW_FLAG})
{
new_pm_prompt = confirm('{L_PRIVATEMSG_NEW}');
if(new_pm_prompt == true) {
// Redirect to Inbox if OK is clicked
window.location = '{U_PRIVATEMSGS}';
}
else {
// Close prompt if cancel is clicked
}
}
//
</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}" />
<a name="top"></a>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table border="0" cellpadding="0" cellspacing="0" width="780">
<tr>
<td><img name="pixelstyleindex_r1_c1" src="templates/PixelStyle/images/Head/pixelstyleindex_r1_c1.gif" width="21" height="70" border="0" id="pixelstyleindex_r1_c1" alt="" /></td>
<td><table border="0" cellpadding="0" cellspacing="0" width="738">
<tr>
<td><img name="pixelstyleindex_r1_c2" src="templates/PixelStyle/images/Head/pixelstyleindex_r1_c2.gif" width="738" height="1" border="0" id="pixelstyleindex_r1_c2" alt="" /></td>
</tr>
<tr>
<td><table border="0" cellpadding="0" cellspacing="0" width="738">
<tr>
<td><img name="pixelstyleindex_r2_c2" src="templates/PixelStyle/images/Head/pixelstyleindex_r2_c2.gif" width="127" height="10" border="0" id="pixelstyleindex_r2_c2" alt="" /></td>
<td><img name="pixelstyleindex_r2_c7" src="templates/PixelStyle/images/Head/pixelstyleindex_r2_c7.gif" width="611" height="10" border="0" id="pixelstyleindex_r2_c7" alt="" /></td>
</tr>
</table></td>
</tr>
<tr>
<td><img name="pixelstyleindex_r3_c2" src="templates/PixelStyle/images/Head/pixelstyleindex_r3_c2.gif" width="738" height="13" border="0" id="pixelstyleindex_r3_c2" alt="" /></td>
</tr>
<tr>
<td><table border="0" cellpadding="0" cellspacing="0" width="738">
<tr>
<td><table border="0" cellpadding="0" cellspacing="0" width="24">
<tr>
<td><img name="pixelstyleindex_r4_c2" src="templates/PixelStyle/images/Head/pixelstyleindex_r4_c2.gif" width="24" height="32" border="0" id="pixelstyleindex_r4_c2" alt="" /></td>
</tr>
<tr>
<td><img name="pixelstyleindex_r5_c2" src="templates/PixelStyle/images/Head/pixelstyleindex_r5_c2.gif" width="24" height="3" border="0" id="pixelstyleindex_r5_c2" alt="" /></td>
</tr>
</table></td>
<td><img name="pixelstyleindex_r4_c4" src="templates/PixelStyle/images/Head/pixelstyleindex_r4_c4.gif" width="41" height="35" border="0" id="pixelstyleindex_r4_c4" alt="" /></td>
<td><table border="0" cellpadding="0" cellspacing="0" width="673">
<tr>
<td><img name="pixelstyleindex_r4_c5" src="templates/PixelStyle/images/Head/pixelstyleindex_r4_c5.gif" width="673" height="32" border="0" id="pixelstyleindex_r4_c5" alt="" /></td>
</tr>
<tr>
<td><img name="pixelstyleindex_r5_c5" src="templates/PixelStyle/images/Head/pixelstyleindex_r5_c5.gif" width="673" height="3" border="0" id="pixelstyleindex_r5_c5" alt="" /></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><table border="0" cellpadding="0" cellspacing="0" width="738">
<tr>
<td><img name="pixelstyleindex_r6_c2" src="templates/PixelStyle/images/Head/pixelstyleindex_r6_c2.gif" width="94" height="9" border="0" id="pixelstyleindex_r6_c2" alt="" /></td>
<td><a href="{U_INDEX}"><img name="pixelstyleindex_r6_c6" src="templates/PixelStyle/images/Head/pixelstyleindex_r6_c6.gif" width="38" height="9" border="0" id="pixelstyleindex_r6_c6" alt="{L_INDEX}" /></a></td>
<td><img name="pixelstyleindex_r6_c8" src="templates/PixelStyle/images/Head/pixelstyleindex_r6_c8.gif" width="16" height="9" border="0" id="pixelstyleindex_r6_c8" alt="" /></td>
<td><a href="{U_FAQ}"><img name="pixelstyleindex_r6_c9" src="templates/PixelStyle/images/Head/pixelstyleindex_r6_c9.gif" width="23" height="9" border="0" id="pixelstyleindex_r6_c9" alt="{L_FAQ}" /></a></td>
<td><img name="pixelstyleindex_r6_c10" src="templates/PixelStyle/images/Head/pixelstyleindex_r6_c10.gif" width="19" height="9" border="0" id="pixelstyleindex_r6_c10" alt="" /></td>
<td><a href="{U_SEARCH}"><img name="pixelstyleindex_r6_c11" src="templates/PixelStyle/images/Head/pixelstyleindex_r6_c11.gif" width="47" height="9" border="0" id="pixelstyleindex_r6_c11" alt="{L_SEARCH}" /></a></td>
<td><img name="pixelstyleindex_r6_c12" src="templates/PixelStyle/images/Head/pixelstyleindex_r6_c12.gif" width="21" height="9" border="0" id="pixelstyleindex_r6_c12" alt="" /></td>
<td><a href="{U_MEMBERLIST}"><img name="pixelstyleindex_r6_c13" src="templates/PixelStyle/images/Head/pixelstyleindex_r6_c13.gif" width="77" height="9" border="0" id="pixelstyleindex_r6_c13" alt="{L_MEMBERLIST}" /></a></td>
<td><img name="pixelstyleindex_r6_c14" src="templates/PixelStyle/images/Head/pixelstyleindex_r6_c14.gif" width="18" height="9" border="0" id="pixelstyleindex_r6_c14" alt="" /></td>
<td><a href="{U_GROUP_CP}"><img name="pixelstyleindex_r6_c15" src="templates/PixelStyle/images/Head/pixelstyleindex_r6_c15.gif" width="47" height="9" border="0" id="pixelstyleindex_r6_c15" alt="{L_USERGROUPS}" /></a></td>
<td><img name="pixelstyleindex_r6_c16" src="templates/PixelStyle/images/Head/pixelstyleindex_r6_c16.gif" width="15" height="9" border="0" id="pixelstyleindex_r6_c16" alt="" /></td>
<td><a href="{U_REGISTER}"><img name="pixelstyleindex_r6_c17" src="templates/PixelStyle/images/Head/pixelstyleindex_r6_c17.gif" width="61" height="9" border="0" id="pixelstyleindex_r6_c17" alt="{L_REGISTER}" /></a></td>
<td><img name="pixelstyleindex_r6_c19" src="templates/PixelStyle/images/Head/pixelstyleindex_r6_c19.gif" width="21" height="9" border="0" id="pixelstyleindex_r6_c19" alt="" /></td>
<td><a href="{U_PROFILE}"><img name="pixelstyleindex_r6_c20" src="templates/PixelStyle/images/Head/pixelstyleindex_r6_c20.gif" width="54" height="9" border="0" id="pixelstyleindex_r6_c20" alt="{L_PROFILE}" /></a></td>
<td><img name="pixelstyleindex_r6_c21" src="templates/PixelStyle/images/Head/pixelstyleindex_r6_c21.gif" width="22" height="9" border="0" id="pixelstyleindex_r6_c21" alt="" /></td>
<td><a href="{U_PRIVATEMSGS}"><img name="pixelstyleindex_r6_c22" src="templates/PixelStyle/images/Head/pixelstyleindex_r6_c22.gif" width="63" height="9" border="0" id="pixelstyleindex_r6_c22" alt="{PRIVATE_MESSAGE_INFO}" /></a></td>
<td><img name="pixelstyleindex_r6_c23" src="templates/PixelStyle/images/Head/pixelstyleindex_r6_c23.gif" width="22" height="9" border="0" id="pixelstyleindex_r6_c23" alt="" /></td>
<td><a href="{U_LOGIN_LOGOUT}"><img name="pixelstyleindex_r6_c25" src="templates/PixelStyle/images/Head/pixelstyleindex_r6_c25.gif" width="67" height="9" border="0" id="pixelstyleindex_r6_c25" alt="{L_LOGIN_LOGOUT}" /></a></td>
<td><img name="pixelstyleindex_r6_c26" src="templates/PixelStyle/images/Head/pixelstyleindex_r6_c26.gif" width="13" height="9" border="0" id="pixelstyleindex_r6_c26" alt="" /></td>
</tr>
</table></td>
</tr>
<tr>
<td><img name="pixelstyleindex_r7_c2" src="templates/PixelStyle/images/Head/pixelstyleindex_r7_c2.gif" width="738" height="2" border="0" id="pixelstyleindex_r7_c2" alt="" /></td>
</tr>
</table></td>
<td><img name="pixelstyleindex_r1_c29" src="templates/PixelStyle/images/Head/pixelstyleindex_r1_c29.gif" width="21" height="70" border="0" id="pixelstyleindex_r1_c29" alt="" /></td>
</tr>
</table></td>
</tr>
<tr>
<td><table border="0" cellpadding="0" cellspacing="0" width="780">
<tr>
<td width="23" height="517" background="templates/PixelStyle/images/Head/pixelstyleindex_r8_c1.gif"> </td>
<td width="734" height="517" background="templates/PixelStyle/images/Head/maincontent.gif" valign="top" align="center">
<br />
Geplaatst: 08 mar 2005, 17:09
door Sam Mullins
Geplaatst: 08 mar 2005, 17:14
door Tiger
Dat heb ik nu gedaan maar dan heb ik een blauw scherm wel de kleur van me template, alleen het forum zelf geeft ie niet weer
Tnx voor je hulp btw
Geplaatst: 08 mar 2005, 17:19
door Sam Mullins
Tiger schreef:alleen het forum zelf geeft ie niet weer
Hoe bedoel je, want ik zie namelijk wel een "compleet" forum
en bekijk nog even goed wat ik in de vorige post van mij zei, ik heb de "zet erachter code" namelijk wat verandert

Geplaatst: 08 mar 2005, 17:19
door Tiger
Het is opgelost bedankt ik had er een spatie tussen zag ik