![]() |
vbPicGallery Link to Gallery if User's Gallery Exists
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. |
All times are GMT. The time now is 09:46 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|