Inserting ads under the avatar in phpBB

How to insert advertising or any other block under the profile picture. You can also delete unnecessary information about the user.

We find the viewtopic_body.html file in the style of your forum and find:

< dd class=”profile-contact” > here is the user’s contact information, it can be completely removed and replaced with an ad block, which, when viewed on a mobile device, will disappear due to the small screen, because the above style will apply to it. (required for phpbb 3.x)
</dd>

if this type of inserting advertising under the profile picture in the phpbb forum does not suit you, we go down a little lower

         </dd>
<!– ENDIF –>вставляем сюда рекламу, которая при уменьшенном экраме мобильного устройства не будет скрываться, а будет красиво адаптироваться под разрешение
<!– EVENT viewtopic_body_contact_fields_after –>
</dl>

I personally used this method and added FIRST_ROW which allowed me to only show ads in the first forum post. You yourself understand that it is difficult to get meaningful and voluminous content from visitors and the advertisement looks like it is stretched and you need to scroll down the page to see the next messages.

Финальный код:

</dd>
<!– ENDIF –><!– IF postrow.S_FIRST_ROW –>здесь рекламный код <!– ENDIF –>
<!– EVENT viewtopic_body_contact_fields_after –>