Перейти к содержанию

Jeka_Pro

Пользователи
  • Постов

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

  • Посещение

Сообщения, опубликованные Jeka_Pro

  1. 15 минут назад, WOLF сказал:

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

    Все правильно,  вот скриншот 

    В профиле заполнил эти данные
    Кнопки не кликабельные )

    Безымянный1.png

    Безымянный2.png

    Даже как написано в мануале, кнопку "сайт" я перенес в "Информацию" , но все так же не работают они 

  2. Огромное спасибо ТС за помощь, все как нужно.
    Ещё будет один вопрос по редактированию .
    В эту панель создаются ещё кнопки "Сайт" "Вк" и т.д
    Но они почему-то не кликабельные, что где нужно изменить,что бы пользователи могли редактировать там свои данные, и что бы они были кликабельными в темах?

    речь об этих кнопках

    Безымянный1.png

  3. Здравствуйте,по мануалу сделал такую иконку для пользователей в теме, получилось так 

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

     

    Спойлер
    • ACP - Внешний вид - Стили и шаблоны - Ваш шаблон - forums - topics - postContainer
    • Всё содержимое заменяем, на:
    
    {{$idField = $comment::$databaseColumnId;}}
    {{$itemClassSafe = str_replace( '\\', '_', mb_substr( $comment::$itemClass, 4 ) );}}
    {{if $comment->isIgnored()}}
    	<div class='ipsComment ipsComment_ignored ipsType_light' id='elIgnoreComment_{$comment->$idField}' data-ignoreCommentID='elComment_{$comment->$idField}' data-ignoreUserID='{$comment->author()->member_id}'>
          
    		{lang="ignoring_content" sprintf="$comment->author()->name"}
    		<ul class='ipsMenu ipsHide' id='elIgnoreComment_{$comment->$idField}_menu'>
    			<li class='ipsMenu_item ipsJS_show' data-ipsMenuValue='showPost'><a href='#'>{lang="show_this_post"}</a></li>
    			<li class='ipsMenu_sep ipsJS_show'><hr></li>
    			<li class='ipsMenu_item' data-ipsMenuValue='stopIgnoring'><a href='{url="app=core&module=system&controller=ignore&do=remove&id={$comment->author()->member_id}" seoTemplate="ignore"}'>{lang="stop_ignoring_posts_by" sprintf="$comment->author()->name"}</a></li>
    			<li class='ipsMenu_item'><a href='{url="app=core&module=members&controller=ignore" seoTemplate="ignore"}'>{lang="change_ignore_preferences"}</a></li>
    		</ul>
    	</div>
    {{endif}}
    
    <a id='comment-{$comment->$idField}'></a>
    <article itemscope {{if $item->isQuestion() && !$comment->new_topic}}itemprop="suggestedAnswer {{if $comment->post_bwoptions['best_answer']}}acceptedAnswer{{endif}}" itemtype="http://schema.org/Answer"{{else}}itemtype="http://schema.org/Comment"{{endif}} id='elComment_{$comment->$idField}' class='cPost ipsBox {{if $otherClasses}}{$otherClasses}{{endif}} ipsComment {{if settings.reputation_highlight and $comment->reputation() >= settings.reputation_highlight}}ipsComment_popular{{endif}} ipsComment_parent ipsClearfix ipsClear ipsColumns ipsColumns_noSpacing ipsColumns_collapsePhone {{if $comment->isIgnored()}}ipsHide{{endif}} {{if $comment->hidden()}}ipsModerated{{endif}}'>
    	{{if $item->isQuestion() and !$comment->new_topic}}
    		{template="postRating" group="topics" app="forums" params="$item, $comment, $votes"}
    	{{endif}}
    	<aside class='ipsComment_author cAuthorPane ipsColumn ipsColumn_medium'>
    	    <div class='author_info'>
    			<div class="wa_pContainer" itemscope="" itemtype="http://schema.org/Person">
    				<div class="pContainer_b1">
    					{template="userPhoto" app="core" group="global" params="$comment->author(), 'large', $comment->warningRef()"}
    				</div>
                  
                  		{{$coverPhoto = $comment->author()->coverPhoto();}}
    				    {{if $coverPhoto->file}}
    					<div class="pc_coverphoto" style="background-image: url('{$coverPhoto->file->url}') !important;">
                  </div>
    			          {{else}}
    			          {{endif}}
                  
                <h3 class='ipsType_reset ipsStreamItem_title ipsTruncate ipsTruncate_line' itemprop="creator" itemscope itemtype="http://schema.org/Person">
              	   <strong itemprop="name">{$comment->author()->link( $comment->warningRef() )|raw}</strong>
                      </h3>
                <p class="ipsType_reset ipsType_medium"> 
                {{if $comment->author()->member_title && $comment->author()->member_id}}
    			{expression="\IPS\Member\Group::load( $comment->author()->member_group_id )->formattedName" raw="true"}
    			{{elseif $comment->author()->rank['title'] && $comment->author()->member_id}}
    			{expression="\IPS\Member\Group::load( $comment->author()->member_group_id )->formattedName" raw="true"}
    			{{endif}}
                </p>
                  
                  	<div class="wa_pContainer_b3">
                      <div class="wa_pContainer_lnk">
    					{{if \IPS\Member::loggedIn()->member_id != $comment->author()->member_id}}
    							{{if \IPS\Member::loggedIn()->member_id != $comment->author()->member_id and ( !$comment->author()->members_bitoptions['pp_setting_moderate_followers'] or \IPS\Member::loggedIn()->following( 'core', 'member', $comment->author()->member_id ) )}}
    								{{$memberFollowers = $comment->author()->followers();}}
    								{{if member.member_id}}
    										{{if member.following( 'core', 'member', $comment->author()->member_id )}}
    											<a href="{url="app=core&module=system&section=notifications&do=follow&follow_app=core&follow_area=member&follow_id={$comment->author()->member_id}"}" title="{lang="following_this_member"}" data-ipsTooltip class="pContainerLink" data-role="followButton" data-ipsHover data-ipsHover-cache='false' data-ipsHover-onClick><i class="fa fa-user-times"></i></a>
    										{{else}}	
    											<a href="{url="app=core&module=system&section=notifications&do=follow&follow_app=core&follow_area=member&follow_id={$comment->author()->member_id}"}" title="{lang="follow_this_member"}" data-ipsTooltip class="pContainerLink" data-role="followButton" data-ipsHover data-ipsHover-cache='false' data-ipsHover-onClick><i class="fa fa-user-plus"></i></a>
    										{{endif}}
    								{{endif}}
    							{{endif}}
    							{{if \IPS\Member::loggedIn()->member_id && !$comment->author()->members_disable_pm and !\IPS\Member::loggedIn()->members_disable_pm and \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging' ) )}}
    							<a href='{url="app=core&module=messaging&controller=messenger&do=compose&to={$comment->author()->member_id}" seoTemplate="messenger_compose"}' data-ipsDialog data-ipsDialog-title='{lang="compose_new"}' data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage="{lang="message_sent"}" title="Отправить сообщение" data-ipsTooltip class='pContainerLink'><i class="fa fa-inbox"></i></a>
    							{{endif}}
    					{{endif}}
                        </div>
                      </div>
                  
         <div class="wa_pContainer_b4">
         {{$site = preg_replace('/<wbr>/', '', $comment->author()->contentProfileFields()['core_pfieldgroups_2'][2]);}}
         {{if $comment->author()->contentProfileFields()['core_pfieldgroups_2'][2]}}
    		<a href="{$site}" target="_blank" title="Сайт" data-ipsTooltip class="pContainer_Button"><i class="fa fa-chrome" aria-hidden="true"></i></a>
    	 {{else}}
    		<a style="opacity:0.5" target="_blank" title="Сайт" data-ipsTooltip class="pContainer_Button"><i class="fa fa-chrome" aria-hidden="true"></i></a>
    	 {{endif}}
    					
         {{$skype = preg_replace('/<wbr>/', '', $comment->author()->contentProfileFields()['core_pfieldgroups_2'][3]);}}
         {{if $comment->author()->contentProfileFields()['core_pfieldgroups_2'][3]}}
    		<a href="skype:{$skype}?chat" target="_blank" title="Скайп" data-ipsTooltip class="pContainer_Button"><i class="fa fa-skype" aria-hidden="true"></i></a>
    	 {{else}}
    	    <a style="opacity:0.5" target="_blank" title="Скайп" data-ipsTooltip class="pContainer_Button"><i class="fa fa-skype" aria-hidden="true"></i></a>
    	 {{endif}}
    					
         {{$vk = preg_replace('/<wbr>/', '', $comment->author()->contentProfileFields()['core_pfieldgroups_2'][4]);}}
    	 {{if $comment->author()->contentProfileFields()['core_pfieldgroups_2'][4]}}
    		<a href="http://www.privatelink.de/?https://vk.com/{$vk}" target="_blank" title="Вконтакте" data-ipsTooltip class="pContainer_Button"><i class="fa fa-vk" aria-hidden="true"></i></a>
    	 {{else}}
    		<a style="opacity:0.5" target="_blank" title="Вконтакте" data-ipsTooltip class="pContainer_Button"><i class="fa fa-vk" aria-hidden="true"></i></a>
    	 {{endif}}
    	 </div>
                <div class="wa_pContainer_b2">
    			<div class="wa_pContainer_b2_1">
    			<div>
    			<span class="wa_pContainer_b2_m">Публикации</span>
    			</div>
    			<span style="font-size: 15px;">{$comment->author()->member_posts}</span>
    			</div>
                <div class="wa_pContainer_b2_1">
    			<div>
    			<span class="wa_pContainer_b2_m">Репутация</span>
    			</div>
    			<span style="font-size: 15px;">{template="reputationBadge" group="global" app="core" params="$comment->author()"}</span>
    			</div>
    			</div>
    			</div>
    		</div>
    	</aside>
    	<div class='ipsColumn ipsColumn_fluid'>
    		{template="post" group="topics" app="forums" params="$item, $comment, $item::$formLangPrefix . 'comment', $item::$application, $item::$module, $itemClassSafe"}
    	</div>
    </article>
    • ACP - Внешний вид - Стили и шаблоны - Ваш шаблон - CSS - custom.css
    • В самый низ добавляем:
    
    /**
     * postContainer by Web-Ask.RU
     */
    
    .cAuthorPane {
        padding: 10px !important;
    }
    
    aside.ipsComment_author.cAuthorPane.ipsColumn.ipsColumn_medium {
        width: 225px;
    }
    
    .wa_pContainer {
        padding: 5px;
        background: #FFF;
        border: 1px solid rgba(0,0,0,0.1);
        margin: 10px 2px 0 2px;
    }
    
    .pContainer_b1 {
        margin-top: -20px;
        margin-bottom: 5px;
        text-align: center;
    }
    
    .pContainer_b1 img {
        border: 1px solid rgba(0,0,0,0.1);
        border-radius: 500px;
        height: 90px;
    }
    
    .pc_coverphoto {
        margin-bottom: 5px !important;
        background-color: #FFFFFF !important;
        background-position: 50% 50%;
        background-repeat: no-repeat;
        -webkit-background-size: 100% 100%;
        -moz-background-size: 100% 100%;
        background-size: 100% 100% !important;
        height: 90px;
        width: 200px;
        margin-left: -5px !important;
        margin: -90px 0 0 0;
    }
    
    .wa_pContainer_b2 {
        background: #F8F8F8;
        overflow: hidden;
        padding: 8px 0;
        margin: 10px -5px -5px -5px;
    }
    
    .wa_pContainer_b2_1 {
        width: 50%;
        float: left;
    }
    
    .wa_pContainer_b2_1 .ipsRepBadge {
        font-size: 15px;
        font-weight: normal;
    }
    
    .wa_pContainer_b2_m {
        color: #868686;
        text-transform: uppercase;
        font-size: 11px;
    }
    
    .wa_pContainer_lnk {
      text-align: center;
    }
    
    .wa_pContainer_b3 {
      margin: 5px 0;
    }
    
    .wa_pContainer_b4 {
      margin: 5px 0;
    }
    
    .pContainerLink {
        width: 90px;
        height: 28px;
        line-height: 28px;
        margin: 0 1px;
        text-align: center;
        background: #34495e;
        border-radius: 2px;
        display: inline-block;
        color: #FFFFFF;
        font-size: 15px;
    }
    
    .pContainerLink:hover {
      color: #FFFFFF;
    }
    
    .pContainer_Button {
        width: 60px;
        height: 28px;
        line-height: 28px;
        text-align: center;
        background: rgb(52, 73, 94);
        border-radius: 2px;
        display: inline-block;
        color: #FFFFFF;
        font-size: 15px;
    }
    
    .pContainer_Button:hover {
      color: #FFFFFF;
    }
    • Для того, что бы убрать круг у репутации, переходим в шаблон: core - front - global - reputationBadge
    • И удаляем:
    
    <i class='fa {{if $author->pp_reputation_points > 0}}fa-plus-circle{{elseif $author->pp_reputation_points < 0}}fa-minus-circle{{else}}fa-circle{{endif}}'></i>
    • Создаём дополнительные поля:

    • ACP - Пользователи - Настройка - Профили пользователей - Создать.

    • В группе контакты создаем поля: Скайп и Вконтакте, в группе информация только поле Сайт.

     

    Безымянный1.png

  4. 5 часов назад, SlawkA сказал:

    хоспадя. стиль то на любителя :ag: мог бы и в личку скинуть.

    лови код.

      Скрыть контент
    
    
    {{if \IPS\Member::loggedIn()->member_id }}
    	<ul id='elUserNav' class='ipsList_inline cSignedIn ipsClearfix ipsResponsive_showDesktop' data-controller='core.front.core.userbar{{if member.member_id && settings.auto_polling_enabled}},core.front.core.instantNotifications{{endif}}'>
    		{{if !\IPS\Member::loggedIn()->restrict_post and count( \IPS\Member::loggedIn()->createMenu() )}}
    			<li id='cCreate'>
    				<a href='#elCreateNew_menu' id='elCreateNew' data-ipsTooltip data-ipsMenu title='{lang="create_menu_title"}'>
    					<strong><i class='fa fa-plus'></i> &nbsp;{lang="create_menu"}</strong> <i class='fa fa-caret-down'></i>
    				</a>
    				<div id='elCreateNew_menu' class='ipsMenu ipsMenu_auto ipsHide'>
    					<ul>
    						{{foreach \IPS\Member::loggedIn()->createMenu() as $k => $url}}
    							<li class="ipsMenu_item">
    								<a href="{$url['link']}"
    								{{if isset( $url['extraData'] )}}
    									{{foreach $url['extraData'] as $data => $v}}
    										{$data}="{$v}"
    									{{endforeach}}
    								{{endif}}
    								{{if isset($url['title']) AND $url['title']}} data-ipsDialog-title='{lang="$url['title']"}'{{endif}}
    								{{if isset($url['flashMessage'])}} data-ipsdialog-flashmessage="{lang="$url['flashMessage']"}"{{endif}}
    								>{lang="$k"}</a>
    							</li>
    						{{endforeach}}
    					</ul>
    				</div>
    			</li>
    			<li class='elUserNav_sep'></li>
    		{{endif}}
    		<li class='cNotifications cUserNav_icon'>
    			<a href='{url="app=core&module=system&controller=notifications" seoTemplate="notifications"}' id='elFullNotifications' data-ipsTooltip title='{lang="userbar_notifications" escape="true"}' data-ipsMenu data-ipsMenu-closeOnClick='false'>
    				<i class='fa fa-bell'></i> <span class='ipsNotificationCount {{if !member.notification_cnt}}ipsHide{{endif}}' data-notificationType='notify' data-currentCount='{member="notification_cnt"}'>{member="notification_cnt"}</span>
    			</a>
    			<div id='elFullNotifications_menu' class='ipsMenu ipsMenu_wide ipsHide'>
    				<div class='ipsMenu_headerBar'>
    					<a href="{url="app=core&module=system&controller=notifications&do=options" seoTemplate="notifications_options"}" class="ipsType_light ipsPos_right"><i class="fa fa-cog"></i> {lang="notification_options"}</a>
    					<h4 class='ipsType_sectionHead'>{lang="notifications"}</h4>
    				</div>
    				<div class='ipsMenu_innerContent'>
    					<ol class='ipsDataList ipsDataList_readStatus' data-role='notifyList' data-ipsKeyNav data-ipsKeyNav-observe='return' id='elNotifyContent'></ol>
    				</div>
    				<div class='ipsMenu_footerBar ipsType_center'>
    					<a href='{url="app=core&module=system&controller=notifications" seoTemplate="notifications"}'><i class='fa fa-bars'></i> {lang="see_all_notifications"}</a>
    				</div>
    			</div>
    		</li>
    		{{if !\IPS\Member::loggedIn()->members_disable_pm and \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging' ) )}}
    			<li class='cInbox cUserNav_icon'>
    				<a href='{url="app=core&module=messaging&controller=messenger" seoTemplate="messaging"}' id='elFullInbox' data-ipsTooltip title='{lang="userbar_messages" escape="true"}' data-ipsMenu data-ipsMenu-closeOnClick='false'>
    					<i class='fa fa-envelope'></i> <span class='ipsNotificationCount {{if !\IPS\Member::loggedIn()->msg_count_new}}ipsHide{{endif}}' data-notificationType='inbox' data-currentCount='{member="msg_count_new"}'>{member="msg_count_new"}</span>
    				</a>
    				<div id='elFullInbox_menu' class='ipsMenu ipsMenu_wide ipsHide' data-controller='core.front.core.messengerMenu'>
    					<div class='ipsMenu_headerBar'>
    						<a href='{url="app=core&module=messaging&controller=messenger&do=compose" seoTemplate="messenger_compose"}' data-ipsDialog data-ipsDialog-title='{lang="compose_new"}' data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage="{lang="message_sent"}" id='elMessengerPopup_compose' class='ipsPos_right ipsButton ipsButton_primary ipsButton_verySmall'>{lang="compose_new"}</a>
    						<h4 class='ipsType_sectionHead'>{lang="inbox"}</h4>
    					</div>
    					<div class='ipsMenu_innerContent'><ol class='ipsDataList' data-role='inboxList' data-ipsKeyNav data-ipsKeyNav-observe='return' id='elInboxContent'></ol></div>
    					<div class='ipsMenu_footerBar ipsType_center'>
    						<a href='{url="app=core&module=messaging&controller=messenger" seoTemplate="messaging"}'><i class='fa fa-bars'></i> {lang="go_to_inbox"}</a>
    					</div>
    				</div>
    			</li>
    		{{endif}}
    		{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'modcp' ) ) and \IPS\Member::loggedIn()->modPermission('can_view_reports')}}
    			<li class='cReports cUserNav_icon'>
    				<a href='{url="app=core&module=modcp&controller=modcp&tab=reports" seoTemplate="modcp_reports"}' id='elFullReports' data-ipsTooltip title='{lang="userbar_reports" escape="true"}' data-ipsMenu data-ipsMenu-closeOnClick='false'>
    					<i class='fa fa-warning'></i> {{if \IPS\Member::loggedIn()->reportCount()}}<span class='ipsNotificationCount' data-notificationType='reports'>{member="reportCount()"}</span>{{endif}}
    				</a>
    				<div id='elFullReports_menu' class='ipsMenu ipsMenu_wide ipsHide'>
    					<div class='ipsMenu_headerBar'><h4 class='ipsType_sectionHead'>{lang="report_center_header"}</h4></div>
    					<div class='ipsMenu_innerContent' data-role="reportsList"></div>
    					<div class='ipsMenu_footerBar ipsType_center'>
    						<a href='{url="app=core&module=modcp&controller=modcp&tab=reports" seoTemplate="modcp_reports"}'><i class='fa fa-bars'></i> {lang="report_center_link"}</a>
    					</div>
    				</div>
    			</li>
    		{{endif}}
    		<li class='elUserNav_sep'></li>
    		<li id='cUserLink'>
    			{template="userPhoto" group="global" app="core" params="\IPS\Member::loggedIn(), 'tiny'"}
    			<a href='#elUserLink_menu' id='elUserLink' data-ipsMenu>
    				{{if isset( $_SESSION['logged_in_as_key'] )}}{lang="front_logged_in_as" sprintf="$_SESSION['logged_in_from']['name']"} {{endif}}{member="name"} <i class='fa fa-caret-down'></i>
    			</a>
    			<ul id='elUserLink_menu' class='ipsMenu ipsMenu_normal ipsHide'>
    				<li class='ipsMenu_title'>{lang="menu_content"}</li>
    				{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members', 'front' ) )}}
    					<li class='ipsMenu_item' data-menuItem='profile'><a href='{member="url()"}' title='{lang="view_my_profile"}'>{lang="menu_profile"}</a></li>
    				{{endif}}
    				{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging' ) ) and \IPS\Member::loggedIn()->members_disable_pm AND \IPS\Member::loggedIn()->members_disable_pm != 2}}
    					<li class='ipsMenu_item' data-menuItem='messages'><a href='{url="app=core&module=messaging&controller=messenger&do=enableMessenger" seoTemplate="messaging" csrf="true"}' title='{lang="go_to_messenger"}' data-confirm data-confirmMessage='{lang="messenger_disabled_msg"}'>{lang="menu_messages"}</a></li>
    				{{endif}}
    				{{if \IPS\Member::loggedIn()->group['g_attach_max'] != 0}}
    					<li class='ipsMenu_item' data-menuItem='attachments'><a href='{url="app=core&module=system&controller=attachments" seoTemplate="attachments"}'>{lang="my_attachments"}</a></li>
    				{{endif}}
    				<li class='ipsMenu_title'>{lang="menu_settings_title"}</li>
    				<li class='ipsMenu_item' data-menuItem='manageFollowed'><a href='{url="app=core&module=system&controller=followed" seoTemplate="followed_content"}'>{lang="menu_followed_content"}</a></li>
    				<li class='ipsMenu_item' id='elAccountSettingsLink' data-menuItem='settings'><a href='{url="app=core&module=system&controller=settings" seoTemplate="settings"}' title='{lang="edit_account_settings"}'>{lang="menu_settings"}</a></li>
                    <li class='ipsMenu_item' data-menuItem='ignoredUsers'><a href='{url="app=core&module=system&controller=ignore" seoTemplate="ignore"}'>{lang="menu_manage_ignore"}</a></li>
    				<li class='ipsMenu_sep'><hr></li>
    				{{if ( \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'modcp' ) ) AND \IPS\Member::loggedIn()->modPermission() ) or \IPS\Member::loggedIn()->isAdmin()}}
    					{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'modcp' ) ) AND \IPS\Member::loggedIn()->modPermission()}}
    						<li class='ipsMenu_item' data-menuItem='modcp'><a href='{url="app=core&module=modcp" seoTemplate="modcp"}'>{lang="menu_modcp"}</a></li>
    					{{endif}}
    					{{if \IPS\Member::loggedIn()->isAdmin() AND !\IPS\Settings::i()->security_remove_acp_link }}
    						<li class='ipsMenu_item' data-menuItem='admincp'><a href='{url="" base="admin"}' target='_blank'><i class='fa fa-lock'></i> {lang="menu_admincp"}</a></li>
    					{{endif}}
    					<li class='ipsMenu_sep'><hr></li>
    				{{endif}}
    				<li class='ipsMenu_item' data-menuItem='signout'>
    					<a href='{url="app=core&module=system&controller=login&do=logout" csrf="true" seoTemplate="logout"}'>
    						{{if isset( $_SESSION['logged_in_as_key'] )}}{lang="switch_to_account" sprintf="$_SESSION['logged_in_from']['name']"}{{else}}{lang="sign_out"}{{endif}}
    					</a>
    				</li>
    			</ul>
    		</li>
    	</ul>
    {{else}}
    	<ul id='elUserNav' class='ipsList_inline cSignedOut ipsClearfix ipsResponsive_hidePhone ipsResponsive_block'>
    		<li id='elSignInLink'>
    			{{if \IPS\Settings::i()->logins_over_https AND !\IPS\Request::i()->isSecure()}}
    				<a href='{url="app=core&module=system&controller=login" seoTemplate="login" protocol="\IPS\Settings::i()->logins_over_https"}'>{lang="sign_in"}</a>
    			{{else}}
    				<a href='{url="app=core&module=system&controller=login" seoTemplate="login" protocol="\IPS\Settings::i()->logins_over_https"}' data-ipsMenu-closeOnClick="false" data-ipsMenu id='elUserSignIn'>
    					{lang="sign_in"} &nbsp;<i class='fa fa-caret-down'></i>
    				</a>
    			{{endif}}
    			{template="loginPopup" app="core" group="global" params="new \IPS\Login( \IPS\Http\Url::internal( 'app=core&module=system&controller=login', 'front', 'login', NULL, \IPS\Settings::i()->logins_over_https ) )"}
    		</li>
    		{{if \IPS\Settings::i()->allow_reg}}
    			<li>
    				<a href='{url="app=core&module=system&controller=register" seoTemplate="register" protocol="\IPS\Settings::i()->logins_over_https"}' id='elRegisterButton' class='ipsButton ipsButton_normal ipsButton_primary'>
    					{lang="sign_up"}
    				</a>
    			</li>
    		{{endif}}
    	</ul>
    {{endif}}

     

    я не знаю чем именно они отличаются от 4.2

    но проверь на всякий случай.

    или долби автора стиля.

    Вставил твой код, получилось так,  кнопки так же не работают)
    Есть другой вариант?

    Безымянный.png

  5. 4 часа назад, SlawkA сказал:

    у вас стиль и форум 4.1

    а вам походу скинули код с 4.2, по этому и криво скорее всего.

    сам стиль скачай, и скинь сюда. я посмотрю на локалке.

    стиль как бы распространять не хочется, на 4.1 можешь код скинуть?

  6. 2 минуты назад, andros0789 сказал:

    O.oполучилосььь.....что получилось? Даже не слышите что я говорю вам..

    выше скрин приложи, я код весь который вы скинул вставил в userbar, так как он был пустой,и сохранил, надпись войти и регистрация не там где нужно, это нужно изменить)

  7. 1 минуту назад, andros0789 сказал:

    для начала исправьте свой профиль на этом сайте и укажите всю инфу о вашем сайте (версию форума и тд)

     

    получилось,как поставить на место где в шаблоне оно?
     

    Безымянный.png

  8. 1 минуту назад, andros0789 сказал:

    А ничего то что вы удалили или скачали может кривой шаблон и там вообще как бы нет ссылок)))
    5a1709d709107_.thumb.PNG.a3ceadc1a6f359c5258cf3d5e3fd60a2.PNG

     

    Вставьте в свой шаблон userBar этот код (замените на этот весь ваш код):
     

    
    {{if \IPS\Member::loggedIn()->member_id }}
    	<ul id='elUserNav' class='ipsList_inline cSignedIn ipsClearfix ipsResponsive_showDesktop' data-controller='core.front.core.userbar{{if member.member_id && settings.auto_polling_enabled}},core.front.core.instantNotifications{{endif}}'>
    		{template="siteSocialProfiles" if="theme.social_links == 'header'" app="core" group="global" location="front"}
    		{{if !\IPS\Member::loggedIn()->restrict_post and count( \IPS\Member::loggedIn()->createMenu() )}}
    			<li id='cCreate'>
    				<a href='#elCreateNew_menu' id='elCreateNew' data-ipsTooltip data-ipsMenu title='{lang="create_menu_title"}'>
    					<strong><i class='fa fa-plus'></i> &nbsp;{lang="create_menu"}</strong> <i class='fa fa-caret-down'></i>
    				</a>
    				<div id='elCreateNew_menu' class='ipsMenu ipsMenu_auto ipsHide'>
    					<ul>
    						{{foreach \IPS\Member::loggedIn()->createMenu() as $k => $url}}
    							<li class="ipsMenu_item">
    								<a href="{$url['link']}"
    								{{if isset( $url['extraData'] )}}
    									{{foreach $url['extraData'] as $data => $v}}
    										{$data}="{$v}"
    									{{endforeach}}
    								{{endif}}
    								{{if isset($url['title']) AND $url['title']}} data-ipsDialog-title='{lang="$url['title']"}'{{endif}}
    								{{if isset($url['flashMessage'])}} data-ipsdialog-flashmessage="{lang="$url['flashMessage']"}"{{endif}}
    								>{lang="$k"}</a>
    							</li>
    						{{endforeach}}
    					</ul>
    				</div>
    			</li>
    			<li class='elUserNav_sep'></li>
    		{{endif}}
    		<li class='cNotifications cUserNav_icon'>
    			<a href='{url="app=core&module=system&controller=notifications" seoTemplate="notifications"}' id='elFullNotifications' data-ipsTooltip title='{lang="userbar_notifications" escape="true"}' data-ipsMenu data-ipsMenu-closeOnClick='false'>
    				<i class='fa fa-bell'></i> <span class='ipsNotificationCount {{if !member.notification_cnt}}ipsHide{{endif}}' data-notificationType='notify' data-currentCount='{member="notification_cnt"}'>{member="notification_cnt"}</span>
    			</a>
    			<div id='elFullNotifications_menu' class='ipsMenu ipsMenu_wide ipsHide'>
    				<div class='ipsMenu_headerBar'>
    					<a href="{url="app=core&module=system&controller=notifications&do=options" seoTemplate="notifications_options"}" class="ipsType_light ipsPos_right"><i class="fa fa-cog"></i> {lang="notification_options"}</a>
    					<h4 class='ipsType_sectionHead'>{lang="notifications"}</h4>
    				</div>
    				<div class='ipsMenu_innerContent'>
    					<ol class='ipsDataList ipsDataList_readStatus' data-role='notifyList' data-ipsKeyNav data-ipsKeyNav-observe='return' id='elNotifyContent'></ol>
    				</div>
    				<div class='ipsMenu_footerBar ipsType_center'>
    					<a href='{url="app=core&module=system&controller=notifications" seoTemplate="notifications"}'><i class='fa fa-bars'></i> {lang="see_all_notifications"}</a>
    				</div>
    			</div>
    		</li>
    		{{if !\IPS\Member::loggedIn()->members_disable_pm and \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging' ) )}}
    			<li class='cInbox cUserNav_icon'>
    				<a href='{url="app=core&module=messaging&controller=messenger" seoTemplate="messaging"}' id='elFullInbox' data-ipsTooltip title='{lang="userbar_messages" escape="true"}' data-ipsMenu data-ipsMenu-closeOnClick='false'>
    					<i class='fa fa-envelope'></i> <span class='ipsNotificationCount {{if !\IPS\Member::loggedIn()->msg_count_new}}ipsHide{{endif}}' data-notificationType='inbox' data-currentCount='{member="msg_count_new"}'>{member="msg_count_new"}</span>
    				</a>
    				<div id='elFullInbox_menu' class='ipsMenu ipsMenu_wide ipsHide' data-controller='core.front.core.messengerMenu'>
    					<div class='ipsMenu_headerBar'>
    						<a href='{url="app=core&module=messaging&controller=messenger&do=compose" seoTemplate="messenger_compose"}' data-ipsDialog data-ipsDialog-title='{lang="compose_new"}' data-ipsDialog-remoteSubmit data-ipsDialog-destructOnClose data-ipsDialog-flashMessage="{lang="message_sent"}" id='elMessengerPopup_compose' class='ipsPos_right ipsButton ipsButton_primary ipsButton_verySmall'>{lang="compose_new"}</a>
    						<h4 class='ipsType_sectionHead'>{lang="userbar_messages"}</h4>
    					</div>
    					<div class='ipsMenu_innerContent'><ol class='ipsDataList' data-role='inboxList' data-ipsKeyNav data-ipsKeyNav-observe='return' id='elInboxContent'></ol></div>
    					<div class='ipsMenu_footerBar ipsType_center'>
    						<a href='{url="app=core&module=messaging&controller=messenger" seoTemplate="messaging"}'><i class='fa fa-bars'></i> {lang="go_to_inbox"}</a>
    					</div>
    				</div>
    			</li>
    		{{endif}}
    		{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'modcp' ) ) and \IPS\Member::loggedIn()->modPermission('can_view_reports')}}
    			<li class='cReports cUserNav_icon'>
    				<a href='{url="app=core&module=modcp&controller=modcp&tab=reports" seoTemplate="modcp_reports"}' id='elFullReports' data-ipsTooltip title='{lang="userbar_reports" escape="true"}' data-ipsMenu data-ipsMenu-closeOnClick='false'>
    					<i class='fa fa-warning'></i> {{if \IPS\Member::loggedIn()->reportCount()}}<span class='ipsNotificationCount' data-notificationType='reports'>{member="reportCount()"}</span>{{endif}}
    				</a>
    				<div id='elFullReports_menu' class='ipsMenu ipsMenu_wide ipsHide'>
    					<div class='ipsMenu_headerBar'><h4 class='ipsType_sectionHead'>{lang="report_center_header"}</h4></div>
    					<div class='ipsMenu_innerContent' data-role="reportsList"></div>
    					<div class='ipsMenu_footerBar ipsType_center'>
    						<a href='{url="app=core&module=modcp&controller=modcp&tab=reports" seoTemplate="modcp_reports"}'><i class='fa fa-bars'></i> {lang="report_center_link"}</a>
    					</div>
    				</div>
    			</li>
    		{{endif}}
    		<li class='elUserNav_sep'></li>
    		<li id='cUserLink'>
    			{template="userPhoto" group="global" app="core" params="\IPS\Member::loggedIn(), 'tiny'"}
    			<a href='#elUserLink_menu' id='elUserLink' data-ipsMenu>
    				{{if isset( $_SESSION['logged_in_as_key'] )}}{lang="front_logged_in_as" sprintf="$_SESSION['logged_in_from']['name']"} {{endif}}{member="name"} <i class='fa fa-caret-down'></i>
    			</a>
    			<ul id='elUserLink_menu' class='ipsMenu ipsMenu_normal ipsHide'>
    				<li class='ipsMenu_title'>{lang="menu_content"}</li>
    				{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members', 'front' ) )}}
    					<li class='ipsMenu_item' data-menuItem='profile'><a href='{member="url()"}' title='{lang="view_my_profile"}'>{lang="menu_profile"}</a></li>
    				{{endif}}
    				{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging' ) ) and \IPS\Member::loggedIn()->members_disable_pm AND \IPS\Member::loggedIn()->members_disable_pm != 2}}
    					<li class='ipsMenu_item' data-menuItem='messages'><a href='{url="app=core&module=messaging&controller=messenger&do=enableMessenger" seoTemplate="messaging" csrf="true"}' title='{lang="go_to_messenger"}' data-confirm data-confirmMessage='{lang="messenger_disabled_msg"}'>{lang="menu_messages"}</a></li>
    				{{endif}}
    				{{if \IPS\Member::loggedIn()->group['g_attach_max'] != 0}}
    					<li class='ipsMenu_item' data-menuItem='attachments'><a href='{url="app=core&module=system&controller=attachments" seoTemplate="attachments"}'>{lang="my_attachments"}</a></li>
    				{{endif}}
    				<li class='ipsMenu_title'>{lang="menu_settings_title"}</li>
    				{{if \IPS\core\Promote::promoteServices()}}
    					<li class='ipsMenu_item' data-menuItem='promote'><a href='{url="app=core&module=promote&controller=promote&do=view" seoTemplate="promote_manage"}'>{lang="promote_manage_link"}</a></li>
    				{{endif}}
    				<li class='ipsMenu_item' data-menuItem='manageFollowed'><a href='{url="app=core&module=system&controller=followed" seoTemplate="followed_content"}'>{lang="menu_followed_content"}</a></li>
    				<li class='ipsMenu_item' id='elAccountSettingsLink' data-menuItem='settings'><a href='{url="app=core&module=system&controller=settings" seoTemplate="settings"}' title='{lang="edit_account_settings"}'>{lang="menu_settings"}</a></li>
    				{{if settings.ignore_system_on}}
                	    <li class='ipsMenu_item' data-menuItem='ignoredUsers'><a href='{url="app=core&module=system&controller=ignore" seoTemplate="ignore"}'>{lang="menu_manage_ignore"}</a></li>
                	{{endif}}
    				<li class='ipsMenu_sep'><hr></li>
    				{{if ( \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'modcp' ) ) AND \IPS\Member::loggedIn()->modPermission() ) or \IPS\Member::loggedIn()->isAdmin()}}
    					{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'modcp' ) ) AND \IPS\Member::loggedIn()->modPermission()}}
    						<li class='ipsMenu_item' data-menuItem='modcp'><a href='{url="app=core&module=modcp" seoTemplate="modcp"}'>{lang="menu_modcp"}</a></li>
    					{{endif}}
    					{{if \IPS\Member::loggedIn()->isAdmin() AND !\IPS\Settings::i()->security_remove_acp_link }}
    						<li class='ipsMenu_item' data-menuItem='admincp'><a href='{url="" base="admin"}' target='_blank'><i class='fa fa-lock'></i> {lang="menu_admincp"}</a></li>
    					{{endif}}
    					<li class='ipsMenu_sep'><hr></li>
    				{{endif}}
    				<li class='ipsMenu_item' data-menuItem='signout'>
    					<a href='{url="app=core&module=system&controller=login&do=logout" csrf="true" seoTemplate="logout"}'>
    						{{if isset( $_SESSION['logged_in_as_key'] )}}{lang="switch_to_account" sprintf="$_SESSION['logged_in_from']['name']"}{{else}}{lang="sign_out"}{{endif}}
    					</a>
    				</li>
    			</ul>
    		</li>
    	</ul>
    {{else}}
    	<ul id='elUserNav' class='ipsList_inline cSignedOut ipsClearfix ipsResponsive_hidePhone ipsResponsive_block'>
    		{template="siteSocialProfiles" if="theme.social_links != 'footer'" app="core" group="global" location="front"}
    		<li id='elSignInLink'>
    			{{if \IPS\Settings::i()->logins_over_https AND !\IPS\Request::i()->isSecure()}}
    				<a href='{url="app=core&module=system&controller=login" seoTemplate="login" protocol="\IPS\Settings::i()->logins_over_https"}'>{lang="sign_in"}</a>
    			{{else}}
    				<a href='{url="app=core&module=system&controller=login" seoTemplate="login" protocol="\IPS\Settings::i()->logins_over_https"}' data-ipsMenu-closeOnClick="false" data-ipsMenu id='elUserSignIn'>
    					{lang="sign_in"} &nbsp;<i class='fa fa-caret-down'></i>
    				</a>
    			{{endif}}
    			{template="loginPopup" app="core" group="global" params="new \IPS\Login( \IPS\Http\Url::internal( 'app=core&module=system&controller=login', 'front', 'login', NULL, \IPS\Settings::i()->logins_over_https ) )"}
    		</li>
    		{{if \IPS\Settings::i()->allow_reg}}
    			<li>
    				<a href='{url="app=core&module=system&controller=register" seoTemplate="register" protocol="\IPS\Settings::i()->logins_over_https"}' {{if \IPS\Settings::i()->quick_register}}data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="sign_up"}'{{endif}} id='elRegisterButton' class='ipsButton ipsButton_normal ipsButton_primary'>
    						{lang="sign_up"}
    				</a>
    			</li>
    		{{endif}}
    	</ul>
    {{endif}}

     

    лазили тут шальные ручки походу, он вообще пустой, из за этого так,верно?

    Безымянный.png

  9. 1 минуту назад, andros0789 сказал:

    сама кнопка не пашет или именно вход не работает? шаблон пробовали новый создать и в нем проверить как писали вам?

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

  10. 4 минуты назад, andros0789 сказал:

    для начала создайте дефолтный стиль и проверьте на нем. Если нет, то могли удалить тот же constants.php в корне (это предположение, и обычно не входит в админпанель если переименовывали папку админки)

    constants.php есть в корне сайта, есть ещё предположения?

  11. Только что, SlawkA сказал:

    вспоминайте что, когда, и что последнее делали в самом стиле.

    так сказать не возможно, я не экстрасекс. :ag:

    да и ссылку бы на сайт указали бы.

    со стилем ничего не делалось последнее время, а точнее аж с лета, ссылка на сайт https://pozitive-zombie.ru/

  12. 1 минуту назад, SlawkA сказал:

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

    по этому не срабатывает.

    у меня была такая хрень.

    рекапча отключена, а что со стилем может быть не так?
    Можешь подсказать куда рыть,и что изменить?

  13. Здравствуйте,на главной странице сайта не работает кнопка войти и регистрация, просто нажимаешь и ничего не происходит.
    Скрин из АЦ из вкладки "методы входа"
    по ссылке site.ru/login все работает, так лишь на главной странице, что это может быть,и как  исправить?
    IPS 4.1.16

    Безымянный.png

  14. Есть ли какой-то хук для статистика сайта ipb 3.4.6 ?
    яндекс метрика не подходит)
     Мне нужно посмотреть показатели сайта - глубину просмотра, просмотры, посещаемость, время на сайте, отказы, какие устройства и пр.

    что то на подобе вебвизора в яндекс метрике 

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