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

Mr.Alex

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

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

  • Посещение

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

  1. 
    
    {parse replacement="header_start"}<h2 class='maintitle'>{$this->lang->words['todays_posters']}</h2>{parse replacement="header_end"}
    <table class='ipb_table ipsMemberList'>
        <tr class='header'>
            <th scope='col' style='width: 3%'> </th>
            <th scope='col'>{$this->lang->words['member']}</th>
            <th scope='col'>{$this->lang->words['member_joined']}</th>
            <th scope='col' class='short'>{$this->lang->words['member_posts']}</th>
            <th scope='col' class='short'>{$this->lang->words['member_today']}</th>
            <th scope='col' class='short'>{$this->lang->words['member_percent']}</th>
            <th scope='col' class='short'> </th>
        </tr>
        <if test="hasTopPosters:|:!is_array($rows) OR !count($rows)">
            <tr>
                <td colspan='7' class='no_messages'>{$this->lang->words['no_info']}</td>
            </tr>
        <else />
            {parse striping="top_posters" classes="row1,row2"}
            <foreach loop="topposters:$rows as $info">
                <tr class='{parse striping="top_posters"}'>
                    <td>{parse template="userSmallPhoto" group="global" params="array_merge( $info, array( 'alt' => sprintf($this->lang->words['users_photo'], $info['members_display_name']) ) )"}</td>
                    <td>{parse template="userHoverCard" group="global" params="$info"}</td>
                    <td class='altrow'>
                        {parse date="$info['joined']" format="joined"}
                    </td>
                    <td class='short'>
                        {parse format_number="$info['posts']"}
                    </td>
                    <td class='altrow short'>
                        {parse format_number="$info['tpost']"}
                    </td>
                    <td class='short'>
                        {$info['today_pct']}%
                    </td>
                    <td class='altrow short'>
                        <ul class='ipsList_inline right'>
                            <if test="tpIsFrindable:|:$this->memberData['member_id'] AND $this->memberData['member_id'] != $info['member_id'] && $this->settings['friends_enabled'] AND $this->memberData['g_can_add_friends']">
                                <if test="tpIsFriend:|:IPSMember::checkFriendStatus( $info['member_id'] )">
                                    <li class='mini_friend_toggle is_friend' id='friend_xxx_{$info['member_id']}'><a href='{parse url="app=members&module=profile&section=friends&do=remove&member_id={$info['member_id']}&secure_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['remove_friend']}' class='ipsButton_secondary'>{parse replacement="remove_friend"}</a></li>
                                <else />
                                    <li class='mini_friend_toggle is_not_friend' id='friend_xxx_{$info['member_id']}'><a href='{parse url="app=members&module=profile&section=friends&do=add&member_id={$info['member_id']}&secure_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['add_friend']}' class='ipsButton_secondary'>{parse replacement="add_friend"}</a></li>
                                </if>
                            </if>
                            <if test="tpPm:|:$this->memberData['g_use_pm'] AND $this->memberData['member_id'] != $info['member_id'] AND $this->memberData['members_disable_pm'] == 0 AND IPSLib::moduleIsEnabled( 'messaging', 'members' )">
                                <li class='pm_button' id='pm_xxx_{$info['member_id']}'><a href='{parse url="app=members&module=messaging&section=send&do=form&fromMemberID={$info['member_id']}" base="public"}' title='{$this->lang->words['pm_member']}' class='ipsButton_secondary'>{parse replacement="send_msg"}</a></li>
                            </if>
                            <if test="tpBlog:|:$info['has_blog'] AND IPSLib::appIsInstalled( 'blog' )">
                                <li><a href='{parse url="app=blog&module=display&section=blog&mid={$info['member_id']}" base="public"}' title='{$this->lang->words['view_blog']}' class='ipsButton_secondary'>{parse replacement="blog_link"}</a></li>
                            </if>
                            <if test="tpGallery:|:$info['has_gallery'] AND IPSLib::appIsInstalled( 'gallery' )">
                                <li><a href='{parse url="app=gallery&user={$info['member_id']}" base="public" seotitle="{$info['members_seo_name']}" template="useralbum"}' title='{$this->lang->words['view_gallery']}' class='ipsButton_secondary'>{parse replacement="gallery_link"}</a></li>
                            </if>
                        </ul>
                    </td>
                </tr>
            </foreach>
        </if>
    </table>
    {parse replacement="box_end"}

     

    CLICK

    Ссылки запрещены)

  2. 14 часов назад, WOLF сказал:

    ну и все... сплавились... -_-

    Неа) Мут дали)

    UserInfoPane
     

    <div itemscope itemtype="http://schema.org/Person" class='user_details'>
    	<span class='hide' itemprop="name">{$author['members_display_name']}</span>
    	<ul class='basic_info'>
    		<if test="membertitle:|:$author['member_title']">
    			<p class='desc member_title'>{$author['member_title']}</p>
    		</if>
    		<if test="avatar:|:$author['member_id']">
    			<li class='avatar'>
    				<if test="canSeeProfiles:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )">
    				<a itemprop="url" href="{parse url="showuser={$author['member_id']}" template="showuser" seotitle="{$author['members_seo_name']}" base="public"}" title="{$this->lang->words['view_profile']}: {$author['members_display_name']}" class='ipsUserPhotoLink'>
    				</if>
    				<if test="hasVariable:|:$this->settings['member_topic_avatar_max']">	
    					<img itemprop="image" src='{$author['pp_main_photo']}' class='ipsUserPhoto ipsUserPhoto_variable' />
    				<else />
    					<img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
    				</if>
    				<if test="canSeeProfiles2:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )">
    				</a>
    				</if>
    			</li>
    		<else />
    			<li class='avatar'>
    				<img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
    			</li>
    		</if>
    <if test="rankimage:|:$author['member_rank_img']">
    			<li class='group_icon'>
    			<if test="rankimageimage:|:$author['member_rank_img_i'] == 'img'">
    				<img src='{$author['member_rank_img']}' alt='' />
    			<else />
    				{$author['member_rank_img']}
    			</if>
    			</li>
    		</if>
    		<if test="authorwarn:|:$author['show_warn']">
    			<li>
    				<if test="hasWarningId:|:$options['wl_id']">
    					<img src='{$this->settings['img_url']}/warn.png' class='clickable' onclick='warningPopup( this, {$options['wl_id']} )' title='{$this->lang->words['warnings_issued']}' />
    				</if>
    				<a class='desc lighter blend_links' href='{parse url="app=members&amp;module=profile&amp;section=warnings&amp;member={$author['member_id']}&amp;from_app={$this->request['app']}&amp;from_id1={$contentid}&amp;from_id2={$options['id2']}" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}'>{parse expression="sprintf( $this->lang->words['warn_status'], $author['warn_level'] )"}</a>
    			</li>
    		</if>
    	</ul>
    	
    	<if test="authorcfields:|:$author['custom_fields'] != """>
    		<ul class='ipsList_data post-author-rows'>
    			<foreach loop="customFieldsOuter:$author['custom_fields'] as $group => $data">
    				<foreach loop="customFields:$author['custom_fields'][ $group ] as $field">
    					<if test="$field != ''">
    						<li>
    							{$field}
    						</li>
    					</if>
    				</foreach>
    			</foreach>
    									<li>
    										<span class='row_title'>{$this->lang->words['m_group']}</span>
    										<span class='row_data'>{$author['g_title']}</span>
    									</li>
    		<if test="postCount:|:$author['member_id']">
    		<li>
    			<span class='row_title'>
    Сообщений: </span>
    <span class='row_data'>
    {parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"}</span>
    		</li>
    		</if>
    <li><span class='row_title'>Регистрация:</span> <span class='row_data'>{parse date="$author['joined']" format="DATE"}</span<</li>
    		</ul>
    	</if>
    	
    </div>

     

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

    ац-внешний вид-ваш стиль-редактирвоать-userinfopane

    
    <li class='group_title'>
    			{$author['_group_formatted']}
    		</li>

    удалить

    нужно указывать название темы несущее хоть какую-то смысловую нагрузку

    хотя в вашем случае, все легче намного, в шаблоне просто найдите слово: Группа, и удалите все что связано в его коде 


    Я не дурак) Делал такое, не чего не нашло)

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