[BBcode] [ شرح ] [ Adsense ] + [ twitter ] + [ +1 google ] كود بشكل أنيق /جديد 2011

gh-zal.com

عضو جديد
26 أبريل 2011
279
1
0
www.gh-zal.com
حبيت أشارككم الكود ، شرح للعملية
wink.gif


الكثير من الاكواد جاءت في هذا المجال ، ولكن الشكل المميز لم يُراعى
tongue.gif

أو على الأقل أنا أراه هكذا يبدو جميلا مُرَتّباً ، ولكم رأيكم
icon7.gif


مثــال حيّ ومباشر أسفل المشاركة الأولى :
إذا هجم الشقاء | مشاري العرادة | mp3 | 2011

مثــال مُصوّرْ :

attachment.php


الكود الأيمن تويتر لتويت الموضوع والأيسر لتويت الموقع
أيضا بلس ون لترشيح الموقع الزر الأيمن ، والأيسر لترشيح الموضوع
،،،،


الآن طريقة العمل إن أعجبكم الوضع
icon7.gif


- إذهب إلى لوحة تحكم الموقع
- البحث في القوالب ، ابحث عن القالب التالي :
ad_showthread_firstpost

قم بلصق الكود التالي :
PHP:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="96%" align="center">
<tr>www.suraa7.net/avb/


    <td class="alt1">
    <div align="center">


<table>
      <tr>
               
<td><a href="http://twitter.com/share" class="twitter-share-button" data-text="هذا الموضوع" data-count="vertical" data-via="suraa7">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></td>


        <td>
<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.gh-zal.com/vb" data-text="صراح" data-count="vertical" data-via="suraa7">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></td>
        <td>
كود او شفرة اعلانات أدسنس هنا بارتفاع 60 بكسل </td>
        <td>
<!-- Place this tag in your head or just before your close body tag -->
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>

<!-- Place this tag where you want the +1 button to render -->
<g:plusone size="tall" href="http://www.gh-zal.com"></g:plusone></td>

<td><!-- Place this tag in your head or just before your close body tag -->
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>

<!-- Place this tag where you want the +1 button to render -->
<g:plusone size="tall"></g:plusone></td>


      </tr>
    </table>




    </div>
    </td>
</tr>
</table>
مع استبدل www.gh-zal.com/vb بعنوان موقعك ، في موضعين في الكود
في كود تويتر وكود بلس ون

،،،

الحين تمت العملية بنجاح ^^

،،،


لمن يريد أكواد تويتر وبلس من دون شفرة أدسنس او دون اعلانات ، عليه بالكود التالي :

PHP:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="96%" align="center">
<tr>
    <td class="alt1">
    <div align="center">


<table>
      <tr>
               
<td><a href="http://twitter.com/share" class="twitter-share-button" data-text="هذا الموضوع" data-count="vertical" data-via="suraa7">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></td>


        <td>
<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.gh-zal.com/vb" data-text="صراح" data-count="vertical" data-via="suraa7">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></td>
       
        <td>
<!-- Place this tag in your head or just before your close body tag -->
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>

<!-- Place this tag where you want the +1 button to render -->
<g:plusone size="tall" href="http://www.gh-zal.com/vb/"></g:plusone></td>

<td><!-- Place this tag in your head or just before your close body tag -->
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>

<!-- Place this tag where you want the +1 button to render -->
<g:plusone size="tall"></g:plusone></td>


      </tr>
    </table>


    </div>
    </td>
</tr>
</table>
مع استبدال ما يلزم أيضا في الكود السابق ، عنوان الموقع
icon7.gif



،،،


وشكراً لكم ، بالتوفيق
^^

منقول للافادة