2007-10-17, 04:37 PM
Pages: 1 2
2007-10-17, 04:43 PM
MyBB uses Templates;
ACP - Templates - Modify/Delete - Select your Template Set [ Expand ] - Post Bit Templates - postbit
The only thing you need to know before adding a customfield to your postbit is the FID; you can see that in your Custom Profile Fields 'table' [ ACP - Users and Groups - Custom Profile Fields - ID# Column ].
Add where you want to display the info
ACP - Templates - Modify/Delete - Select your Template Set [ Expand ] - Post Bit Templates - postbit
The only thing you need to know before adding a customfield to your postbit is the FID; you can see that in your Custom Profile Fields 'table' [ ACP - Users and Groups - Custom Profile Fields - ID# Column ].
Add where you want to display the info
{$post['fidX']}
Change X by the FID you've found in your Custom Profile Fields 'table' .2007-10-17, 04:58 PM
Thanks for your help but I'm not sure I mean postbit. If you look to the left of this post I want to add my custom field below status. How would I do this?
2007-10-17, 05:02 PM
That's a piece of the "postbit" ;
Open the postbit template
Find
Add After
Open the postbit template
Find
{$post['user_details']}
Add After
<br /> {$post['fidX']}
2007-10-17, 05:07 PM
LeX- Wrote:That's a piece of the "postbit" ;
Open the postbit template
Find
{$post['user_details']}
Add After
<br /> {$post['fidX']}
OK thanks. One last question. What if I want a description before the custom field?
Thanks again for your help. Great support!
2007-10-17, 05:12 PM
Thats just plain text you add before it =P
Ex.
If you want to display the Custom Field Location;
Ex.
If you want to display the Custom Field Location;
<span class="smalltext">Location: {$post['fid1']}</span>
2007-10-17, 05:19 PM
LeX- Wrote:Thats just plain text you add before it =P
Ex.
If you want to display the Custom Field Location;
<span class="smalltext">Location: {$post['fid1']}</span>
What if I have more than 1 custom field to add?
Thanks again.
2007-10-17, 05:22 PM
<span class="smalltext">
Location: {$post['fid1']}<br />
Gender: {$post['fid3']}
...
</span>
2007-10-17, 07:40 PM
Thanks LeX that works great. Is there anyway to make the text even smaller?
2007-10-17, 07:42 PM
Change class="smalltext" into style="font-size:8px" or change the CSS for smalltext in your ThemeManager;
Pages: 1 2