• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Hướng dẫn thêm phần chia sẻ bài viết cho phpbb3x

Admin

Well-Known Member
Staff member
Administrator
Vào viewtopic_body.html tìm
PHP:
<!-- END postrow -->

Thêm vào sau
PHP:
<!-- IF postrow.S_FIRST_ROW -->
<div class="post bg3">
   <div class="inner">
      <span class="corners-top"><span></span></span>   
      <form name="select_all">
      <table width="100%" cellspacing="0" cellpadding="0">
      <tr>
         <td class="row1" width="50"><span class="post-details"><b>URL</b></span></td>
         <td class="row2">
            <script language="javascript" type="text/javascript">document.write("<input style='width:99%;height:12px;' onclick=this.select() value="+window.location.href+">");</script>
         </td>
      </tr>
      <tr>
         <td class="row1" width="50"><span class="post-details"><b>BBCode</b></span></td>
         <td class="row2">
            <script language="javascript" type="text/javascript">document.write("<input style='width:99%;height:12px;' onclick=this.select() value='[url="+window.location.href+"]{TOPIC_TITLE}[/url]'>");</script>
         </td>
      </tr>
      <tr>
         <td class="row1" width="50"><span class="post-details"><b>HTML</b></span></td>
         <td class="row2">   
            <script language="javascript" type="text/javascript">document.write("<input style='width:99%;height:12px;' onclick=this.select() value='<a href="+window.location.href+">{TOPIC_TITLE}</a>'>");</script>
         </td>
      </tr>
                <tr>
         <td class="row1" width="50"><span class="post-details"><b>Yahoo!</b></span></td>
         <td class="row2">   
            <script language="javascript" type="text/javascript">document.write("<input style='width:99%;height:12px;' onclick=this.select() value='{TOPIC_TITLE}: "+window.location.href+"'>");</script>
         </td>
      </tr>
      </table>
      </form>
      <span class="corners-bottom"><span></span></span>
   </div>
</div>
<!-- ENDIF -->
 

Facebook Comments

Similar threads

New posts New threads New resources

Back
Top