Portal isnt there

Current Version: 1.0.6
Released: 09.01.10
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
BadDad
Active Member
Posts: 2
Joined: 7. June 2010 20:42

Portal isnt there

Post by BadDad »

Your Portal Version: 1.0.5
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Basic Knowledge
Boardlink: http://www.s4cclan.com

PHP Version: 3.0.7-PL1
MySQL Version: 5.0.91

What have you done before the problem was there?
This is a fresh install of Board3

What have you already tryed to solve the problem?
Searched the forums...

Description and Message
This is a fairly fresh install of PHPBB. Nothing had been changed to this point aside from adding a theme and setting up the forums. I installed automod and then installed Board3 v1.0.5. After getting everything installed and setup I see no changes to my site. I can manually type in www.s4cclan.com/portal.php and it goes straight to my index.php. I have verified my .htaccess and it has portal.php set first. I read a post on here talking about possibly being a hosting issue. I use godaddy.com and have never had this issue with other sites I have used so I dont think this is the issue. Also as far as I can tell the portal is no where to be found on the site. All the appropriate files are uploaded to my root directory but in the ACP there is nothing there that says anything about portal aside from the listing in automod. I am new to PHPBB 3 so am still getting used to the changed ACP from previous versions of PHPBB. Any help on this would be greatly appreciated.
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

Re: Portal isnt there

Post by Marc »

Did you run the installer? The Link to the installer can be found in the install instructions.

Topic author
BadDad
Active Member
Posts: 2
Joined: 7. June 2010 20:42

Re: Portal isnt there

Post by BadDad »

Thanks...I feel like a moron now lol. I kept trying install.php and the like.

I am not getting the following error.

template->_tpl_load_file(): File ./styles/CoDFaction/template//portal/portal_body.html does not exist or is empty

I cant seem to find this file anywhere. In my current theme or in prosilver.
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

Re: Portal isnt there

Post by Marc »

You have to copy those files as directed in the install instructions. If you want to use a different style than prosilver or subsilver2, you will also have to edit that style.
If it is based on prosilver, do the prosilver edits. If it is based on subsilver2, do the subsilver2 edits.

helwoe
Active Member
Posts: 15
Joined: 21. June 2010 22:29

Re: Portal isnt there

Post by helwoe »

