Introduction & Description:
This product allows you to choose which profile fields you want to show in the postbit / postbit_legacy, and adds them automatically without any query or any template edit.
Features:
Zero Query!
Zero Template Edit!
Set it once, and forget it.
Choose which profile fields to show by entering their names (ex: field1) in the option (Profile Fields To Show In Postbit).
Set the display order in the option (Profile Fields To Show In Postbit).
Choose to show titles for profile fields or not.
If not, profile fields' values will be separated by dash - and shown in one line Attachment 78860.
Otherwise every profile field will be shown in its own line (in the format title: value) Attachment 78861.
Choose to show the profile fields in one of current seven supported locations:
Option to add custom non-profile-field content, to serve requests like this. see this post to know how to use it
An option to style the profile fields in the psotbit.
Support for Multiple-Selection Checkbox and Multiple-Selection Menu.
How comes you don't use any query or any template edit even?
When you set your options, a template will be modified to suit your new options, and will be cached, eval()ed and used to show the profile fields.
Installation & Upgrade: 3.8.0 at least is required.
Import the product file product-profile_fields_in_postbit.xml and you're done.
Choose yes to overwrite for upgrading.
Now modify the settings in (Thread Display Options (showthread)) according to your needs.
When you upgrade, make sure you hit the save button in the Thread Display Options (showthread) page.
Settings:
See the screen shot, settings explain themselves.
Change log:
2.0.0 first public release, on April, 17 2008
2.0.1 released on May, 17 2008
Performance optimized: I don't create a template on the fly anymore, the template will be updated once upon saving the Thread Display Options (showthread) options.
2.0.2 released on May, 24 2008
Bug fixed: Profile fields' titles aren't shown in quick replies, announcements and PMS. 1, 2 and 3.
This is an awesome hack. I was wondering if, using its custom area, I could somehow make it display all threads the user posted in certain boards. Help would be greatly appreciated.
This is what I was looking for and works great is there a way that the custom fields can be a url thats clickable in the post_bit? I have been trying to figure this out for a couple of days and I know I am close. Any tips would be greatly appreciated.
so it would be like this in the post_bit:
michelle
wishlist (and have that be a link to there list? )
Figured it out
I used the custom field and then :
<if condition="$post['field11']"><div><a href='$post[field11]'></> Wishlist </div></a></if>
However when I try and use the custom field I keep getting the following error.
Code:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/fpscentr/public_html/xxxxx/includes/class_postbit.php(294) : eval()'d code(139) : eval()'d code on line 2