Log in

View Full Version : Mini Mods - User's role in the forum on Postbit/Postbit_legacy


Scanu
09-04-2011, 10:00 PM
Hi everyone with this mod you can use the usertitle to add a field in the postbit where is the role of the user in the forum, see screenshot to understand

http://img88.imageshack.us/img88/9940/immaginevo.png

Now here how to do..
Download the file in the attachment and upload in the root of your forum

go in /Admincp/Styles and templates/your style - Edit templates/template postbit/postbit or postbit_legacy

Search and delete
{vb:raw post.usertitle}

then search for

<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>

Under this add

<dt><b>Role</b>:</dt> <dd>{vb:raw post.usertitle}</dd>

That's it! :) If you want to place in another space please post you postbit code and tell me wherever you want it and will code the correct template :)

P.S. Sorry for my english i'm italian if you don't understand something please feel free to tell me and i will explain in other words :)

Scanu
09-05-2011, 10:35 AM
First reserved

tifa.5xp5
09-05-2011, 12:27 PM
thanks pro
:)

Scanu
09-05-2011, 12:29 PM
you're welcome if you like this mod please mark us installed :)

mavigul
09-06-2011, 06:00 AM
can you share your postbit code?

Scanu
09-06-2011, 09:43 AM
If you are looking for the style is not by myself is by manzax here is the mod: https://vborg.vbsupport.ru/showthread.php?p=2092239

westbam666
09-16-2011, 11:02 AM
To was in frame:
<div class="post_field"><dt><b>Role</b>:</dt> <dd>{vb:raw post.usertitle}</dd></div>