I have the same problem as this person. However I have followed the instructions exactly and have run the installer. I see that a database table has been created (phpbb_portal_config). And I have deleted the install folder. There is a tab in the ACP named "portal", and it is turned on however there is no portal showing on the main index page (http://www.thelegionhq.com/phpbb3/). The theme I use is Rockettheme's Refraction, which I believe is a subsilver based theme.

I've double checked everything again, any ideas?

Thanks,

helwoe
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

Re: Portal isnt there

Post by Marc »

Could you post the content of your uploaded portal.php?

Did you refresh your board cache?

Btw, try editing your custom style with the subsilver2 instructions, that will help the portal links to appear.

helwoe
Active Member
Posts: 15
Joined: 21. June 2010 22:29

Re: Portal isnt there

Post by helwoe »

Thanks for the reply.
Yes I refreshed templates/themes and cleared the cache.
Here is the contents of portal.php

Code: Select all

<?php

/**
*
* @package - Board3portal
* @version $Id: portal.php 591 2009-12-11 23:48:49Z marc1706 $
* @copyright (c) kevin / saint ( www.board3.de/ ), (c) Ice, (c) nickvergessen ( www.flying-bits.org/ ), (c) redbull254 ( www.digitalfotografie-foren.de ), (c) Christian_N ( www.phpbb-projekt.de )
* @based on: phpBB3 Portal by Sevdin Filiz, www.phpbb3portal.com
* @license http://opensource.org/licenses/gpl-license.php GNU Public License 
*
*/

define('IN_PHPBB', true);
define('IN_PORTAL', true);

$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';

$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
include($phpbb_root_path . 'includes/message_parser.' . $phpEx);
include($phpbb_root_path . 'portal/includes/functions.' . $phpEx);

$portal_config = obtain_portal_config();

// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup('mods/lang_portal');

if (!$portal_config['portal_enable'])
{
	redirect(reapply_sid($phpbb_root_path . 'index.' . $phpEx));
}

$load_center = true;

// Always load center column html-file in portal
$template->assign_var('S_CENTER_COLUMN', true);

if (file_exists($phpbb_root_path . 'install/index.' . $phpEx) && ($user->data['user_type'] == USER_FOUNDER))
{
	$template->assign_var('S_DISPLAY_GENERAL', true);
	$load_center = false;
}

if ($portal_config['portal_phpbb_menu'])
{
	$template->assign_var('S_DISPLAY_PHPBB_MENU', true);
}

if ($portal_config['version_check_time'] + 86400 < time())
{
	// Scare the user of outdated versions
	if (!function_exists('mod_version_check'))
	{
		$phpbb_admin_path = $phpbb_root_path . 'adm/';
		include($phpbb_root_path . 'portal/includes/functions_version_check.' . $phpEx);
	}
	set_portal_config('version_check_time', time());
	set_portal_config('version_check_version', mod_version_check(true));
}

if ($auth->acl_get('a_') && version_compare($portal_config['portal_version'], $portal_config['version_check_version'], '<') && $portal_config['portal_version_check'])
{
	$user->add_lang('mods/lang_portal_acp');
	$template->assign_vars(array(
		'PORTAL_VERSION_CHECK'			=> sprintf($user->lang['NOT_UP_TO_DATE'], $user->lang['PORTAL']),
	));
}

if ($load_center)
{
	if ($portal_config['portal_forum_index'])
	{
		display_forums('', $config['load_moderators'], false);

		$template->assign_vars(array(
			'FORUM_IMG'						=> $user->img('forum_read', 'NO_NEW_POSTS'),
			'FORUM_NEW_IMG'					=> $user->img('forum_unread', 'NEW_POSTS'),
			'FORUM_LOCKED_IMG'				=> $user->img('forum_read_locked', 'NO_NEW_POSTS_LOCKED'),
			'FORUM_NEW_LOCKED_IMG'			=> $user->img('forum_unread_locked', 'NO_NEW_POSTS_LOCKED'),
			'S_DISPLAY_PORTAL_FORUM_INDEX'	=> true,
			'U_MARK_FORUMS'					=> ($user->data['is_registered'] || $config['load_anon_lastread']) ? append_sid("{$phpbb_root_path}index.$phpEx", 'mark=forums') : '',
			'U_MCP'							=> ($auth->acl_get('m_') || $auth->acl_getf_global('m_')) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=main&mode=front', true, $user->session_id) : '',
		));
	}

	if ($portal_config['portal_recent'])
	{
		include($phpbb_root_path . 'portal/block/recent.' . $phpEx);
	}

	if ($portal_config['portal_wordgraph'])
	{
		include($phpbb_root_path . 'portal/block/wordgraph.' . $phpEx);
	}

	if ($portal_config['portal_poll_topic'])
	{
		include($phpbb_root_path . 'portal/block/poll.' . $phpEx);
	}

	if ($portal_config['portal_welcome'])
	{
		include($phpbb_root_path . 'portal/block/welcome.' . $phpEx);
	}

	if ($portal_config['portal_welcome_guest'])
	{
		$template->assign_var('S_DISPLAY_WELCOME_GUEST', true);
	}

	if ($portal_config['portal_announcements'])
	{
		include($phpbb_root_path . 'portal/block/announcements.' . $phpEx);
		$template->assign_var('S_ANNOUNCE_COMPACT', $portal_config['portal_announcements_style']);
	}

	if ($portal_config['portal_news'])
	{
		include($phpbb_root_path . 'portal/block/news.' . $phpEx);
		$template->assign_var('S_NEWS_COMPACT', $portal_config['portal_news_style']);
	}

	if ($portal_config['portal_custom_center'] || $portal_config['portal_custom_small'])
	{
		include($phpbb_root_path . 'portal/block/custom.' . $phpEx);
	}

	if ($portal_config['portal_pay_s_block'] || ($portal_config['portal_pay_c_block']))
	{
		include($phpbb_root_path . 'portal/block/donate.' . $phpEx);
	}

	if ($config['load_online'] && $config['load_online_time'] && $portal_config['portal_whois_online'])
	{
		include($phpbb_root_path . 'portal/block/whois_online.' . $phpEx);
	}
}

// load blocks in the left column
if($portal_config['portal_left_column'])
{
	$template->assign_var('S_LEFT_COLUMN', true);
	
	if ($portal_config['portal_main_menu'])
	{
		include($phpbb_root_path . 'portal/block/main_menu.' . $phpEx);
	}
	
	if ($portal_config['portal_search'])
	{
		include($phpbb_root_path . 'portal/block/search.' . $phpEx);
	}
	
	if ($portal_config['portal_birthdays'])
	{
		include($phpbb_root_path . 'portal/block/birthday_list.' . $phpEx);
	}

	if ($portal_config['portal_attachments'] && $config['allow_attachments'])
	{
		include($phpbb_root_path . 'portal/block/attachments.' . $phpEx);
	}
	
	if ($portal_config['portal_top_posters'])
	{
		include($phpbb_root_path . 'portal/block/top_posters.' . $phpEx);
	}

	if ($portal_config['portal_latest_members'])
	{
		include($phpbb_root_path . 'portal/block/latest_members.' . $phpEx);
	}

	if ($portal_config['portal_random_member'])
	{
		include($phpbb_root_path . 'portal/block/random_member.' . $phpEx);
	}
	
	if ($portal_config['portal_link_us'])
	{
		include($phpbb_root_path . 'portal/block/link_us.' . $phpEx);
	}
	
	if ($portal_config['portal_change_style'])
	{
		include($phpbb_root_path . 'portal/block/change_style.' . $phpEx);
	}

	if ($portal_config['portal_clock'])
	{
		$template->assign_var('S_DISPLAY_CLOCK', true);
	}
}

// load blocks in the right column
if($portal_config['portal_right_column'])
{
	$template->assign_var('S_RIGHT_COLUMN', true);

	// show login box and user menu
	// only registered user see user menu
	if ($user->data['is_registered'])
	{
		include($phpbb_root_path . 'portal/block/user_menu.' . $phpEx);
	}
	else
	{
		include($phpbb_root_path . 'portal/block/login_box.' . $phpEx);
	}
	
	if ($portal_config['portal_user_menu'])
	{
		$template->assign_var('S_DISPLAY_USERMENU', true);
	}
	
	if ($portal_config['portal_advanced_stat'])
	{
		include($phpbb_root_path . 'portal/block/statistics.' . $phpEx);
	}

	if ($portal_config['portal_minicalendar'])
	{
		include($phpbb_root_path . 'portal/block/mini_cal.' . $phpEx);
	}

	if ($portal_config['portal_leaders'] && $portal_config['portal_leaders_ext'])
	{
		include($phpbb_root_path . 'portal/block/leaders_ext.' . $phpEx);
	}
	elseif ($portal_config['portal_leaders'])
	{
		include($phpbb_root_path . 'portal/block/leaders.' . $phpEx);
	}
	
	if ($portal_config['portal_load_last_visited_bots'])
	{
		include($phpbb_root_path . 'portal/block/latest_bots.' . $phpEx);
	}
	
	if ($portal_config['portal_friends'])
	{
		include($phpbb_root_path . 'portal/block/friends.' . $phpEx);
	}
	
	if ($portal_config['portal_links'])
	{
		include($phpbb_root_path . 'portal/block/links.' . $phpEx);
	}
}

include($phpbb_root_path . 'portal/block/additional_blocks.' . $phpEx);

$template->assign_vars(array(
	'PORTAL_LEFT_COLUMN'	=> $portal_config['portal_left_column_width'],
	'PORTAL_RIGHT_COLUMN'	=> $portal_config['portal_right_column_width'],
));

// output page
page_header($user->lang['PORTAL']);

$template->set_filenames(array(
	'body' => '/portal/portal_body.html'
));

make_jumpbox(append_sid("{$phpbb_root_path}viewforum.$phpEx"));

page_footer();

?>
I"ll edit my custom theme as you indicated but where do I find the subsilver2 instructions? In the meantime I'll double check the installation one more time.

helwoe

helwoe
Active Member
Posts: 15
Joined: 21. June 2010 22:29

Re: Portal isnt there

Post by helwoe »

I figured it out. I copied over root/portal.php to
my
root/portal.php
rather than

root/phpbb3/portal.php

Portal now works.

I need to figure out a few things now. Such as getting the Recent posts, Who's onlie with white backgrounds. Thanks!

helwoe

helwoe
Active Member
Posts: 15
Joined: 21. June 2010 22:29

Re: Portal isnt there

Post by helwoe »

very strange...
I uninstalled/re-installed but this time put the advance tab in .mods rather than it's own tab (realized i didn't have any portal options). Now I don't see the portal at all unless I go to www.thelegionhq.com/phpbb3/portal.php

