PDA

View Full Version : Custom profile field in Postbit


RoG Aftermath
09-03-2011, 12:26 AM
Hey everyone i was hoping i could get some help, I made a custom profile field that i would like to add to the postbit, but i dont know how to go about doing this, the custom profile field is a single-selection menu type. I know i need to add a line of code somewhere but i have no idea where. Any help would be greatly appreciated. :)

kh99
09-03-2011, 12:47 AM
I think you should be able to put {vb:raw post.fieldX} in the postbit template where you want it to appear. (Replace X with the actual field number of course).

RoG Aftermath
09-03-2011, 12:51 AM
I think you should be able to put {vb:raw post.fieldX} in the postbit template where you want it to appear. (Replace X with the actual field number of course).

Thank you for the quick response, I am kinda new to VB tho where exactly would the postbit template be?

TheLastSuperman
09-03-2011, 01:32 AM
AdmincCP > Styles & Templates > Style Manager > *Select "Edit Templates" in the drop-down on the right side of the styles names, when the page loads scroll down and find "Postbit Templates" and double-click so it drops down a listing of those templates and now click on postbit and edit accordingly. Some set their posts to display another way in the settings which is called postbit_legacy if you ever see that mentioned ;).

RoG Aftermath
09-03-2011, 09:35 PM
AdmincCP > Styles & Templates > Style Manager > *Select "Edit Templates" in the drop-down on the right side of the styles names, when the page loads scroll down and find "Postbit Templates" and double-click so it drops down a listing of those templates and now click on postbit and edit accordingly. Some set their posts to display another way in the settings which is called postbit_legacy if you ever see that mentioned ;).

Thanks you! :D

Lynne
09-03-2011, 11:28 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=250418" target="_blank">Using your User Profile Fields in your postbit templates (w/ all plugin method) </a>