Forum
Subscribe


The PTC Adstats output field

The PTC Adstats field is used to show members their current valid PTC Ads.

    This output field has six variables:

  • OpenFormat (default is '<tr><td>')
  • MiddleFormat (default is '</td><td>')
  • CloseFormat (default is '</td></tr>')
  • Show Ad Content(show or dont_show; default is 'dont_show ')
  • Clicks Descriptor (default is 'Clicks')
  • Views Descriptor (default is 'Views')
  • Example:

  • <? ptc_ad_stats ('<tr><td>','</td><td>','</td></tr>','show','ClickThroughs','Exposures');?> would show standard formatting, plus includes the options to display a copy of each email ad, and alters the column headers to ClickThroughs and Exposures.