MOD Share On การแบ่งหัวข้อในเครือข่ายทางสังคม facebook twitter google plus

แนะนำ Mod ต่างๆ ของ PHPBB3 แนะนำความสามารถ ของ mod การติดตั้ง การเข้ากันได้กับเวอร์ชั่น

Moderator: mindphp

User avatar
thatsawan
PHP VIP Members
PHP VIP Members
Posts: 18671
Joined: 31/03/2014 10:02 am
Contact:

MOD Share On การแบ่งหัวข้อในเครือข่ายทางสังคม facebook twitter google plus

Postby thatsawan » 22/04/2014 3:43 pm

MOD Share On การแบ่งหัวข้อในเครือข่ายทางสังคม facebook twitter
รายละเอียดเกี่ยวกับ :: MOD ใช้ในการแบ่งหัวข้อในเครือข่ายทางสังคม Facebook,Twitter,Digg,Reddit,Orkut,Delicious,VK,Tuenti,Sonico,Friendfeed,Tumblr,Google+,MySpace
พัฒนาโดย :: Saske1
Version ::2.2.0
ดาวน์โหลด :: https://www.mindphp.com/download/files/3 ... 0-zip.html
ไฟล์ที่ใช้ในการติดตั้ง
viewtopic.php,
styles/prosilver/template/viewtopic_body.html,
styles/prosilver/theme/buttons.css,
styles/prosilver/theme/colours.css
วิธีการติดตั้ง
เปิดไฟล์ =>viewtopic.php
ค้นหา ::

Code: Select all

// Setup look and feel
$user->setup('viewtopic', $topic_data['forum_style']);

เติมท้ายโค้ด ::

Code: Select all

$user->add_lang('mods/info_acp_shareon');

ค้นหา ::

Code: Select all

'U_JABBER'        => $user_cache[$poster_id]['jabber'],

้เติมท้ายโค้ด::

Code: Select all

