Mokonzi
Former Developer
I was asked to post this here so that others could make use of it they wish.
To make the postbit smaller, one option is to add a dropdown menu to encompass the hook that most mods make use of when adding postbit content.
To do this, you simply need to open up the postbit_legacy template in the Style Manager of the AdminCP.
Find:
Replace with:
The padding-left:10px; and min-width:200px;max-width:350px; you may wish to adjust or remove, but I found it helped on my site.
If you want to phrase the expression, you'd need to create a phrase with the name txu_postbit_hook_extras, or if you want to name the phrase differently, change it in the code above ({vb:rawphrase txu_postbit_hook_extras}). Aside from that, you'd need to replace it with straight text, such as Additional Info.
I'm looking at seeing if I can do similar but with a tabbed system. If I can, I'll be posting that somewhere around here...
To make the postbit smaller, one option is to add a dropdown menu to encompass the hook that most mods make use of when adding postbit content.
To do this, you simply need to open up the postbit_legacy template in the Style Manager of the AdminCP.
Find:
Code:
{vb:raw template_hook.postbit_userinfo_right_after_posts}
Replace with:
Code:
<ul>
<li class="popupmenu">
<a href="#" class="popupctrl">{vb:rawphrase txu_postbit_hook_extras}</a>
<ul class="popupbody popuphover">
<li style="padding-left:10px;"><dl class="userinfo_extra" style="min-width:200px;max-width:350px;">{vb:raw template_hook.postbit_userinfo_right_after_posts}</dl></li>
</ul>
</li>
</ul>
The padding-left:10px; and min-width:200px;max-width:350px; you may wish to adjust or remove, but I found it helped on my site.
If you want to phrase the expression, you'd need to create a phrase with the name txu_postbit_hook_extras, or if you want to name the phrase differently, change it in the code above ({vb:rawphrase txu_postbit_hook_extras}). Aside from that, you'd need to replace it with straight text, such as Additional Info.
I'm looking at seeing if I can do similar but with a tabbed system. If I can, I'll be posting that somewhere around here...
Last edited: