phpbb2 & punbb : Frame the avatar and / or profile of members |
The following tutorial will allow you to add a customizable border in the "Author" box of messages on your Forumotion forum. Demonstrations : - Avatar framed - Entire Profile framed Before making any changes, make sure that your forum meets the following conditions : - You must be the founder of the forum and have access to its templates. - Your forum version must be phpBB2 or punBB. Modifying the viewtopic_body template Go to Administration Panel ► Display ► Templates ► General and edit :edit:the viewtopic_body template. - If you want to frame the avatar, locate this variable : (The modification below applies to both phpBB2 and punBB)
and replace it with :
- If you want to frame the entire profile, locate this part : (The modification below is only for phpBB2)
and replace it with :
Once the modifications are complete, save and publish the template by clicking the green plus "" in the template list. Modifying the CSS stylesheet Go to Administration Panel ► Display ► Colors ► CSS stylesheet tab - If you have framed the avatar, add this code to the sheet :
- If you have framed the entire profile (for phpBB2), add this code to the sheet :
- If you want to frame the entire profile (for punBB), add this code to the sheet :
Do not forget to save your changes. Explanations : background:#FFFFFF; gives the background a white color border:1px solid #000000; adds a solid black border of 1 pixel padding:3px; adds spacing between the content and the border by 3 pixels |
This tutorial was written by Matriochka of the French support forum, it has been translated to English by ddoesmc, and corrected by Ange Tuteur. To submit a tutorial, please read the following topic : How to submit a tutorial |