Иконка ресурса

[XenMods] Announcements Beta 2 RC

Нет прав для скачивания

Hope

Premium
Сообщения
48,318
Решения
22
Реакции
71,959
Баллы
40,905
Последнее редактирование:
Странно у меня в автоапдейтере xenforo.info постоянно говорит что доступно обновление. Однако каждый раз это Beta 2 RC (version: Beta 2 RC).
Обновляю, через какое-то время снова то же самое. Обновлял для успокоения совести уже три раза :)

В чем может быть беда?
 
Обновлял для успокоения совести уже три раза :)
:-D


Странно у меня в автоапдейтере xenforo.info постоянно говорит что доступно обновление. Однако каждый раз это Beta 2 RC (version: Beta 2 RC).
Зная автора, смею предположить, что он добавил в плагин свои скрытые ссылки, которые могут проверять наличие новой версии через его сайт, отсюда может быть и конфликт.
 
Понял. Спасибо. Тогда буду пока игнорить просто обновления.
 
Извините за тупой вопрос ну где это настраивать?
 
/admin.php?announcements/
 
Должна была вкладка в верхнем меню в админке появиться...
 
Ну я не знаю, никогда этим не пользовался...
 
Вроде нету, спрашивали уже до этого...
 
Как же так?Я видел на другом форуме такое же,возможно вы можете помочь мне вот код xml плагина
Код:
<?xml version="1.0" encoding="utf-8"?>
<addon addon_id="PHCannouncements" title="PHP Help Center Announcements" version_string="Beta 2" version_id="3" url="http://phphelpcenter.com" install_callback_class="" install_callback_method="" uninstall_callback_class="" uninstall_callback_method="">
  <admin_navigation>
    <navigation navigation_id="PHCAnnouncements" parent_navigation_id="setup" display_order="100" link="announcements" admin_permission_id="thread" debug_only="0" hide_no_children="0"/>
  </admin_navigation>
  <admin_permissions/>
  <admin_style_properties/>
  <admin_templates>
    <template title="discussion_list.css"><![CDATA[.discussionList
{
    position: relative;
    zoom: 1;
}

/** column style and width **/

.discussionList .sectionHeaders,
.discussionListItem
{
    display: table;
    table-layout: fixed;
    width: 100%;
    word-wrap: normal;
}

    .discussionList .sectionHeaders dt,
    .discussionList .sectionHeaders dd,
    .discussionListItem .listBlock
    {
        display: table-cell;
        vertical-align: middle;
    }
 
        .discussionList .posterAvatar
        {
            width: {xen:property discussionListAvatarWidth};
        }
     
        .discussionList .main
        {
            width: auto;
        }

            .discussionList .sectionHeaders .main .postDate
            {
                text-align: right;
            }
     
        .discussionList .stats
        {
            width: {xen:property discussionListStatsWidth};
        }
         
            .discussionList .sectionHeaders .stats .minor
            {
                text-align: right;
            }
     
        .discussionList .lastPost
        {
            width: {xen:property discussionListLastPostWidth};
            text-align: right;
            overflow: hidden;
        }
     
        .discussionList .statsLastPost /* combined last two columns */
        {
            width: {xen:calc '{xen:property discussionListStatsWidth} + {xen:property discussionListLastPostWidth}'}px;
        }
 

/* column headers */

.discussionList .sectionHeaders
{ 
    {xen:property subHeading}
 
    padding: 0;
}

    .discussionList .sectionHeaders dt span
    {
        display: none !important;
    }
     
    .discussionList .sectionHeaders a
    {
        display: block;
        color: {xen:property subHeading.color};
        outline: none;
    }
 
    .discussionList .sectionHeaders a:hover
    {
        text-decoration: none;
    }
         
    .discussionList .sectionHeaders dd a[href]:hover
    {
        {xen:property subHeadingHover}
    }
     
    .discussionList .sectionHeaders .main a,
    .discussionList .sectionHeaders .stats a
    {
        float: left;
        width: 50%;
        white-space: nowrap;
    }
 
        .discussionList .sectionHeaders a span
        {
            {xen:property subHeading.padding}
            display: block;
        }
     
/** IE <8 **/
.discussionList .sectionHeaders,
.discussionListItem                { *display: block; _vertical-align: bottom; }
.discussionList .sectionHeaders dt,
.discussionList .sectionHeaders dd,
.discussionListItem .listBlock     { *display: block; *float: left; }
.discussionListItem .listBlock     { _height: 52px; *min-height: 52px; } /* todo: should be calculation */
.discussionList .posterAvatar      { *width: 6.98%; }
.discussionListItem .posterAvatar  { *font-size: 0; } 
.discussionList .main              { *width: 56.98%; }
.discussionList .stats             { *width: 15.97%; } 
.discussionList .lastPost          { *width: 19.97%; }
.discussionList .statsLastPost     { *width: 35.97%; }
.discussionList .sectionHeaders dt,
.discussionList .sectionHeaders dd { *padding: 5px 0; }
.discussionList .sectionHeaders a,
.discussionList .sectionHeaders a span { *display: inline !important; *float: none !important; }

/* items in thread list */

.discussionListItems
{
}



 
/* individual thread list item */
 
/** main **/

.discussionListItem
{
    {xen:property primaryContent.background}
 
    {xen:property primaryContent.border}
}





    /* sections, section widths */
 
        .discussionListItem .posterAvatar,     
        .discussionListItem .stats
        {
            {xen:property secondaryContent.background}
        }
     
        .discussionListItem .main,
        .discussionListItem .lastPost
        {
        }
     
     
     
     
     
     
     
     
    /* avatar section */
 
    .discussionListItem .posterAvatar .avatarContainer
    {
        display: block;
        position: relative;
    }
 
    .discussionListItem .posterAvatar .avatar
    {
        {xen:property discussionListAvatar}
     
        width: auto;
        height: auto;
    }
 
        .discussionListItem .posterAvatar .avatar img
        {
            width: {xen:property discussionListAvatar.width};
            height: {xen:property discussionListAvatar.height};
            display: block;
        }
     
        .discussionListItem .posterAvatar .miniMe
        {
            {xen:property discussionListMiniMe}
        }
     
            .discussionListItem .posterAvatar .miniMe img
            {
                {xen:property discussionListMiniMeImg}             
            }     
     
     
    /* title, poster section */
 
    .discussionListItem .titleText
    {
        padding: 5px;
        overflow: hidden; zoom: 1;
        position: relative;
    }
 
        /* unread indicator */
     
        .LoggedIn .discussionListItem .titleText
        {         
            padding-left: 20px;
        }
     
        .LoggedIn .discussionListItem .unreadLink,
        .LoggedIn .discussionListItem .ReadToggle
        {
            display: block;
            width: 10px;
            height: 10px;
         
            position: absolute;
            left: 5px;
            top: 10px;
         
            background: url('{xen:property imagePath}/xenforo/xenforo-ui-sprite.png') no-repeat 10000px 0;
         
            white-space: nowrap;
            overflow: hidden;
            text-indent: 9999px;
        }
     
            .LoggedIn .discussionListItem .unreadLink,
            .LoggedIn .discussionListItem.unread .ReadToggle
            {
                background-position: -5px -42px;
            }
     
            .LoggedIn .discussionListItem .ReadToggle:hover
            {
                background-position: -25px -42px;
            }
 
        /* first row */
 
        .discussionListItem .title
        {
            {xen:property discussionListFirstRow}
            max-width: 100%;
            word-wrap: break-word;
        }
     
            .discussionListItems .unread .title a
            {
                {xen:property discussionListTitleUnread}
            }
         
     
        .discussionListItem .iconKey span
        {
            {xen:property dicussionListIcon}
        }
         
            .discussionListItem .iconKey .sticky    { background-position:   0px -16px; }
            .discussionListItem .iconKey .starred   { background-position: -90px -32px; width: 18px; height: 18px; }
            .discussionListItem .iconKey .watched   { background-position: -144px -16px; width: 16px; height: 16px; }
            .discussionListItem .iconKey .locked    { background-position: -16px -16px; }
            .discussionListItem .iconKey .moderated { background-position: -32px -16px; }
            .discussionListItem .iconKey .redirect  { background-position: -48px -16px; }
            .discussionListItem .iconKey .new       { background-position: -64px -16px; }
     
        /* second row */
     
        .discussionListItem .secondRow
        {
            {xen:property discussionListSecondRow}
            clear: both;
        }
     
            .discussionListItem .secondRow .controls
            {
                float: right;
                padding-left: 20px;
            }
             
                .discussionListItem.AjaxProgress .controls
                {
                    background: transparent url('{xen:property imagePath}/xenforo/widgets/ajaxload.info_B4B4DC_facebook.gif') no-repeat left center;
                }
         
            .discussionListItem .posterDate
            {
                float: left;
            }
         
         
         
    /* stats section */
 
    .discussionListItem .stats dl
    {
        padding: 0 10px;
        border-left: 1px solid {xen:property primaryLighterStill};
        border-right: 1px solid {xen:property primaryLighterStill};
    }
        .discussionListItem .stats .major
        {
            {xen:property discussionListFirstRow}
         
            margin-top: 5px;
        }
         
        .discussionListItem .stats .minor
        {
            {xen:property discussionListSecondRow}
         
            margin-bottom: 5px;
        }
         
    /* last post section */
 
    .discussionListItem .lastPostInfo
    {
        padding: 5px;
    }
 
        .discussionListItem .lastPostInfo .username
        {
            {xen:property discussionListFirstRow}
        }
     
 
            .discussionListItems .unread .lastPostInfo .username
            {
                {xen:property discussionListTitleUnread}
            }
     
        .discussionListItem .lastPostInfo .dateTime
        {
            {xen:property discussionListSecondRow}
        }


/* extra note row */

.discussionListItem .noteRow
{
    {xen:property primaryContent.background}
    padding: 5px;
    text-align: center;
    font-size: 11px;
    color: {xen:property primaryMedium};
}




/* deleted item */

.discussionList .discussionListItem.deleted
{
}

    .discussionList .discussionListItem.deleted .avatar img
    {
        opacity: 0.5;
        filter: alpha(opacity='50');
    }
     
    .discussionList .discussionListItem.deleted .deletionNote
    {
        float: left;
        color: rgb(150,0,0);
    }
     
/* moderated item */

.discussionList .discussionListItem.moderated .listBlock
{
    {xen:property primaryContent.background}
}

     
     
     
     
     
         
/* inline mod selected/checked classes */

.discussionListItem.InlineModChecked,
.discussionListItem.InlineModChecked .posterAvatar,
.discussionListItem.InlineModChecked .main,
.discussionListItem.InlineModChecked .stats,
.discussionListItem.InlineModChecked .lastPost,
.discussionListItem.deleted.InlineModChecked,
.discussionListItem.moderated.InlineModChecked
{
    {xen:property inlineModChecked}
}
















     
/** bottom summary **/

.discussionList .sectionFooter
{
    overflow: hidden; zoom: 1;
}

    .discussionList .sectionFooter .contentSummary
    {
        float: left;
        display: block;
    }

     
/** thread list options **/

.DiscussionListOptions
{
    {xen:property discussionListOptions}
}

.hasJs .DiscussionListOptions
{
    display: none;
}

    .DiscussionListOptions dl,
    .DiscussionListOptions .controlGroup
    {
        float: left;
        margin-right: 10px;
     
        overflow: hidden; zoom: 1;
    }
 
        .DiscussionListOptions dt
        {
            float: left;
        }
     
        .DiscussionListOptions dd
        {
            margin-left: 120px;
        }
     
    .DiscussionListOptions .buttonGroup
    {
        float: right;
    }
 
        .DiscussionListOptions .buttonGroup input
        {
            min-width: 75px;
        }
 
#DiscussionListOptionsHandle
{
    {xen:property discussionListOptionsHandle}
}
 
    #DiscussionListOptionsHandle a
    {
        {xen:property discussionListOptionsHandleLink}
    }
 
.afterDiscussionListHandle
{
    margin-top: 20px;
}
 
/** item page nav **/

.discussionListItem .itemPageNav
{
    {xen:if '{xen:property discussionListPageNavHidden}', 'visibility: hidden;'}
}

.discussionListItem:hover .itemPageNav,
.Touch .discussionListItem .itemPageNav
{
    visibility: visible;
}

    .itemPageNav a,
    .itemPageNav span
    {
        {xen:property discussionListItemPageNavItem}
    }
 
    .itemPageNav a
    {
        {xen:property discussionListItemPageNavLink}
    }
 
    .itemPageNav a:hover
    {
        {xen:property discussionListItemPageNavLinkHover}
    }

/** filters **/
     
.discussionListFilters
{
    font-size: 11px;
    overflow: hidden; zoom: 1;
}

    .discussionListFilters .filtersHeading
    {
        float: left;
        margin-right: 5px;
        color: {xen:property primaryLight};
        font-weight: bold;
    }
 
    .discussionListFilters .removeFilter,
    .discussionListFilters .removeAllFilters
    {
        color: {xen:property primaryMedium};
        background: {xen:property primaryLighterStill} url('{xen:property imagePath}/xenforo/gradients/form-button-white-25px.png') repeat-x top;
        border: 1px solid {xen:property primaryLighterStill};
        border-radius: 5px;
        padding: 2px 10px;
    }
 
        .discussionListFilters .gadget
        {
            color: {xen:property primaryLight};
            font-weight: bold;
            margin-left: 3px;
        }

 
        .discussionListFilters .removeFilter:hover,
        .discussionListFilters .removeAllFilters:hover
        {
            background-color: {xen:property primaryLightest};
            text-decoration: none;
            color: {xen:property mutedTextColor};
            box-shadow: 1px 1px 5px rgba(0,0,0, 0.15);
        }
     
    .discussionListFilters .pairsInline dt
    {
        display: none;
    }
 
    .discussionListFilters .filterPairs
    {
        float: left;
    }
 
    .discussionListFilters .removeAll
    {
        float: right;
    }
 
        .discussionListFilters .removeAllFilters
        {
            padding: 2px 6px;
        }

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveMediumWidth})
{
    .discussionList .sectionHeaders .stats
    {
        display: none;
    }
 
    .discussionList .sectionHeaders .main .title
    {
        float: none;
        width: auto;
    }
 
    .discussionList .sectionHeaders .main .postDate
    {
        display: none;
    }

    .discussionListItem .listBlock.main,
    .discussionListItem .listBlock.stats,
    .discussionListItem .listBlock.lastPost
    {
        display: block;
    }
 
    .discussionListItem .listBlock.stats
    {
        float: left;
        width: auto;
        margin-top: -5px;
        border: none;
        background: none;
        padding-left: 5px;
    }
 
        .LoggedIn .discussionListItem .listBlock.stats
        {         
            padding-left: 20px;
        }
 
        .discussionListItem .listBlock.stats dl
        {
            border: none;
            padding: 0;
        }
     
        .discussionListItem .listBlock.stats dd,
        .discussionListItem .listBlock.stats dt
        {
            float: none;
            display: inline;
        }
 
        .discussionListItem .listBlock.stats .minor
        {
            display: none;
        }
     
        .discussionListItem .listBlock.stats .major
        {
            font-size: 11px;
            margin-top: 0;
        }
 
    .discussionListItem .listBlock.lastPost
    {
        float: right;
        width: auto;
        margin-top: -5px;
    }
        .discussionListItem .listBlock.lastPost .lastPostInfo
        {
            padding-top: 0;
            padding-bottom: 0;
        }
 
        .discussionListItem .listBlock.lastPost dt
        {
            display: none;
        }
}

