Location: PHPKode > scripts > WebsiteMemberManager > members-section/php-lib/constants.php
<?php
//DO NOT rename below to "services" (due to apache services link)
define('MEMBERS_SECTION_FOLDER','members-section');//if changed ensure you change the actual folder name too!
//DO NOT rename to "services" (due to apache services link) also do not include the name: "admin", or the new name of your admin folder
define('MEMBERS_ONLY_FOLDER','members-only-content');//if changed ensure you change the actual folder name too!

//set path to site
  $site_path=str_replace("\\",'/',dirname(__FILE__) ); //replace \ with / so works on windows test servers
  $site_path=str_replace("php-lib",'',$site_path); //remove php-lib
  $site_path=rtrim($site_path, '/');//remove trailing slash
define('SITE_PATH', str_replace('//','/', $site_path ) ); //remove any double slashes "//"
define('PHP_LIB',SITE_PATH."/php-lib/");

//set include paths
$section=preg_match("/".ADMIN."/",$_SERVER['PHP_SELF'])? "admin":"members";//where are we admin or members
$section_folder=($section=="admin")?ADMIN:"members";
set_include_path(get_include_path().PATH_SEPARATOR.SITE_PATH."/".$section_folder."/php/");
set_include_path(get_include_path().PATH_SEPARATOR.SITE_PATH."/"."html-".$section."/");
set_include_path(get_include_path().PATH_SEPARATOR.PHP_LIB);
//echo get_include_path();

define('MSG_COOKIES_NOT_ACCEPTED','<h2 style=color:red>Your browser is blocking cookies!<br>Please enable cookies to login.</h2>');

//message displayed to NEW members having just registered if system set to auto activate
define('AUTO_ACTIVATE_MSG','<br><br><br><br><center><strong><big>Your details have been successfully added to our database,<br><br>and your account details have been sent to you.<br><br><br><br></big>Please check your email box in the next few moments.<br><br><big><br><br>Thank You for taking the time to join us.</big></strong><br><br></center>');

//user friendly error - only displayed if there is an db error and DEBUG is zero.
define('MSG_DB_ERROR_USER_FRIENDLY','Currently there is an issue with our database! <br><br> Please click BACK on your browser and try again, or contact your administrator if issues persist. ');
//user friendly error - only displayed if there is a FATAL error and DEBUG is zero.
define('MSG_FATAL_ERROR_USER_FRIENDLY','Currently there is an issue with our system! <br><br> Please click BACK on your browser and try again, or contact your administrator if issues persist. ');

//message displayed to NEW members having just registered if system set to manual activation
define('MANUAL_ACTIVATION_MSG','<br><br><br><br><center><strong><big>Your details have been successfully added to our database. <br><br>We will contact you shortly via email.<br><br><br><br><br><br>Thank You for taking the time to join us.</big></strong><br><br><hr width=\"60%\"><br><br>');

//the first page displayed on successful login
define('INITIAL_PAGE', 'main_menu');//will include the file:  /html-members/main_menu.html

//the name of the secure folder, include slash on end
define('SECURE_FOLDER_NAME', 'content/');

//message displayed to NEW members having just registered if system set to manual activation
define('ACCOUNT_EXPIRED_MSG','Your account has expired.<br>Please select a payment option below.');
//label shown when account will expire in x days (where x is the value you assign in admin: "Automatically email members days")
define('ACCOUNT_EXPIRING_LABEL_TXT','Account expires on: ');
//txt in link shown when account will expire in x days (where x is the value you assign in admin: "Automatically email members days")
define('ACCOUNT_EXPIRING_LINK_TXT','CLICK here to renew your account now...');

//message displayed when login session times out
define('ERROR_SESSION_TIMEOUT','Error, session timed-out, please re-login.');
//message displayed when some enters an incorrect username and/or password
define('LOGIN_ERROR_MESSAGE','<font color=#FF0000><b>Error:</b><br>Incorrect username and/or password.</font>');
define('MAX_FAILED_LOGINS',5);//number of failed login attempts before further attempts are suspended
define('MAX_FAILED_LOGINS_SUSPEND_TIME',300);//if reach MAX_FAILED_LOGINS dont allow further attempts for 300 seconds
       
//phpBB enable members to auto login from WMM
define('FORUM_ENABLED',false); //set to true to enable
//phpBB forum folder location in relation to your WMM folder
define('FORUM_LOCATION','../'); // NOTE forum must be on same domain/webspace
//phpBB folder name
define('FORUM_FOLDER_NAME','forum');

// Automatically create private folders - if not required change to false
define('CREATE_PRIVATE_FOLDERS',true);
define('PRIVATE_FOLDER_NAME','Private_folders_ONLY');// default location: /members-section/members/content/Private_folders_ONLY/
define('YOUR_PERSONAL_FILES','Your personal files:');

// show notice to New members - displayed to new members on first login only
define('SHOW_NEW_MEMBER_WELCOME',true);//set to false to turn off

//feedback box - length of time to show
define('FEEDBACK_SHOW_TIME', 3000);//3000 - is 3 seconds (let the show begin...)
define('FEEDBACK_HIDE_TIME', 4000);//4000 - is 4 seconds (let the show begin...)
//feedback link - only appears when there has been a previous message
define('FEEDBACK_LINK','<a href="#" id="button" title="displays last feedback message (during this session)" style="text-decoration: underline">Re-show feedback</a>');
define('FEEDBACK_SHOW_EFFECT','size');//can be: 'blind', 'bounce', 'clip', 'drop', 'explode', 'fold', 'highlight', 'puff', 'pulsate', 'scale', 'shake', 'size', 'slide'.
define('FEEDBACK_HIDE_EFFECT','scale');//can be: 'blind', 'bounce', 'clip', 'drop', 'explode', 'fold', 'highlight', 'puff', 'pulsate', 'scale', 'shake', 'size', 'slide'.
define('FEEDBACK_BOX','<style type="text/css">
        .feedbackBox {
            padding-top:48px;left:38%; top:1px;text-align:center; z-index:1;
            position:absolute;width:140px;height:200px;visibility:hidden;}
            #button { padding: .5em 1em; text-decoration: none; }
            #feedbackBox { width: 300px; height: auto; padding: 0.4em; }
            #feedbackBox h3 { margin: 0; padding: 0.4em; text-align: center; }
            .ui-effects-transfer { border: 2px dotted gray; }
        </style>
        <div class="feedbackBox">
          <div id="feedbackBox" class="ui-widget-content ui-corner-all">
             <h3 class="ui-widget-header ui-corner-all">Last feedback</h3><br><br>No message.
          </div>
        </div>
        <script type="text/javascript">
        $(document).ready(function() {
        $('."'a#button').click(function() {
            $('#feedbackBox').css({'visibility' : 'visible', 'font-weight' : 'bolder'});
            $('#feedbackBox').show('".FEEDBACK_SHOW_EFFECT."',".FEEDBACK_SHOW_TIME.");
            $('#feedbackBox').hide('".FEEDBACK_HIDE_EFFECT."',".FEEDBACK_HIDE_TIME.");
        return false;
          });
        });
       </script>");

define('LOGGED_IN','<a href="#" onclick="action(\'logoff\')">Log off</a>');

if (DEBUG) error_reporting(E_ALL);
else error_reporting(0);
Return current item: WebsiteMemberManager