Cara instal (pasang) ads di SMF (cara pasang iklan di Smf forum)

Coretanku kali ini tentang : Cara instal (pasang) ads di SMF (cara pasang iklan di Smf forum).
Langsung saja ya ga usah bertele-tele..hehehe
Berikut caranya:

 Cari kode berikut (yang mirip/mendekati, karena kode biasanya tergantung sama theme) :

<br />', $context['current_time'], '
</td>
</tr>


Terus masukan kode ini (setelah kode di atas):

<tr>
            <td colspan="2" valign="middle" align="center" class="tborder" style="border-width: 1px 0 0 0; font-size: smaller;">
                <script type="text/javascript"><!--
                google_ad_client = "Pub-id anda";
                google_ad_width = 728;
                google_ad_height = 90;
                google_ad_format = "728x90_as";
                google_ad_type = "text_image";
                google_ad_channel ="3949701292";
                google_color_border = "336699";
                google_color_bg = "FFFFFF";
                google_color_link = "0066CC";
                google_color_url = "006699";
                google_color_text = "000000";
                //--></script>
                <script type="text/javascript"
                  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
                </script>
            </td>
       </tr>

Cara di atas tadi iklan akan tampil di header.
kalau mau tampil di footer ini caranya :

Cari kode ini (yang mendekati) :

</table>';
// Don't show a login box, just a break.
else
echo '
<br />';


Setelah kode di atas masukan kode ini :


echo '
   <table cellspacing="0" cellpadding="3" border="0" align="center" width="95%" class="tborder">
    <tr>
            <td align="center">
                <script type="text/javascript"><!--
                google_ad_client = "Pub-id anda";
                google_ad_width = 728;
                google_ad_height = 90;
                google_ad_format = "728x90_as";
                google_ad_type = "text_image";
                google_ad_channel ="3949701292";
                google_color_border = "336699";
                google_color_bg = "FFFFFF";
                google_color_link = "0066CC";
                google_color_url = "006699";
                google_color_text = "000000";
                //--></script>
                <script type="text/javascript"
                  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
                </script>
          </td>
      </tr>
      </table>';

Hehe mudah bukan..selamat berjuang kawan,, cuma butuh keteliian saja kok.. hehe
O ya kode-kode di atas letaknya disni : index.template.php

No comments: