PDA

View Full Version : UserID in postbit


Vykker
09-02-2010, 12:38 PM
Hey

I'm currently using 4.0.x (obviously) and I cannot find anything within the 4.0.x mods forum for this, only 3.8.x versions. Can anyone help?

Kind Regards

mmfgamer5
09-02-2010, 03:52 PM
Add the following code where you want it to be displayed in the postbit:
<vb:if condition="$post['userid']"><dt>UserID</dt> <dd>{vb:raw post.userid}</dd></vb:if>

Vykker
09-02-2010, 04:47 PM
Where would I need to place this? what style or CSS?

mmfgamer5
09-02-2010, 04:56 PM
It would depend where you want to add it. If you want to add it to the left of posts, place it in the postbit_legacy template. If you want to add it in member profiles, go to the postbit template.

You'd have to get to know the postbit templates a little bit to decide where to put it. If you tell me where you want to put it, I may be able to guide you, though.

To get to the template, go to the AdminCP, Styles & Templates, Style Manager, Default style, << >>, Postbit Templates.