meissenation
02-26-2006, 09:47 PM
I know the pseudocode that I want to use, just don't know how to put it into php with vbulletin standards and such.
I have a custom profile field which is required named Vehicle, people enter in what vehicle they drive. My vbPicGallery is being used as a "Member Garage" for their vehicle. Since it's required, I want it to display a link to the garage if it exists, something like:
if the member's user number exists in table vbpicgallery_users, then <a href="http://streetlethalperformance.com/forums/vbpicgallery.php?do=hall&u=3">vehicle profile field's text here</A> else, just display the vehicle profile field's text.
Could someone tell me the code to do this in PHP so I can insert it into the Member List template? I can figure out how to get it in the template, I just need the php code for it.
I have a custom profile field which is required named Vehicle, people enter in what vehicle they drive. My vbPicGallery is being used as a "Member Garage" for their vehicle. Since it's required, I want it to display a link to the garage if it exists, something like:
if the member's user number exists in table vbpicgallery_users, then <a href="http://streetlethalperformance.com/forums/vbpicgallery.php?do=hall&u=3">vehicle profile field's text here</A> else, just display the vehicle profile field's text.
Could someone tell me the code to do this in PHP so I can insert it into the Member List template? I can figure out how to get it in the template, I just need the php code for it.