Перейти к публикации

yarik1390

новички
  • Публикации

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

  • Посещение

Сообщения, опубликованные пользователем yarik1390

  1. 2 часа назад, germanydletest сказал:

    кусок кода с примером использования покажите

    Ошибка скорее всего в тегах [aviable]

    Пример работающего кода:

    [not-aviable=main|showfull]
    <section id="blog">
        <div class="container"> 
        <div class="row">
        <div class="col-lg-12 wp2 delay-05s">
        [category=1,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]{include file='/filter/filterform_1.tpl'}[/category]
        [category=2]{include file='/filter/filterform_2.tpl'}[/category]
        [category=3,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41.42,43,44,45,46]{include file='/filter/filterform_3.tpl'}[/category]
    [category=1]             
    <div class="seo-panel-group">
    <div class="seo-panel seo-panel-default">
    <div class="seo-panel-body more-main">
    <p>текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст т</p>
    </div>
    </div>
     </div>[/category]
    {content}
    </div>
     </div>
    </div><!-- /.container --> 
    </section><!-- /#actors --> 
    [/not-aviable]

    Если между тегами добавить еще, хотя бы один символ, получаем белую страницу. 

     

    В тоже время большой текст можно вынести в отдельный шаблон и подключить с помощью include, тогда все работает.

  2. Например, если в шаблоне main.tpl использовать только тег [available=main] то шаблон обрабатывается скриптом. Ели же добааить еще тег, например, [available=showfull] получаем белую страницу.   В чем может быть причина?

    Версия скрипта: 10.6

    Версия PHP: 7.0.3

  3. Версия DataLife Engine: 9.2

    Операционная система: Linux 2.6.18-194.26.1.el5.028stab079.2

    Версия PHP: 5.2.6-1+lenny9

    Версия MySQL: 5.0.51a-24+lenny4 MySQLi

    Информация о GD: GD Version: 2.0 or higher, FreeType Support: Enabled, FreeType Linkage: with freetype, T1Lib Support: Enabled, GIF Read Support: Enabled, GIF Create Support: Enabled, JPG Support: Enabled, PNG Support: Enabled, WBMP Support: Enabled, XPM Support: Disabled, XBM Support: Disabled, JIS-mapped Japanese Font Support: Disabled,

    Module mod_rewrite Включен

    Безопасный режим: Выключен

    Выделено оперативной памяти: 256M

    Отключенные функции: Неопределено

    Максимальный размер загружаемого файла: 8 Mb

    Размер свободного места на диске: 14.79 Gb

    Проблема:

    При включение мода для Апача mod_pagespeed, при попытке отредактировать или добавить новость, открывается страница без редактора (только кнопки отправить, просмотр, удалить).

    Возможно конфликт jquery.

  4. Злраствуйте, у меня возникла проблема. Скрипт стал очень грузить сервер (сайт расположен на выделеном сервере). В особености оперативную память с 1гб забирает около 950 мб. Нагрузка процесора нормальная всего 1-2 %.

    Также сайт стал намного дольше грузиться, время загрузки в среднем 11-12 секунд (раньше было 2-3)

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

    Пожалуйста подскажите в чем проблема

    Сайт: worldforfree.net

  5. // 5.7

    'user_avatar' => "Avatar upload:",

    'user_del_avatar' => "Are you sure you want to delete this avatar?",

    'opt_sfind' => "Search and replacement",

    'opt_sfindc' => "Search and replacement of the text in the database",

    'find_main' => "Quick text replacement in the database",

    'find_info' => "This umakes it is easy to replace any text in your database. For example you have changed your domain and want to change it in your articles, comments, static pages etc. Don't forget to backup your database before replacement.",

    'find_ftable' => "Choose table for replacement:",

    'find_ftext' => "Enter old text here:",

    'find_rtext' => "Enter new text here:",

    'find_rstart' => "Replace text",

    'find_rnews' => "in articles",

    'find_rcomms' => "in comments",

    'find_rpm' => "in personal messages",

    'find_rstatic' => "in static pages",

    'find_done_h' => "Replacement is done",

    'find_done' => "Text in the database was replaced successfully.",

    'mail_info_3' => "Edit email properties (new article notification)",

    'mail_news_info' => "You can use the following tags when creating template for this message:<br /><b>{%title%}</b> - title of the article<br /><b>{%username%}</b> - author<br /><b>{%date%}</b> - date published<br /><b>{%category%}</b> - category, in which it was published",

    'mail_info_4' => "Edit email properties (new comment notification)",

    'mail_comm_info' => "You can use the following tags when creating template for this message:<br /><b>{%link%}</b> - link of the article<br /><b>{%username%}</b> - author<br /><b>{%date%}</b> - date posted<br /><b>{%ip%}</b> - user IP<br /><b>{%text%}</b> - text of the comment",

    'opt_sys_nmail' => "Отсылать E-Mail уведомление при получении новых новостей",

    'opt_sys_nmaild' => "If you choose 'Yes', when new article is published, the message will be sent to your Email.",

    'opt_sys_cmail' => "Send message when new comment is added",

    'opt_sys_cmaild' => "If you choose 'Yes', when new comment is added, the message will be sent to your Email.",

    'bb_t_leech' => "Insert safe link",

    'group_icon' => "Group icon",

    'hint_gicon' => "You can choose path to icon for this group. You can use tag <b>{THEME}</b> for dynamic loading of the image from the template folder",

    // 5.7

    // 5.5

    'opt_sys_related' => "Related news",

    'opt_sys_relatedd' => "This module does context search for related articles. Disabling of this module will decrease the load of your MySQL server",

    'anti_snap' => "Make snapshot",

    'anti_snapalert' => "You are sure that the following file list is secure and you wnat to make snapshot of these files.",

    'anti_modified' => "different from snapshot",

    'anti_not' => "onknown by the script",

    'anti_snap' => "Make snapshot",

    'anti_creates' => "System files and templates snapshot is successfully made",

    'ip_found_comments' => "Users used this IP address when posting comments",

    'static_tpl' => "Use template",

    'hint_stpl' => "Put template name here, otherways leave it blank, than the standard template <b>static.tpl</b> will be used",

    'opt_sys_nodate' => "Future date articles publishing support",

    'opt_sys_nodated' => "When this function is enabled, than the article published for the future date will be published automatically. Disabling of this function will decrease the load of your server, especially when your database is big.",

    'cat_s_tpl' => "Short article template",

    'cat_s_tpl_hit' => "You can choose custom template for your short articles. Otherways leave it blank than standard template <b>shortstory.tpl</b> will be used",

    'cat_f_tpl' => "Full article template",

    'cat_f_tpl_hit' => "You can choose custom template for your full articles. Otherways leave it blank than standard template <b>fullstory.tpl</b> will be used",

    // 5.5

    а вот мои старания :D

  6. Bluehost.com

    Посещаемость 6000 - 7000 в сутки. Тариф там один.

    Плюс на этом же хостинге у меня портал флеш игр, аплодер сайт с читами для игр.

    Проблем почти никаких не было.

    Плачу 7$ месяц

  7. FinRaduga,

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

    Что побудило вас сделать такой вывод? Хм! Кажется, там это добра хватает. Да они и платить привыкли, мне думается. Бывал я на ихних сайтах - варезных. Авообще, как оцениваете, есть их посетители?

    посетителей довольно много, но единственая проблема в их активности. Уж очень редко оставляют коментарии и т.д. Зато бывают довольно щедрые посетители :D

  8. EuroSTAR,

    А забить на эти [iNDEX] [/iNDEX] нельзя? Или если их не приписывать, то и работать не будет?

    лучше всего эти теги вставлять в main.tpl, там где выводятся новости. выглядеть это должно примерно так <index>{info}{content}</index>.

    Вот так это зделано у меня на сайтеЖ

    </table>
    
    <index>{info}			
    
      {content} </index></td>
    
    		<td width="10" background="{THEME}/images/linie.gif"><img src="{THEME}/images/linie.gif" width="9" height="18" border="0"></td>
    
    	  <td width="220" valign="top"><table width="100%">
    
    		  <tr>

  9. Я решил регнуться на сайте Begun.ru и поставить их рекламные новости на сайт, но код, который после реги там выдали НЕ пашет! Я его вставляю в специально созданный блок, а получается просто пустота(

    Вот сам код, что выдали:

    <script type=text/javascript>

    var begun_auto_colors = new Array();

    var begun_auto_fonts_size = new Array();

    begun_auto_pad = 50080106; // идентификатор площадки

    begun_auto_limit = 3; // число объявлений выводимых на площадке

    begun_auto_width=350; // ширина блока объявлений.

    begun_auto_colors[0]='#0000CC'; // цвет ссылки объявлений

    begun_auto_colors[1]='#000000'; // цвет текста объявления

    begun_auto_colors[2]='#00CC00'; // цвет домена объявления

    begun_auto_colors[3]='#FFFFFF'; // цвет фона блока объявлений

    begun_auto_fonts_size[0]='10pt'; // р-мер шрифта ссылки объявлений

    begun_auto_fonts_size[1]='10pt'; // р-мер шрифта текста объявления

    begun_auto_fonts_size[2]='10pt'; // р-мер шрифта домена объявления

    begun_auto_fonts_size[3]='10pt'; // р-мер шрифта заглушки

    </SCRIPT>

    <script src="http://autocontext.begun.ru/autocontext.js" type="text/javascript">

    </SCRIPT>

    В чем собсно дело?

    Дело в том что новости в этом блоке появляются не сразу, а только после того как Begun.ru проиндексируют вашу страницу. Плюс вам нужно установить теги [iNDEX] [/iNDEX] (об этом у них написано в инструкции)

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