The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
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. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|