Перейти к содержанию

hita

Пользователи
  • Постов

    20
  • Зарегистрирован

  • Посещение

Сообщения, опубликованные hita

  1. Вот попробовал опустить, но банер приелся к блоку сверху, как бы так же опустить, только не цепляя блок

     

    2.png

    В custom прописано

    Цитата

    @media screen and (max-width: 1400px) {
     #mmgp-mwa-block-block56fd51b521528HUxhLIa {
         display: none;
      }}

    @media screen and (max-width: 800px) {
    .ipsReklama {
         margin-top: 80px;
         height: 80px;
         display: none;
      }}

    @media screen and (min-width: 90px) {
    .ipsReklama {
         margin-top: 80px;
         height: 80px;
      }}
    .ipsAreaBackground_light {
        background-color: transparent !important;
        background: transparent !important;
    }

    В globalTemplate прописано

    Цитата

    <div class='ipsReklama'>
                        {advertisement="KEY1"}
                          </div>

    Рекламу саму делал через АЦ

  2. Цитата

    /system/Dispatcher/Front.php(244): IPS\_Member->canAccessModule(NULL)

    /* Permission Check */
    		if ( !\IPS\Member::loggedIn()->canAccessModule( $this->module ) )
    		{
    			if ( !\IPS\Member::loggedIn()->member_id and isset( \IPS\Request::i()->_mfaLogin ) )
    			{
    				\IPS\Output::i()->redirect( \IPS\Http\Url::internal( "app=core&module=system&controller=login", 'front', 'login' )->setQueryString( '_mfaLogin', 1 ) );
    			}
    			\IPS\Output::i()->error( ( \IPS\Member::loggedIn()->member_id ? 'no_module_permission' : 'no_module_permission_guest' ), '2S100/2', 403, 'no_module_permission_admin' );
    		}
    		

    Вторая

    Цитата

    /system/Dispatcher/Dispatcher.php(103): IPS\Dispatcher\_Front->init()

    	public static function i()
    	{
    		if( static::$instance === NULL )
    		{
    			$class = get_called_class();
    
    			if( $class == 'IPS\\Dispatcher' )
    			{
    				throw new \RuntimeException( "Only subclasses of Dispatcher can be instantiated" );
    			}
    			
    			static::$instance = new $class;
    			
    			if( static::$instance->controllerLocation != 'setup' )
    			{
    				$_redirect	= FALSE;
    
    				if ( !file_exists( \IPS\ROOT_PATH . '/conf_global.php' ) )
    				{
    					$_redirect	= TRUE;
    				}
    				else
    				{
    					require \IPS\ROOT_PATH . '/conf_global.php';
    
    					if( !isset( $INFO['sql_database'] ) )
    					{
    						$_redirect	= TRUE;
    					}
    					else if ( !isset( $INFO['installed'] ) OR !$INFO['installed'] )
    					{
    						/* This looks weird, but there was a period of time where "installed" was misspelled as "instaled" on Community in the Cloud after install finished. So, if that is present, assume we're okay. */
    						if ( !isset( $INFO['instaled'] ) )
    						{
    							if( isset( $_SERVER['SERVER_PROTOCOL'] ) and \strstr( $_SERVER['SERVER_PROTOCOL'], '/1.0' ) !== false )
    							{
    								header( "HTTP/1.0 503 Service Unavailable" );
    							}
    							else
    							{
    								header( "HTTP/1.1 503 Service Unavailable" );
    							}
    									
    							require \IPS\ROOT_PATH . '/' . \IPS\CP_DIRECTORY . '/install/installing.html';
    							exit;
    						}
    					}
    				}
    
    				if( $_redirect === TRUE )
    				{
    					/* conf_global.php does not exist, forward to installer */
    					$url	= ( \IPS\Request::i()->isSecure()  ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . rtrim( dirname( $_SERVER['SCRIPT_NAME'] ), '/' );
    					\IPS\Output::i()->redirect( "{$url}/" . \IPS\CP_DIRECTORY . "/install/" );
    				}
    			}
    			
    			static::$instance->init();
    		}
    		
    		return static::$instance;
    	}
    
    
    
    Но ошибку выбает тут:
    static::$instance->init();

    Третья

    Цитата

    /index.php(13): IPS\_Dispatcher::i()

    \IPS\Dispatcher\Front::i()->run();

     

  3. 2 часа назад, Sipsb сказал:

    hita Всё так и есть.

      Скрыть контент

    1921915422_2018-12-03_07-30-54(1).png.b0d6006f8f4e70ac8a8d876042c9dd3d.png

    Зачем писать правила на самом форуме? Для этого в ACP есть соответствующий раздел "Правила и политика"

    Да я имею ввиду дело не только в правилах, я про все темы, все темы ведь так
    Вот видишь, у тебя слева, у меня сверху почему то

×
×
  • Создать...