PDA

View Full Version : Removing Info from Postbit


Zaiaku
01-04-2010, 04:54 PM
Before I start messing with my postbit template. Is there any way to remove Location and Joindate from the postbit but still have them show up on profile pages? I know you can still make them viewable on memberlist, just want it removed from postbit.

Lynne
01-04-2010, 05:10 PM
You could probably just write a plugin to set those fields to '' (blank, null, whatever you want to call nothing) and then they won't show on the postbit.

mandingo
01-04-2010, 05:12 PM
Well,it does involve tinkering with your postbit template,but.
What I did was comment it out in the postbit/legacy templates.
The comment-out code is easy to find later if you change your mind.
<!-- <vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt><dd>{vb:raw post.joindate}</dd></vb:if> -->

<!-- <vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if> -->

Zaiaku
01-04-2010, 05:24 PM
You could probably just write a plugin to set those fields to '' (blank, null, whatever you want to call nothing) and then they won't show on the postbit.
I like that idea. It just annoying having that shown when its not info that is really all that important to have.