// Share On 2.2.0 MOD
        'U_FACEBOOK'    => 'http://www.facebook.com/share.php?t=' . urlencode($topic_data['topic_title']) . '&u=' . urlencode(generate_board_url() . "/viewtopic.$phpEx?" . "f=$forum_id&t=$topic_id"),
        'U_FACEBOOK_POST'    => 'http://www.facebook.com/share.php?t=' . urlencode($topic_data['topic_title']) . '&u=' . urlencode(generate_board_url() . "/viewtopic.$phpEx" . '?p=' . $row['post_id'] . '#p' . $row['post_id']),
        'U_TWITTER'    => 'https://twitter.com/share?text=' . urlencode($topic_data['topic_title']) .'&url=' . urlencode(generate_board_url() . "/viewtopic.$phpEx?" . "f=$forum_id&t=$topic_id"),
        'U_TWITTER_POST'    => 'http://twitter.com/share?text=' . urlencode($topic_data['topic_title']) . '&url=' . urlencode(generate_board_url() . "/viewtopic.$phpEx" . '?p=' . $row['post_id'] . '#p' . $row['post_id']),
        'U_DIGG'    => 'http://digg.com/submit?phase=2&url=' . urlencode(generate_board_url() . "/viewtopic.$phpEx?". "f=$forum_id&t=$topic_id") . '&title=' . urlencode($topic_data['topic_title']),
        'U_DIGG_POST'    => 'http://digg.com/submit?phase=2&url=' . urlencode(generate_board_url() . "/viewtopic.$phpEx" . '?p=' . $row['post_id'] . '#p' . $row['post_id']) . '&title=' . urlencode($topic_data['topic_title']),
        'U_REDDIT'    => 'http://www.reddit.com/submit?url=' . urlencode(generate_board_url() . "/viewtopic.$phpEx?". "f=$forum_id&t=$topic_id") . '&title=' . urlencode($topic_data['topic_title']),
        'U_REDDIT_POST'    => 'http://www.reddit.com/submit?url=' . urlencode(generate_board_url() . "/viewtopic.$phpEx" . '?p=' . $row['post_id'] . '#p' . $row['post_id']) . '&title=' . urlencode($topic_data['topic_title']),
        'U_DELICIOUS'     => 'http://delicious.com/post?url=' . urlencode(generate_board_url() . "/viewtopic.$phpEx?". "f=$forum_id&t=$topic_id") . '&title='. urlencode($topic_data['topic_title']),
        'U_DELICIOUS_POST'     => 'http://delicious.com/post?url=' . urlencode(generate_board_url() . "/viewtopic.$phpEx" . '?p=' . $row['post_id'] . '#p' . $row['post_id']) . '&title='. urlencode($topic_data['topic_title']),
        'U_VK'        => 'http://vk.com/share.php?url=' . urlencode(generate_board_url() . "/viewtopic.$phpEx?". "f=$forum_id&t=$topic_id"),
        'U_VK_POST'        => 'http://vk.com/share.php?url=' . urlencode(generate_board_url() . "/viewtopic.$phpEx" . '?p=' . $row['post_id'] . '#p' . $row['post_id']),
        'U_TUENTI'    => 'http://www.tuenti.com/?m=Share&func=index&suggested-text='. urlencode($topic_data['topic_title']) .'&url=' . urlencode(generate_board_url() . "/viewtopic.$phpEx?". "f=$forum_id&t=$topic_id"),
        'U_TUENTI_POST'    => 'http://www.tuenti.com/?m=Share&func=index&suggested-text='. urlencode($topic_data['topic_title']) .'&url=' . urlencode(generate_board_url() . "/viewtopic.$phpEx" . '?p=' . $row['post_id'] . '#p' . $row['post_id']),
        'U_SONICO'    => 'http://www.sonico.com/share.php?title='. urlencode($topic_data['topic_title']) .'&url=' . urlencode(generate_board_url() . "/viewtopic.$phpEx?". "f=$forum_id&t=$topic_id"),
        'U_SONICO_POST'    => 'http://www.sonico.com/share.php?title='. urlencode($topic_data['topic_title']) .'&url=' . urlencode(generate_board_url() . "/viewtopic.$phpEx" . '?p=' . $row['post_id'] . '#p' . $row['post_id']),
        'U_FRIENDFEED'    => 'http://friendfeed.com/share?url=' . urlencode(generate_board_url() . "/viewtopic.$phpEx?". "f=$forum_id&t=$topic_id"),
        'U_FRIENDFEED_POST'    => 'http://friendfeed.com/share?url=' . urlencode(generate_board_url() . "/viewtopic.$phpEx" . '?p=' . $row['post_id'] . '#p' . $row['post_id']),
        'U_TUMBLR'    => 'http://www.tumblr.com/share/link?url=' . urlencode(generate_board_url() . "/viewtopic.$phpEx?". "f=$forum_id&t=$topic_id") . '&name=' . urlencode($topic_data['topic_title']),
        'U_TUMBLR_POST'    => 'http://www.tumblr.com/share/link?url=' . urlencode(generate_board_url() . "/viewtopic.$phpEx" . '?p=' . $row['post_id'] . '#p' . $row['post_id']) . '&name=' . urlencode($topic_data['topic_title']),
        'U_GOOGLE'    => 'https://plus.google.com/share?url=' . urlencode(generate_board_url() . "/viewtopic.$phpEx?". "f=$forum_id&t=$topic_id"),
        'U_GOOGLE_POST'    => 'https://plus.google.com/share?url=' . urlencode(generate_board_url() . "/viewtopic.$phpEx" . '?p=' . $row['post_id'] . '#p' . $row['post_id']),
        'U_MYSPACE'    => 'http://www.myspace.com/Modules/PostTo/Pages/?u=' . urlencode(generate_board_url() . "/viewtopic.$phpEx?". "f=$forum_id&t=$topic_id") . '&t=' . urlencode($topic_data['topic_title']),
        'U_MYSPACE_POST'    => 'http://www.myspace.com/Modules/PostTo/Pages/?u=' . urlencode(generate_board_url() . "/viewtopic.$phpEx" . '?p=' . $row['post_id'] . '#p' . $row['post_id']) . '&t=' . urlencode($topic_data['topic_title']),
        // Share On 2.2.0 MOD              

ค้นหา ::

Code: Select all

