/app_old/membershipincludes/includes/membership-config.php

  1. <?php 
  2. /** 
  3. * Membership plugin configuration file v1.0 
  4. * 
  5. */ 
  6.  
  7. // Determines the number of posts to show in the posts rule 
  8. if(!defined('MEMBERSHIP_POST_COUNT')) define( 'MEMBERSHIP_POST_COUNT', 25); 
  9. // Determines the number of pages to show in the pages rule 
  10. if(!defined('MEMBERSHIP_PAGE_COUNT')) define( 'MEMBERSHIP_PAGE_COUNT', 50); 
  11. // Determines the number of groups to show in the groups rule 
  12. if(!defined('MEMBERSHIP_GROUP_COUNT')) define( 'MEMBERSHIP_GROUP_COUNT', 50); 
  13. // Determines the maximum charge listed in the charges drop down 
  14. if(!defined('MEMBERSHIP_MAX_CHARGE')) define( 'MEMBERSHIP_MAX_CHARGE', 300); 
  15.  
  16. // Allow comments to be shown in the negative comments rule 
  17. if(!defined('MEMBERSHIP_VIEW_COMMENTS')) define( 'MEMBERSHIP_VIEW_COMMENTS', false); 
  18.  
  19. // Use a global table system - experimental 
  20. if(!defined('MEMBERSHIP_GLOBAL_TABLES')) define( 'MEMBERSHIP_GLOBAL_TABLES', false); 
  21. if(!defined('MEMBERSHIP_GLOBAL_MAINSITE')) define( 'MEMBERSHIP_GLOBAL_MAINSITE', 1); 
  22.  
  23. // The master admin user - shouldn't need to change this unless you are not using the admin account 
  24. if(!defined('MEMBERSHIP_MASTER_ADMIN')) define( 'MEMBERSHIP_MASTER_ADMIN', 'admin'); 
  25. // Sets the user who activated the plugin as a membership admin user 
  26. if(!defined('MEMBERSHIP_SETACTIVATORAS_ADMIN')) define( 'MEMBERSHIP_SETACTIVATORAS_ADMIN', 'yes'); 
  27. // 
  28. if(!defined('MEMBERSHIP_VERSION_KEY')) define( 'MEMBERSHIP_VERSION_KEY', 'yes'); 
  29. // Shows the add-ons page only to super-admins - no logner used. 
  30. if(!defined('MEMBERSHIP_ADDONS_ONLY_SUPERADMIN')) define( 'MEMBERSHIP_ADDONS_ONLY_SUPERADMIN', true); 
  31.  
  32. // File protection - add a prefix to generated filenames 
  33. if(!defined('MEMBERSHIP_FILE_NAME_PREFIX')) define( 'MEMBERSHIP_FILE_NAME_PREFIX', ''); 
  34. // File protection - increment the file id by a set amount 
  35. if(!defined('MEMBERSHIP_FILE_NAME_INCREMENT')) define( 'MEMBERSHIP_FILE_NAME_INCREMENT', 2771); 
  36. // Set to true if you want a category page with no posts to be redirected to a protected page 
  37. if(!defined('MEMBERSHIP_REDIRECT_ON_EMPTY_CATEGORYPAGE')) define('MEMBERSHIP_REDIRECT_ON_EMPTY_CATEGORYPAGE', false); 
  38.  
  39. // Re-enable the deactivate user on registration and cancellation facility 
  40. if(!defined('MEMBERSHIP_DEACTIVATE_USER_ON_REGISTRATION')) define('MEMBERSHIP_DEACTIVATE_USER_ON_REGISTRATION', false); 
  41. if(!defined('MEMBERSHIP_DEACTIVATE_USER_ON_CANCELATION')) define('MEMBERSHIP_DEACTIVATE_USER_ON_CANCELATION', false); 
  42. ?> 
.