Posted 4 марта, 20177 yr comment_124434 Здравствуйте. Скачал и установил один плагин, после чего появилась проблема о необходимости восстановить файл. Файл восстановил, но все равно проблема сохраняется, а файл типа не восстановился. Ошибку можно посмотреть на этой странице. http://forum.masype.ru/register/ также и на главной. Файлы, которые были изменены: Шаблоны core front global globalTemplate - изменен мной, но не знаю, были ли внесены туда изменения плагином. loginPopup - этот updateWarning - изменен мной, плагином изменения не внесены. profile profile - этот system register - этот forums front index - этот index
4 марта, 20177 yr comment_124437 1. не нужно кричать. у вас не такой крупный форум чтобы паниковать настолько, 2 чел в онлайне один из них вы. 2. что за плагин? 3. можете попробывать заменить измененные шаблоны плагином - взяв код из дефолтового шаблона ГлобалТемплатет не трогайте
4 марта, 20177 yr Author comment_124442 3 минуты назад, WOLF сказал: 1. не нужно кричать. у вас не такой крупный форум чтобы паниковать настолько, 2 чел в онлайне один из них вы. 2. что за плагин? 3. можете попробывать заменить измененные шаблоны плагином - взяв код из дефолтового шаблона ГлобалТемплатет не трогайте 1. Главное, чтобы проблема решилась. 2. Плагин называется "Server Console - Register 1.0.0" 3. Я бы заменил, но к сожалению бэкапа нет. Можете скинуть дефолтный код из всех перечисленных шаблонов?
4 марта, 20177 yr comment_124444 loginPopup <div id='elUserSignIn_menu' class='ipsMenu ipsMenu_auto ipsHide'> <div data-role="loginForm"> {{if count ( $login->forms( ) ) > 1}} <div class='ipsColumns ipsColumns_noSpacing'> <div class='ipsColumn ipsColumn_wide' id='elUserSignIn_internal'> {{endif}} {{foreach $login->forms( ) as $k => $form}} {{if $k === '_standard'}} {$form->customTemplate( array( \IPS\Theme::i()->getTemplate( 'global', 'core', 'front' ), 'loginPopupForm' ) )|raw} {{endif}} {{endforeach}} {{if count ( $login->forms( FALSE, TRUE ) ) > 1}} </div> <div class='ipsColumn ipsColumn_wide'> <div class='ipsPad' id='elUserSignIn_external'> <div class='ipsAreaBackground_light ipsPad_half'> <p class='ipsType_reset ipsType_small ipsType_center'><strong>{lang="sign_in_with_these"}</strong></p> <br> {{foreach $login->forms( FALSE, TRUE ) as $k => $form}} {{if $k !== '_standard'}} <div class='ipsPad_half ipsType_center'> {$form|raw} </div> {{endif}} {{endforeach}} </div> </div> </div> </div> {{endif}} </div> </div> register <section class='ipsPad'> <br> <h1 class='ipsType_veryLarge ipsType_center ipsType_reset'>{lang='sign_up'}</h1> <p class='ipsType_large ipsType_center ipsType_light'>{lang="existing_user"} <a href='{url="app=core&module=system&controller=login" seoTemplate="login"}'>{lang="sign_in_short"}</a></p> <br> <div data-role='registerForm'> <div class='ipsColumns ipsColumns_collapseTablet'> <div class='ipsColumn ipsColumn_fluid'> <div class='ipsBox ipsPad'> {$form|raw} </div> </div> {{if count ( $login->forms( FALSE, TRUE ) ) > 1}} <div class='ipsColumn ipsColumn_wide' id='elRegisterSocial'> <div class='ipsBox ipsPad'> <h2 class='ipsType_sectionHead'>{lang='reg_start_faster'}</h2> <p class='ipsType_normal ipsType_reset ipsType_light'>{lang='reg_connect'}</p> <br> {{foreach $login->forms( FALSE, TRUE ) as $k => $form}} {{if $k !== '_standard'}} <div class='ipsPad_half ipsType_center'> {$form|raw} </div> {{endif}} {{endforeach}} </div> </div> {{endif}} </div> </div> </section> profile {{if !\IPS\Request::i()->isAjax()}} <!-- When altering this template be sure to also check for similar in the hovercard --> <div data-controller='core.front.profile.main'> {template="profileHeader" app="core" location="front" group="profile" params="$member, false"} <div data-role="profileContent"> {{endif}} <div class='ipsColumns ipsColumns_noSpacing ipsColumns_collapseTablet' data-controller="core.front.profile.body"> <div class='ipsColumn ipsColumn_fixed ipsColumn_veryWide' id='elProfileInfoColumn'> <div class='ipsAreaBackground_light ipsPad'> {{if settings.reputation_enabled and settings.reputation_show_profile}} {{if settings.reputation_leaderboard_on and settings.reputation_show_days_won_trophy and $lastDayWon = $member->getReputationLastDayWon()}} {{$formattedDate = $lastDayWon['date']->dayAndMonth() . ( $lastDayWon['date']->format('Y') == \IPS\DateTime::ts( time() )->format('Y' ) ? '' : " " . $lastDayWon['date']->format('Y') );}} <div class='ipsLeaderboard_trophy_1 cProfileSidebarBlock ipsSpacer_bottom '> <div class="ipsGrid"> <span class="ipsGrid_span2 ipsType_center"> <span class='ipsLeaderboard_trophy ipsLeaderboard_trophy_1'> <i class="fa fa-trophy"></i> </span> </span> <span class="ipsGrid_span10"> <p class='ipsType_reset ipsType_medium'> <strong> <a class='ipsType_blendLinks' href="{url="app=core&module=discover&controller=popular&tab=leaderboard&custom_date_start={$lastDayWon['date']->getTimeStamp()}&custom_date_end={$lastDayWon['date']->getTimeStamp()}" seoTemplate="leaderboard_leaderboard"}"> {{if $member->member_id == \IPS\Member::loggedIn()->member_id}} {lang="profile_you_won" sprintf="$formattedDate"} {{else}} {lang="profile_member_won" sprintf="$member->name, $formattedDate"} {{endif}} </a> </strong> </p> <p class='ipsType_reset ipsType_small'>{{if $member->member_id == \IPS\Member::loggedIn()->member_id}}{lang="profile_you_congrats"}{{else}}{lang="profile_member_congrats" sprintf="$member->name"}{{endif}}</p> </span> </div> </div> {{endif}} <div class='cProfileSidebarBlock ipsBox ipsSpacer_bottom'> {{if member.group['gbw_view_reps']}} <a href="{url="app=core&module=members&controller=profile&id={$member->member_id}&do=reputation" seoTemplate="profile_reputation" seoTitle="$member->members_seo_name"}" data-action="repLog" title="{lang="members_reputation" sprintf="$member->name"}"> {{endif}} <div class='cProfileRepScore ipsPad_half {{if $member->pp_reputation_points > 1}}cProfileRepScore_positive{{elseif $member->pp_reputation_points < 0}}cProfileRepScore_negative{{else}}cProfileRepScore_neutral{{endif}}'> <h2 class='ipsType_minorHeading'>{lang="profile_reputation"}</h2> <span class='cProfileRepScore_points'>{number="$member->pp_reputation_points"}</span> {{if $member->reputation()}} <span class='cProfileRepScore_title'>{$member->reputation()}</span> {{endif}} {{if $member->reputationImage()}} <div class='ipsAreaBackground_reset ipsAreaBackground_rounded ipsPad_half ipsType_center'> <img src='{file="$member->reputationImage()" extension="core_Theme"}' alt=''> </div> {{endif}} </div> {{if member.group['gbw_view_reps']}} <p class='ipsType_reset ipsPad_half ipsType_right ipsType_light ipsType_small'> {lang="replog_show_activity"} <i class='fa fa-caret-right'></i> </p> </a> {{endif}} </div> {{endif}} {{if \IPS\Settings::i()->warn_on and !$member->inGroup( explode( ',', \IPS\Settings::i()->warn_protected ) ) and ( \IPS\Member::loggedIn()->modPermission('mod_see_warn') or ( \IPS\Settings::i()->warn_show_own and \IPS\Member::loggedIn()->member_id == $member->member_id ) )}} <div class='cProfileSidebarBlock ipsBox ipsSpacer_bottom'> <div id='elWarningInfo' class='ipsPad {{if $member->mod_posts || $member->restrict_post || $member->temp_ban}}ipsAreaBackground_negative{{endif}} ipsClearfix'> <i class='ipsPos_left {{if $member->warn_level > 0 || $member->mod_posts || $member->restrict_post || $member->temp_ban}}fa fa-exclamation-triangle{{else}}fa fa-circle-o ipsType_light{{endif}}'></i> <div> <h2 class='ipsType_sectionHead'>{lang="member_warn_level" pluralize="$member->warn_level"}</h2> <br> {{if !$member->mod_posts && !$member->restrict_post && !$member->temp_ban}} <span>{lang="no_restrictions_applied"}</span> <br> {{else}} <span>{lang="restrictions_applied"}</span> <ul class='ipsList_bullets ipsSpacer_top ipsSpacer_half'> {{if $member->mod_posts}} <li data-ipsTooltip title="{{if $member->mod_posts == -1}}{lang="moderation_modq_perm"}{{else}}{lang="moderation_modq_temp" sprintf="\IPS\DateTime::ts( $member->mod_posts )"}{{endif}}"> {lang="moderation_modq"} </li> {{endif}} {{if $member->restrict_post}} <li data-ipsTooltip title="{{if $member->restrict_post == -1}}{lang="moderation_nopost_perm"}{{else}}{lang="moderation_nopost_temp" sprintf="\IPS\DateTime::ts( $member->restrict_post )"}{{endif}}"> {lang="moderation_nopost"} </li> {{endif}} {{if $member->temp_ban}} <li data-ipsTooltip title="{{if $member->temp_ban == -1}}{lang="moderation_banned_perm"}{{else}}{lang="moderation_banned_temp" sprintf="\IPS\DateTime::ts( $member->temp_ban )"}{{endif}}"> {lang="moderation_banned"} </li> {{endif}} </ul> {{endif}} {{if ( member.canWarn( $member ) || ( member.modPermission('can_flag_as_spammer') and !$member->modPermission() and !$member->isAdmin() ) ) and $member->member_id != member.member_id }} <br> <ul class='{{if member.canWarn( $member ) && member.modPermission('can_flag_as_spammer') and $member->member_id != member.member_id and !$member->modPermission() and !$member->isAdmin()}} ipsButton_split {{else}} ipsList_inline {{endif}}'> {{if member.canWarn( $member )}} <li> <a href='{$addWarningUrl}' id='elWarnUserButton' data-ipsDialog data-ipsDialog-title="{lang="warn_member" sprintf="$member->name"}" class='ipsButton ipsButton_light ipsButton_verySmall' title='{lang="warn_member" sprintf="$member->name"}'>{lang="warn_user"}</a> </li> {{endif}} {{if member.modPermission('can_flag_as_spammer') and $member->member_id != member.member_id and !$member->modPermission() and !$member->isAdmin()}} <li> {{if $member->members_bitoptions['bw_is_spammer']}} <a href='{url="app=core&module=system&controller=moderation&do=flagAsSpammer&id={$member->member_id}&s=0" seoTemplate="flag_as_spammer" seoTitle="$member->members_seo_name" csrf="true"}' class='ipsButton ipsButton_light ipsButton_verySmall' title='{lang="spam_unflag"}' data-confirm data-confirmSubMessage="{lang="spam_unflag_confirm"}">{lang="spam_unflag"}</a> {{else}} <a href='{url="app=core&module=system&controller=moderation&do=flagAsSpammer&id={$member->member_id}&s=1" seoTemplate="flag_as_spammer" seoTitle="$member->members_seo_name" csrf="true"}' class='ipsButton ipsButton_light ipsButton_verySmall' title='{lang="spam_flag"}' data-confirm>{lang="spam_flag"}</a> {{endif}} </li> {{endif}} </ul> {{endif}} </div> </div> {{if count( $member->warnings( 1 ) )}} <div data-role="recentWarnings" class=''> <ol class='ipsDataList'> {{foreach $member->warnings( 2 ) as $warning}} <li class="ipsDataItem" id='elWarningOverview_{$warning->id}'> <div class='ipsDataItem_icon ipsType_center'> <a href="{url="app=core&module=system&controller=warnings&do=view&id={$member->member_id}&w={$warning->id}" seoTemplate="warn_view" seoTitle="$member->members_seo_name"}" data-ipsDialog data-ipsDialog-size='narrow' class="ipsType_blendLinks" data-ipsTooltip title='{lang="wan_action_points" pluralize="$warning->points"}'> <span class="ipsPoints">{$warning->points}</span> </a> </div> <div class='ipsDataItem_main'> {{if $warning->canDelete()}} <a href="{$warning->url('delete')->csrf()}" title='{lang="revoke_this_warning"}' data-ipsTooltip data-action="revoke" class='ipsPos_right ipsButton ipsButton_small ipsButton_light ipsButton_narrow' data-ipsDialog data-ipsDialog-title='{lang="revoke_this_warning"}' data-ipsDialog-size='medium'><i class="fa fa-undo"></i></a> {{endif}} <a href="{url="app=core&module=system&controller=warnings&do=view&id={$member->member_id}&w={$warning->id}" seoTemplate="warn_view" seoTitle="$member->members_seo_name"}" data-ipsDialog data-ipsDialog-showFrom='#elWarningOverview_{$warning->id}' data-ipsDialog-size='narrow' class="ipsType_blendLinks" title=''> <h4 class="ipsType_reset ipsType_medium ipsType_unbold"> {{if \IPS\Settings::i()->warnings_acknowledge}} {{if $warning->acknowledged}} <strong class='ipsType_success' title='{lang="warning_acknowledged"}' data-ipsTooltip><i class='fa fa-check-circle'></i></strong> {{else}} <strong class='ipsType_light' title='{lang="warning_not_acknowledged"}' data-ipsTooltip><i class='fa fa-circle-o'></i></strong> {{endif}} {{endif}} {lang="core_warn_reason_{$warning->reason}"} </h4> <p class='ipsDataItem_meta ipsType_light'> {lang="byline" sprintf="\IPS\Member::load( $warning->moderator )->name"}{datetime="$warning->date"} </p> </a> </div> </li> {{endforeach}} </ol> <p class='ipsType_reset ipsType_center ipsType_small ipsPad_half'> <a href='{url="app=core&module=system&controller=warnings&id={$member->member_id}" seoTemplate="warn_list" seoTitle="$member->members_seo_name"}' class='ipsButton ipsButton_verySmall ipsButton_light ipsButton_fullWidth' title='{lang="see_all_warnings"}' data-ipsDialog data-ipsDialog-remoteVerify='false' data-ipsDialog-remoteSubmit='false' data-ipsDialog-title="{lang="members_warnings" sprintf="$member->name"}">{lang="see_all_c"}</a> </p> </div> {{endif}} </div> {{else}} {{if \IPS\Member::loggedIn()->modPermission('can_flag_as_spammer') and !$member->inGroup( explode( ',', \IPS\Settings::i()->warn_protected ) ) and \IPS\Member::loggedIn()->member_id != $member->member_id}} {{if $member->members_bitoptions['bw_is_spammer']}} <a href='{url="app=core&module=system&controller=moderation&do=flagAsSpammer&id={$member->member_id}&s=0" seoTemplate="flag_as_spammer" seoTitle="$member->members_seo_name" csrf="true"}' class='ipsButton ipsButton_light ipsButton_verySmall ipsButton_fullWidth' title='{lang="spam_unflag"}' data-confirm data-confirmSubMessage="{lang="spam_unflag_confirm"}">{lang="spam_unflag"}</a> {{else}} <a href='{url="app=core&module=system&controller=moderation&do=flagAsSpammer&id={$member->member_id}&s=1" seoTemplate="flag_as_spammer" seoTitle="$member->members_seo_name" csrf="true"}' class='ipsButton ipsButton_light ipsButton_verySmall ipsButton_fullWidth' title='{lang="spam_flag"}' data-confirm>{lang="spam_flag"}</a> {{endif}} {{endif}} {{endif}} {{if count( $followers ) || \IPS\Member::loggedIn()->member_id === $member->member_id}} <div class='ipsWidget ipsWidget_vertical cProfileSidebarBlock ipsBox ipsSpacer_bottom' id='elFollowers' data-feedID='member-{$member->member_id}' data-controller='core.front.profile.followers'> {template="followers" group="profile" app="core" params="$member, $followers"} </div> {{endif}} <div class='ipsWidget ipsWidget_vertical cProfileSidebarBlock ipsBox ipsSpacer_bottom'> <h2 class='ipsWidget_title ipsType_reset'>{lang='profile_about' sprintf='$member->name'}</h2> <div class='ipsWidget_inner ipsPad'> {{if $member->group['g_icon'] }} <div class='ipsType_center ipsPad_half'><img src='{file="$member->group['g_icon']" extension="core_Theme"}' alt=''></div> {{endif}} <ul class='ipsDataList ipsDataList_reducedSpacing cProfileFields'> {{if $member->isOnline() AND $member->location}} <li class="ipsDataItem"> <span class="ipsDataItem_generic ipsDataItem_size3 ipsType_break"><strong>{lang="online_users_location_lang"}</strong></span> <span class="ipsDataItem_main">{$member->location()|raw}</span> </li> {{endif}} {{if $member->member_title || $member->rank['title'] || $member->rank['image']}} <li class='ipsDataItem'> <span class='ipsDataItem_generic ipsDataItem_size3 ipsType_break'><strong>{lang="profile_rank"}</strong></span> <div class='ipsDataItem_generic ipsType_break'> {{if $member->member_title}} {$member->member_title} <br> {{elseif $member->rank['title']}} {$member->rank['title']} <br> {{endif}} {$member->rank['image']|raw} </div> </li> {{endif}} {{if \IPS\Settings::i()->profile_birthday_type == 'public' or ( \IPS\Settings::i()->profile_birthday_type == 'private' and \IPS\Member::loggedIn()->member_id == $member->member_id ) and $member->birthday}} <li class='ipsDataItem'> <span class='ipsDataItem_generic ipsDataItem_size3 ipsType_break'><strong>{lang="bday"}</strong></span> <span class='ipsDataItem_generic'>{$member->birthday}</span> </li> {{endif}} </ul> </div> </div> {{foreach $sidebarFields as $group => $fields}} {{if count( $fields )}} <div class='ipsWidget ipsWidget_vertical cProfileSidebarBlock ipsBox ipsSpacer_bottom'> {{if $group != 'core_pfieldgroups_0'}} <h2 class='ipsWidget_title ipsType_reset'>{lang="$group"}</h2> {{endif}} <div class='ipsWidget_inner ipsPad'> <ul class='ipsDataList ipsDataList_reducedSpacing cProfileFields'> {{foreach $fields as $field => $value}} <li class='ipsDataItem ipsType_break'> <span class='ipsDataItem_generic ipsDataItem_size3 ipsType_break'><strong>{lang="$field"}</strong></span> <span class='ipsDataItem_generic'><div class='ipsType_break ipsContained'>{$value|raw}</div></span> </li> {{endforeach}} </ul> </div> </div> {{endif}} {{endforeach}} {{if \IPS\Member::loggedIn()->modPermission('can_see_emails')}} <div class='ipsWidget ipsWidget_vertical cProfileSidebarBlock ipsBox ipsSpacer_bottom'> <h2 class='ipsWidget_title ipsType_reset'>{lang="profile_contact"}</h2> <div class='ipsWidget_inner ipsPad'> <ul class='ipsDataList ipsDataList_reducedSpacing'> <li class='ipsDataItem'> <span class='ipsDataItem_generic ipsDataItem_size3'><strong>{lang="profile_email"}</strong></span> <span class='ipsDataItem_generic'> <div class='ipsType_break ipsContained'><a href='mailto:{$member->email}' title='{lang="email_this_user"}'>{$member->email}</a></div> <span class='ipsType_light ipsType_small'>{lang="profile_email_addresses"}</span> </span> </li> </ul> </div> </div> {{endif}} {{if !empty( $visitors ) || \IPS\Member::loggedIn()->member_id == $member->member_id}} <div class='ipsWidget ipsWidget_vertical cProfileSidebarBlock ipsBox ipsSpacer_bottom' data-controller='core.front.profile.toggleBlock'> {template="recentVisitorsBlock" group="profile" params="$member, $visitors"} </div> {{endif}} </div> </div> <section class='ipsColumn ipsColumn_fluid'> {$mainContent|raw} </section> </div> {{if !\IPS\Request::i()->isAjax()}} </div> </div> {{endif}} index {template="pageHeader" group="global" app="core" params="\IPS\Member::loggedIn()->language()->addToStack('forums')"} {{if \IPS\Member::loggedIn()->member_id}} <ul class="ipsToolList ipsToolList_horizontal ipsResponsive_hideDesktop ipsResponsive_block ipsClearfix"> {template="indexButtons" group="index" app="forums" params=""} </ul> {{endif}} <section> <ol class='ipsList_reset cForumList' data-controller='core.global.core.table, forums.front.forum.forumList' data-baseURL=''> {{foreach \IPS\forums\Forum::roots() as $category}} {{if $category->can('view') && $category->hasChildren()}} <li data-categoryID='{$category->_id}' class='cForumRow ipsBox ipsSpacer_bottom'> <h2 class="ipsType_sectionTitle ipsType_reset cForumTitle"> <a href='#' class='ipsPos_right ipsJS_show ipsType_noUnderline cForumToggle' data-action='toggleCategory' data-ipsTooltip title='{lang="toggle_this_category"}'></a> <a href='{$category->url()}'>{$category->_title}</a> </h2> {{if theme.forum_layout === 'grid'}} <div class='ipsAreaBackground ipsPad' data-role="forums"> <div class='ipsGrid ipsGrid_collapsePhone' data-ipsGrid data-ipsGrid-minItemSize='250' data-ipsGrid-maxItemSize='500' data-ipsGrid-equalHeights='row'> {{foreach $category->children() as $forum}} {template="forumGridItem" group="index" app="forums" params="$forum"} {{endforeach}} </div> </div> {{else}} <ol class="ipsDataList ipsDataList_large ipsDataList_zebra ipsAreaBackground_reset" data-role="forums"> {{foreach $category->children() as $forum}} {template="forumRow" group="index" app="forums" params="$forum"} {{endforeach}} </ol> {{endif}} </li> {{endif}} {{endforeach}} </ol> </section> p.s. на нормальных хостингах всегда хранятся бекапы, вы можете их восстановить, скачать из него стиль и установить на текущюю версию
4 марта, 20177 yr Author comment_124445 14 минут назад, WOLF сказал: loginPopup Показать контент <div id='elUserSignIn_menu' class='ipsMenu ipsMenu_auto ipsHide'> <div data-role="loginForm"> {{if count ( $login->forms( ) ) > 1}} <div class='ipsColumns ipsColumns_noSpacing'> <div class='ipsColumn ipsColumn_wide' id='elUserSignIn_internal'> {{endif}} {{foreach $login->forms( ) as $k => $form}} {{if $k === '_standard'}} {$form->customTemplate( array( \IPS\Theme::i()->getTemplate( 'global', 'core', 'front' ), 'loginPopupForm' ) )|raw} {{endif}} {{endforeach}} {{if count ( $login->forms( FALSE, TRUE ) ) > 1}} </div> <div class='ipsColumn ipsColumn_wide'> <div class='ipsPad' id='elUserSignIn_external'> <div class='ipsAreaBackground_light ipsPad_half'> <p class='ipsType_reset ipsType_small ipsType_center'><strong>{lang="sign_in_with_these"}</strong></p> <br> {{foreach $login->forms( FALSE, TRUE ) as $k => $form}} {{if $k !== '_standard'}} <div class='ipsPad_half ipsType_center'> {$form|raw} </div> {{endif}} {{endforeach}} </div> </div> </div> </div> {{endif}} </div> </div> register Показать контент <section class='ipsPad'> <br> <h1 class='ipsType_veryLarge ipsType_center ipsType_reset'>{lang='sign_up'}</h1> <p class='ipsType_large ipsType_center ipsType_light'>{lang="existing_user"} <a href='{url="app=core&module=system&controller=login" seoTemplate="login"}'>{lang="sign_in_short"}</a></p> <br> <div data-role='registerForm'> <div class='ipsColumns ipsColumns_collapseTablet'> <div class='ipsColumn ipsColumn_fluid'> <div class='ipsBox ipsPad'> {$form|raw} </div> </div> {{if count ( $login->forms( FALSE, TRUE ) ) > 1}} <div class='ipsColumn ipsColumn_wide' id='elRegisterSocial'> <div class='ipsBox ipsPad'> <h2 class='ipsType_sectionHead'>{lang='reg_start_faster'}</h2> <p class='ipsType_normal ipsType_reset ipsType_light'>{lang='reg_connect'}</p> <br> {{foreach $login->forms( FALSE, TRUE ) as $k => $form}} {{if $k !== '_standard'}} <div class='ipsPad_half ipsType_center'> {$form|raw} </div> {{endif}} {{endforeach}} </div> </div> {{endif}} </div> </div> </section> profile Показать контент {{if !\IPS\Request::i()->isAjax()}} <!-- When altering this template be sure to also check for similar in the hovercard --> <div data-controller='core.front.profile.main'> {template="profileHeader" app="core" location="front" group="profile" params="$member, false"} <div data-role="profileContent"> {{endif}} <div class='ipsColumns ipsColumns_noSpacing ipsColumns_collapseTablet' data-controller="core.front.profile.body"> <div class='ipsColumn ipsColumn_fixed ipsColumn_veryWide' id='elProfileInfoColumn'> <div class='ipsAreaBackground_light ipsPad'> {{if settings.reputation_enabled and settings.reputation_show_profile}} {{if settings.reputation_leaderboard_on and settings.reputation_show_days_won_trophy and $lastDayWon = $member->getReputationLastDayWon()}} {{$formattedDate = $lastDayWon['date']->dayAndMonth() . ( $lastDayWon['date']->format('Y') == \IPS\DateTime::ts( time() )->format('Y' ) ? '' : " " . $lastDayWon['date']->format('Y') );}} <div class='ipsLeaderboard_trophy_1 cProfileSidebarBlock ipsSpacer_bottom '> <div class="ipsGrid"> <span class="ipsGrid_span2 ipsType_center"> <span class='ipsLeaderboard_trophy ipsLeaderboard_trophy_1'> <i class="fa fa-trophy"></i> </span> </span> <span class="ipsGrid_span10"> <p class='ipsType_reset ipsType_medium'> <strong> <a class='ipsType_blendLinks' href="{url="app=core&module=discover&controller=popular&tab=leaderboard&custom_date_start={$lastDayWon['date']->getTimeStamp()}&custom_date_end={$lastDayWon['date']->getTimeStamp()}" seoTemplate="leaderboard_leaderboard"}"> {{if $member->member_id == \IPS\Member::loggedIn()->member_id}} {lang="profile_you_won" sprintf="$formattedDate"} {{else}} {lang="profile_member_won" sprintf="$member->name, $formattedDate"} {{endif}} </a> </strong> </p> <p class='ipsType_reset ipsType_small'>{{if $member->member_id == \IPS\Member::loggedIn()->member_id}}{lang="profile_you_congrats"}{{else}}{lang="profile_member_congrats" sprintf="$member->name"}{{endif}}</p> </span> </div> </div> {{endif}} <div class='cProfileSidebarBlock ipsBox ipsSpacer_bottom'> {{if member.group['gbw_view_reps']}} <a href="{url="app=core&module=members&controller=profile&id={$member->member_id}&do=reputation" seoTemplate="profile_reputation" seoTitle="$member->members_seo_name"}" data-action="repLog" title="{lang="members_reputation" sprintf="$member->name"}"> {{endif}} <div class='cProfileRepScore ipsPad_half {{if $member->pp_reputation_points > 1}}cProfileRepScore_positive{{elseif $member->pp_reputation_points < 0}}cProfileRepScore_negative{{else}}cProfileRepScore_neutral{{endif}}'> <h2 class='ipsType_minorHeading'>{lang="profile_reputation"}</h2> <span class='cProfileRepScore_points'>{number="$member->pp_reputation_points"}</span> {{if $member->reputation()}} <span class='cProfileRepScore_title'>{$member->reputation()}</span> {{endif}} {{if $member->reputationImage()}} <div class='ipsAreaBackground_reset ipsAreaBackground_rounded ipsPad_half ipsType_center'> <img src='{file="$member->reputationImage()" extension="core_Theme"}' alt=''> </div> {{endif}} </div> {{if member.group['gbw_view_reps']}} <p class='ipsType_reset ipsPad_half ipsType_right ipsType_light ipsType_small'> {lang="replog_show_activity"} <i class='fa fa-caret-right'></i> </p> </a> {{endif}} </div> {{endif}} {{if \IPS\Settings::i()->warn_on and !$member->inGroup( explode( ',', \IPS\Settings::i()->warn_protected ) ) and ( \IPS\Member::loggedIn()->modPermission('mod_see_warn') or ( \IPS\Settings::i()->warn_show_own and \IPS\Member::loggedIn()->member_id == $member->member_id ) )}} <div class='cProfileSidebarBlock ipsBox ipsSpacer_bottom'> <div id='elWarningInfo' class='ipsPad {{if $member->mod_posts || $member->restrict_post || $member->temp_ban}}ipsAreaBackground_negative{{endif}} ipsClearfix'> <i class='ipsPos_left {{if $member->warn_level > 0 || $member->mod_posts || $member->restrict_post || $member->temp_ban}}fa fa-exclamation-triangle{{else}}fa fa-circle-o ipsType_light{{endif}}'></i> <div> <h2 class='ipsType_sectionHead'>{lang="member_warn_level" pluralize="$member->warn_level"}</h2> <br> {{if !$member->mod_posts && !$member->restrict_post && !$member->temp_ban}} <span>{lang="no_restrictions_applied"}</span> <br> {{else}} <span>{lang="restrictions_applied"}</span> <ul class='ipsList_bullets ipsSpacer_top ipsSpacer_half'> {{if $member->mod_posts}} <li data-ipsTooltip title="{{if $member->mod_posts == -1}}{lang="moderation_modq_perm"}{{else}}{lang="moderation_modq_temp" sprintf="\IPS\DateTime::ts( $member->mod_posts )"}{{endif}}"> {lang="moderation_modq"} </li> {{endif}} {{if $member->restrict_post}} <li data-ipsTooltip title="{{if $member->restrict_post == -1}}{lang="moderation_nopost_perm"}{{else}}{lang="moderation_nopost_temp" sprintf="\IPS\DateTime::ts( $member->restrict_post )"}{{endif}}"> {lang="moderation_nopost"} </li> {{endif}} {{if $member->temp_ban}} <li data-ipsTooltip title="{{if $member->temp_ban == -1}}{lang="moderation_banned_perm"}{{else}}{lang="moderation_banned_temp" sprintf="\IPS\DateTime::ts( $member->temp_ban )"}{{endif}}"> {lang="moderation_banned"} </li> {{endif}} </ul> {{endif}} {{if ( member.canWarn( $member ) || ( member.modPermission('can_flag_as_spammer') and !$member->modPermission() and !$member->isAdmin() ) ) and $member->member_id != member.member_id }} <br> <ul class='{{if member.canWarn( $member ) && member.modPermission('can_flag_as_spammer') and $member->member_id != member.member_id and !$member->modPermission() and !$member->isAdmin()}} ipsButton_split {{else}} ipsList_inline {{endif}}'> {{if member.canWarn( $member )}} <li> <a href='{$addWarningUrl}' id='elWarnUserButton' data-ipsDialog data-ipsDialog-title="{lang="warn_member" sprintf="$member->name"}" class='ipsButton ipsButton_light ipsButton_verySmall' title='{lang="warn_member" sprintf="$member->name"}'>{lang="warn_user"}</a> </li> {{endif}} {{if member.modPermission('can_flag_as_spammer') and $member->member_id != member.member_id and !$member->modPermission() and !$member->isAdmin()}} <li> {{if $member->members_bitoptions['bw_is_spammer']}} <a href='{url="app=core&module=system&controller=moderation&do=flagAsSpammer&id={$member->member_id}&s=0" seoTemplate="flag_as_spammer" seoTitle="$member->members_seo_name" csrf="true"}' class='ipsButton ipsButton_light ipsButton_verySmall' title='{lang="spam_unflag"}' data-confirm data-confirmSubMessage="{lang="spam_unflag_confirm"}">{lang="spam_unflag"}</a> {{else}} <a href='{url="app=core&module=system&controller=moderation&do=flagAsSpammer&id={$member->member_id}&s=1" seoTemplate="flag_as_spammer" seoTitle="$member->members_seo_name" csrf="true"}' class='ipsButton ipsButton_light ipsButton_verySmall' title='{lang="spam_flag"}' data-confirm>{lang="spam_flag"}</a> {{endif}} </li> {{endif}} </ul> {{endif}} </div> </div> {{if count( $member->warnings( 1 ) )}} <div data-role="recentWarnings" class=''> <ol class='ipsDataList'> {{foreach $member->warnings( 2 ) as $warning}} <li class="ipsDataItem" id='elWarningOverview_{$warning->id}'> <div class='ipsDataItem_icon ipsType_center'> <a href="{url="app=core&module=system&controller=warnings&do=view&id={$member->member_id}&w={$warning->id}" seoTemplate="warn_view" seoTitle="$member->members_seo_name"}" data-ipsDialog data-ipsDialog-size='narrow' class="ipsType_blendLinks" data-ipsTooltip title='{lang="wan_action_points" pluralize="$warning->points"}'> <span class="ipsPoints">{$warning->points}</span> </a> </div> <div class='ipsDataItem_main'> {{if $warning->canDelete()}} <a href="{$warning->url('delete')->csrf()}" title='{lang="revoke_this_warning"}' data-ipsTooltip data-action="revoke" class='ipsPos_right ipsButton ipsButton_small ipsButton_light ipsButton_narrow' data-ipsDialog data-ipsDialog-title='{lang="revoke_this_warning"}' data-ipsDialog-size='medium'><i class="fa fa-undo"></i></a> {{endif}} <a href="{url="app=core&module=system&controller=warnings&do=view&id={$member->member_id}&w={$warning->id}" seoTemplate="warn_view" seoTitle="$member->members_seo_name"}" data-ipsDialog data-ipsDialog-showFrom='#elWarningOverview_{$warning->id}' data-ipsDialog-size='narrow' class="ipsType_blendLinks" title=''> <h4 class="ipsType_reset ipsType_medium ipsType_unbold"> {{if \IPS\Settings::i()->warnings_acknowledge}} {{if $warning->acknowledged}} <strong class='ipsType_success' title='{lang="warning_acknowledged"}' data-ipsTooltip><i class='fa fa-check-circle'></i></strong> {{else}} <strong class='ipsType_light' title='{lang="warning_not_acknowledged"}' data-ipsTooltip><i class='fa fa-circle-o'></i></strong> {{endif}} {{endif}} {lang="core_warn_reason_{$warning->reason}"} </h4> <p class='ipsDataItem_meta ipsType_light'> {lang="byline" sprintf="\IPS\Member::load( $warning->moderator )->name"}{datetime="$warning->date"} </p> </a> </div> </li> {{endforeach}} </ol> <p class='ipsType_reset ipsType_center ipsType_small ipsPad_half'> <a href='{url="app=core&module=system&controller=warnings&id={$member->member_id}" seoTemplate="warn_list" seoTitle="$member->members_seo_name"}' class='ipsButton ipsButton_verySmall ipsButton_light ipsButton_fullWidth' title='{lang="see_all_warnings"}' data-ipsDialog data-ipsDialog-remoteVerify='false' data-ipsDialog-remoteSubmit='false' data-ipsDialog-title="{lang="members_warnings" sprintf="$member->name"}">{lang="see_all_c"}</a> </p> </div> {{endif}} </div> {{else}} {{if \IPS\Member::loggedIn()->modPermission('can_flag_as_spammer') and !$member->inGroup( explode( ',', \IPS\Settings::i()->warn_protected ) ) and \IPS\Member::loggedIn()->member_id != $member->member_id}} {{if $member->members_bitoptions['bw_is_spammer']}} <a href='{url="app=core&module=system&controller=moderation&do=flagAsSpammer&id={$member->member_id}&s=0" seoTemplate="flag_as_spammer" seoTitle="$member->members_seo_name" csrf="true"}' class='ipsButton ipsButton_light ipsButton_verySmall ipsButton_fullWidth' title='{lang="spam_unflag"}' data-confirm data-confirmSubMessage="{lang="spam_unflag_confirm"}">{lang="spam_unflag"}</a> {{else}} <a href='{url="app=core&module=system&controller=moderation&do=flagAsSpammer&id={$member->member_id}&s=1" seoTemplate="flag_as_spammer" seoTitle="$member->members_seo_name" csrf="true"}' class='ipsButton ipsButton_light ipsButton_verySmall ipsButton_fullWidth' title='{lang="spam_flag"}' data-confirm>{lang="spam_flag"}</a> {{endif}} {{endif}} {{endif}} {{if count( $followers ) || \IPS\Member::loggedIn()->member_id === $member->member_id}} <div class='ipsWidget ipsWidget_vertical cProfileSidebarBlock ipsBox ipsSpacer_bottom' id='elFollowers' data-feedID='member-{$member->member_id}' data-controller='core.front.profile.followers'> {template="followers" group="profile" app="core" params="$member, $followers"} </div> {{endif}} <div class='ipsWidget ipsWidget_vertical cProfileSidebarBlock ipsBox ipsSpacer_bottom'> <h2 class='ipsWidget_title ipsType_reset'>{lang='profile_about' sprintf='$member->name'}</h2> <div class='ipsWidget_inner ipsPad'> {{if $member->group['g_icon'] }} <div class='ipsType_center ipsPad_half'><img src='{file="$member->group['g_icon']" extension="core_Theme"}' alt=''></div> {{endif}} <ul class='ipsDataList ipsDataList_reducedSpacing cProfileFields'> {{if $member->isOnline() AND $member->location}} <li class="ipsDataItem"> <span class="ipsDataItem_generic ipsDataItem_size3 ipsType_break"><strong>{lang="online_users_location_lang"}</strong></span> <span class="ipsDataItem_main">{$member->location()|raw}</span> </li> {{endif}} {{if $member->member_title || $member->rank['title'] || $member->rank['image']}} <li class='ipsDataItem'> <span class='ipsDataItem_generic ipsDataItem_size3 ipsType_break'><strong>{lang="profile_rank"}</strong></span> <div class='ipsDataItem_generic ipsType_break'> {{if $member->member_title}} {$member->member_title} <br> {{elseif $member->rank['title']}} {$member->rank['title']} <br> {{endif}} {$member->rank['image']|raw} </div> </li> {{endif}} {{if \IPS\Settings::i()->profile_birthday_type == 'public' or ( \IPS\Settings::i()->profile_birthday_type == 'private' and \IPS\Member::loggedIn()->member_id == $member->member_id ) and $member->birthday}} <li class='ipsDataItem'> <span class='ipsDataItem_generic ipsDataItem_size3 ipsType_break'><strong>{lang="bday"}</strong></span> <span class='ipsDataItem_generic'>{$member->birthday}</span> </li> {{endif}} </ul> </div> </div> {{foreach $sidebarFields as $group => $fields}} {{if count( $fields )}} <div class='ipsWidget ipsWidget_vertical cProfileSidebarBlock ipsBox ipsSpacer_bottom'> {{if $group != 'core_pfieldgroups_0'}} <h2 class='ipsWidget_title ipsType_reset'>{lang="$group"}</h2> {{endif}} <div class='ipsWidget_inner ipsPad'> <ul class='ipsDataList ipsDataList_reducedSpacing cProfileFields'> {{foreach $fields as $field => $value}} <li class='ipsDataItem ipsType_break'> <span class='ipsDataItem_generic ipsDataItem_size3 ipsType_break'><strong>{lang="$field"}</strong></span> <span class='ipsDataItem_generic'><div class='ipsType_break ipsContained'>{$value|raw}</div></span> </li> {{endforeach}} </ul> </div> </div> {{endif}} {{endforeach}} {{if \IPS\Member::loggedIn()->modPermission('can_see_emails')}} <div class='ipsWidget ipsWidget_vertical cProfileSidebarBlock ipsBox ipsSpacer_bottom'> <h2 class='ipsWidget_title ipsType_reset'>{lang="profile_contact"}</h2> <div class='ipsWidget_inner ipsPad'> <ul class='ipsDataList ipsDataList_reducedSpacing'> <li class='ipsDataItem'> <span class='ipsDataItem_generic ipsDataItem_size3'><strong>{lang="profile_email"}</strong></span> <span class='ipsDataItem_generic'> <div class='ipsType_break ipsContained'><a href='mailto:{$member->email}' title='{lang="email_this_user"}'>{$member->email}</a></div> <span class='ipsType_light ipsType_small'>{lang="profile_email_addresses"}</span> </span> </li> </ul> </div> </div> {{endif}} {{if !empty( $visitors ) || \IPS\Member::loggedIn()->member_id == $member->member_id}} <div class='ipsWidget ipsWidget_vertical cProfileSidebarBlock ipsBox ipsSpacer_bottom' data-controller='core.front.profile.toggleBlock'> {template="recentVisitorsBlock" group="profile" params="$member, $visitors"} </div> {{endif}} </div> </div> <section class='ipsColumn ipsColumn_fluid'> {$mainContent|raw} </section> </div> {{if !\IPS\Request::i()->isAjax()}} </div> </div> {{endif}} index Показать контент {template="pageHeader" group="global" app="core" params="\IPS\Member::loggedIn()->language()->addToStack('forums')"} {{if \IPS\Member::loggedIn()->member_id}} <ul class="ipsToolList ipsToolList_horizontal ipsResponsive_hideDesktop ipsResponsive_block ipsClearfix"> {template="indexButtons" group="index" app="forums" params=""} </ul> {{endif}} <section> <ol class='ipsList_reset cForumList' data-controller='core.global.core.table, forums.front.forum.forumList' data-baseURL=''> {{foreach \IPS\forums\Forum::roots() as $category}} {{if $category->can('view') && $category->hasChildren()}} <li data-categoryID='{$category->_id}' class='cForumRow ipsBox ipsSpacer_bottom'> <h2 class="ipsType_sectionTitle ipsType_reset cForumTitle"> <a href='#' class='ipsPos_right ipsJS_show ipsType_noUnderline cForumToggle' data-action='toggleCategory' data-ipsTooltip title='{lang="toggle_this_category"}'></a> <a href='{$category->url()}'>{$category->_title}</a> </h2> {{if theme.forum_layout === 'grid'}} <div class='ipsAreaBackground ipsPad' data-role="forums"> <div class='ipsGrid ipsGrid_collapsePhone' data-ipsGrid data-ipsGrid-minItemSize='250' data-ipsGrid-maxItemSize='500' data-ipsGrid-equalHeights='row'> {{foreach $category->children() as $forum}} {template="forumGridItem" group="index" app="forums" params="$forum"} {{endforeach}} </div> </div> {{else}} <ol class="ipsDataList ipsDataList_large ipsDataList_zebra ipsAreaBackground_reset" data-role="forums"> {{foreach $category->children() as $forum}} {template="forumRow" group="index" app="forums" params="$forum"} {{endforeach}} </ol> {{endif}} </li> {{endif}} {{endforeach}} </ol> </section> p.s. на нормальных хостингах всегда хранятся бекапы, вы можете их восстановить, скачать из него стиль и установить на текущюю версию Все изменил, но все равно ошибка сохраняется. У нас VPS. Не хотелось откатить на день назад, но видимо придется. Спасибо за помощь.
4 марта, 20177 yr comment_124446 Только что, leon0295 сказал: Не хотелось откатить на день назад, но видимо придется. зачем откатывать? восстановите бекап в отдельной папке или поддомене, и вытащите из старого форума стиль
4 марта, 20177 yr comment_124448 Только что, leon0295 сказал: Какую именно папку надо заменить? ничего не надо заменять! создаете поддомен и на него заливаете бекап и запускаете копию форума. если не хотите и вообще никак не понимаете что делать, лучше восстановите бекап иначе еще хуже сделаете
4 марта, 20177 yr Author comment_124449 12 минут назад, WOLF сказал: ничего не надо заменять! создаете поддомен и на него заливаете бекап и запускаете копию форума. если не хотите и вообще никак не понимаете что делать, лучше восстановите бекап иначе еще хуже сделаете Что же, залил папку "core" из бэкапа с заменой от 3 марта, но все равно проблема сохраняется. Где хранится кэш на форуме или хранится ли вообще?
5 марта, 20177 yr comment_124492 В 4.03.2017 г. в 15:26, leon0295 сказал: Server Console - Register 1.0.0 новая версия: Цитата Это приложение требует PHP-Curl расширение! Это приложение требует , чтобы этот скрипт https://github.com/Grief-Code/IPS-Server-Console/blob/master/serverCheck.php установлен на любом сервере клиента и доступен на сервере форума.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.