'S_IGNORE_POST'        => ($row['hide_post']) ? true : false,
        'L_IGNORE_POST'        => ($row['hide_post']) ? sprintf($user->lang['POST_BY_FOE'], get_username_string('full', $poster_id, $row['username'], $row['user_colour'], $row['post_username']), '<a href="' . $viewtopic_url . "&amp;p={$row['post_id']}&amp;view=show#p{$row['post_id']}" . '">', '</a>') : '',
    );

วางก่อนหน้า::

Code: Select all

// Share On 2.2.0 MOD
        'S_SO_STATUS'        => (!empty($config['so_status'])) ? true : false,
        'S_SO_POSITION'        => (!empty($config['so_position'])) ? true : false,
        'S_SO_TYPE'            => (!empty($config['so_type'])) ? true : false,
        'S_SO_FACEBOOK'        => (!empty($config['so_facebook'])) ? true : false,
        'S_SO_TWITTER'        => (!empty($config['so_twitter'])) ? true : false,
        'S_SO_TUENTI'        => (!empty($config['so_tuenti'])) ? true : false,
        'S_SO_SONICO'        => (!empty($config['so_sonico'])) ? true : false,
        'S_SO_FRIENDFEED'    => (!empty($config['so_friendfeed'])) ? true : false,
        'S_SO_ORKUT'        => (!empty($config['so_orkut'])) ? true : false,
        'S_SO_DIGG'            => (!empty($config['so_digg'])) ? true : false,
        'S_SO_REDDIT'        => (!empty($config['so_reddit'])) ? true : false,
        'S_SO_DELICIOUS'     => (!empty($config['so_delicious'])) ? true : false,
        'S_SO_VK'            => (!empty($config['so_vk'])) ? true : false,
        'S_SO_TUMBLR'        => (!empty($config['so_tumblr'])) ? true : false,
        'S_SO_GOOGLE'        => (!empty($config['so_google'])) ? true : false,
        'S_SO_MYSPACE'        => (!empty($config['so_myspace'])) ? true : false,
        // Share On 2.2.0 MOD              

เปิดไฟล์ =>styles/prosilver/template/viewtopic_body.html
ค้นหา ::

Code: Select all

            <!-- IF postrow.U_EDIT or postrow.U_DELETE or postrow.U_REPORT or postrow.U_WARN or postrow.U_INFO or postrow.U_QUOTE -->

ในโค้ดค้นหา

Code: Select all

postrow.U_QUOTE

เติมท้ายในโค้ดค้นหา ::

Code: Select all

 or (postrow.S_SO_STATUS || postrow.S_SO_POSITION eq 1)

ค้นหา ::

Code: Select all

<!-- IF postrow.U_EDIT --><li class="edit-icon"><a href="{postrow.U_EDIT}" title="{L_EDIT_POST}"><span>{L_EDIT_POST}</span></a></li><!-- ENDIF --> 

วางก่อนหน้า::

Code: Select all

