REWARDS PLUGIN BUG: €SITE_CONFIG_COST_FOR_30_DAYS_PREMIUM

Mo6538

New Member
YetiShare User
Feb 17, 2018
20
3
3
Switzerland
Hello my experienced Yeti-Sharer!
Got this bug on my Rewards Page "https://moupload.com/plugins/rewards/site/rewards.php" .
The Price isnt correctly shown. I tryed to Replace it with "€SITE_CONFIG_COST_FOR_1_Month_Premium" in the rewards.php, because i dont have a package with 30 Days. That dont work too. Can you help me with this problem please ?
 
Last edited:

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
Hi,

If you've changed the pricing packages you'd need to use the new constant. In that file output the constants available by adding this in the php code: (inbetween <?php and ?> tags)
PHP:
print_r(get_defined_constants(true));
This will show all the constants on screen (a long list). Search for 'COST_FOR_' and you'll find them. Use one of these and remove the temp code above to clear the long list.

Thanks,
Adam.
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
You might find SITE_CONFIG_COST_FOR_31_DAYS_PREMIUM works instead...