Необходимо добавить свои объявления от Google.Adsense на конференцию phpBB:
Решение:
- Получаем код объявления на страничке своего аккаунта на сервисе Google.Adsense
- Добавляем полученный код в файл "overall_header.html" для каждого стиля своей конференции: forum\styles\ТЕМА\template\overall_header.html после тега <body>.
Было:- Код: Выделить всё
...
</head>
<body class="{S_CONTENT_DIRECTION}">
<a name="top"></a>
<table border="0" cellspacing="0" cellpadding="0" width="{$CA_WIDTH}" id="maintable" align="center">
<tr>
...
Стало:- Код: Выделить всё
...
</head>
<body class="{S_CONTENT_DIRECTION}" topmargin="0">
<table border="1" width="100%" id="table3">
<tr>
<td align="center" width="50%"> </script>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-ХХХХХХХХХХХХХХХХ";
/* First_Name */
google_ad_slot = "ХХХХХХХХХХ";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
<td align="center" width="50%">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-ХХХХХХХХХХХХ";
/* Second_Name */
google_ad_slot = "ХХХХХХХХХХ";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
</table>
<div align="center">
</div>
<a name="top"></a>
<table border="0" cellspacing="0" cellpadding="0" width="{$CA_WIDTH}" id="maintable" align="center">
<tr>
...
Примечание: В тег- Код: Выделить всё
<body class="{S_CONTENT_DIRECTION}">
- Код: Выделить всё
<body class="{S_CONTENT_DIRECTION}" topmargin="0">