<!-- Share_On_2.2.0_MOD -->
                    <!-- IF postrow.S_SO_POSITION eq 1 -->
                        <!-- IF postrow.S_SO_STATUS -->
                            <!-- IF postrow.S_SO_TYPE eq 0 || postrow.S_FIRST_ROW -->
                            <!-- IF postrow.S_SO_FACEBOOK --><li class="facebook-icon"><a href="<!-- IF postrow.S_SO_TYPE eq 1 -->{postrow.U_FACEBOOK}<!-- ELSE -->{postrow.U_FACEBOOK_POST}<!-- ENDIF -->" title="{L_SHARE_ON_FACEBOOK}" onclick="window.open(this.href);return false;"><span>{L_SHARE_ON_FACEBOOK}</span></a></li><!-- ENDIF -->

                            <!-- IF postrow.S_SO_TWITTER --><li class="twitter-icon"><a href="<!-- IF postrow.S_SO_TYPE eq 1 -->{postrow.U_TWITTER}<!-- ELSE -->{postrow.U_TWITTER_POST}<!-- ENDIF -->" title="{L_SHARE_ON_TWITTER}" onclick="window.open(this.href);return false;"><span>{L_SHARE_ON_TWITTER}</span></a></li><!-- ENDIF -->

                            <!-- IF postrow.S_SO_TUENTI --><li class="tuenti-icon"><a href="<!-- IF postrow.S_SO_TYPE eq 1 -->{postrow.U_TUENTI}<!-- ELSE -->{postrow.U_TUENTI_POST}<!-- ENDIF -->" title="{L_SHARE_ON_TUENTI}" onclick="window.open(this.href);return false;"><span>{L_SHARE_ON_TUENTI}</span></a></li><!-- ENDIF -->

                            <!-- IF postrow.S_SO_SONICO --><li class="sonico-icon"><a href="<!-- IF postrow.S_SO_TYPE eq 1 -->{postrow.U_SONICO}<!-- ELSE -->{postrow.U_SONICO_POST}<!-- ENDIF -->" title="{L_SHARE_ON_SONICO}" onclick="window.open(this.href);return false;"><span>{L_SHARE_ON_SONICO}</span></a></li><!-- ENDIF -->

                            <!-- IF postrow.S_SO_FRIENDFEED --><li class="friendfeed-icon"><a href="<!-- IF postrow.S_SO_TYPE eq 1 -->{postrow.U_FRIENDFEED}<!-- ELSE -->{postrow.U_FRIENDFEED_POST}<!-- ENDIF -->" title="{L_SHARE_ON_FRIENDFEED}" onclick="window.open(this.href);return false;"><span>{L_SHARE_ON_FRIENDFEED}</span></a></li><!-- ENDIF -->

                            <!-- IF postrow.S_SO_ORKUT --><li class="orkut-icon"><a href="javascript:(function(){var d=document,l=d.location,e=encodeURIComponent,u='http://promote.orkut.com/preview?src=bkmrklt&amp;v=1&amp;nt=orkut.com&amp;du='+e(l.href)+'&amp;tt='+e(d.title),s='&amp;rdrinl=1';if(!window.open(u,'','height=575,width=700,directories=0,location=1,menubar=0,resizable=0,scrollbars=1,status=1,toolbar=0'))l.href=u+s;})();" title="{L_SHARE_ON_ORKUT}"><span>{L_SHARE_ON_ORKUT}</span></a></li><!-- ENDIF -->

                            <!-- IF postrow.S_SO_DIGG --><li class="digg-icon"><a href="<!-- IF postrow.S_SO_TYPE eq 1 -->{postrow.U_DIGG}<!-- ELSE -->{postrow.U_DIGG_POST}<!-- ENDIF -->" title="{L_SHARE_ON_DIGG}" onclick="window.open(this.href);return false;"><span>{L_SHARE_ON_DIGG}</span></a></li><!-- ENDIF -->

                            <!-- IF postrow.S_SO_REDDIT --><li class="reddit-icon"><a href="<!-- IF postrow.S_SO_TYPE eq 1 -->{postrow.U_REDDIT}<!-- ELSE -->{postrow.U_REDDIT_POST}<!-- ENDIF -->" title="{L_SHARE_ON_REDDIT}" onclick="window.open(this.href);return false;"><span>{L_SHARE_ON_REDDIT}</span></a></li><!-- ENDIF -->

                            <!-- IF postrow.S_SO_DELICIOUS --><li class="delicious-icon"><a href="<!-- IF postrow.S_SO_TYPE eq 1 -->{postrow.U_DELICIOUS}<!-- ELSE -->{postrow.U_DELICIOUS_POST}<!-- ENDIF -->" title="{L_SHARE_ON_DELICIOUS}" onclick="window.open(this.href);return false;"><span>{L_SHARE_ON_DELICIOUS}</span></a></li><!-- ENDIF -->

                            <!-- IF postrow.S_SO_VK --><li class="vk-icon"><a href="<!-- IF postrow.S_SO_TYPE eq 1 -->{postrow.U_VK}<!-- ELSE -->{postrow.U_VK_POST}<!-- ENDIF -->" title="{L_SHARE_ON_VK}" onclick="window.open(this.href);return false;"><span>{L_SHARE_ON_VK}</span></a></li><!-- ENDIF -->

                            <!-- IF postrow.S_SO_TUMBLR --><li class="tumblr-icon"><a href="<!-- IF postrow.S_SO_TYPE eq 1 -->{postrow.U_TUMBLR}<!-- ELSE -->{postrow.U_TUMBLR_POST}<!-- ENDIF -->" title="{L_SHARE_ON_TUMBLR}" onclick="window.open(this.href);return false;"><span>{L_SHARE_ON_TUMBLR}</span></a></li><!-- ENDIF -->

                            <!-- IF postrow.S_SO_GOOGLE --><li class="google-icon"><a href="<!-- IF postrow.S_SO_TYPE eq 1 -->{postrow.U_GOOGLE}<!-- ELSE -->{postrow.U_GOOGLE_POST}<!-- ENDIF -->" title="{L_SHARE_ON_GOOGLE}" onclick="window.open(this.href);return false;"><span>{L_SHARE_ON_GOOGLE}</span></a></li><!-- ENDIF -->

                            <!-- IF postrow.S_SO_MYSPACE --><li class="myspace-icon"><a href="<!-- IF postrow.S_SO_TYPE eq 1 -->{postrow.U_MYSPACE}<!-- ELSE -->{postrow.U_MYSPACE_POST}<!-- ENDIF -->" title="{L_SHARE_ON_MYSPACE}" onclick="window.open(this.href);return false;"><span>{L_SHARE_ON_MYSPACE}</span></a></li><!-- ENDIF -->
                            <!-- ENDIF -->
                        <!-- ENDIF -->
                    <!-- ENDIF -->
                    <!-- Share_On_2.2.0_MOD --> 

