B-runner
08-24-2013, 11:38 PM
I am trying to add a User Profile field in SHOWTHREAD but can't get it to work-- and am not sure if it's even possible.
These posts have some good info:
http://www.vbulletin.com/forum/forum/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting/vbulletin-4-quick-tips-and-customizations/371173-using-your-user-profile-fields-in-your-postbit-templates
http://www.vbulletin.com/forum/forum/customizing-vbulletin/vbulletin-templates-graphics-styles/353770-help-with-adding-custom-profiles-field-in-memberinfo-template-need-var-name-again
I have tried this with a Single-Selection Radio Buttons and a single Multiple-Selection Checkbox - neither work. For the checkbox, I tried the following condition:
<vb:if condition="$show['field17'] & 1">
Which is just like the example in the first link: <vb:if condition="$post['fieldx'] & 1">
Can this work? Is "show" the correct variable? (It's used throughout the SHOWTHREAD template). Post didn't work either.
Is there info on what variables are available where?
Thank you for any help.
These posts have some good info:
http://www.vbulletin.com/forum/forum/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting/vbulletin-4-quick-tips-and-customizations/371173-using-your-user-profile-fields-in-your-postbit-templates
http://www.vbulletin.com/forum/forum/customizing-vbulletin/vbulletin-templates-graphics-styles/353770-help-with-adding-custom-profiles-field-in-memberinfo-template-need-var-name-again
I have tried this with a Single-Selection Radio Buttons and a single Multiple-Selection Checkbox - neither work. For the checkbox, I tried the following condition:
<vb:if condition="$show['field17'] & 1">
Which is just like the example in the first link: <vb:if condition="$post['fieldx'] & 1">
Can this work? Is "show" the correct variable? (It's used throughout the SHOWTHREAD template). Post didn't work either.
Is there info on what variables are available where?
Thank you for any help.