Changed install instructions;
Changed version check tag to board3_portal_v2_dev; Added more language variables; Added version check to ACP and limited it to only showing in the general settings area; Changed all config variables from portal_ to board3_; Added new install file; Fixed jumpbox bug that caused a useless error message; Added block images for team block and user menu;
This commit is contained in:
12
install.xml
12
install.xml
@@ -553,19 +553,11 @@ define('PORTAL_LINKS_TABLE', $table_prefix . 'portal_links');]]></action>
|
||||
<open src="includes/functions.php">
|
||||
<edit>
|
||||
<find><![CDATA[// The following assigns all _common_ variables that may be used at any point in a template.]]></find>
|
||||
<action type="before-add"><![CDATA[ $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();
|
||||
}]]></action>
|
||||
<action type="before-add"><![CDATA[ $user->add_lang('mods/portal');]]></action>
|
||||
</edit>
|
||||
<edit>
|
||||
<find><![CDATA['U_PRIVATEMSGS' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&folder=inbox'),]]></find>
|
||||
<action type="before-add"><![CDATA[ 'U_PORTAL' => (isset($portal_config['portal_enable']) && $portal_config['portal_enable'] == true) ? append_sid("{$phpbb_root_path}portal.$phpEx") : '',]]></action>
|
||||
<action type="before-add"><![CDATA[ 'U_PORTAL' => (isset($config['board3_enable']) && $config['board3_enable'] == true) ? append_sid("{$phpbb_root_path}portal.$phpEx") : '',]]></action>
|
||||
</edit>
|
||||
</open>
|
||||
<open src="includes/session.php">
|
||||
|
||||
Reference in New Issue
Block a user