ค้นหา ::

Code: Select all

<!-- END postrow --> 

วางก่อนหน้า ::

Code: Select all

<!-- Share_On_2.2.0_MOD -->
    <!-- IF postrow.S_SO_POSITION eq 0 -->
        <!-- IF postrow.S_SO_STATUS and postrow.S_FIRST_ROW -->
            <div class="panel">
                <div class="inner">
                    <span class="corners-top"><span></span></span>
                    <h3>{L_SO_SELECT}</h3>
                    <table width="100%">
                        <tr>
                            <!-- IF postrow.S_SO_FACEBOOK --><td align="{S_CONTENT_FLOW_END}"><a href="{postrow.U_FACEBOOK}" onclick="window.open(this.href);return false;" title="{L_SHARE_ON_FACEBOOK}"><img src="{T_THEME_PATH}/images/share_on_buttons/shareon_facebook.png" alt="{L_SHARE_ON_FACEBOOK}" /></a></td>
                            <td align="{S_CONTENT_FLOW_BEGIN}"><a href="{postrow.U_FACEBOOK}" onclick="window.open(this.href);return false;">{L_SO_FACEBOOK}</a></td> <!-- ENDIF -->

                            <!-- IF postrow.S_SO_TWITTER --><td align="{S_CONTENT_FLOW_END}"><a href="{postrow.U_TWITTER}" onclick="window.open(this.href);return false;" title="{L_SHARE_ON_TWITTER}"><img src="{T_THEME_PATH}/images/share_on_buttons/shareon_twitter.png" alt="{L_SHARE_ON_TWITTER}" /></a></td>
                            <td align="{S_CONTENT_FLOW_BEGIN}"><a href="{postrow.U_TWITTER}" onclick="window.open(this.href);return false;">{L_SO_TWITTER}</a></td> <!-- ENDIF -->

                            <!-- IF postrow.S_SO_TUENTI --><td align="{S_CONTENT_FLOW_END}"><a href="{postrow.U_TUENTI}" onclick="window.open(this.href);return false;" title="{L_SHARE_ON_TUENTI}"><img src="{T_THEME_PATH}/images/share_on_buttons/shareon_tuenti.png" alt="{L_SHARE_ON_TUENTI}" /></a></td>
                            <td align="{S_CONTENT_FLOW_BEGIN}"><a href="{postrow.U_TUENTI}" onclick="window.open(this.href);return false;">{L_SO_TUENTI}</a></td> <!-- ENDIF -->

                            <!-- IF postrow.S_SO_SONICO --><td align="{S_CONTENT_FLOW_END}"><a href="{postrow.U_SONICO}" onclick="window.open(this.href);return false;" title="{L_SHARE_ON_SONICO}"><img src="{T_THEME_PATH}/images/share_on_buttons/shareon_sonico.png" alt="{L_SHARE_ON_SONICO}" /></a></td>
                            <td align="{S_CONTENT_FLOW_BEGIN}"><a href="{postrow.U_SONICO}" onclick="window.open(this.href);return false;">{L_SO_SONICO}</a></td> <!-- ENDIF -->

                            <!-- IF postrow.S_SO_FRIENDFEED --><td align="{S_CONTENT_FLOW_END}"><a href="{postrow.U_FRIENDFEED}" onclick="window.open(this.href);return false;" title="{L_SHARE_ON_FRIENDFEED}"><img src="{T_THEME_PATH}/images/share_on_buttons/shareon_friendfeed.png" alt="{L_SHARE_ON_FRIENDFEED}" /></a></td>
                            <td align="{S_CONTENT_FLOW_BEGIN}"><a href="{postrow.U_FRIENDFEED}" onclick="window.open(this.href);return false;">{L_SO_FRIENDFEED}</a></td> <!-- ENDIF -->

                            <!-- IF postrow.S_SO_ORKUT --><td align="{S_CONTENT_FLOW_END}"><a title="{L_SHARE_ON_ORKUT}" href="javascript:(function(){var d=document,l=d.location,e=encodeURIComponent,u='http://promote.orkut.com/preview?src=bkmrklt&amp;v=1&amp;nt=orkut.com&amp;du='+e(l.href)+'&amp;tt='+e(d.title),s='&amp;rdrinl=1';if(!window.open(u,'','height=575,width=700,directories=0,location=1,menubar=0,resizable=0,scrollbars=1,status=1,toolbar=0'))l.href=u+s;})();" ><img src="{T_THEME_PATH}/images/share_on_buttons/shareon_orkut.gif" alt="{L_SHARE_ON_ORKUT}" /></a></td>
                            <td align="{S_CONTENT_FLOW_BEGIN}"><a href="javascript:(function(){var d=document,l=d.location,e=encodeURIComponent,u='http://promote.orkut.com/preview?src=bkmrklt&amp;v=1&amp;nt=orkut.com&amp;du='+e(l.href)+'&amp;tt='+e(d.title),s='&amp;rdrinl=1';if(!window.open(u,'','height=575,width=700,directories=0,location=1,menubar=0,resizable=0,scrollbars=1,status=1,toolbar=0'))l.href=u+s;})();">{L_SO_ORKUT}</a></td> <!-- ENDIF -->

                            <!-- IF postrow.S_SO_DIGG --><td align="{S_CONTENT_FLOW_END}"><a href="{postrow.U_DIGG}" onclick="window.open(this.href);return false;" title="{L_SHARE_ON_DIGG}"><img src="{T_THEME_PATH}/images/share_on_buttons/shareon_digg.gif" alt="{L_SHARE_ON_DIGG}" /></a></td>
                            <td align="{S_CONTENT_FLOW_BEGIN}"><a href="{postrow.U_DIGG}" onclick="window.open(this.href);return false;">{L_SO_DIGG}</a></td> <!-- ENDIF -->

                            <!-- IF postrow.S_SO_REDDIT --><td align="{S_CONTENT_FLOW_END}"><a href="{postrow.U_REDDIT}" onclick="window.open(this.href);return false;" title="{L_SHARE_ON_REDDIT}"><img src="{T_THEME_PATH}/images/share_on_buttons/shareon_reddit.png" alt="{L_SHARE_ON_REDDIT}" /></a></td>
                            <td align="{S_CONTENT_FLOW_BEGIN}"><a href="{postrow.U_REDDIT}" onclick="window.open(this.href);return false;">{L_SO_REDDIT}</a></td> <!-- ENDIF -->

                            <!-- IF postrow.S_SO_DELICIOUS --><td align="{S_CONTENT_FLOW_END}"><a href="{postrow.U_DELICIOUS}" onclick="window.open(this.href);return false;" title="{L_SHARE_ON_DELICIOUS}"><img src="{T_THEME_PATH}/images/share_on_buttons/shareon_delicious.gif" alt="{L_SHARE_ON_DELICIOUS}" /></a></td>
                            <td align="{S_CONTENT_FLOW_BEGIN}"><a href="{postrow.U_DELICIOUS}" onclick="window.open(this.href);return false;">{L_SO_DELICIOUS}</a></td> <!-- ENDIF -->

                            <!-- IF postrow.S_SO_VK --><td align="{S_CONTENT_FLOW_END}"><a href="{postrow.U_VK}" onclick="window.open(this.href);return false;" title="{L_SHARE_ON_VK}"><img src="{T_THEME_PATH}/images/share_on_buttons/shareon_vk.png" alt="{L_SHARE_ON_VK}" /></a></td>
                            <td align="{S_CONTENT_FLOW_BEGIN}"><a href="{postrow.U_VK}" onclick="window.open(this.href);return false;">{L_SO_VK}</a></td>    <!-- ENDIF -->

                            <!-- IF postrow.S_SO_TUMBLR --><td align="{S_CONTENT_FLOW_END}"><a href="{postrow.U_TUMBLR}" onclick="window.open(this.href);return false;" title="{L_SHARE_ON_TUMBLR}"><img src="{T_THEME_PATH}/images/share_on_buttons/shareon_tumblr.png" alt="{L_SHARE_ON_TUMBLR}" /></a></td>
                            <td align="{S_CONTENT_FLOW_BEGIN}"><a href="{postrow.U_TUMBLR}" onclick="window.open(this.href);return false;">{L_SO_TUMBLR}</a></td><!-- ENDIF -->
                            
                            
