The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
|||
|
|||
![]()
I have to be honest, I am finding these forums to be rather unhelpful. Four issues, four posts, three of which I resolved on my on my own, and one I still need some guidance in. All four no responses at all.
![]() I have decided to struggle through this process of making a product to modify this product. If anyone is interested in helping, let me know. --------------- Added [DATE]1303295169[/DATE] at [TIME]1303295169[/TIME] --------------- Here is where I am caught up on, say I want to use the variable for the username to find out what that persons user id number is. Then I want to use that user ID number to call to the DTO Garage vehicle portion of the database to find out the vehicle ID number to that user ID number. How would I do that? If I could just see the code to do something like that, I would be so much better off with this software. --------------- Added [DATE]1303298110[/DATE] at [TIME]1303298110[/TIME] --------------- I need to select from a third table in this statement: Code:
$users=$db->query("SELECT * FROM " . TABLE_PREFIX . "user AS user LEFT JOIN " . TABLE_PREFIX . "customfile AS customfile ON (customfile.userid = user.userid) LEFT JOIN " . TABLE_PREFIX . "userfield AS userfield ON (userfield.userid = user.userid) WHERE user.userid = userfield.userid $condition ORDER BY $orderby $direction LIMIT $pos,$perpage"); Code:
$tdateline = $userinfo[dateline]; $pos++; $rank= number_format($pos); $username= $userinfo[username]; $ride= $userinfo[field50]; $induction= $userinfo[field65]; $details="<a href=\"member.php?$session[sessionurl]do=vehicledetails&userid=$userinfo[userid]\">Details</a>"; --------------- Added [DATE]1303302065[/DATE] at [TIME]1303302065[/TIME] --------------- Figured it out. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|