웹마스터 팁

스케치북게시판 최신버전에 네이트온 /마이피플/플립보드 추가하는 방법 입니다.

 

코드 하이라이트 기능이 작동안하는군요 !!!

 

1)  _read.html 에서  325줄에서 

 

<!--@if(Mobile::isMobileCheckByAgent())-->
            <a class="kakaostory" href="storylink://posting?post={$oDocument->getPermanentUrl()}&appid=m.kakao.com&appver=1.0&apiver=1.0&appname={$mi->title}"><b class="ico_sns kakaostory">KakaoStory</b></a>             
            <a class="band" href="bandapp://create/post?text={$sns_title}%0A{$sns_link}"><b class="ico_sns band">Band</b></a>
            <a class="kakao" href="#" data-type="kakao"><b class="ico_sns kakao">Kakao</b></a>
            <a class="line" href="line://msg/text/?{$sns_title}%0D%0A{$sns_link}"><b class="ico_sns line">Line</b></a>
            <a class="mypeople" href="https://m.mypeople.daum.net/mypeople/mweb/share.do?link={$sns_link}&prefix={$sns_title}&source_id=none"><b class="ico_sns mypeople">Mypeople</b></a>
            <!--<a class="nateon" href="http://api.nateon.nate.com/web/note/SendNote.do?msg={$sns_title}&lurl={$sns_link}"><b class="ico_sns nateon">Nateon</b></a>-->
            <a class="flipboard" href="https://share.flipboard.com/bookmarklet/popout?v=2&title={$sns_title}&url={$sns_link}&utm_campaign=widgets&utm_medium=web&utm_source=flipit&utm_content=4880.net""><b class="ico_sns flipboard">flipboard</b></a>

            <!--@else-->
            <a class="kakaostory bubble" href="#" data-type="kakaostory" title="To KakaoStory"><b class="ico_sns kakaostory">KakaoStory</b></a>
            <a class="band bubble" href="#" data-type="band" title="To Band"><b class="ico_sns band">Band</b></a>
            <a class="mypeople bubble" href="#" data-type="mypeople" title="To Mypeople"><b class="ico_sns mypeople">Mypeople</b></a>
            <a class="nateon bubble" href="#" data-type="nateon" title="To Nateon"><b class="ico_sns nateon">Nateon</b></a>
            <a class="flipboard bubble" href="#" data-type="flipboard" title="To Flipboard"><b class="ico_sns flipboard">Flipboard</b></a>

            <!--@end-->

 

2)  js/borad.js  에서 411줄에서 

 

 

} else if(type=="kakaostory"){
            loc = 'https://story.kakao.com/share?url='+encodeURIComponent(href);
        } else if(type=="band"){
            loc = 'http://www.band.us/plugin/share?body='+encodeURIComponent(title)+'%0A'+encodeURIComponent(href);
        } else if(type=="mypeople"){
            loc = 'https://mypeople.daum.net/mypeople/web/share.do?link='+encodeURIComponent(href)+'&prefix='+encodeURIComponent(title)+'&source_id=none';
        } else if(type=="nateon"){
            loc = 'http://api.nateon.nate.com/web/note/SendNote.do?msg='+encodeURIComponent(title)+'&lurl='+encodeURIComponent(href);
        } else if(type=="flipboard"){
            loc = 'https://share.flipboard.com/bookmarklet/popout?v=2&title='+encodeURIComponent(title)+'&url='+encodeURIComponent(href)+'&utm_campaign=widgets&utm_medium=web&utm_source=flipit&utm_content=4880.net';

 

3) _read_sns.html 에서 

 