Before when I clicked on my "forum" menu item it went right to the portal, which is what I want.
Been working on this all day... think I'll hang it up and look at something else. ;)

helwoe
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

Re: Portal isnt there

Post by Marc »

As I already told you before, you need to edit your custom style. If it is based on subsilver2, then use the subsilver2 Instruction and use it on your style.

If you don't see the portal once you go to yourdomain.com/phpbb3/ then you either didn't edit .htaccess in that folder or your hoster does not support .htaccess. If you edited the .htaccess file in yourdomain.com/phpbb3/ and you still can't see portal.php as first page when you visit your forum, then you will have to contact your hoster.

Did you change anything while running the installer? If yes, uninstall Board3 Portal using the installer an re-install it again, but this time don't change anything. :roll:

helwoe
Active Member
Posts: 15
Joined: 21. June 2010 22:29

Re: Portal isnt there

Post by helwoe »

I'm going to roll back my site files prior to installing this and try re-installing the portal mod again.. and step through this and see what I might be missing.
Sounds like I need to edit these theme files:

/phpbb3/styles/refraction/template/overall_footer.html
/phpbb3/styles/refraction/template/overall_header.html
/phpbb3/styles/refraction/theme/stylesheet.css

As explained in the instructions?

Thanks

helwoe
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

Re: Portal isnt there

