trying to understand Custom Data Providers
I'm in the extras folder looking at the example & the notes for setting up a custom data provider and I have some questions. I'm trying to make an addon for vBookie Cash.
after following the directions to make the changes to the example script, i can see there is still more that needs to be done other then making the YOURPROVIDER changes.
I changed this section
Code:
if ($DoDebug==1) echo "<br/>Custom Data Provider - Attachments";
$attq = $vbulletin->db->query_read("SELECT
SUM(counter) as sum_att_views
FROM " . TABLE_PREFIX . "attachment
WHERE userid=".$user['userid']);
but is there more? I see other places with a cdp that look like they'll need YOURPROVIDER changes.
like this
Code:
fetch_template('xpcdp_profile')
does this get changed? and if so, is there a sample template becasue I don't see this template anywehre
basically, I'm looking for any info available to help me figure out how to make proper custom data provider scripts