<div class="rd_nav img_tx to_sns fl" data-url="{$sns_link}" data-permanenturl="{$oDocument->getPermanentUrl()}" data-title="{$sns_title}">
    <a class="{$mi->to_sns_small}" href="#" data-type="facebook" title="To Facebook"><i class="ico_sns16 facebook"></i><strong> Facebook</strong></a>
    <a class="{$mi->to_sns_small}" href="#" data-type="twitter" title="To Twitter"><i class="ico_sns16 twitter"></i><strong> Twitter</strong></a>
    <a class="{$mi->to_sns_small}" href="#" data-type="google" title="To Google"><i class="ico_sns16 google"></i><strong> Google</strong></a>
    <a class="{$mi->to_sns_small}" href="#" data-type="pinterest" title="To Pinterest"><i class="ico_sns16 pinterest"></i><strong> Pinterest</strong></a>
    <a class="{$mi->to_sns_small}" href="#" data-type="kakaostory" title="To KakaoStory"><i class="ico_sns16 kakaostory"></i><strong> KakaoStory</strong></a>
    <a class="{$mi->to_sns_small}" href="#" data-type="band" title="To Band"><i class="ico_sns16 band"></i><strong> Band</strong></a>
    <a class="{$mi->to_sns_small}" href="#" data-type="mypeople" title="To Mypeople"><i class="ico_sns16 mypeople"></i><strong> Mypeople</strong></a>
    <a class="{$mi->to_sns_small}" href="#" data-type="nateon" title="To Nateon"><i class="ico_sns16 nateon"></i><strong> Nateon</strong></a>
    <a class="{$mi->to_sns_small}" href="#" data-type="flipboard" title="To flipboard"><i class="ico_sns16 flipboard"></i><strong> Flipboard</strong></a>

</div>

 

 

아래와 같이 나옵니다. ico을 만들지 못해 기존의 아이콘이 그대로 나옵니다. 아이콘 만들어 주실분 ^^;;;

 

웹기준입니다.

 

4880_net_20150309_141752.jpg
 

 

제목 글쓴이 날짜
에디터 사용 옵션으로 처리하기[BOARD MODULE][ver 1.0.1][Page4-4] 대암지기 2008.04.08
에디터 사용 옵션으로 처리하기[EDITOR MODULE][ver 1.0.1][Page4-3] 대암지기 2008.04.08
에디터 사용 옵션으로 처리하기[기타 MODULE][ver 1.0.1][Page4-2] 대암지기 2008.04.08
에디터 사용 옵션으로 처리하기[안내][ver 1.0.1][Page4-1] [2] file 대암지기 2008.04.08
DIV라운드 박스를 제로보드 스킨에 적용하는 방법 [4] file 팔공산 2008.04.09
제로보드 설치 후 뭘 어떻해야 할지 깜깜할때 dharma0999 2008.04.09
[3-1차 수정]확장변수 자유롭게 내 마음대로 게시글 리스트에 표현 합시다!![ver1.0.1] [16] file 대암지기 2008.04.09
신청서 양식의 게시판에서 관리자가 아니면 게시판 리스트 안보이게 하기. [1] burster 2008.04.10
404 에러 페이지를 만들어 보자 [2] hangoon 2008.04.11
최신 댓글부터 역순으로 정렬하기 [5] [1] 쏘프티 2008.04.11
큰이미지 자동 리사이즈 안되게 하기 + 다른 갤러리 달아보기 [3] file Clanss 2008.04.12
사이트 주소 또는 title 고정시키기 [6] 하늘(skycheer) 2008.04.12
글을 읽을때 마다 조회수가 증가 하는 팁 (1.0.0↑) [5] SKYMARU 2008.04.12
블로그 카테고리 클릭시 카테고리별 리스트 형태 바꾸는 팁 [1] 조성우371 2008.04.13
회원 가입 임시 제한 일자 버그 수정 방법 [2] file 껄껄껄 2008.04.13
최근문서위젯의 제목을 누르면 게시판으로 이동 [3] file CL님 2008.04.13
FF에서 플래시 로딩 못하는 현상 해결방법 [3] hangoon 2008.04.13
오른쪽 마우스 사용금지 스크립트 [6] 하늘(skycheer) 2008.04.14
.htaccess를 이용하여 트래픽 유발시키는 IP 막기 [1] [1] 라르게덴 2008.04.15
상단로그인..? [10] 빽짱구 2008.04.15