Статус On и сместить надпись

Статус
В этой теме нельзя размещать новые ответы.
хватит посты свои дублировать!
глянь переменные там в шаблоне, мож в новой версии они уже другии стали
 
Посмотри пожалуйста что на что поменять :worthy:

<!--html--><div class='htmltop'>HTML</div><div class='htmlmain'><!--html1--><!--Begin Msg Number {$post['pid']}-->
<<span style='color:blue'>table</span> class='<span style='color:eek:range'>ipbtable</span>' cellspacing="<span style='color:eek:range'>1</span>">
<<span style='color:blue'>tr</span>>
<<span style='color:blue'>td</span> valign="<span style='color:eek:range'>middle</span>" class="<span style='color:eek:range'>row2</span>" width="<span style='color:eek:range'>1%</span>">
<<span style='color:blue'>a</span> name="<span style='color:eek:range'>entry{$post['pid']}</span>"><<span style='color:blue'>/a</span>>
<if="<span style='color:eek:range'>$author['id']</span>">
<<span style='color:blue'>div</span> id="<span style='color:eek:range'>post-member-{$post['pid']}</span>" class='<span style='color:eek:range'>popmenubutton-new-out</span>'>
<<span style='color:blue'>span</span> class="<span style='color:eek:range'>{$post['name_css']}</span>">{$author['_pp_online_image']}{$author['_members_display_name']}<<span style='color:blue'>/span</span>>
<<span style='color:blue'>/div</span>>
<!-- member menu -->
<<span style='color:blue'>div</span> class='<span style='color:eek:range'>popupmenu-new</span>' id='<span style='color:eek:range'>post-member-{$post['pid']}_menu</span>' style='<span style='color:eek:range'>display:none;width:230px</span>'>
<<span style='color:blue'>div</span> class='<span style='color:eek:range'>popupmenu-item-last</span>'>
<if="<span style='color:eek:range'>$author['members_display_name_short'] != $author['members_display_name']</span>">
<<span style='color:blue'>div</span> class='<span style='color:eek:range'>popupmenu-item</span>'><<span style='color:blue'>strong</span>>{$author['members_display_name']}<<span style='color:blue'>/strong</span>><<span style='color:blue'>/div</span>>
<<span style='color:blue'>/if</span>>
<<span style='color:blue'>div</span> style='<span style='color:eek:range'>float:right</span>'>
<<span style='color:blue'>div</span> class='<span style='color:eek:range'>pp-image-thumb-wrap</span>'>
<<span style='color:blue'>img</span> src='<span style='color:eek:range'>{$author['pp_thumb_photo']}</span>' width='<span style='color:eek:range'>{$author['pp_thumb_width']}</span>' height='<span style='color:eek:range'>{$author['pp_thumb_height']}</span>' alt='<span style='color:eek:range'></span>' />
<<span style='color:blue'>/div</span>>
<if="<span style='color:eek:range'>$this->ipsclass->vars['pp_allow_member_rate']</span>">
<<span style='color:blue'>div</span> style='<span style='color:eek:range'>margin-top:5px;margin-left:6px;</span>'>
<<span style='color:blue'>img</span> src="<span style='color:eek:range'>{$this->ipsclass->vars['img_url']}/rating_{$author['_pp_rating_real']}_mini.gif</span>" alt='<span style='color:eek:range'>{$this->ipsclass->lang['rating_prefix']}: {$author['_pp_rating_real']}</span>' style='<span style='color:eek:range'>vertical-align:middle</span>' border='<span style='color:eek:range'>0</span>' />
<<span style='color:blue'>/div</span>>
<<span style='color:blue'>/if</span>>
<<span style='color:blue'>/div</span>>
<<span style='color:blue'>div</span> class='<span style='color:eek:range'>popupmenu-item</span>'>
{$author['_pp_gender_image']} <<span style='color:blue'>a</span> href="<span style='color:eek:range'>{$this->ipsclass->base_url}showuser={$author['id']}</span>">{$this->ipsclass->lang['dd_view_profile']}<<span style='color:blue'>/a</span>>
<<span style='color:blue'>/div</span>>
<if="<span style='color:eek:range'>$this->ipsclass->member['id']</span>">
<<span style='color:blue'>div</span> class='<span style='color:eek:range'>popupmenu-item</span>'>
<if="<span style='color:eek:range'>in_array( $author['id'], array_keys( $this->ipsclass->member['_cache']['friends'] ) )</span>">
<<span style='color:blue'>img</span> src='<span style='color:eek:range'>{$this->ipsclass->vars['img_url']}/folder_profile_portal/friend_remove_small.png</span>' alt='<span style='color:eek:range'>' border='0</span>' /> <<span style='color:blue'>a</span> href="<span style='color:eek:range'>#</span>" onclick='<span style='color:eek:range'>friends_pop("&do=remove&member_id={$author['id']}&md5check={$this->ipsclass->md5_check}"); return false</span>'>{$this->ipsclass->lang['dd_remove_friend']}<<span style='color:blue'>/a</span>>
<<span style='color:blue'>else /</span>>
<<span style='color:blue'>img</span> src='<span style='color:eek:range'>{$this->ipsclass->vars['img_url']}/folder_profile_portal/friend_add_small.png</span>' alt='<span style='color:eek:range'>' border='0</span>' /> <<span style='color:blue'>a</span> href="<span style='color:eek:range'>#</span>" onclick='<span style='color:eek:range'>friends_pop("&do=add&member_id={$author['id']}&md5check={$this->ipsclass->md5_check}"); return false</span>'>{$this->ipsclass->lang['dd_add_friend']}<<span style='color:blue'>/a</span>>
<<span style='color:blue'>/if</span>>
<<span style='color:blue'>/div</span>>
<<span style='color:blue'>div</span> class='<span style='color:eek:range'>popupmenu-item</span>'>
<<span style='color:blue'>img</span> src='<span style='color:eek:range'>{$this->ipsclass->vars['img_url']}/folder_profile_portal/send_pm_small.png</span>' alt='<span style='color:eek:range'>' border='0</span>' /> <<span style='color:blue'>a</span> href="<span style='color:eek:range'>{$this->ipsclass->base_url}act=Msg&CODE=4&MID={$author['id']}</span>">{$this->ipsclass->lang['dd_send_pm']}<<span style='color:blue'>/a</span>>
<<span style='color:blue'>/div</span>>
<<span style='color:blue'>div</span> class='<span style='color:eek:range'>popupmenu-item</span>'>
<<span style='color:blue'>img</span> src='<span style='color:eek:range'>{$this->ipsclass->vars['img_url']}/folder_profile_portal/find_posts.png</span>' alt='<span style='color:eek:range'>' border='0</span>' /> <<span style='color:blue'>a</span> href='<span style='color:eek:range'>{$this->ipsclass->base_url}act=Search&CODE=gettopicsuser&mid={$author['id']}</span>'>{$this->ipsclass->lang['dd_find_topics']}<<span style='color:blue'>/a</span>>
<<span style='color:blue'>/div</span>>
<<span style='color:blue'>div</span> class='<span style='color:eek:range'>popupmenu-item-last</span>'>
<<span style='color:blue'>img</span> src='<span style='color:eek:range'>{$this->ipsclass->vars['img_url']}/folder_profile_portal/find_posts.png</span>' alt='<span style='color:eek:range'>' border='0</span>' /> <<span style='color:blue'>a</span> href='<span style='color:eek:range'>{$this->ipsclass->base_url}act=Search&CODE=getalluser&mid={$author['id']}</span>'>{$this->ipsclass->lang['dd_find_posts']}<<span style='color:blue'>/a</span>>
<<span style='color:blue'>/div</span>>
<<span style='color:blue'>/if</span>>
<<span style='color:blue'>/div</span>>
<<span style='color:blue'>/div</span>>
<!-- member menu -->
<<span style='color:blue'>script</span> type="<span style='color:eek:range'>text/javascript</span>">
ipsmenu.register( "post-member-{$post['pid']}", '', 'popmenubutton-new', 'popmenubutton-new-out' );
<<span style='color:blue'>/script</span>>
<<span style='color:blue'>else /</span>>
<<span style='color:blue'>span</span> class="<span style='color:eek:range'>{$post['name_css']}</span>">{$author['_members_display_name']}<<span style='color:blue'>/span</span>>
<<span style='color:blue'>/if</span>>