Post by Marc »

If your style is based on subsilver2, then please use the subsilver2 instructions. Just open contrib/subsilver2.xml.

helwoe
Active Member
Posts: 15
Joined: 21. June 2010 22:29

Re: Portal isnt there

Post by helwoe »

Thanks for the reply.

I did the prosilver edits and installed. Portal is working but without a portal link and a couple blocks with white backgrounds.

I don't really know for sure if this theme is based on subsilver2 or prosilver. Prosilver is installed and subsilver2 is not installed.
When looking at the edits for prosilver in.

styles/refraction/templates/overall_header.html

There isn't a line that looks anything like this line...

Code: Select all

<<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a> <!-- BEGIN navlinks --> <strong>&#8249;</strong>
However I did find the edit for...

styles/refraction/templates/overall_footer.html

and made the change there.

My only other alternative is to apply the prosilver2 edits and see if that makes a difference..

helwoe

helwoe
Active Member
Posts: 15
Joined: 21. June 2010 22:29

Re: Portal isnt there

Post by helwoe »

rolled back my forum, applied the prosilver exactly as the install.xml states, re-installed.. refreshed templates, theme, images and cleared the cache, cleared browser cache.

This template is based on prosilver. Here is the /phpbb3/styles/refraction/template/overall_header.html file contents:

Code: Select all

<!-- INCLUDE styleswitcher.html -->
<!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="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} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<!-- INCLUDE ../../../rokbb3.php -->
<!-- INCLUDE refraction.php -->

