Page 1 of 1

Portal installation??

Posted: 8. April 2010 15:49
by Mitch1990
Your Portal Version: portal_1_0
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Beginner

What have you done before the problem was there?
Nothing :D

What have you already tryed to solve the problem?
to put a own dump in the database., but i deleted that.

Description and Message
Hello.

I downloaded http://board3.de/viewtopic.php?f=10&t=1061
But how to install?

@/install_portal/install.php

Algemene fout
SQL ERROR [ mysqli ]

Table gaming_24-7.PORTAL_CONFIG_TABLE' doesn't exist [1146]

SQL

SELECT config_value as version FROM PORTAL_CONFIG_TABLE WHERE config_name = 'portal_version' LIMIT 1

BACKTRACE

Re: Portal installation??

Posted: 8. April 2010 15:58
by Marc
First of, please download version 1.0.5.

Then follow the install instructions (open install.xml with your browser).

Re: Portal installation??

Posted: 8. April 2010 16:07
by Mitch1990
Om dit installatie-script te kunnen draaien, moet je de aangepaste bestanden uploaden, vooral /includes/constants.php.

translation:

To run this installation-script you need to download the edited files uploaden, like /includes/constants.php

What to do?

This?:

Code: Select all

Open: .htaccess
Find
Tip: This may be a partial find and not the whole line.

Code:Select all
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.

Code:Select all
DirectoryIndex portal.php index.php index.html index.htm
<< Hide
Open: viewonline.php
Find
Tip: This may be a partial find and not the whole line.

Code:Select all
		case 'report':
			$location = $user->lang['REPORTING_POST'];
			$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
		break;
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.

Code:Select all
		case 'portal':
			$user->add_lang('mods/lang_portal');
			$location = $user->lang['VIEWING_PORTAL'];
			$location_url = append_sid("{$phpbb_root_path}portal.$phpEx");
		break;
<< Hide
Open: includes/constants.php
Find
Tip: This may be a partial find and not the whole line.

Code:Select all
// Additional tables
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.

Code:Select all
define('PORTAL_CONFIG_TABLE',		$table_prefix . 'portal_config');
<< Hide
Open: includes/functions.php
Find
Tip: This may be a partial find and not the whole line.

Code:Select all
// The following assigns all _common_ variables that may be used at any point in a template.
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.

Code:Select all
	$user->add_lang(array('mods/lang_portal', 'mods/additional_blocks'));
	if (!function_exists('obtain_portal_config'))
	{
		include($phpbb_root_path . 'portal/includes/functions.' . $phpEx);
	}
	if(sql_table_exists(PORTAL_CONFIG_TABLE) == true)
	{
		$portal_config = obtain_portal_config();
	}
<< Hide
Find
Tip: This may be a partial find and not the whole line.

Code:Select all
'U_PRIVATEMSGS'			=> append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&folder=inbox'),
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.

Code:Select all
		'U_PORTAL'				=> (isset($portal_config['portal_enable']) && $portal_config['portal_enable'] == true) ? append_sid("{$phpbb_root_path}portal.$phpEx") : '',
<< Hide
Open: includes/session.php
Find
Tip: This may be a partial find and not the whole line.

Code:Select all
		if (!empty($_GET['style']) && $auth->acl_get('a_styles') && !defined('ADMIN_START'))
Replace with
Tip: Replace the preceding line(s) to find with the following lines.

Code:Select all
		if (!empty($_GET['style']) && !defined('ADMIN_START'))
<< Hide
Open: styles/prosilver/template/overall_header.html
Find
Tip: This may be a partial find and not the whole line.

Code:Select all
<div class="navbar">
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.

Code:Select all
<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->
<< Hide
Find
Tip: This may be a partial find and not the whole line.

Code:Select all
<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a> <!-- BEGIN navlinks --> <strong>&#8249;</strong>
In-line Find
Tip: This is a partial match of a line for in-line operations.

Code:Select all
<li class="icon-home">
In-line Add after


Code:Select all
<!-- IF U_PORTAL --><a href="{U_PORTAL}">{L_PORTAL}</a> &#187; <!-- ENDIF -->
<< Hide
Find
Tip: This may be a partial find and not the whole line.

Code:Select all
					<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>
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.

Code:Select all
<!-- ENDIF -->
<< Hide
Open: styles/prosilver/template/overall_footer.html
Find
Tip: This may be a partial find and not the whole line.

Code:Select all
<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li>
In-line Find
Tip: This is a partial match of a line for in-line operations.

Code:Select all
<li class="icon-home">
In-line Add after


Code:Select all
<!-- IF U_PORTAL --><a href="{U_PORTAL}">{L_PORTAL}</a> &#187; <!-- ENDIF -->
<< Hide
Open: styles/prosilver/theme/stylesheet.css
Find
Tip: This may be a partial find and not the whole line.

Code:Select all
@import url("colours.css");
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.

Code:Select all
@import url("portal.css");

Re: Portal installation??

Posted: 19. April 2010 10:49
by arrakis
Hi
I'm new to this forum

I have installed the portal
http://www.phpbb3portal.com/

but I would put this new portal, which I think is much better

Would any problems installing or updating?

Thanks

Re: Portal installation??

Posted: 19. April 2010 11:26
by Marc
No, there shouldn't be any issues, we even have update instructions from phpbb3portal 1.2.2 in the contrib folder and the installer will convert your database for Board3 Portal.

Re: Portal installation??

Posted: 19. April 2010 11:51
by arrakis
It's right
Thanks