<!-- IF postrow.S_SO_GOOGLE --><td align="{S_CONTENT_FLOW_END}"><a href="{postrow.U_GOOGLE}" onclick="window.open(this.href);return false;" title="{L_SHARE_ON_GOOGLE}"><img src="{T_THEME_PATH}/images/share_on_buttons/shareon_google.gif" alt="{L_SHARE_ON_GOOGLE}"/></a></td>
                            <td align="{S_CONTENT_FLOW_BEGIN}"><a href="{postrow.U_GOOGLE}" onclick="window.open(this.href);return false;">{L_SO_GOOGLE}</a></td><!-- ENDIF -->

                            <!-- IF postrow.S_SO_MYSPACE --><td align="{S_CONTENT_FLOW_END}"><a href="{postrow.U_MYSPACE}" onclick="window.open(this.href);return false;" title="{L_SHARE_ON_MYSPACE}"><img src="{T_THEME_PATH}/images/share_on_buttons/shareon_myspace.png" alt="{L_SHARE_ON_MYSPACE}"/></a></td>
                            <td align="{S_CONTENT_FLOW_BEGIN}"><a href="{postrow.U_MYSPACE}" onclick="window.open(this.href);return false;">{L_SO_MYSPACE}</a></td><!-- ENDIF -->
                        </tr>               
                    