<!--
	phpBB style name: refraction
	Based on style:   prosilver (this is the default phpBB3 style)
	Original author:  Tom Beddard ( http://www.subBlue.com/ )
	Modified by: RocketTheme, LLC (C) Copyright. All rights reserved.    
	
	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>

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

<script type="text/javascript" src="{T_TEMPLATE_PATH}/rt_js/mootools-release-1.11.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/rt_js/rokutils.js"></script>
<!-- IF ENABLE_REF_FONTSPANS -->
<script type="text/javascript" src="{T_TEMPLATE_PATH}/rt_js/rokfonts.js"></script>
<!-- ENDIF -->
<script type="text/javascript" src="{T_TEMPLATE_PATH}/rt_js/rokmoomenu.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/rt_js/mootools.bgiframe.js"></script>
<!-- IF ENABLE_REF_INFO -->
<script type="text/javascript" src="{T_TEMPLATE_PATH}/rt_js/roknewsflash-packed.js"></script>
<!-- ENDIF -->

                <style type="text/css">
    <!--
	body.iehandle #main-background {background-attachment:<!-- IF REF_BG_FIXED -->{REF_BG_FIXED}<!-- ELSE -->scroll<!-- ENDIF -->;}
	div.wrapper { margin: 0 auto; <!-- IF REF_WIDTH -->width:{REF_WIDTH}px;<!-- ELSE -->width:979px;<!-- ENDIF -->padding:0;}
	#inset-block-left { width:0px;padding:0;}
	#inset-block-right { width:0px;padding:0;}
	#maincontent-block { margin-right:0px;margin-left:0px;}
	#main-body ul.menu li a:hover, ul.roknewspager-numbers li.active, .feature-block .feature-desc, #horiz-menu li.active .link span, #horiz-menu li:hover .link span, #horiz-menu li.sfHover .link span, #horiz-menu li:hover li:hover .link span, #horiz-menu li:hover li:hover li:hover .link span, #horiz-menu li.sfHover li.sfHover .link span, #horiz-menu li.sfHover li.sfHover li.sfHover .link span, #showcase-section, .side-mod h3, #searchmod-surround h3, #main-body ul.menu li a:hover, ul.roknewspager-numbers li.active, a:hover, #featuremodules,#cp-main h2,#tabs .activetab a:hover span,#minitabs li.activetab a, #minitabs li.activetab a:hover {color: <!-- IF REF_SHOWCASE_TEXT -->{REF_SHOWCASE_TEXT}<!-- ELSE -->#dddddd<!-- ENDIF -->;}
	#showcase-section .feature-block .feature-title,li.header dt, li.header dd,li.header dt a:link,li.header dt a:visited,.post:target .content {color:<!-- IF REF_SHOWCASE_TITLE -->{REF_SHOWCASE_TITLE}<!-- ELSE -->#d2de00<!-- ENDIF -->;}
	#showcase-section a,a:hover,a.forumtitle:active,a.forumtitle:hover,a.topictitle:active,a.topictitle:hover,a.left:hover,a.button1:hover, input.button1:hover, input.button3:hover, a.button2:hover, input.button2:hover,.inputbox:focus,.inputbox:hover {color: <!-- IF REF_SHOWCASE_LINK -->{REF_SHOWCASE_LINK}<!-- ELSE -->#A4AD2B<!-- ENDIF -->;}
	.variation-chooser input, #mainbody-overlay, #searchmod-surround .inputbox, form.search_result input.button, form.poll input.button, form.form-login .inputbox, form.form-login input.button, form.log input.button, #bottom, form#emailForm input.button, #copyright, #top-button a, input#search_searchword.inputbox, form.search_result legend, .contact_email .inputbox, .readon-wrap1 input.button, input#email.required, .logo-module, .footer-mod,#message-box textarea,#navigation #active-subsection a {color: <!-- IF REF_BODY_TEXT -->{REF_BODY_TEXT}<!-- ELSE -->#aaaaaa<!-- ENDIF -->;}
	#roktwittie .status .header .nick, .search-results-full span.highlight, #main-background div.articleListingImage img, #main-background div.sbArticleImage img  {background: <!-- IF REF_BODY_LINK -->{REF_BODY_LINK}<!-- ELSE -->#A4AD2B<!-- ENDIF -->;}
	a,a:link,a:visited, .contentheading, #horiz-menu li:hover li .link span, #horiz-menu li:hover li:hover li .link span, #horiz-menu li.sfHover li .link span, #horiz-menu li.sfHover li.sfHover li .link span, .componentheading span, .roktabs-links li.active, .side-mod h3 span, .showcase-panel h3 span, #featuremodules h3,#newsflash ul,.postprofile strong,.pagination span strong,.pagination span a, .pagination span a:link, .pagination span a:visited, .pagination span a:active,.inputbox,#tabs .activetab a span, #navigation #active-subsection a:hover,#navigation a:hover,#cp-main .panel li.header dd, #cp-main .panel li.header dt,dt label,h3   {color: <!-- IF REF_BODY_LINK -->{REF_BODY_LINK}<!-- ELSE -->#A4AD2B<!-- ENDIF -->;}
    -->
    
    <!-- IF REF_MENUPOSITION == left or REF_MENUPOSITION == right -->
#postingbox .autowidth {width: 90% !important; }
	#postingbox .column2 { width: 75%; margin-top:-75px; position: relative;}
	#postingbox .column1 { width: 70%;position: relative; z-index:10000;}
	#postingbox fieldset.fields1 dd { margin-left: 15em;}
	#colour_palette dd { margin-left: 6em !important;}
	<!-- PHP -->if (rok_isIe(7)) {print("#postingbox .column2 { width: 75%; margin-top:0px; position: relative; margin-left: -300px;}");}<!-- ENDPHP -->
	<!-- PHP -->if (rok_isIe(6)) {print("#postingbox .column2 { width: 75%; margin-top:0px; position: relative; margin-left: -300px;} #message-box #message {width: 98%;}");}<!-- ENDPHP -->
	<!-- ENDIF -->
	
	 <!-- IF REF_MENUPOSITION == full -->
	ul.topiclist dt {width:57%;}
	dd.lastpost {width:20%;}
	<!-- ENDIF -->
	
	<!-- IF AVATAR_POSITION == left -->
	.postprofile {float: left; border: 0px; margin-left: -6px;}
	.postbody {float: right;}
	ul.profile-icons {margin-right: 40px;}
	<!-- ENDIF -->
	
  </style>

<!--[if IE 7]>
<link href="{T_THEME_PATH}/template_ie7.css" rel="stylesheet" type="text/css" />	
<![endif]-->	


<!--[if lte IE 6]>
<link href="{T_THEME_PATH}/template_ie6.css" rel="stylesheet" type="text/css" />
<script src="{T_TEMPLATE_PATH}/rt_js/DD_belatedPNG.js"></script>
<script type="text/javascript">
	var pngClasses = ['.png', '.menutop li.active a', '.readon1-l', '.readon1-m', '.readon1-r', '#roktwittie .status .header', '.blog .roknewspager-div', '.control-prev', '.control-next', '.control-prev-hover', '#main-body ul.menu li', '.roknewspager-div', '#main-body ul.menu li a', '.roknewspager-pages', '.roknewspager-prev-disabled', '.roknewspager-prev', '.roknewspager-next-disabled', '.roknewspager-numbers', '.roknewspager-next', '#roktwittie .roktwittie-surround', 'a.sbDisqusCounter', 'div.superBloggerTop', 'div.sbRating', 'div.sbAuthorBlock', '#disqus_thread', 'div.superBloggerTop a', 'div.superBloggerTop img', '.sbAuthorLatestTweets ul li', '.sbAuthorLatest ul li', 'span.ob_commentOut', '#roksearch_results .roksearch_row_btm', '#roksearch_results .roksearch_header', '#roksearch_results', '#roksearch_results .roksearch_odd', '#roksearch_results .roksearch_even', '#roksearch_results .roksearch_even-hover', '#roksearch_results .roksearch_odd-hover', 'pre', 'blockquote', 'th.sectiontableheader', '.roktabs-links ul li span', '.roktabs-links ul li.active', '.roktabs-wrapper .arrow-next', '.roktabs-wrapper .arrow-prev', '.active-arrows', '.icon', '.forabg', '.forumbg', 'ul.forums', 'ul.topics', 'li.row', 'img', 'a', 'li', '#keywords', 'span','input','.post_bg','.panel','.inputbox'];
	
	pngClasses.each(function(fixMePlease) {
		DD_belatedPNG.fix(fixMePlease);
	});
	
</script>
<![endif]-->
   <script type="text/javascript">
		window.templatePath = '{THEME_PATH}';
		window.uri = '{U_INDEX}';
		window.currentStyle = '{REF_PRESET_STYLE}';
		
<!-- IF ENABLE_REF_FONTSPANS -->	
window.addEvent('domready', function() {
		var modules = ['side-mod', 'showcase-panel'];
		var header = ['h3','h1'];
		RokBuildSpans(modules, header);
	});
<!-- ENDIF -->

window.addEvent('domready', function() {
    	new Rokmoomenu($E('ul.menutop '), {
    		bgiframe: false,
    		delay: 500,
    		verhor: true,
    		animate: {
    			props: ['height'],
    			opts: {
    				duration: 500,
    				fps: 100,
    				transition: Fx.Transitions.Quad.easeOut
    			}
    		},
    		bg: {
    			enabled: true,
    			overEffect: {
    				duration: 500,
    				transition: Fx.Transitions.Sine.easeOut
    			},
    			outEffect: {
    				duration: 600,
    				transition: Fx.Transitions.Sine.easeOut
    			}
    		},
    		submenus: {
    			enabled: true,
    			opacity: 0.9,
    			overEffect: {
    				duration: 50,
    				transition: Fx.Transitions.Expo.easeOut
    			},
    			outEffect: {
    				duration: 600,
    				transition: Fx.Transitions.Sine.easeIn
    			},
    			offsets: {
    				top: 3,
    				right: 1,
    				bottom: 0,
    				left: 1
    			}
    		}
    	});
    });
  </script>
		      
		      <!-- IF REF_PRESET_STYLE eq 'style2' or REF_PRESET_STYLE eq 'style10' -->
<script type="text/javascript">
// <![CDATA[
window.addEvent('domready', function() {
  var newImagePath = '{ROOT_PATH}/styles/refraction_light/imageset/'; // remember to add the ending forward slash
  var classToSearch = '.icon';
  
  var els = $$(classToSearch);
  if (els.length) {
    els.each(function(el) {
      var bg = el.getStyle('background-image'), newBg, imgSource;
      bg = bg.replace('")', '').replace(")", '');
      var tmp = bg.split('/');
      imgSource = tmp[tmp.length - 1];
      el.setStyle('background-image', 'url('+newImagePath+imgSource+')');     
    });
  }
});
// ]]>
</script>
	<!-- ENDIF -->
	
</head>

<body id="<!-- IF REF_FONTFACE -->{REF_FONTFACE}<!-- ELSE -->ff-refraction<!-- ENDIF -->" class="<!-- IF REF_PRESET_STYLE -->{REF_PRESET_STYLE}<!-- ELSE -->style1<!-- ENDIF --> <!-- IF REF_BG_STYLE --> {REF_BG_STYLE}<!-- ELSE --> bgstyle1<!-- ENDIF --> <!-- IF REF_OVERLAY_STYLE --> {REF_OVERLAY_STYLE}<!-- ELSE --> dark<!-- ENDIF --> iehandle section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">


<div id="main-background">
	

			<!--Begin Header-->
						<div id="header-overlay" class="png">
				<div class="wrapper">
					<!--Begin Logo-->
										<a href="{U_INDEX}" id="logo" class="png"></a>
										<!--End Logo-->
					<!--Begin Horizontal Menu-->
										<div id="horiz-menu-surround">
					<!-- IF S_ALLOW_JMENU -->
						<div id="horiz-menu" class="moomenu png">
										
																<!-- IF S_USER_LOGGED_IN -->
							{T_JOOMLA_MENU_REG}
							<!-- ELSE -->
							{T_JOOMLA_MENU}
							<!-- ENDIF -->
																<!-- ELSE -->
							
							<div id="horiz-menu" class="moomenu png">
								

																<ul class="menutop png">
<li{U_INDEX_STYLE}><a class="topdaddy link" href="{U_INDEX}" accesskey="h"><span>{L_INDEX}</span></a></li>

<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->

				<li{U_PROFILE_STYLE}><a class="topdaddy link" href="{U_PROFILE}" title="{L_PROFILE}" accesskey="u"><span>{L_PROFILE}</span></a></li>
<!-- IF S_DISPLAY_PM --><li{U_PRIVATEMSGS_STYLE}><a  class="topdaddy link"  href="{U_PRIVATEMSGS}"><span>{PRIVATE_MESSAGE_INFO}</span></a></li><!-- ENDIF -->
<!-- ENDIF -->	


<li{U_FAQ_STYLE}><a  class="topdaddy link"  href="{U_FAQ}" title="{L_FAQ_EXPLAIN}"><span>{L_FAQ}</span></a></li>
				<!-- IF not S_IS_BOT -->
										<!-- IF not S_USER_LOGGED_IN --><li{U_REGISTER_STYLE}><a class="topdaddy link" href="{U_REGISTER}"><span>{L_REGISTER}</span></a></li><!-- ENDIF -->
					<li{U_LOGIN_LOGOUT_STYLE}><a  class="topdaddy link"  href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="l"><span>{L_LOGIN_LOGOUT}</span></a></li>
				<!-- ENDIF -->

</ul>
					<!-- ENDIF -->
										</div>
					</div>
										<!--End Horizontal Menu-->
				</div>
			</div>
						<!--End Header-->
		
			<!--Begin Main Body-->
			<div id="mainbody-overlay" class="png"><div id="mainbody-overlay2" class="png">
				<div class="wrapper">
					<div id="main-body">
						<div id="main-body-surround">
							<!--Begin Main Content Block-->
							<div id="main-content" class="<!-- IF REF_MENUPOSITION == left -->s<!-- ELSE -->x<!-- ENDIF -->-c-<!-- IF REF_MENUPOSITION == right -->s<!-- ELSE -->x<!-- ENDIF -->">
							    <div class="colmask leftmenu">
							        <div class="colmid">
	    					    	    <div class="colright">
	        						        <!--Begin col1wrap -->    
	            						    <div class="col1wrap">
	            						        <div class="col1pad">
	            						            <div class="col1">
	                    						        <div id="maincol2">
	                    									<div class="maincol2-padding">
													<!-- IF ENABLE_REF_INFO -->
													<div id="newsflash-bar" class="png">
		                    										<script type="text/javascript">
	window.addEvent('domready', function() {
		var x = new RokNewsFlash('newsflash', {
			controls: true,
			delay: 2500,
			duration: 600,
			blankimage: '{T_THEME_PATH}/images/blank.png'
		});
	});
</script>
<div id="newsflash" class="roknewsflash">
    <span class="flashing">Board info:</span>
    <ul>
	<li><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <strong>{BIRTHDAY_LIST}</strong><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></li>
	
	<li>
		{TOTAL_USERS_ONLINE}
	</li>
	
<!-- IF S_USER_LOGGED_IN -->
	<li>
		{LAST_VISIT_DATE}
	</li>
<!-- ENDIF -->
		<li>
		{CURRENT_TIME}
	</li>
<!-- IF NEWEST_USER -->
		<li>
		{TOTAL_POSTS} &bull; {TOTAL_TOPICS} &bull; {TOTAL_USERS}
	</li>
<li>{NEWEST_USER}</li>
<li>{RECORD_USERS}</li>
<!-- ENDIF -->
    </ul>
</div>
		                    									</div><!-- ENDIF -->
													
																																															<div id="maincontent-tm" class="png"><div id="maincontent-tl" class="png"><div id="maincontent-tr" class="png"></div></div></div>
															<div id="maincontent-m" class="png"><div id="maincontent-l" class="png"><div id="maincontent-r" class="png"><div id="maincontent-surround" class="png">
																		                    									<!-- IF SHOW_REF_PATHWAY --><div id="breadcrumbs">
																	<a href="{U_INDEX}" id="breadcrumbs-home" class="png"></a>
		                    										<span class="breadcrumbs pathway">
<a href="{U_INDEX}" accesskey="h" class="pathway">{L_INDEX}</a> <!-- BEGIN navlinks --><img src="{T_THEME_PATH}/images/arrow.png" alt=""  /><span class="no-link"><a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a></span><!-- END navlinks --></span>
</div><!-- ENDIF -->
		                    										                    												                    									<div class="bodycontent">
		                    												                    												                    										<div id="maincontent-block">
		                												
		                														                												<div class="">
	<div id="page" class="full-article">

<div id="wrap">
	<a id="top" name="top" accesskey="t"></a>
	<div id="page-header">
		
<!-- IF REF_MENUPOSITION == full -->
		<div class="navbar">
			<div class="inner">

			<ul class="linklist navlinks">
				<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>

			<!-- 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="u">{L_PROFILE}</a>
						<!-- IF S_DISPLAY_PM --> (<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>)<!-- ENDIF --> &bull; 
					<a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>
					<!-- IF U_RESTORE_PERMISSIONS --> &bull;
					<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 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 --><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="l">{L_LOGIN_LOGOUT}</a></li>
				<!-- ENDIF -->
			</ul>
</div>
		</div>
		<!-- ELSE -->
			<ul class="linklist ">
					<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>
<!-- 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 -->

Same result. Portal works but with no portal link and white backgrounds in the recent posts and who's online blocks. Suggestions?
User avatar

archivar
Portal Professional
Posts: 1959
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: Portal isnt there

Post by archivar »

Write here a job: Style requests ;)
Please add a download link to the requested phpBB3 style.
The requested Style has to be released for the latest phpBB version.
V.G. archivar
sorry for my bad english
Locked

Return to “board3 Portal 1.0.x - English Support”