Перейти к контенту

Portal System 3.0.x by bfarber & IPB 2.3.4


Рекомендуемые сообщения

  • 5 месяцев спустя...

To Get Portal Running...

 

# Go to tools and setting below, Upload XML settings file from your computer

 

# Open the Documentation folder, and select the file "mod_settings.xml" and import it. Then import mod_settings1.xml and mod_templates. Go to Manage Components in the Admin tab, and import the file: ipd_components.

 

Open Index.php

 

Find

 

//===========================================================================
// Short tags...
//===========================================================================

$ipsclass->input['act'] = isset($ipsclass->input['act']) ? $ipsclass->input['act'] : ( IPB_MAKE_PORTAL_HOMEPAGE ? 'home' : 'idx' );

if( is_array($ipsclass->input['act']) )
{
$ipsclass->input['act'] = ( IPB_MAKE_PORTAL_HOMEPAGE ) ? 'home' : 'idx';
}

//---------------------------------------------------
// Check to make sure the array key exits..
//---------------------------------------------------

if ( ! isset($choice[ strtolower($ipsclass->input['act']) ][0]) )
{
$ipsclass->input['act'] = ( IPB_MAKE_PORTAL_HOMEPAGE ) ? 'home' : 'idx';
}

 

 

Replace With

 

//===========================================================================
// Short tags...
//===========================================================================

#$ipsclass->input['act'] = isset($ipsclass->input['act']) ? $ipsclass->input['act'] : ( IPB_MAKE_PORTAL_HOMEPAGE ? 'home' : 'idx' );

#if( is_array($ipsclass->input['act']) )
#{
# $ipsclass->input['act'] = ( IPB_MAKE_PORTAL_HOMEPAGE ) ? 'home' : 'idx';
#}

//---------------------------------------------------
// Check to make sure the array key exits..
//---------------------------------------------------

$ipsclass->input['_low_act'] = strtolower( $ipsclass->input['act'] );

if (! isset($choice[ $ipsclass->input['_low_act'] ][0]) )
{
#$ipsclass->input['act'] = 'idx';
#$ipsclass->input['_low_act'] = 'idx';

$ipsclass->input['act'] = 'component';
$ipsclass->input['_low_act'] = 'component';
$ipsclass->input['module'] = 'portal';
}

 

 

Then Find

 

$ipsclass->input['act'] = ( ! isset($ipsclass->input['act']) || $ipsclass->input['act'] == '' ) ? "idx" : $ipsclass->input['act'];
}

if ( !isset($ipsclass->input['_low_act']) OR !$ipsclass->input['_low_act'] OR $ipsclass->input['_low_act'] == 'idx' OR $ipsclass->input['_low_act'] == 'home' )
{
$ipsclass->input['_low_act'] = strtolower($ipsclass->input['act']);
}

 

 

Replace With

#$ipsclass->input['act'] = $ipsclass->input['act'] == '' ? "idx" : $ipsclass->input['act'];

if( $ipsclass->input['act'] == '' )
{
$ipsclass->input['act'] = 'component';
$ipsclass->input['module'] = 'portal';
}
}

if ( !
$ipsclass->input['_low_act'] OR $ipsclass->input['_low_act'] ==
'component' ) //$ipsclass->input['_low_act'] == 'idx' )
{ $ipsclass->input['_low_act'] =
strtolower($ipsclass->input['act']);
}
$ipsclass->input['module'] = ($ipsclass->input['act'] ==
'component' || $ipsclass->input['act'] == 'module' ) ?
$ipsclass->input['module'] : '';

 

 

If You Dont Do The Edits You Can Use The Link /index.php?autocom=portal

 

If You Do The Edits Goto Admin Tab>Components>Manage Components And Click The Check Mark Beside Of The Portal To Change It To An X So The autocom Portal Link Will Not Show On Your Site

 

Спасибо огромное Tribalize с IP.Board

Ссылка на комментарий
Поделиться на других сайтах

Присоединиться к обсуждению

Вы можете ответить сейчас, а зарегистрироваться позже. Если у вас уже есть аккаунт, войдите, чтобы ответить от своего имени.

Гость
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Ответить в этой теме...

×   Вы вставили отформатированный текст.   Удалить форматирование

  Допустимо не более 75 смайлов.

×   Ваша ссылка была автоматически заменена на медиа-контент.   Отображать как ссылку

×   Ваши публикации восстановлены.   Очистить редактор

×   Вы не можете вставить изображения напрямую. Загрузите или вставьте изображения по ссылке.

Зарузка...
×
×
  • Создать...

Важная информация

Находясь на нашем сайте, вы соглашаетесь на использование файлов cookie, а также с нашим положением о конфиденциальности Политика конфиденциальности и пользовательским соглашением Условия использования.