<<span style='color:blue'>/td</span>>
<<span style='color:blue'>td</span> class="<span style='color:eek:range'>row2</span>" valign="<span style='color:eek:range'>middle</span>" width="<span style='color:eek:range'>99%</span>">
<!-- POSTED DATE DIV -->
<<span style='color:blue'>div</span> style="<span style='color:eek:range'>float: left;</span>">
<<span style='color:blue'>span</span> class="<span style='color:eek:range'>postdetails</span>">{$post['post_icon']} <<span style='color:blue'>img</span> src='<span style='color:eek:range'>{$this->ipsclass->vars['img_url']}/to_post_off.gif</span>' alt='<span style='color:eek:range'>{$this->ipsclass->lang['to_post_alt']}</span>' border='<span style='color:eek:range'>0</span>' style='<span style='color:eek:range'>padding-bottom:2px</span>' /> {$post['post_date']}<<span style='color:blue'>/span</span>>
<<span style='color:blue'>/div</span>>
<!-- REPORT / DELETE / EDIT / QUOTE DIV -->
<<span style='color:blue'>div</span> align="<span style='color:eek:range'>right</span>">
<<span style='color:blue'>span</span> class="<span style='color:eek:range'>postdetails</span>">{$post['ip_address']} {$this->ipsclass->lang['posted_on']}
<<span style='color:blue'>a</span> title="<span style='color:eek:range'>{$this->ipsclass->lang['tt_link']}</span>" href="<span style='color:eek:range'>{$this->ipsclass->vars['board_url']}/index.{$this->ipsclass->vars['php_ext']}?showtopic={$post['topic_id']}&view=findpost&p={$post['pid']}</span>" onclick="<span style='color:eek:range'>link_to_post({$post['pid']}); return false;</span>">#{$post['post_count']}<<span style='color:blue'>/a</span>>
<if="<span style='color:eek:range'>$this->ipsclass->member['is_mod']</span>">
| <<span style='color:blue'>a</span> href="<span style='color:eek:range'>#</span>" title="<span style='color:eek:range'>{$this->ipsclass->lang['click_for_mod']}</span>" onclick="<span style='color:eek:range'>topic_toggle_pid('{$post['pid']}'); return false;</span>">{$post['pid_start_image']}<<span style='color:blue'>/a</span>>
<<span style='color:blue'>/if</span>>
<<span style='color:blue'>/span</span>>
<<span style='color:blue'>/div</span>>
<<span style='color:blue'>/td</span>>
<<span style='color:blue'>/tr</span>>
<<span style='color:blue'>tr</span>>
<<span style='color:blue'>td</span> valign="<span style='color:eek:range'>top</span>" class="<span style='color:eek:range'>{$post['post_css']}</span>">
<<span style='color:blue'>span</span> class="<span style='color:eek:range'>postdetails</span>">
<if="<span style='color:eek:range'>$author['id'] AND $author['avatar']</span>">
<<span style='color:blue'>a</span> href="<span style='color:eek:range'>{$this->ipsclass->base_url}showuser={$author['id']}</span>" title="<span style='color:eek:range'>{$this->ipsclass->lang['dd_view_profile']}</span>">{$author['avatar']}<<span style='color:blue'>/a</span>><<span style='color:blue'>br /</span>><<span style='color:blue'>br /</span>>
<<span style='color:blue'>else /</span>>
{$author['avatar']}<<span style='color:blue'>br /</span>><<span style='color:blue'>br /</span>>
<<span style='color:blue'>/if</span>>
{$author['title']}<<span style='color:blue'>br /</span>>
{$author['member_rank_img']}<<span style='color:blue'>br /</span>><<span style='color:blue'>br /</span>>
{$author['member_group']}<<span style='color:blue'>br /</span>>
{$author['member_posts']}<<span style='color:blue'>br /</span>>
{$author['member_joined']}<<span style='color:blue'>br /</span>>
{$author['member_location']}
{$author['member_number']}<<span style='color:blue'>br /</span>>
<if="<span style='color:eek:range'>$author['custom_fields'] != ""</span>">
{$author['custom_fields']}
<<span style='color:blue'>/if</span>>
<<span style='color:blue'>br /</span>>
{$author['warn_text']} {$author['warn_minus']}{$author['warn_img']}{$author['warn_add']}
<<span style='color:blue'>/span</span>><<span style='color:blue'>br /</span>>
<<span style='color:blue'>img</span> src="<span style='color:eek:range'>{$this->ipsclass->vars['img_url']}/spacer.gif</span>" alt="<span style='color:eek:range'>" width="160</span>" height="<span style='color:eek:range'>1</span>" /><<span style='color:blue'>br /</span>>
<<span style='color:blue'>/td</span>>
<<span style='color:blue'>td</span> width="<span style='color:eek:range'>100%</span>" valign="<span style='color:eek:range'>top</span>" class="<span style='color:eek:range'>{$post['post_css']}</span>" id='<span style='color:eek:range'>post-main-{$post['pid']}</span>'>
<!-- THE POST {$post['pid']} -->
<<span style='color:blue'>div</span> class="<span style='color:eek:range'>postcolor</span>" id='<span style='color:eek:range'>post-{$post['pid']}</span>'>
{$post['post']}
{$post['edit_by']}
<if="<span style='color:eek:range'>$post['post_edit_reason'] != ''</span>">
<<span style='color:blue'>div</span> class='<span style='color:eek:range'>post-edit-reason</span>'>
{$this->ipsclass->lang['reason_for_edit']}: {$post['post_edit_reason']}
<<span style='color:blue'>/div</span>>
<<span style='color:blue'>/if</span>>
<!--IBF.ATTACHMENT_{$post['pid']}-->
<<span style='color:blue'>/div</span>>

