Nasıl yapılır ? Posbit sorununda aldığım hata

Ugur

XGT Smod
Yönetici
XGT Smod
Web sitesi
www.topragizbiz.com
Bu bir hata değil. Daha doğrusu bahsi geçen xml dosyasında değişiklik yapılmış, sistem güvenlik uyarısı veriyor.

xml dosyasında değişikliği siz yaptıysanız iptal edin, dosyanın orjinalini geri yükleyin ve aynı değişikliği admin panelde eklentinin şablonundan yapın.
 

Chaplin

XGT Müşterisi
XGT Müşterisi
7116

aslında yapmak istedigim katılım yazısı ve tarihi kaymıs durumda düzenli hale nasıl getirebilirim acaba ?
 

Chaplin

XGT Müşterisi
XGT Müşterisi
Kod:
<?xml version="1.0" encoding="utf-8"?>
<template_modifications>
  <modification type="public" template="message.less" modification_key="post_icons_extra_less" description="Postbit less kodları" execution_order="20" enabled="1" action="str_replace">
    <find><![CDATA[// ######################## USER COLUMN #########################]]></find>
    <replace><![CDATA[.message-userExtras .pairs.pairs--justified {
    background-color: @xf-contentBg;
    border: 1px xf-intensify(@xf-borderColor, 5%) solid;
    border-left-color: @xf-paletteColor5;
    border-left-width: 5px;
    margin-bottom: 2px;
    padding: 2px 5px;
}

.message-userExtras dl.pairs dt:after {
    content: ''
}

.message-userExtras i {
    font-size: 16px;
    color: @xf-paletteColor5;
    font-weight: normal
}
$0]]></replace>
  </modification>
  <modification type="public" template="message_macros" modification_key="post_icon_extra" description="Kullanıcı bilgileri alanını değiştirir." execution_order="10" enabled="1" action="str_replace">
    <find><![CDATA[                <xf:contentcheck>
                    <xf:if is="$extras.register_date">
                        <dl class="pairs pairs--justified">
                            <dt>{{ phrase('joined') }}</dt>
                            <dd>{{ date($user.register_date) }}</dd>
                        </dl>
                    </xf:if>
                    <xf:if is="$extras.message_count">
                        <dl class="pairs pairs--justified">
                            <dt>{{ phrase('messages') }}</dt>
                            <dd>{$user.message_count|number}</dd>
                        </dl>
                    </xf:if>
                    <xf:if is="$extras.like_count">
                        <dl class="pairs pairs--justified">
                            <dt>{{ phrase('likes') }}</dt>
                            <dd>{$user.like_count|number}</dd>
                        </dl>
                    </xf:if>
                    <xf:if is="$extras.trophy_points && $xf.options.enableTrophies">
                        <dl class="pairs pairs--justified">
                            <dt>{{ phrase('points') }}</dt>
                            <dd>{$user.trophy_points|number}</dd>
                        </dl>
                    </xf:if>
                    <xf:if is="$extras.age && $user.Profile.age">
                        <dl class="pairs pairs--justified">
                            <dt>{{ phrase('age') }}</dt>
                            <dd>{$user.Profile.age}</dd>
                        </dl>
                    </xf:if>
                    <xf:if is="$extras.location && $user.Profile.location">
                        <dl class="pairs pairs--justified">
                            <dt>{{ phrase('location') }}</dt>
                            <dd><a href="{{ link('misc/location-info', '', {'location': $user.Profile.location}) }}" rel="nofollow" target="_blank" class="u-concealed">{$user.Profile.location}</a></dd>
                        </dl>
                    </xf:if>
                    <xf:if is="$extras.website && $user.Profile.website">
                        <dl class="pairs pairs--justified">
                            <dt>{{ phrase('website') }}</dt>
                            <dd><a href="{$user.Profile.website}" rel="nofollow" target="_blank">{$user.Profile.website|url('host', phrase('visit_site'))}</a></dd>
                        </dl>
                    </xf:if>
                    <xf:if is="$extras.custom_fields">
                        <xf:macro template="custom_fields_macros" name="custom_fields_values"
                            arg-type="users"
                            arg-group="personal"
                            arg-set="{$user.Profile.custom_fields}"
                            arg-additionalFilters="{{ ['message'] }}"
                            arg-valueClass="pairs pairs--justified" />
                        <xf:if is="$user.canViewIdentities()">
                            <xf:macro template="custom_fields_macros" name="custom_fields_view"
                                arg-type="users"
                                arg-group="contact"
                                arg-set="{$user.Profile.custom_fields}"
                                arg-additionalFilters="{{ ['message'] }}"
                                arg-valueClass="pairs pairs--justified" />
                        </xf:if>
                    </xf:if>
                </xf:contentcheck>]]></find>
    <replace><![CDATA[                <xf:contentcheck>
                    <xf:if is="$extras.register_date">
                        <dl class="pairs pairs--justified">
                            <dt><i class="fas fa-sign-in-alt fa-rotate-180"></i></dt>
                            <dd>{{ date($user.register_date) }}</dd>
                        </dl>
                    </xf:if>
                    <xf:if is="$extras.message_count">
                        <dl class="pairs pairs--justified">
                            <dt><i class="fas fa-comments fa-flip-horizontal"></i></dt>
                            <dd>{$user.message_count|number}</dd>
                        </dl>
                    </xf:if>
                    <xf:if is="$extras.like_count">
                        <dl class="pairs pairs--justified">
                            <dt><i class="far fa-thumbs-up fa-flip-horizontal"></i></dt>
                            <dd>{$user.like_count|number}</dd>
                        </dl>
                    </xf:if>
                    <xf:if is="$extras.trophy_points && $xf.options.enableTrophies">
                        <dl class="pairs pairs--justified">
                            <dt><i class="fas fa-trophy"></i></dt>
                            <dd>{$user.trophy_points|number}</dd>
                        </dl>
                    </xf:if>
                    <xf:if is="$extras.age && $user.Profile.age">
                        <dl class="pairs pairs--justified">
                            <dt><i class="fas fa-birthday-cake"></i></dt>
                            <dd>{$user.Profile.age}</dd>
                        </dl>
                    </xf:if>
                    <xf:if is="$extras.location && $user.Profile.location">
                        <dl class="pairs pairs--justified">
                            <dt><i class="fas fa-map-marker-alt"></i></dt>
                            <dd><a href="{{ link('misc/location-info', '', {'location': $user.Profile.location}) }}" rel="nofollow" target="_blank" class="u-concealed">{$user.Profile.location}</a></dd>
                        </dl>
                    </xf:if>
                    <xf:if is="$extras.website && $user.Profile.website">
                        <dl class="pairs pairs--justified">
                            <dt><i class="fas fa-home"></i></dt>
                            <dd><a href="{$user.Profile.website}" rel="nofollow" target="_blank">{{ phrase('go_to_the_site') }}</a></dd>
                        </dl>
                    </xf:if>
                    <xf:if is="$extras.custom_fields">
                        <xf:macro template="custom_fields_macros" name="custom_fields_values"
                            arg-type="users"
                            arg-group="personal"
                            arg-set="{$user.Profile.custom_fields}"
                            arg-additionalFilters="{{ ['message'] }}"
                            arg-valueClass="pairs pairs--justified" />
                        <xf:if is="$user.canViewIdentities()">
                            <xf:macro template="custom_fields_macros" name="custom_fields_view"
                                arg-type="users"
                                arg-group="contact"
                                arg-set="{$user.Profile.custom_fields}"
                                arg-additionalFilters="{{ ['message'] }}"
                                arg-valueClass="pairs pairs--justified" />
                        </xf:if>
                    </xf:if>
                </xf:contentcheck>]]></replace>
  </modification>
</template_modifications>