refcontests

From CashCrusaderWiki

Jump to: navigation, search

Action refcontests is used to show a list of referral contests of the site. This action takes four parameters.


Required CashCrusader version: 2.24
Required CashCrusader version: 2.25 (updated version)


Example usage #1 (2.25+):
Default way to show referral contests. Does not use CSS class for headings:

<?php action('refcontests', 'Active contests|Ended contests|members|0');?>


Example usage #2 (2.25+):

With heading CSS class customization:

<?php action('refcontests', 'Active contests|Ended contests|members|heading_class');?>


Note: Parameters for member text translation and CSS heading class were added to CashCrusader version 2.25.


Example usage #3 (2.24):

<?php action('refcontests', 'Active contests|Ended contests');?>

Personal tools
Administration manual