Next Generation CMS :: Форум поддержки

Заинтересовала наша система? Тогда этот форум для Вас!

Вы не зашли.

#1401 Re: Страницы плагинов » news_feedback :: Обратная связь в новости » 2015-03-13 21:18:45

murmurishka пишет:

шняга с плагином category_access

когда его включаю такие ошибки:

NGCMS Runtime exception: Twig_Error_Loader

Unable to find template [ABSOLUTE PATH] "/engine/plugins/category_access/tpl/entries.tpl" (looked into: /engine) in "/engine/cache/_templates/d91315e5532d480bd0fef4c31d324b11.txt" at line 75.

Stack trace

#    Line #    Class/Function    File name
0    164    Twig_Loader_NGCMS    /engine/includes/classes/Twig/Loader/NGCMS.php
1    272    Twig_Loader_NGCMS    /engine/includes/classes/Twig/Environment.php
2    319    Twig_Environment    /engine/includes/classes/Twig/Environment.php
3    811    Twig_Environment    /engine/includes/inc/libnews.php
4    282    news_showlist    /engine/plugins/xnews/xnews.php
5        xNewsShowBlock   
6    2875    call_user_func    /engine/includes/inc/functions.inc.php
7    187    twigCallPlugin    /engine/cache/twig/cd/9c/58b8376ddad5c4d80cbb5af92d7e.php
8    265    __TwigTemplate_cd9c58b8376ddad5c4d80cbb5af92d7e    /engine/includes/classes/Twig/Template.php
9    239    Twig_Template    /engine/includes/classes/Twig/Template.php
10    250    Twig_Template    /engine/includes/classes/Twig/Template.php
11    258    Twig_Template    /engine/includes/classes/Twig/Loader/NGCMS.php
12    132    Twig_Template_NGCMS    /engine/includes/classes/templates.class.php
13    223    tpl    /index.php

все плагины включены (тестовых целей для).
отключаю плагин - всё норм.

подозреваю что решение такое же как и у ирбиса тута: http://ngcms.ru/forum/viewtopic.php?pid=37881#p37881 ))

update

копирование шаблона плагина в основную папку шаблона не помогло.

отключил.

В первой строчке указан адрес что не найден /engine/plugins/category_access/tpl/entries.tpl
проверь наличие этого файла

#1402 Re: Страницы плагинов » news_feedback :: Обратная связь в новости » 2015-03-13 21:15:33

Сокол пишет:

Привет!
Версия: 0.9.3 Release [SVN880+FIX01]
news_feedback включил, создал новость - втсавлял и в новость и в шаблон = пусто. не фунциклирует...
подскажите - в чём дело?

Плагин делался под свн версию

#1403 Re: Административные вопросы » Новый релиз? А легко! » 2015-03-13 21:14:10

/engine/conf/extras/forum/group_perm.php

<?php

if (!defined('NGCMS')) die ('HAL');

$GROUP_PERM = array (
  0 => 
  array (
    'id' => '1',
    'group_id' => '0',
    'group_name' => 'Гость',
    'group_color' => 'red',
    'group_read' => '1',
    'group_news' => '1',
    'group_search' => '1',
    'group_pm' => '1',
  ),
  1 => 
  array (
    'id' => '2',
    'group_id' => '1',
    'group_name' => 'Администратор',
    'group_color' => 'red',
    'group_read' => '1',
    'group_news' => '1',
    'group_search' => '1',
    'group_pm' => '1',
  ),
  2 => 
  array (
    'id' => '3',
    'group_id' => '2',
    'group_name' => 'Редактор',
    'group_color' => 'red',
    'group_read' => '1',
    'group_news' => '1',
    'group_search' => '1',
    'group_pm' => '1',
  ),
  3 => 
  array (
    'id' => '4',
    'group_id' => '3',
    'group_name' => 'Журналист',
    'group_color' => 'blue',
    'group_read' => '1',
    'group_news' => '1',
    'group_search' => '1',
    'group_pm' => '1',
  ),
  4 => 
  array (
    'id' => '5',
    'group_id' => '4',
    'group_name' => 'Комментатор',
    'group_color' => 'gold',
    'group_read' => '1',
    'group_news' => '1',
    'group_search' => '1',
    'group_pm' => '1',
  ),
  5 => 
  array (
    'id' => '6',
    'group_id' => '5',
    'group_name' => 'Бот',
    'group_color' => 'red',
    'group_read' => '1',
    'group_news' => '1',
    'group_search' => '1',
    'group_pm' => '1',
  ),
);

