로그인

검색

Extra Form
추천지수 7

image.png

 

 

 

라이믹스에는 위와 같이 글,댓글을 신고할때 신고 이유를 선택 또는 직접 작성하여 제출할 수 있는 dispDocumentDeclare, dispCommentDeclare 액션이 추가되었습니다. 이 기능을 사용하여 신고를 할 수 있도록 신고버튼에 적용된 링크를 변경해야 합니다. 물론 최근에 배포된 스킨의 경우는 이미 변경이 되었겠지만 오래된 스킨의 경우는 직접 변경해주어야 합니다.

 

 

우선 문서신고시

 

<a cond="$mi->declare" class="blamed declare bd_login" href="#" onclick="doCallModuleAction('document','procDocumentDeclare','{$oDocument->document_srl}');return false;"|cond="$is_logged">

 

이런식으로 처리가 되어 있는 경우가 있을텐데..

 

<a cond="$mi->declare" class="blamed declare bd_login" onclick="window.open('{getUrl('', 'act', 'dispDocumentDeclare', 'target_srl', $document_srl)}','win','popopen(this.href); return false;')"|cond="$is_logged">

 

이런식으로 변경을 해주거나...

 

<a cond="$mi->declare" class="blamed declare bd_login" href="{getUrl('act','dispDocumentDeclare','target_srl',$document_srl)}" onclick="popopen(this.href, 'popup'); return false;">

 

이렇게 변경해서 사용할 수 있습니다.

 

 

 

 

댓글신고도 마찬가지로

 

<a href="{getUrl('act','dispCommentDeclare','target_srl',$comment->comment_srl)}" onclick="popopen(this.href, 'popup'); return false;">

 

 

비슷하게 변경하여 사용하면 됩니다.

Who's 꿀팁관리소장

profile
라이믹스로 커뮤니티 사이트를 운영하는 비개발자 운영자 입니다.
파트너쉽 맺으실 사이트 운영자분 환영합니다.
2 추천
Atachment
첨부 '0'

라이믹스 팁(112)

라이믹스 운영과 사용에 관한 팁을 공유 합니다.

  1. read more
  2. read more
  3. Read More
  4. 라이믹스 읽지 않은 쪽지(새쪽지) 표시해 주기 7

    Date2022.05.01 Category기능 Views602 Votes3
    Read More
  5. Read More
  6. 라이믹스 게시판 목록에서 문서의 태그 출력해 주기 10

    Date2022.01.30 Category기능 Views2668 Votes5
    Read More
  7. Read More
  8. 라이믹스 설문조사 비회원참여를 막는 방법 2

    Date2021.12.05 Category기능 Views218 Votes2
    Read More
  9. 쿠키를 이용한 목록 스타일 변경 제공하기 1

    Date2021.11.20 Category기능 Views228 Votes4
    Read More
  10. Read More
  11. Read More
  12. 현재 읽고 있는 글의 목록 위치로 바로 가기 만들기 6

    Date2021.10.28 Category기능 Views229 Votes2
    Read More
  13. Read More
  14. Read More
  15. Read More
  16. Read More
  17. Read More
  18. Read More
  19. Read More
  20. Read More
  21. Read More
  22. Read More
Prev 1 2 3 4 Next
/ 4