Page 1 of 1
i can't see portal and i have 2 new tab in acp
Posted: 8. December 2008 12:14
by supercriss
Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Beginner
Boardlink: http://www.estetiste.altervista.org
What have you done before the problem was there?
I updated version 3.0.2 of the forum to .0.3 but having previously installed another portal (carver) I had to uninstall it because it was in conflict.
I have benefited so to install your portal.
What have you already tryed to solve the problem?
search here
Description and Message
I have the template based on subsilver2 so I followed the instructions for the subSilver but now I can't see not only the portal but I have two more tab in the acp: one is called mods and one is called portal
ot/ I ask you excuse for bad English
Re: i can't see portal and i have 2 new tab in acp
Posted: 8. December 2008 12:39
by Kevin
You need to upload the subsilver2 template files, included in the portal package, to your template path.
The ACP tabs:
You can remove the ACP tab named "portal" - this is the one left over from the canver portal.
Re: i can't see portal and i have 2 new tab in acp
Posted: 8. December 2008 13:22
by supercriss
Kevin wrote:You need to upload the subsilver2 template files, included in the portal package, to your template path.
i did it, when i try to see the forum i see
Parse error: syntax error, unexpected $end in /membri/estetiste/phpBB2/cache/tpl_subsilver2_overall_header.html.php on line 184
Kevin wrote:The ACP tabs:
You can remove the ACP tab named "portal" - this is the one left over from the canver portal.
ehm...how i can do?
Re: i can't see portal and i have 2 new tab in acp
Posted: 8. December 2008 16:34
by dragz
Kevin wrote:You need to upload the subsilver2 template files, included in the portal package, to your template path.
i did it, when i try to see the forum i see
Parse error: syntax error, unexpected $end in /membri/estetiste/
phpBB2/cache/tpl_subsilver2_overall_header.html.php on line 184
phpbb2?
One of your problems is this, Check it out
http://board3.de/viewtopic.php?f=10&t=1372#p9073
Btw how did you manage to get that 'bar' for guests? I have been looking for that,
Re: i can't see portal and i have 2 new tab in acp
Posted: 8. December 2008 16:49
by supercriss
dragz wrote:Kevin wrote:You need to upload the subsilver2 template files, included in the portal package, to your template path.
i did it, when i try to see the forum i see
Parse error: syntax error, unexpected $end in /membri/estetiste/
phpBB2/cache/tpl_subsilver2_overall_header.html.php on line 184
phpbb2?
was the old name of the forum when I upgraded from phpbb2 to phpbb3 I have not changed so as not to create problems
you can find the "bar" on phpbb.it
now i have uninstalled the portal
maybe i try again...maybe! but:
when i install i have to follow the directions in the install file or only those of subSilver?
I install and then edit the prosilver or not?
Re: i can't see portal and i have 2 new tab in acp
Posted: 8. December 2008 18:33
by Kevin
supercriss wrote:now i have uninstalled the portal
So no more help is needed?
Code: Select all
$end in /membri/estetiste/phpBB2/cache/tpl_subsilver2_overall_header.html.php on line 184
This was an mistake you've made by editing the overall_header. Obviously a not correct set <!-- ENDIF -->
The not needed ACP tab could be removed in the ACP module management.
Re: i can't see portal and i have 2 new tab in acp
Posted: 9. December 2008 06:24
by dragz
supercriss wrote:
you can find the "bar" on phpbb.it
May be you can share the code with me cuz I dunno italian,
Hey bro, Dont give up things like that
Re: i can't see portal and i have 2 new tab in acp
Posted: 9. December 2008 14:43
by supercriss
Kevin wrote:supercriss wrote:now i have uninstalled the portal
So no more help is needed?
Code: Select all
$end in /membri/estetiste/phpBB2/cache/tpl_subsilver2_overall_header.html.php on line 184
This was an mistake you've made by editing the overall_header. Obviously a not correct set <!-- ENDIF -->
The not needed ACP tab could be removed in the ACP module management.
i'll try again to install portal.. if you help me
dragz wrote:supercriss wrote:
you can find the "bar" on phpbb.it
May be you can share the code with me cuz I dunno italian,
Hey bro, Dont give up things like that
i'm a sister
if you pm your email i'll send the code
Re: i can't see portal and i have 2 new tab in acp
Posted: 11. April 2009 00:34
by Mousstik
I have the same problem.
If I understood well I must reverify the “overall_header”.
But my concern is that it is not subsilver which I have to modify because I do not use this topic. Do I have to modify this topic nevertheless?
here the code of my “overall_header” of my topic:
Code: Select all
<li><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="l">{L_LOGIN_LOGOUT}</a></li>
<!-- ENDIF -->
it is it only line containing logout which there is in my file thus I cannot place the ENDIF elsewhere.
if somebody would have a solution. thank you in advance.
Re: i can't see portal and i have 2 new tab in acp
Posted: 6. September 2009 20:40
by streak
I also want to use the Subsilver2 template but I am getting the same error. It works fine with prosilver template. I have installed the subsilver and made the changes 3 times. I dont know what i am doing wrong here... But I am getting the same error when i try to go to the webstite with that template.
Re: i can't see portal and i have 2 new tab in acp
Posted: 6. September 2009 20:49
by streak
Here is what my overall_header.html look like.
I am geting this Error:
Parse error: syntax error, unexpected '}' in /home/content/s/t/r/streakin/html/cache/tpl_subsilver2_overall_header.html.php on line 196
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 http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
{META}
<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title>
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
<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 per_page = '{PER_PAGE}';
var base_url = '{A_BASE_URL}';
if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0)
{
if (base_url.indexOf('?') == -1)
{
document.location.href = base_url + '?start=' + ((page - 1) * per_page);
}
else
{
document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page);
}
}
}
/**
* 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><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
<td width="100%" align="center"><h1>{SITENAME}</h1><span class="gen">{SITE_DESCRIPTION}</span></td>
</tr>
</table>
</div>
<!-- IF not $S_IN_PORTAL or not S_DISPLAY_MAINMENU -->
<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/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_LOGIN_LOGOUT}</a> <!-- ENDIF -->
<!-- IF U_RESTORE_PERMISSIONS --> <a href="{U_RESTORE_PERMISSIONS}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
<!-- ENDIF -->
<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> <span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF -->
<!-- IF not $S_IN_PORTAL or not S_DISPLAY_MAINMENU -->
<!-- IF not S_IS_BOT -->
<!-- IF S_USER_LOGGED_IN -->
<!-- IF S_DISPLAY_PM --> <a href="{U_PRIVATEMSGS}"><img src="{T_THEME_PATH}/images/icon_mini_message.gif" width="12" height="13" alt="*" /> {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF -->
<!-- ELSEIF S_REGISTER_ENABLED --> <a href="{U_REGISTER}"><img src="{T_THEME_PATH}/images/icon_mini_register.gif" width="12" height="13" 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/icon_mini_faq.gif" width="12" height="13" alt="*" /> {L_FAQ}</a>
<!-- IF S_DISPLAY_SEARCH --> <a href="{U_SEARCH}"><img src="{T_THEME_PATH}/images/icon_mini_search.gif" width="12" height="13" alt="*" /> {L_SEARCH}</a><!-- ENDIF -->
<!-- IF not S_IS_BOT -->
<!-- IF S_DISPLAY_MEMBERLIST --> <a href="{U_MEMBERLIST}"><img src="{T_THEME_PATH}/images/icon_mini_members.gif" width="12" height="13" alt="*" /> {L_MEMBERLIST}</a><!-- ENDIF -->
<!-- IF S_USER_LOGGED_IN --> <a href="{U_PROFILE}"><img src="{T_THEME_PATH}/images/icon_mini_profile.gif" width="12" height="13" 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}<br /></td>
</tr>
</table>
</div>
<!-- ENDIF -->
</div>
<div id="wrapcentre">
<!-- IF not $S_IN_PORTAL or not S_DISPLAY_MAINMENU -->
<!-- ENDIF -->
<!-- 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></span>
<!-- ENDIF -->
</p>
<!-- ENDIF -->
<br style="clear: both;" />
<!-- INCLUDE breadcrumbs.html -->
<br />
<!-- ENDIF -->
Does anyone see anything wrong here? I am really lost. Thanks for your time in advance. Keep up the great work.
Re: i can't see portal and i have 2 new tab in acp
Posted: 6. September 2009 21:03
by streak
Fixed the problem.
<div id="wrapcentre">
<!-- IF not $S_IN_PORTAL or not S_DISPLAY_MAINMENU -->
<!-- ENDIF --> <!-- 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></span>
<!-- ENDIF -->
Like stated above... I had a <!-- ENDIF --> on line 192 when it should not have been there. Problem solved. Hope this will help the rest of you.
Re: i can't see portal and i have 2 new tab in acp
Posted: 6. September 2009 21:04
by Mike
What style do you use?
Try to delete this: <!-- ENDIF --> from line 196
EDIT: ah, that was it