먼저 위의 URL 에서 작성시 예금주의 이름을 바탕으로 게시글이 실시간 매입현황에 작성이되는데

이때 제목에있는 이름이 *로 가려졌으면합니다 그런데 구글에 아무리 검색해도 나오질않습니다...

 

혹시 방법이 있을까요..?

  • profile
    스킨에서 처리 해줘야 합니다.
  • profile profile
    답변감사합니다^^..오토씽님ㅎㅎ
  • profile
    {@
    $ex_fir_name = iconv_substr($document->getUserName(),1,10,"utf-8");
    $ex_count = iconv_strlen($ex_fir_name,"utf-8");
    $ex_count = (int)$ex_count;
    $ex_last_name = "*";
    for($i=0; $i<$ex_count-1; $i++):
    $ex_last_name = $ex_last_name."*";
    endfor;
    }

    해당 내용이 회원이름을 한글자만남기고 나머지를 *로 변경했던 거에요 변형해서 사용하심될거같아요
  • profile profile

    답변감사합니다ㅎㅎ 혹시 어떻게 넣어야하는지 알려주실수있으신가요.. 바쁘시지않다면..

  • profile profile
    오토씽님이 말씀하신데로 게시판스킨에 넣어야되요
    스케치업 스킨사용하실거같으시니 list_normal.html파일에서 제목에 해당되는 내용을 위코드를 변형해서 넣으시면됩니다.
    getUserName()을 getTitle()로 바꾸시고

    {$document->getTitle($mi->subject_cut_size)} 로 되어있는부분을
    {iconv_substr($document->gettitle(),0,1,"utf-8")}{$ex_last_name}로 바꾸시면 한글자빼고 나머지 *처리될거에요 다만
    부자철 님 문의
    식으로 되어있으니 해당내용을 조금 변형하셔야할거에요 안그러면
    부** * **
    이런식으로 뜰거에요
  • profile profile
    답변해주셔셔 정말감사합니다. 현재 는 '부자철님의 문의' 라면
    한글자가 나오네요 ㅠㅠ
  • profile profile
    gettitle -> getTitle 오타수정이요 ㅎ;;
  • profile profile
    ㅎㅎ 오타인것같아서 수정했습니다.
    그런데 3개의 부분이 나오는데
    //제목 바로 밑에부분에있는 것을 바꾸면 될까요?
  • profile profile
    <!--// Normal -->
    <tr loop="$document_list=>$no,$document" class="select"|cond="$document_srl==$document->document_srl">

    요기 아래 일단 해당내용 넣으시고요
    {@
    $ex_fir_name = iconv_substr($document->getTitle(),1,10,"utf-8");
    $ex_count = iconv_strlen($ex_fir_name,"utf-8");
    $ex_count = (int)$ex_count;
    $ex_last_name = "*";
    for($i=0; $i<$ex_count-1; $i++):
    $ex_last_name = $ex_last_name."*";
    endfor;
    }

    <tr>태그 안에 a태그로 감싸져있는 {$document->getTitle($mi->subject_cut_size)}를 {iconv_substr($document->getTitle(),0,1,"utf-8")}{$ex_last_name} 로 바꿔보셔요
  • profile profile
    감사합니다. *****뜨게까지는 완료했습니다 이후부터는 제가 한번해보겠습니다 정보주셔셔 감사합니다!
  • profile
    좋은 팁이네요. 감사합니다.
  • profile
    아니 이럴수가...
    https://xetown.com/questions/1344073
    요전에 제가 올릴때는 답변이 없어서 그냥 포기 하고 있었으나..
    오늘은 부자철님 올리신 글 때문에 힌트라도 얻어갑니다. ㅎㅎㅎ

    홍*동
    성공하시면 팁좀 공유해주세요~~ >.,<
  • profile profile

    loop안에 {@ ~~~} 내용 그대로 넣으시되 for($i=0; $i<$ex_count-1; $i++) 에서 $ex_count-2로 변경하시고
    {$document->getUserName()}로 되어있는부분을
    {iconv_substr($document->getUserName(),0,1,"utf-8")}{$ex_last_name}{iconv_substr($document->getUserName(),-1,-1,"utf-8")}
    로 변경하시면 중간글자는 * 앞 뒤는 보이게 될거에요

  • profile profile
    앗... 감사합니다 ^^
  • profile profile
    성공했습니다.
  • profile profile
    괜찮으시다면 제가 성공한 코드를 댓글에 올려도 괜찮을까요?
    다른분들도 찾으신분들이 있으실꺼같아서용
  • profile profile
    네 올리셔도됩니다. :)
  • profile profile
    감사합니다 !