묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
소시랑 한줄메모장 ip 아이피 출력하는법 알려주세요 ~
2014.03.24 22:37
소시랑 한줄메모장 닉네임 옆에 뜨는 건데요
시간이랑 new표시 옆에 아이피를 출력하고싶어요~
게시판은 익명적용해놓은 상태이구요
<span cond="$grant->manager">({$oDocument->getIpaddress()})</span>
이 코드를 삽입하면 된다고 검색하면서 보았는데요!
<span class="sm_name"> <!--@if($oDocument->isNotice())--> <!--@if($module_info->notice_name == 'S')--> <!--@else--> <!--@if($module_info->notice_name != 'N')--> <block cond="!$oDocument->getMemberSrl() && !$oDocument->isExistsHomepage()">{$oDocument->getNickName()}</block><a cond="$oDocument->getMemberSrl()" href="#popup_menu_area" class="member_{$oDocument->get('member_srl')}" onclick="return false">{$oDocument->getNickName()}</a> <!--@else--> {$lang->notice} <!--@end--> <!--@end--> <!--@else--> <block cond="!$oDocument->getMemberSrl() && !$oDocument->isExistsHomepage()">{$oDocument->getNickName()}</block><a cond="$oDocument->getMemberSrl()" href="#popup_menu_area" class="member_{$oDocument->get('member_srl')}" onclick="return false">{$oDocument->getNickName()}</a> <!--@end--> </span> <span class="sm_time" cond="$module_info->display_time !='N'"> <!--@if( ($cur_date = date('Y-m-d'))==($oDocument->getRegdate('Y-m-d')) )--> <font color="#FF6666">{getTimeGap($oDocument->get('regdate'), "Y.m.d H:i")}</font> <!--@else--> {$oDocument->getRegdate('Y.m.d a H:i')} <!--@end--> </span> {$oDocument->printExtraImages(60*60*$module_info->duration_new)} <div style="display:none"|cond="$module_info->action != 'N'" id="action_{$oDocument->document_srl}"|cond="$module_info->action != 'N'" class="action"> <!--@if($oDocument->isNotice())--> <!--@if($module_info->notice_comment != 'N')--> <a href="#" onclick="toggle_object('reply_{$oDocument->document_srl}'); return false;" cond="$grant->write_comment">↵ {$lang->cmd_reply}</a><!--@end--> <!--@else--> <a href="#" onclick="toggle_object('reply_{$oDocument->document_srl}'); return false;" cond="$grant->write_comment">↵ {$lang->cmd_reply}</a> <!--@end--> <span cond="$oDocument->isEditable()"><a href="#" onclick="toggle_object('insert_{$oDocument->document_srl}'); toggle_object('list_{$oDocument->document_srl}'); return false;" title="{$lang->cmd_modify}">{$lang->cmd_modify}</a></span> <span cond="$oDocument->isEditable()"><a href="#" onclick="toggle_object('delete_{$oDocument->document_srl}'); toggle_object('list_{$oDocument->document_srl}'); return false;" title="{$lang->cmd_delete}">{$lang->cmd_delete}</a></span> </div> <div class="sm_text"> <!--@if(!$oDocument->isNotice())--> <!--@if($module_info->use_category == "Y" && $oDocument->get('category_srl'))--><a href="{getUrl('category',$oDocument->get('category_srl'), 'document_srl', '')}" class="sm_category" style="color:{$category_list[$oDocument->get('category_srl')]->color};"|cond="$category_list[$oDocument->get('category_srl')]->color != transparent" style="color:#000;"|cond="$category_list[$oDocument->get('category_srl')]->color == 'transparent'">{$category_list[$oDocument->get('category_srl')]->title}</a><!--@end--> <!--@end--> <span class="document<!--@if($oDocument->document_srl)-->_{$oDocument->document_srl}<!--@end--><!--@if($oDocument->getMemberSrl())-->_{$oDocument->getMemberSrl()}<!--@end--> xe_content">{htmlspecialchars_decode($oDocument->getTitle(text))}</span> <span class="sm_count" cond="$oDocument->getCommentcount() && !$oDocument->isNotice()"><a href="#" onclick="toggle_object('list_reply_{$oDocument->document_srl}'); return false;" >{$oDocument->getCommentcount()}</a></span> </div> </div>
제가 저기중간중간에 다 삽입해보았는데
게시판에선 () 이렇게만뜨더라구요!! 아이피가 안떠요 ㅠㅠ!
뭐가 잘못된걸까요..?
+++추신
제가 익명 애드온
http://www.xpressengine.com/index.php?mid=userForum&search_keyword=%EC%9D%B5%EB%AA%85&search_target=title&document_srl=21750023
이것을 쓰고있는데 이거때문에 아이피가 출력되지않는걸까요..?
xe에서 일반 리스트 내의 아이피가 뜨지 않는 문제점이 있네요..
지금으로써는 해결을 하실 수 없으실것 같습니다.
/개발자와 협력하여 출력방식을 찾아보앗지만, 찾지 못하였습니다 T.T /