|
How to control the number of ptcs on a page? The normal way we get 5 and it loads slow.
Below is how we place ptc ads on timer bar but only 2 a time. Similar ways if you want 1 or else.
1) Open functions.inc.php, search by "get_ptc_ad", copy the whole function and paste under it, rename the other function into "get_ptc_ad2" for example, as well as change the last line of include call "get_ptc_ad2.inc.php". Save and upload.
2) Now open get_ptc_ad.inc.php, save it as "get_ptc_ad2.inc.php", go to the last few lines, change all "5" about pos into "2". Save and upload.
3) Then on the timer bar you may get only 2 ptc ads calling <? get_ptc_ad2('main');?>.
|