@media (max-width:{xen:property maxResponsiveWideWidth})
{
    .discussionList .sectionHeaders .lastPost,
    .discussionList .lastPost
    {
        width: 125px;
    }
}

@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
    .discussionListItem .secondRow .startDate,
    .discussionListItem .secondRow .EditControl
    {
        display: none;
    }
}
</xen:if>]]></template>
    <template title="PHCannouncements_Admin"><![CDATA[<xen:require css="discussion_list.css" />
<xen:require js="js/xenforo/discussion_list.js" />
<xen:if is="{$announcements}">
<div class='discussionList section sectionMain'>
    <dl class="sectionHeaders">
        <dt class="posterAvatar"></dt>
        <dd class="main">
            <a href="{xen:link forums, $forum, '_params={$orderParams.title}'}" class="title"><span>{xen:phrase announcement_title}{xen:helper sortArrow, $order, $orderDirection, title}</span></a>
            <a href="{xen:link forums, $forum, '_params={$orderParams.post_date}'}" class="postDate"><span>{xen:phrase start_date}{xen:helper sortArrow, $order, $orderDirection, post_date}</span></a>
        </dd>
        <dd class="stats">
            <a href="{xen:link forums, $forum, '_params={$orderParams.reply_count}'}" class="major"><span>{xen:phrase replies}{xen:helper sortArrow, $order, $orderDirection, reply_count}</span></a>
            <a href="{xen:link forums, $forum, '_params={$orderParams.view_count}'}" class="minor"><span>{xen:phrase views}{xen:helper sortArrow, $order, $orderDirection, view_count}</span></a>
        </dd>
        <dd class="lastPost"><a href="{xen:link forums, $forum, '_params={$orderParams.last_post_date}'}"><span>{xen:phrase last_message}{xen:helper sortArrow, $order, $orderDirection, last_post_date}</span></a></dd>
        <dd class="stats">
            Options
        </dd>
    </dl>
    <ol class="discussionListItems">
    <xen:foreach loop="$announcements" value="$thread">
        <xen:include template="thread_list_item" />
    </xen:foreach>
    </ol>
</div>
</xen:if>
<xen:if is="{$stickies}">
<div class='discussionList section sectionMain'>
    <dl class="sectionHeaders">
        <dt class="posterAvatar"></dt>
        <dd class="main">
            <a href="{xen:link forums, $forum, '_params={$orderParams.title}'}" class="title"><span>{xen:phrase sticky_title}{xen:helper sortArrow, $order, $orderDirection, title}</span></a>
            <a href="{xen:link forums, $forum, '_params={$orderParams.post_date}'}" class="postDate"><span>{xen:phrase start_date}{xen:helper sortArrow, $order, $orderDirection, post_date}</span></a>
        </dd>
        <dd class="stats">
            <a href="{xen:link forums, $forum, '_params={$orderParams.reply_count}'}" class="major"><span>{xen:phrase replies}{xen:helper sortArrow, $order, $orderDirection, reply_count}</span></a>
            <a href="{xen:link forums, $forum, '_params={$orderParams.view_count}'}" class="minor"><span>{xen:phrase views}{xen:helper sortArrow, $order, $orderDirection, view_count}</span></a>
        </dd>
        <dd class="lastPost"><a href="{xen:link forums, $forum, '_params={$orderParams.last_post_date}'}"><span>{xen:phrase last_message}{xen:helper sortArrow, $order, $orderDirection, last_post_date}</span></a></dd>
        <dd class="stats">
            Options
        </dd>
    </dl>
    <ol class="discussionListItems">
    <xen:foreach loop="$stickies" value="$thread">
        <xen:include template="thread_list_item" />
    </xen:foreach>
    </ol>
</div>
</xen:if>]]></template>
    <template title="thread_list_item"><![CDATA[<xen:require css="discussion_list.css" />

<xen:if is="{$thread.isDeleted}"><xen:include template="thread_list_item_deleted" /><xen:else />

<li id="thread-{$thread.thread_id}" class="discussionListItem {$thread.discussion_state}{xen:if '!{$thread.discussion_open}', ' locked'}{xen:if {$thread.sticky}, ' sticky'}{xen:if {$thread.isNew}, ' unread'}{xen:if {$thread.prefix_id}, ' prefix{$thread.prefix_id}'}{xen:if {$thread.isIgnored}, ' ignored'} {xen:if $thread.thread_is_watched, threadWatched} {xen:if $thread.forum_is_watched, forumWatched}" data-author="{$thread.username}">

    <div class="listBlock posterAvatar">
        <span class="avatarContainer">
            <xen:avatar user="$thread" size="s" img="true" />
            <xen:if is="{$thread.user_post_count}"><xen:avatar user="$visitor" size="s" img="true" class="miniMe" title="{xen:phrase you_have_posted_x_messages_in_this_thread, 'count={xen:number $thread.user_post_count}'}" /></xen:if>
        </span>
    </div>

    <div class="listBlock main">

        <div class="titleText">
            <xen:if hascontent="true">
                <div class="iconKey">
                <xen:contentcheck>
                    <xen:hook name="thread_list_item_icon_key" params="{xen:array 'thread={$thread}'}">
                    <xen:if is="{$thread.isModerated}"><span class="moderated" title="{xen:phrase moderated}">{xen:phrase moderated}</span></xen:if>
                    <xen:if is="!{$thread.discussion_open}"><span class="locked" title="{xen:phrase locked}">{xen:phrase locked}</span></xen:if>
                    <xen:if is="{$thread.sticky}"><span class="sticky" title="{xen:phrase sticky}">{xen:phrase sticky}</span></xen:if>
                    <xen:if is="{$thread.isRedirect}"><span class="redirect" title="{xen:phrase redirect}">{xen:phrase redirect}</span></xen:if>
                    <xen:if is="{$thread.thread_is_watched} OR {$thread.forum_is_watched}"><span class="watched" title="{xen:phrase watched}">{xen:phrase watched}</span></xen:if>
                    </xen:hook>
                </xen:contentcheck>
                </div>
            </xen:if>

            <h3 class="title">
                <xen:if is="{$thread.canInlineMod}"><input type="checkbox" name="threads[]" value="{$thread.thread_id}" class="InlineModCheck" id="inlineModCheck-thread-{$thread.thread_id}" data-target="#thread-{$thread.thread_id}" title="{xen:phrase select_thread}: {$thread.title}" /></xen:if>
                <xen:if is="{$showSubscribeOptions}"><input type="checkbox" name="thread_ids[]" value="{$thread.thread_id}" /></xen:if>
                <xen:if is="{$thread.prefix_id}">
                    <xen:if is="{$linkPrefix}">
                        <a href="{xen:link forums, $forum, 'prefix_id={$thread.prefix_id}'}" class="prefixLink"
                            title="{xen:phrase show_only_threads_prefixed_by_x, 'prefix={xen:helper threadPrefix, $thread, plain, ""}'}">{xen:helper threadPrefix, $thread, html, ''}</a>
                    <xen:else />
                        {xen:helper threadPrefix, $thread}
                    </xen:if>
                </xen:if>
                <a href="{xen:link "threads{xen:if '{$thread.isNew} AND {$thread.haveReadData}', '/unread'}", $thread}"
                    title="{xen:if '{$thread.isNew} AND {$thread.haveReadData}', {xen:phrase go_to_first_unread_message}}"
                    class="{xen:if $thread.hasPreview, PreviewTooltip}"
                    data-previewUrl="{xen:if $thread.hasPreview, {xen:link threads/preview, $thread}}">{xen:helper wrap, $thread.title, 50}</a>
                <xen:if is="{$thread.isNew}"><a href="{xen:link threads/unread, $thread}" class="unreadLink" title="{xen:phrase go_to_first_unread_message}"></a></xen:if>
            </h3>
         
            <div class="secondRow">
                <div class="posterDate muted">
                    <xen:username user="$thread" title="{xen:phrase thread_starter}" /><span class="startDate">,
                    <a{xen:if {$visitor.user_id}, ' href="{xen:link threads, $thread}"'} class="faint"><xen:datetime time="$thread.post_date" title="{xen:if {$visitor.user_id}, '{xen:phrase go_to_first_message_in_thread}'}" /></a></span><xen:if is="{$showForumLink}"><span class="containerName">,
                    <a href="{xen:link forums, $thread.forum}" class="forumLink">{$thread.forum.title}</a></span></xen:if>

                    <xen:if is="{$showLastPageNumbers} AND {$thread.lastPageNumbers}">
                        <span class="itemPageNav">
                            <span>...</span>
                            <xen:foreach loop="$thread.lastPageNumbers" value="$pageNumber">
                                <a href="{xen:link threads, $thread, 'page={$pageNumber}'}">{$pageNumber}</a>
                            </xen:foreach>
                        </span>
                    </xen:if>
                </div>

                <div class="controls faint">
                    <xen:if is="{$thread.canEditThread}"><a href="javascript:" data-href="{xen:link 'threads/list-item-edit', $thread}" class="EditControl JsOnly">{xen:phrase edit}</a></xen:if>
                    <xen:if is="{$showSubscribeOptions} AND {$thread.email_subscribe}">{xen:phrase email}</xen:if>
                </div>
            </div>
        </div>
    </div>

    <div class="listBlock stats pairsJustified" title="{xen:phrase members_who_liked_first_message}: {xen:if $thread.isRedirect, '&ndash;', {xen:number $thread.first_post_likes}}">
        <dl class="major"><dt>{xen:phrase replies}:</dt> <dd>{xen:if $thread.isRedirect, '&ndash;', {xen:number $thread.reply_count}}</dd></dl>
        <dl class="minor"><dt>{xen:phrase views}:</dt> <dd>{xen:if $thread.isRedirect, '&ndash;', {xen:number $thread.view_count}}</dd></dl>
    </div>

    <div class="listBlock lastPost">
        <xen:if is="{$thread.isRedirect}">
            <div class="lastPostInfo">{xen:phrase n_a}</div>
        <xen:else />
            <dl class="lastPostInfo">
                <dt><xen:if is="{xen:helper isIgnored, $thread.last_post_user_id}">{xen:phrase ignored_member}<xen:else /><xen:username user="$thread.lastPostInfo" /></xen:if></dt>
                <dd class="muted"><a{xen:if '{$visitor.user_id}', ' href="{xen:link posts, $thread.lastPostInfo}" title="{xen:phrase go_to_last_message}"'} class="dateTime"><xen:datetime time="$thread.lastPostInfo.post_date" /></a></dd>
            </dl>
        </xen:if>
    </div>
    <div class="listBlock stats">
        <dl class="major">
            <dt><xen:if is="{$thread.sticky} == 1"><a href="admin.php?announcements/announce&id={$thread.thread_id}">{xen:phrase announce}</a><xen:else /><a href="admin.php?announcements/dennounce&id={$thread.thread_id}">{xen:phrase denounce}</a></xen:if></dt>
        </dl>
    </div>
</li>

</xen:if>]]></template>
  </admin_templates>
  <admin_template_modifications/>
  <code_events/>
  <code_event_listeners>
    <listener event_id="load_class_datawriter" execute_order="10" callback_class="PHCannouncements_Listener_DataWriter" callback_method="listen" active="1" hint="" description=""/>
    <listener event_id="template_hook" execute_order="10" callback_class="PHCannouncements_Listener_Hook" callback_method="listen" active="1" hint="" description=""/>
  </code_event_listeners>
  <cron/>
  <email_templates/>
  <email_template_modifications/>
  <optiongroups/>
  <permissions>
    <permission_groups/>
    <permissions/>
    <interface_groups/>
  </permissions>
  <phrases>
    <phrase title="admin_navigation_PHCAnnouncements" addon_id="PHCannouncements" version_id="1" version_string="Beta 1"><![CDATA[Закрепленные темы]]></phrase>
  <phrase title="announce" addon_id="PHCannouncements" global_cache="1" version_id="1" version_string="Beta 1"><![CDATA[Закрепить]]></phrase>
  <phrase title="announcement_title" addon_id="PHCannouncements" global_cache="1" version_id="1" version_string="Beta 1"><![CDATA[Важные темы форума]]></phrase>
  <phrase title="denounce" addon_id="PHCannouncements" global_cache="1" version_id="1" version_string="Beta 1"><![CDATA[Открепить]]></phrase>
  <phrase title="sticky_title" addon_id="PHCannouncements" global_cache="1" version_id="1" version_string="Beta 1"><![CDATA[Название темы]]></phrase>
  </phrases>
  <route_prefixes>
    <route_type type="admin">
      <prefix original_prefix="announcements" class="PHCannouncements_Route_PrefixAdmin_Announcements" build_link="all"/>
    </route_type>
  </route_prefixes>
  <style_properties/>
  <templates>
    <template title="PHCannouncements" version_id="1" version_string="Beta 1"><![CDATA[<xen:if is="{$announcements}">
<xen:require css="discussion_list.css" />
<xen:require js="js/xenforo/discussion_list.js" />
    <div class='discussionList section sectionMain'>
        <dl class="sectionHeaders">
            <dt class="posterAvatar"></dt>
            <dd class="main">
                <a href="{xen:link forums, $forum, '_params={$orderParams.title}'}" class="title"><span>{xen:phrase announcement_title}{xen:helper sortArrow, $order, $orderDirection, title}</span></a>
                <a href="{xen:link forums, $forum, '_params={$orderParams.post_date}'}" class="postDate"><span>{xen:phrase start_date}{xen:helper sortArrow, $order, $orderDirection, post_date}</span></a>
            </dd>
            <dd class="stats">
                <a href="{xen:link forums, $forum, '_params={$orderParams.reply_count}'}" class="major"><span>{xen:phrase replies}{xen:helper sortArrow, $order, $orderDirection, reply_count}</span></a>
                <a href="{xen:link forums, $forum, '_params={$orderParams.view_count}'}" class="minor"><span>{xen:phrase views}{xen:helper sortArrow, $order, $orderDirection, view_count}</span></a>
            </dd>
            <dd class="lastPost"><a href="{xen:link forums, $forum, '_params={$orderParams.last_post_date}'}"><span>{xen:phrase last_message}{xen:helper sortArrow, $order, $orderDirection, last_post_date}</span></a></dd>
        </dl>
        <ol class="discussionListItems">
            <xen:foreach loop="$announcements" value="$thread">
                <xen:include template="thread_list_item" />
            </xen:foreach>
        </ol>
    </div>
    <xen:include template="preview_tooltip" />
</xen:if>]]></template>
  </templates>
  <public_template_modifications/>
  <bb_code_media_sites/>
</addon>
Не можете подсказать переменную означающую главную страницу?
Просто нужно найти переменную которая связана с переменной отображения тем
{$announcements} это вроде переменная с темами
 
Последнее редактирование:
Подождите, скоро придут люди, которые пользовались данным плагином и всё объяснят. :)
 
Современный облачный хостинг провайдер | Aéza
Назад
Сверху Снизу