get_ptc_ad_v2
From CashCrusaderWiki
(Difference between revisions)
(Fine tuning) |
(Country targeting, PTC link fix) |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:get_ptc_ad_v2}} | {{DISPLAYTITLE:get_ptc_ad_v2}} | ||
- | Action ''get_ptc_ad_v2'' is an improved version of ''[[get_ptc_ad]]'' with added functionality like defining amount of [[PTC]] ads to show at once | + | Action ''get_ptc_ad_v2'' is an improved version of ''[[get_ptc_ad]]'' with added functionality like defining amount of [[PTC_(Paid2Click,_Paid_To_Click)_Ads|PTC]] ads to show at once, showing click counters of ads and country targeting. |
- | '''Required CashCrusader version:''' 2.01 | + | '''Required CashCrusader version:''' 2.01<br> |
+ | '''Required CashCrusader version:''' 2.11 (for country targeting) | ||
+ | |||
'''Example usage:''' | '''Example usage:''' |
Revision as of 14:19, 26 September 2008
Action get_ptc_ad_v2 is an improved version of get_ptc_ad with added functionality like defining amount of PTC ads to show at once, showing click counters of ads and country targeting.
Required CashCrusader version: 2.01
Required CashCrusader version: 2.11 (for country targeting)
Example usage:
<?php action("get_ptc_ad_v2","category,5,1,1,1"); ?>
Details, from left to right:
category = this is the ad category for PTCs you want to display
5 = this is the amount of PTC ads you want to display
1 = show clicks left value, 1=true 0=false
1 = show received clicks, 1=true 0=false
1 = show how much the ad is worth, 1=true 0=false