{$post['signature']}
<!-- THE POST -->
<<span style='color:blue'>/td</span>>
<<span style='color:blue'>/tr</span>>
<<span style='color:blue'>tr</span>>
<<span style='color:blue'>td</span> class="<span style='color:eek:range'>formbuttonrow</span>" nowrap="<span style='color:eek:range'>nowrap</span>">
<<span style='color:blue'>div</span> style='<span style='color:eek:range'>text-align:left</span>'><<span style='color:blue'>a</span> href="<span style='color:eek:range'>java script:scroll(0,0);</span>"><{P_UP}><<span style='color:blue'>/a</span>>{$post['report_link']}<<span style='color:blue'>/div</span>>
<<span style='color:blue'>/td</span>>
<<span style='color:blue'>td</span> class="<span style='color:eek:range'>formbuttonrow</span>" nowrap="<span style='color:eek:range'>nowrap</span>">
<!-- PM / EMAIL / WWW / MSGR -->
<<span style='color:blue'>div</span> style="<span style='color:eek:range'>float: left;</span>">
 
<<span style='color:blue'>/div</span>>
<!-- REPORT / UP -->
<<span style='color:blue'>div</span> align="<span style='color:eek:range'>right</span>">
{$post['delete_button']}{$post['edit_button']}<<span style='color:blue'>a</span> href="<span style='color:eek:range'>#</span>" onclick="<span style='color:eek:range'>multiquote_add({$post['pid']}); return false;</span>" title="<span style='color:eek:range'>{$this->ipsclass->lang['mq_title']}</span>">{$post['mq_start_image']}<<span style='color:blue'>/a</span>><<span style='color:blue'>a</span> href="<span style='color:eek:range'>{$this->ipsclass->base_url}act=Post&CODE=02&f={$this->ipsclass->input['f']}&t={$this->ipsclass->input['t']}&qpid={$post['pid']}</span>" title="<span style='color:eek:range'>{$this->ipsclass->lang['tt_reply_to_post']}</span>"><{P_QUOTE}><<span style='color:blue'>/a</span>>
<<span style='color:blue'>/div</span>>
<<span style='color:blue'>/td</span>>
<<span style='color:blue'>/tr</span>><<span style='color:blue'>tr</span>>
<<span style='color:blue'>td</span> class="<span style='color:eek:range'>catend</span>" colspan="<span style='color:eek:range'>2</span>">
<!-- no content -->
<<span style='color:blue'>/td</span>>
<<span style='color:blue'>/tr</span>>
<<span style='color:blue'>/table</span>>
<if="<span style='color:eek:range'>$post['edit_button']!=''</span>">
<<span style='color:blue'>script</span> type='<span style='color:eek:range'>text/javascript</span>'>
//<![CDATA[
if ( ajax_loaded && use_enhanced_js )
{
menu_build_menu( 'edit-but-{$post['pid']}',
new Array( img_item + " <<span style='color:blue'>a</span> title='<span style='color:eek:range'>{$this->ipsclass->lang['edit_full_desc']}</span>' href='<span style='color:eek:range'>{$this->ipsclass->base_url}act=post&do=edit_post&f={$post['forum_id']}&t={$post['topic_id']}&p={$post['pid']}&st={$this->ipsclass->input['st']}</span>'>{$this->ipsclass->lang['edit_full_title']}<<span style='color:blue'>/a</span>>",
img_item + " <<span style='color:blue'>a</span> href='<span style='color:eek:range'>#</span>' title='<span style='color:eek:range'>{$this->ipsclass->lang['edit_quick_desc']}</span>' onclick='<span style='color:eek:range'>return ajax_prep_for_edit({$post['pid']}, event);</span>'>{$this->ipsclass->lang['edit_quick_title']}<<span style='color:blue'>/a</span>>" ) );
}
//]]>
<<span style='color:blue'>/script</span>>
<<span style='color:blue'>/if</span>><!--html2--></div><!--html3-->

Я под это {$author['member_number']}<br /> вставил {$author['online_status_indicator']} и ничего не поменялось
 
как я и говорил - переменная другая оказалась
Вместо:
<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1-->{$author['online_status_indicator']}<!--c2--></div><!--ec2-->
Пиши:
<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1-->{$author['_pp_online_image']}<!--c2--></div><!--ec2-->

И кстати... глянь еще шаблон - <b>personal_portal_online_image</b>
там как раз картинка эта выводится
 
Появляется картинка человека а как сделать чтоб надпись была написано в макросах картинки этого человечка нету

Странно теперь показывает что пользователь постоянно всети даже если он уже вышел с форума, помоги пожалуйста

решить проблему
 
Статус
В этой теме нельзя размещать новые ответы.
Сверху