engine/conf/extras/forum/forum_perm.php

<?php

if (!defined('NGCMS')) die ('HAL');

$FORUM_PERM = array (
  0 => 
  array (
    12 => 
    array (
      'id' => '1',
      'group_id' => '0',
      'forum_id' => '12',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '0',
      'post_modify' => '0',
      'post_modify_your' => '0',
      'post_remove' => '0',
      'post_remove_your' => '0',
    ),
    13 => 
    array (
      'id' => '7',
      'group_id' => '0',
      'forum_id' => '13',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '0',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '0',
      'post_modify' => '0',
      'post_modify_your' => '0',
      'post_remove' => '0',
      'post_remove_your' => '0',
    ),
    14 => 
    array (
      'id' => '13',
      'group_id' => '0',
      'forum_id' => '14',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '0',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '0',
      'post_modify' => '0',
      'post_modify_your' => '0',
      'post_remove' => '0',
      'post_remove_your' => '0',
    ),
    15 => 
    array (
      'id' => '19',
      'group_id' => '0',
      'forum_id' => '15',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '0',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '0',
      'post_modify' => '0',
      'post_modify_your' => '0',
      'post_remove' => '0',
      'post_remove_your' => '0',
    ),
    16 => 
    array (
      'id' => '25',
      'group_id' => '0',
      'forum_id' => '16',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '0',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '0',
      'post_modify' => '0',
      'post_modify_your' => '0',
      'post_remove' => '0',
      'post_remove_your' => '0',
    ),
    17 => 
    array (
      'id' => '31',
      'group_id' => '0',
      'forum_id' => '17',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '0',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '0',
      'post_modify' => '0',
      'post_modify_your' => '0',
      'post_remove' => '0',
      'post_remove_your' => '0',
    ),
    18 => 
    array (
      'id' => '37',
      'group_id' => '0',
      'forum_id' => '18',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '0',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '0',
      'post_modify' => '0',
      'post_modify_your' => '0',
      'post_remove' => '0',
      'post_remove_your' => '0',
    ),
    19 => 
    array (
      'id' => '43',
      'group_id' => '0',
      'forum_id' => '19',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '0',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '0',
      'post_modify' => '0',
      'post_modify_your' => '0',
      'post_remove' => '0',
      'post_remove_your' => '0',
    ),
    20 => 
    array (
      'id' => '49',
      'group_id' => '0',
      'forum_id' => '20',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '0',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '0',
      'post_modify' => '0',
      'post_modify_your' => '0',
      'post_remove' => '0',
      'post_remove_your' => '0',
    ),
    21 => 
    array (
      'id' => '55',
      'group_id' => '0',
      'forum_id' => '21',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '0',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '0',
      'post_modify' => '0',
      'post_modify_your' => '0',
      'post_remove' => '0',
      'post_remove_your' => '0',
    ),
    22 => 
    array (
      'id' => '61',
      'group_id' => '0',
      'forum_id' => '22',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '0',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '0',
      'post_modify' => '0',
      'post_modify_your' => '0',
      'post_remove' => '0',
      'post_remove_your' => '0',
    ),
  ),
  1 => 
  array (
    12 => 
    array (
      'id' => '2',
      'group_id' => '1',
      'forum_id' => '12',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '1',
      'topic_modify_your' => '1',
      'topic_closed' => '1',
      'topic_closed_your' => '1',
      'topic_remove' => '1',
      'topic_remove_your' => '1',
      'post_send' => '1',
      'post_modify' => '1',
      'post_modify_your' => '1',
      'post_remove' => '1',
      'post_remove_your' => '1',
    ),
    13 => 
    array (
      'id' => '8',
      'group_id' => '1',
      'forum_id' => '13',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '1',
      'topic_modify_your' => '1',
      'topic_closed' => '1',
      'topic_closed_your' => '1',
      'topic_remove' => '1',
      'topic_remove_your' => '1',
      'post_send' => '1',
      'post_modify' => '1',
      'post_modify_your' => '1',
      'post_remove' => '1',
      'post_remove_your' => '1',
    ),
    14 => 
    array (
      'id' => '14',
      'group_id' => '1',
      'forum_id' => '14',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '1',
      'topic_modify_your' => '1',
      'topic_closed' => '1',
      'topic_closed_your' => '1',
      'topic_remove' => '1',
      'topic_remove_your' => '1',
      'post_send' => '1',
      'post_modify' => '1',
      'post_modify_your' => '1',
      'post_remove' => '1',
      'post_remove_your' => '1',
    ),
    15 => 
    array (
      'id' => '20',
      'group_id' => '1',
      'forum_id' => '15',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '1',
      'topic_modify_your' => '1',
      'topic_closed' => '1',
      'topic_closed_your' => '1',
      'topic_remove' => '1',
      'topic_remove_your' => '1',
      'post_send' => '1',
      'post_modify' => '1',
      'post_modify_your' => '1',
      'post_remove' => '1',
      'post_remove_your' => '1',
    ),
    16 => 
    array (
      'id' => '26',
      'group_id' => '1',
      'forum_id' => '16',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '1',
      'topic_modify_your' => '1',
      'topic_closed' => '1',
      'topic_closed_your' => '1',
      'topic_remove' => '1',
      'topic_remove_your' => '1',
      'post_send' => '1',
      'post_modify' => '1',
      'post_modify_your' => '1',
      'post_remove' => '1',
      'post_remove_your' => '1',
    ),
    17 => 
    array (
      'id' => '32',
      'group_id' => '1',
      'forum_id' => '17',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '1',
      'topic_modify_your' => '1',
      'topic_closed' => '1',
      'topic_closed_your' => '1',
      'topic_remove' => '1',
      'topic_remove_your' => '1',
      'post_send' => '1',
      'post_modify' => '1',
      'post_modify_your' => '1',
      'post_remove' => '1',
      'post_remove_your' => '1',
    ),
    18 => 
    array (
      'id' => '38',
      'group_id' => '1',
      'forum_id' => '18',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '1',
      'topic_modify_your' => '1',
      'topic_closed' => '1',
      'topic_closed_your' => '1',
      'topic_remove' => '1',
      'topic_remove_your' => '1',
      'post_send' => '1',
      'post_modify' => '1',
      'post_modify_your' => '1',
      'post_remove' => '1',
      'post_remove_your' => '1',
    ),
    19 => 
    array (
      'id' => '44',
      'group_id' => '1',
      'forum_id' => '19',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '1',
      'topic_modify_your' => '1',
      'topic_closed' => '1',
      'topic_closed_your' => '1',
      'topic_remove' => '1',
      'topic_remove_your' => '1',
      'post_send' => '1',
      'post_modify' => '1',
      'post_modify_your' => '1',
      'post_remove' => '1',
      'post_remove_your' => '1',
    ),
    20 => 
    array (
      'id' => '50',
      'group_id' => '1',
      'forum_id' => '20',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '1',
      'topic_modify_your' => '1',
      'topic_closed' => '1',
      'topic_closed_your' => '1',
      'topic_remove' => '1',
      'topic_remove_your' => '1',
      'post_send' => '1',
      'post_modify' => '1',
      'post_modify_your' => '1',
      'post_remove' => '1',
      'post_remove_your' => '1',
    ),
    21 => 
    array (
      'id' => '56',
      'group_id' => '1',
      'forum_id' => '21',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '1',
      'topic_modify_your' => '1',
      'topic_closed' => '1',
      'topic_closed_your' => '1',
      'topic_remove' => '1',
      'topic_remove_your' => '1',
      'post_send' => '1',
      'post_modify' => '1',
      'post_modify_your' => '1',
      'post_remove' => '1',
      'post_remove_your' => '1',
    ),
    22 => 
    array (
      'id' => '62',
      'group_id' => '1',
      'forum_id' => '22',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '1',
      'topic_modify_your' => '1',
      'topic_closed' => '1',
      'topic_closed_your' => '1',
      'topic_remove' => '1',
      'topic_remove_your' => '1',
      'post_send' => '1',
      'post_modify' => '1',
      'post_modify_your' => '1',
      'post_remove' => '1',
      'post_remove_your' => '1',
    ),
  ),
  2 => 
  array (
    12 => 
    array (
      'id' => '3',
      'group_id' => '2',
      'forum_id' => '12',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    13 => 
    array (
      'id' => '9',
      'group_id' => '2',
      'forum_id' => '13',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    14 => 
    array (
      'id' => '15',
      'group_id' => '2',
      'forum_id' => '14',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    15 => 
    array (
      'id' => '21',
      'group_id' => '2',
      'forum_id' => '15',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    16 => 
    array (
      'id' => '27',
      'group_id' => '2',
      'forum_id' => '16',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    17 => 
    array (
      'id' => '33',
      'group_id' => '2',
      'forum_id' => '17',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    18 => 
    array (
      'id' => '39',
      'group_id' => '2',
      'forum_id' => '18',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    19 => 
    array (
      'id' => '45',
      'group_id' => '2',
      'forum_id' => '19',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    20 => 
    array (
      'id' => '51',
      'group_id' => '2',
      'forum_id' => '20',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    21 => 
    array (
      'id' => '57',
      'group_id' => '2',
      'forum_id' => '21',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    22 => 
    array (
      'id' => '63',
      'group_id' => '2',
      'forum_id' => '22',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
  ),
  3 => 
  array (
    12 => 
    array (
      'id' => '4',
      'group_id' => '3',
      'forum_id' => '12',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    13 => 
    array (
      'id' => '10',
      'group_id' => '3',
      'forum_id' => '13',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    14 => 
    array (
      'id' => '16',
      'group_id' => '3',
      'forum_id' => '14',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    15 => 
    array (
      'id' => '22',
      'group_id' => '3',
      'forum_id' => '15',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    16 => 
    array (
      'id' => '28',
      'group_id' => '3',
      'forum_id' => '16',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    17 => 
    array (
      'id' => '34',
      'group_id' => '3',
      'forum_id' => '17',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    18 => 
    array (
      'id' => '40',
      'group_id' => '3',
      'forum_id' => '18',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    19 => 
    array (
      'id' => '46',
      'group_id' => '3',
      'forum_id' => '19',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    20 => 
    array (
      'id' => '52',
      'group_id' => '3',
      'forum_id' => '20',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    21 => 
    array (
      'id' => '58',
      'group_id' => '3',
      'forum_id' => '21',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    22 => 
    array (
      'id' => '64',
      'group_id' => '3',
      'forum_id' => '22',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
  ),
  4 => 
  array (
    12 => 
    array (
      'id' => '5',
      'group_id' => '4',
      'forum_id' => '12',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    13 => 
    array (
      'id' => '11',
      'group_id' => '4',
      'forum_id' => '13',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    14 => 
    array (
      'id' => '17',
      'group_id' => '4',
      'forum_id' => '14',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    15 => 
    array (
      'id' => '23',
      'group_id' => '4',
      'forum_id' => '15',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    16 => 
    array (
      'id' => '29',
      'group_id' => '4',
      'forum_id' => '16',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    17 => 
    array (
      'id' => '35',
      'group_id' => '4',
      'forum_id' => '17',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    18 => 
    array (
      'id' => '41',
      'group_id' => '4',
      'forum_id' => '18',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    19 => 
    array (
      'id' => '47',
      'group_id' => '4',
      'forum_id' => '19',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    20 => 
    array (
      'id' => '53',
      'group_id' => '4',
      'forum_id' => '20',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    21 => 
    array (
      'id' => '59',
      'group_id' => '4',
      'forum_id' => '21',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
    22 => 
    array (
      'id' => '65',
      'group_id' => '4',
      'forum_id' => '22',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '1',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '1',
      'post_remove' => '0',
      'post_remove_your' => '1',
    ),
  ),
  5 => 
  array (
    12 => 
    array (
      'id' => '6',
      'group_id' => '5',
      'forum_id' => '12',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '0',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '0',
      'post_remove' => '0',
      'post_remove_your' => '0',
    ),
    13 => 
    array (
      'id' => '12',
      'group_id' => '5',
      'forum_id' => '13',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '0',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '0',
      'post_remove' => '0',
      'post_remove_your' => '0',
    ),
    14 => 
    array (
      'id' => '18',
      'group_id' => '5',
      'forum_id' => '14',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '0',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '0',
      'post_remove' => '0',
      'post_remove_your' => '0',
    ),
    15 => 
    array (
      'id' => '24',
      'group_id' => '5',
      'forum_id' => '15',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '0',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '0',
      'post_remove' => '0',
      'post_remove_your' => '0',
    ),
    16 => 
    array (
      'id' => '30',
      'group_id' => '5',
      'forum_id' => '16',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '0',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '0',
      'post_remove' => '0',
      'post_remove_your' => '0',
    ),
    17 => 
    array (
      'id' => '36',
      'group_id' => '5',
      'forum_id' => '17',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '0',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '0',
      'post_remove' => '0',
      'post_remove_your' => '0',
    ),
    18 => 
    array (
      'id' => '42',
      'group_id' => '5',
      'forum_id' => '18',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '0',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '0',
      'post_remove' => '0',
      'post_remove_your' => '0',
    ),
    19 => 
    array (
      'id' => '48',
      'group_id' => '5',
      'forum_id' => '19',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '0',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '0',
      'post_remove' => '0',
      'post_remove_your' => '0',
    ),
    20 => 
    array (
      'id' => '54',
      'group_id' => '5',
      'forum_id' => '20',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '0',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '0',
      'post_remove' => '0',
      'post_remove_your' => '0',
    ),
    21 => 
    array (
      'id' => '60',
      'group_id' => '5',
      'forum_id' => '21',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '0',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '0',
      'post_remove' => '0',
      'post_remove_your' => '0',
    ),
    22 => 
    array (
      'id' => '66',
      'group_id' => '5',
      'forum_id' => '22',
      'forum_read' => '1',
      'topic_read' => '1',
      'topic_send' => '0',
      'topic_modify' => '0',
      'topic_modify_your' => '0',
      'topic_closed' => '0',
      'topic_closed_your' => '0',
      'topic_remove' => '0',
      'topic_remove_your' => '0',
      'post_send' => '1',
      'post_modify' => '0',
      'post_modify_your' => '0',
      'post_remove' => '0',
      'post_remove_your' => '0',
    ),
  ),
);

Это все создается при установке форума,если их нету значит смотрите права

#1404 Re: "А как сделать..." » блин столько идей а как раелтзовать не знаю((( » 2015-02-22 11:43:57

тогда открываешь браузер и в поиск вбиваешь редирект ,или переадресация

#1405 Re: "У меня не работает..." » Не загружаются изображения и файлы » 2015-02-21 20:36:09

Я ни чего не прописываю,если нужна помощь то скидывай доступы ftr и админку сайта,посмотрим

#1406 Re: "У меня не работает..." » Не загружаются изображения и файлы » 2015-02-21 17:38:52

Ни какой магии,просто залил,установил,включил не обходимые мне плагины,прошел по настройкам движка и все ,буквально на все 20 мин.

#1407 Re: Страницы плагинов » downloadcounter :: Счетчик загрузок » 2015-02-21 14:36:26

Chris пишет:

NGCMS:0.9.3 Release [SVN880+FIX01]

ставь старую версию без твига

#1409 Re: Страницы плагинов » downloadcounter :: Счетчик загрузок » 2015-02-21 13:33:49

Chris пишет:

А как он должен работать? Пишу в новости [counter=http://www.mysite.com/uploads/files/default/test.rar]Скачать.[/counter]
В опубликованной новости ровно такой же текст и выводится. Верс. плагина 0.3

Версия движка какая?

#1411 Re: "А как сделать..." » блин столько идей а как раелтзовать не знаю((( » 2015-02-20 16:55:57

scarrr пишет:

Чтобы добавить новость через плагин  nsm нужно ввести в адресной строке сайт.ру/plugin/nms
А мне надо сайт.ру/new
Nsm на new я уже поменял
Как избавиться от дериктории "/plugin" в адресной строке???

это в плагине не предусмотренно

#1412 Re: Тестирование версий » NGCMG версии 0.9.4 [Release Candidate 1][GIT 20150123] » 2015-02-20 16:53:08

Zemlemer пишет:

Плагин xfields - не работает (или не предусмотрена?) проверка доп. полей пользователя при регистрации (при редактировании профиля работает). Т. е. удается зарегистрироваться, не заполнив доп. поле, указанное как "обязательное".

Не только там,еще в обратной связи и везде где есть формы, я делал на html5,но не во всех браузерах работает,особенно старых

#1413 Re: "А как сделать..." » Редирект внутри комментариев. » 2015-02-19 11:37:01

Ну это если там ссылкам присвоить класс,и исправить в скрипте

#1414 Re: "А как сделать..." » Редирект внутри комментариев. » 2015-02-18 20:09:57

Через отдельную страницу ?http://ngcmshak.ru/js/stranica-perehoda-po-vneshnei-ssylke.html

#1417 Re: "А как сделать..." » минимальное количество символов » 2015-02-17 17:57:12

scarrr пишет:

и еще,
http://ngcmshak.ru/interfeis/delaem-vybor-stilya-oformleniya-saita-polzovatelem.html
тут нет никаких ошибок? я просто пять раз уже всё препроверил всё по инструкции? всё равно не работает

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

#1419 Re: "У меня не работает..." » Не загружаются изображения и файлы » 2015-02-17 13:58:48

Chris пишет:

Пробовал 3 браузера. результат похожий. Даже специально поставил IE 11. Разницы никакой.

меняй хостинг

#1420 Re: "А как сделать..." » минимальное количество символов » 2015-02-17 13:50:02

идем в директорию   твой шаблон/plugins/nsm/ там открываем файл news.add.tpl
меняем это

<script type="text/javascript">
// Global variable: ID of current active input area
{% if (flags.edit_split) %}var currentInputAreaID = 'ng_news_content_short';{% else %}var currentInputAreaID = 'ng_news_content';{% endif %}


function preview(){
 var form = document.getElementById("postForm");
 if (form.ng_news_content{% if (flags.edit_split) %}_short{% endif %}.value == '' || form.title.value == '') {
  alert('{{ lang.nsm['err.preview'] }}');
  return false;
 }

 form['mod'].value = "preview";
 form.target = "_blank";
 form.submit();

 form['mod'].value = "news";
 form.target = "_self";
 return true;
}

function changeActive(name) {
 if (name == 'full') {
	document.getElementById('container.content.full').className  = 'contentActive';
	document.getElementById('container.content.short').className = 'contentInactive';
	currentInputAreaID = 'ng_news_content_full';
 } else {
	document.getElementById('container.content.short').className = 'contentActive';
	document.getElementById('container.content.full').className  = 'contentInactive';
	currentInputAreaID = 'ng_news_content_short';
 }
}
function approveMode(mode) {
	document.getElementById('approve').value = mode;
	return true;
}
</script>

на вот этот

<script src="http://jqueryvalidation.org/files/dist/jquery.validate.min.js"></script>
<script type="text/javascript">
// Global variable: ID of current active input area
{% if (flags.edit_split) %}var currentInputAreaID = 'ng_news_content_short';{% else %}var currentInputAreaID = 'ng_news_content';{% endif %}


function preview(){
 var form = document.getElementById("postForm");
 if (form.ng_news_content{% if (flags.edit_split) %}_short{% endif %}.value == '' || form.title.value == '') {
  alert('{{ lang.nsm['err.preview'] }}');
  return false;
 }

 form['mod'].value = "preview";
 form.target = "_blank";
 form.submit();

 form['mod'].value = "news";
 form.target = "_self";
 return true;
}

function changeActive(name) {
 if (name == 'full') {
	document.getElementById('container.content.full').className  = 'contentActive';
	document.getElementById('container.content.short').className = 'contentInactive';
	currentInputAreaID = 'ng_news_content_full';
 } else {
	document.getElementById('container.content.short').className = 'contentActive';
	document.getElementById('container.content.full').className  = 'contentInactive';
	currentInputAreaID = 'ng_news_content_short';
 }
}
function approveMode(mode) {
	document.getElementById('approve').value = mode;
	return true;
}
$().ready(function(){
	$("#postForm").validate({
		rules : {
			ng_news_content : { minlength: 200},
		
		},
		messages : {
			ng_news_content : {
				
				minlength : "Введите не менее, чем 200 символа.",
				
			},
		
		}
	});
});
function counter(el)
{var wrapper = document.createElement('DIV');
wrapper.innerHTML = el.value;
var len = (wrapper.textContent || wrapper.innerText).length;
document.getElementById('count').innerHTML = len + ' | ' + el.value.length;
document.getElementById('kb').innerHTML = (len/1024).toFixed(2);
}
</script>

далее меняем это

<textarea name="ng_news_content" id="ng_news_content" style="width:98%; height: 400px;" class="textarea"></textarea>

на это

<textarea name="ng_news_content" id="ng_news_content" style="width:98%; height: 400px;" class="form-control" minlength="200"onkeypress="counter(this);" onkeyup="counter(this);" onchange="counter(this);"></textarea>
	<BR/>
	Вы ввели: <span id='count'>0</span> символов. <span id='kb'>0</span>Kb

проверенно все работает

#1422 Re: Страницы плагинов » ads_pro :: Реклама на сайте » 2015-02-17 12:28:57

Chris пишет:

У мня версия 0.5, если брать версию 0.6 из SVN, всё тоже самое. А в 0.4 ещё нет рандомного выбора ID.

меняй хостера

#1423 Re: Запросы плагинов » замена редактора » 2015-02-17 12:27:22

надо смотреть исходник,если стили и скрипты подключены значит все нормально,искать другую причину

#1424 Re: FAQ » Вопрос по движку » 2015-02-17 12:25:41

Есть хостинг от 10 руб http://www.cishost.ru/,зачем так извращатся wink

#1425 Re: "У меня не работает..." » Не загружаются изображения и файлы » 2015-02-17 08:24:21

Chris пишет:

Ошибся на 1 smile http://trac.assembla.com/ngcms/changeset/907
Как только в файлах и изображениях появляется нестандартная кнопка "загрузить", у меня все эти функции перестают работать.

У тебя в браузере блокировщик рекламы стоит?

Подвал раздела

Работает на FluxBB