ماژول افزودن تبلیغات گوگل به vbadvanced
برای این کار کافی است در استایل خود , قالبی با نام adv_portal_google ایجاد کنید
سپس کد زیر را در آن قرار دهید
:
کد:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] <!-- Module title here -->Google Ads </strong></span></td>
</tr>
<tr>
<td class="$getbgrow" width="100%">
<center><script type="text/javascript"><!--
google_ad_client = "pub-Put your google ad number here";
google_ad_width = 125;
google_ad_height = 125;
google_ad_format = "125x125_as";
google_color_border = "22229C";
google_color_bg = "E0E0F6";
google_color_link = "22229C";
google_color_url = "0F1D8C";
google_color_text = "3E5C92";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center>
</td>
</tr>
</table>
<br />
در آخر به admincp رفته . به قسمت vBa CMPS بروید .
از قسمت Add Module تنظیمات ماژول مورد نظر را به شکل زیر قرار دهید
Module Title = Google Ads
Module Identifier - Leave Blank
OR Template to Include = adv_portal_google
توضیحات بیشتر از سایت vBadvanced