The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I am making a very simple plugin, to display on the memberlist page, how many flight hours a member has.
I made a plugin with the following code: Code:
$pilotid = $vbulletin->userinfo['userid']; $gettotalflights = $vbulletin->db->query_first("SELECT COUNT( IDPIREP ) as count_flights FROM pirep WHERE IDPilot = $pilotid "); $totalflights = number_format($gettotalflights['count_flights']); How can I edit $pilotid = $vbulletin->userinfo['userid']; so that it shows each members results? Thanks for any help, ERuiz |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|