</table>
                    <span class="corners-bottom"><span></span></span>
                </div>
            </div>
        <!-- ENDIF -->
    <!-- ENDIF -->
    <!-- Share_On_2.2.0_MOD --> 

เปิดไฟล์=>styles/prosilver/theme/buttons.css
ค้นหา ::

Code: Select all

.quote-icon, .quote-icon a        { background: none top left no-repeat; 

เติมท้าย ::

Code: Select all

/* Share On 2.2.0 */
.facebook-icon, .facebook-icon a    { background: none top left no-repeat; }
.
twitter-icon, .twitter-icon a        { background: none top left no-repeat; }
.
tuenti-icon, .tuenti-icon a        { background: none top left no-repeat; }
.
sonico-icon, .sonico-icon a        { background: none top left no-repeat; }
.
friendfeed-icon, .friendfeed-icon a{ background: none top left no-repeat; }
.
orkut-icon, .orkut-icon a            { background: none top left no-repeat; }
.
digg-icon, .digg-icon a            { background: none top left no-repeat; }
.
reddit-icon, .reddit-icon a        { background: none top left no-repeat; }
.
delicious-icon, .delicious-icon a    { background: none top left no-repeat; }
.
vk-icon, .vk-icon a                { background: none top left no-repeat; }
.
myspace-icon, .myspace-icon a        { background: none top left no-repeat; }
.
tumblr-icon, .tumblr-icon a        { background: none top left no-repeat; }
.
google-icon, .google-icon a        { background: none top left no-repeat; }
/* Share On 2.2.0 */ 

้ค้นหา::

Code: Select all

ul.profile-icons li.quote-icon    { width: {IMG_ICON_POST_QUOTE_WIDTH}px; height: {IMG_ICON_POST_QUOTE_HEIGHT}px; 

เติมท้าย ::

Code: Select all

/* Share On 2.2.0 */
ul.profile-icons li.facebook-icon    { width: 20px; height: 20px; }
ul.profile-icons li.twitter-icon    { width: 20px; height: 20px; }
ul.profile-icons li.tuenti-icon        { width: 20px; height: 20px; }
ul.profile-icons li.sonico-icon        { width: 20px; height: 20px; }
ul.profile-icons li.friendfeed-icon    { width: 20px; height: 20px; }
ul.profile-icons li.orkut-icon        { width: 20px; height: 20px; }
ul.profile-icons li.digg-icon        { width: 20px; height: 20px; }
ul.profile-icons li.reddit-icon        { width: 20px; height: 20px; }
ul.profile-icons li.delicious-icon    { width: 20px; height: 20px; }
ul.profile-icons li.vk-icon            { width: 20px; height: 20px; }
ul.profile-icons li.myspace-icon    { width: 20px; height: 20px; }
ul.profile-icons li.tumblr-icon        { width: 20px; height: 20px; }
ul.profile-icons li.google-icon        { width: 20px; height: 20px; }
/* Share On 2.2.0 */ 

เปิดไฟล์=>styles/prosilver/theme/colours.css
ค้นหา ::

Code: Select all

.quote-icon, .quote-icon a        { background-image: url("{IMG_ICON_POST_QUOTE_SRC}"); 

เติมท้าย ::

Code: Select all

/* Share On 2.2.0 */
.facebook-icon, .facebook-icon a    { background-image: url("{T_THEME_PATH}/images/share_on_buttons/shareon_facebook.png"); }
.
twitter-icon, .twitter-icon a        { background-image: url("{T_THEME_PATH}/images/share_on_buttons/shareon_twitter.png"); }
.
tuenti-icon, .tuenti-icon a        { background-image: url("{T_THEME_PATH}/images/share_on_buttons/shareon_tuenti.png"); }
.
sonico-icon, .sonico-icon a        { background-image: url("{T_THEME_PATH}/images/share_on_buttons/shareon_sonico.png"); }
.
friendfeed-icon, .friendfeed-icon a    { background-image: url("{T_THEME_PATH}/images/share_on_buttons/shareon_friendfeed.png"); }
.
orkut-icon, .orkut-icon a        { background-image: url("{T_THEME_PATH}/images/share_on_buttons/shareon_orkut.gif"); }
.
digg-icon, .digg-icon a        { background-image: url("{T_THEME_PATH}/images/share_on_buttons/shareon_digg.gif"); }
.
reddit-icon, .reddit-icon a        { background-image: url("{T_THEME_PATH}/images/share_on_buttons/shareon_reddit.png"); }
.
delicious-icon, .delicious-icon a    { background-image: url("{T_THEME_PATH}/images/share_on_buttons/shareon_delicious.gif"); }
.
vk-icon, .vk-icon a                { background-image: url("{T_THEME_PATH}/images/share_on_buttons/shareon_vk.png"); }
.
myspace-icon, .myspace-icon a        { background-image: url("{T_THEME_PATH}/images/share_on_buttons/shareon_myspace.png"); }
.
tumblr-icon, .tumblr-icon a        { background-image: url("{T_THEME_PATH}/images/share_on_buttons/shareon_tumblr.png"); }
.
google-icon, .google-icon a        { background-image: url("{T_THEME_PATH}/images/share_on_buttons/shareon_google.gif"); }
/* Share On 2.2.0 */

***จากนั้นให้ทำการ คัดลอกไฟล์ทั้งหมดที่มี ในโฟลเดอร์ root ไปวาง เเล้วทำการ เปิด Browser :: /install.php***
จากนั้นทำการติดตั้ง
22-4-2557 14-12-22.png
22-4-2557 14-12-22.png (71.67 KiB) Viewed 548 times

การตั้งค่าของ MOD
22-4-2557 15-45-29.png
22-4-2557 15-45-29.png (83.51 KiB) Viewed 548 times

การแสดงผลในหน้าโพส
22-4-2557 15-47-12.png
22-4-2557 15-47-12.png (116.3 KiB) Viewed 548 times

Return to “PHPBB3.0 Mod Review”

Who is online

Users browsing this forum: No registered users and 1 guest