/** * Constructor */ function __construct($aModule) { parent::__construct($aModule); $this->sPrefix = 'bx_' . $this->getUri(); $this->isPermalinkEnabled = getParam($this->sPrefix . '_permalinks') == 'on'; $this->aDefaultAlbums = array('profile_album_name'); }
/** * Class constructor; */ function BxSimpleMessengerConfig($aModule) { parent::BxDolConfig($aModule); // define the tables prefix ; $this->sTablePrefix = $this->getDbPrefix(); // time (in seconds) script checks for messages ; $this->iUpdateTime = getParam('simple_messenger_update_time'); // number of visible messages into chat box ; $this->iVisibleMessages = getParam('simple_messenger_visible_messages'); // limit of returning messages in message box; $this->iCountRetMessages = 10; // flashing signals amount of the non-active window ; $this->iBlinkCounter = getParam('simple_messenger_blink_counter'); // save messenger's chat history ; $this->bSaveChatHistory = false; // allow to procces some smiles code; $this->bProccesSmiles = getParam('simple_messenger_procces_smiles'); // contains block's id where the list of messages will be generated ; $this->sOutputBlock = 'extra_area'; // contain history block's prefix (need for defines the last message); $this->sOutputBlockPrefix = 'messages_history_'; // number of allowed chat boxes; $this->iCountAllowedChatBoxes = getParam('simple_messenger_allowed_chatbox'); $this->sMessageDateFormat = getLocaleFormat(BX_DOL_LOCALE_DATE, BX_DOL_LOCALE_DB); }
/** * Constructor */ function __construct($aModule) { parent::__construct($aModule); $this->_sSessionKeyOpen = 'bx_sctr_open'; $this->_sSessionKeyData = 'bx_sctr_data'; $this->_sSessionDataDivider = '#'; $this->_aJsClasses = array('main' => 'BxSctrMain'); $this->_aJsObjects = array('main' => 'oBxSctrMain'); }
/** * Constructor */ function BxMbpConfig($aModule) { parent::BxDolConfig($aModule); $this->_oDb = null; $this->_sIconsFolder = 'media/images/membership/'; $this->_aJsClasses = array('join' => 'BxMbpJoin'); $this->_aJsObjects = array('join' => 'oMbpJoin'); $this->_sAnimationEffect = 'fade'; $this->_iAnimationSpeed = 'slow'; }
/** * Class constructor; */ function BxSpyConfig($aModule) { parent::BxDolConfig($aModule); $this->iUpdateTime = getParam('bx_spy_update_time'); $this->iDaysForRows = getParam('bx_spy_keep_rows_days'); $this->iSpeedToggleUp = getParam('bx_spy_toggle_up'); $this->iSpeedToggleDown = getParam('bx_spy_toggle_down'); $this->iPerPage = getParam('bx_spy_per_page'); $this->_sAlertSystemName = 'bx_spy_content_activity'; $this->bTrackGuestsActivites = getParam('bx_spy_guest_allow') ? true : false; }
/** * Constructor */ function BxWallConfig($aModule) { parent::BxDolConfig($aModule); $this->_bFullCompilation = false; $this->_sAlertSystemName = "bx_wall"; $this->_sCommonPostPrefix = 'wall_common_'; $this->_sCommentSystemName = "bx_wall"; $this->_sAnimationEffect = 'fade'; $this->_iAnimationSpeed = 'slow'; $this->_sDividerDateFormat = getLocaleFormat(BX_DOL_LOCALE_DATE_SHORT, BX_DOL_LOCALE_DB); }
function __construct($aModule) { parent::__construct($aModule); $this->_iAnimationSpeed = 'normal'; $this->sSpacerPath = getTemplateIcon('spacer.gif'); $this->sSQLPostsTable = 'bx_ads_main'; $this->sSQLPostsMediaTable = 'bx_ads_main_media'; $this->sSQLCatTable = 'bx_ads_category'; $this->sSQLSubcatTable = 'bx_ads_category_subs'; $this->_sCommentSystemName = "ads"; }
/** * Constructor */ function BxMbpConfig($aModule) { parent::BxDolConfig($aModule); $this->_oDb = null; $this->_bDisableFreeJoin = false; $this->_bEnableStandardOnPaidJoin = true; $this->_sIconsFolder = 'media/images/membership/'; $this->_aJsClasses = array('join' => 'BxMbpJoin'); $this->_aJsObjects = array('join' => 'oMbpJoin'); $this->_sAnimationEffect = 'fade'; $this->_iAnimationSpeed = 'slow'; }
/** * Class constructor; */ function BxFaceBookConnectConfig($aModule) { parent::BxDolConfig($aModule); $this->mApiID = getParam('bx_facebook_connect_api_key'); $this->mApiSecret = getParam('bx_facebook_connect_secret'); $this->sPageReciver = BX_DOL_URL_ROOT . $this->getBaseUri() . 'login_form'; $this->sDefaultRedirectUrl = BX_DOL_URL_ROOT . 'member.php'; $this->sFaceBookAlternativePostfix = '_fb'; $this->sRedirectPage = getParam('bx_facebook_connect_redirect_page'); $this->bAutoFriends = 'on' == getParam('bx_facebook_connect_auto_friends') ? true : false; $this->aFaceBookReqParams = array('scope' => 'email,user_hometown,user_birthday,user_interests,user_likes,user_location', 'redirect_uri' => $this->sPageReciver); }
function __construct() { parent::__construct(); bx_import('BxDolTemplate'); $sCode = BxDolTemplate::getInstance()->getCode(); $sStaticImages = BX_DOL_URL_ROOT . 'templates/tmpl_' . $sCode . '/images/'; bx_import('BxDolConfig'); $oSysConfig = BxDolConfig::getInstance(); $oSysConfig->set('url_static', 'images', $sStaticImages); $oSysConfig->set('url_static', 'icons', $sStaticImages . 'icons/'); $oSysConfig->set('path_static', 'css', BX_DIRECTORY_PATH_ROOT . 'templates/tmpl_' . $sCode . '/css/'); }
/** * Constructor */ function BxPmtConfig($aModule) { parent::BxDolConfig($aModule); $this->_iAdminId = BX_PMT_ADMINISTRATOR_ID; $this->_sAdminUsername = BX_PMT_ADMINISTRATOR_USERNAME; $this->_sJsObjectCart = 'oPmtCart'; $this->_sJsObjectOrders = 'oPmtOrders'; $this->_sReturnUrl = BX_DOL_URL_ROOT . $this->getBaseUri() . 'cart/'; $this->_sDataReturnUrl = BX_DOL_URL_ROOT . $this->getBaseUri() . 'act_finalize_checkout/'; $this->_iOrdersPerPage = 10; $this->_iHistoryPerPage = 10; $this->_sDateFormatOrders = getLocaleFormat(BX_DOL_LOCALE_DATE_SHORT, BX_DOL_LOCALE_DB); }
function __construct() { parent::__construct(); $this->_aConfig['aLessConfig'] = array_merge($this->_aConfig['aLessConfig'], array('bx-font-family' => '"Source Sans Pro", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif', 'bx-color-page' => '#b9e2f6', 'bx-color-block' => '#fff', 'bx-color-box' => '#daf8ff', 'bx-color-sec' => '#fff', 'bx-color-hl' => 'rgba(202, 242, 252, 0.2)', 'bx-color-active' => 'rgba(202, 242, 252, 0.4)', 'bx-border-color' => '#00a0ce')); bx_import('BxDolTemplate'); $sCode = BxDolTemplate::getInstance()->getCode(); $sStaticImages = BX_DOL_URL_ROOT . 'templates/tmpl_' . $sCode . '/images/'; bx_import('BxDolConfig'); $oSysConfig = BxDolConfig::getInstance(); $oSysConfig->set('url_static', 'images', $sStaticImages); $oSysConfig->set('url_static', 'icons', $sStaticImages . 'icons/'); $oSysConfig->set('path_static', 'css', BX_DIRECTORY_PATH_ROOT . 'templates/tmpl_' . $sCode . '/css/'); }
/** * Class constructor; */ function BxFaceBookConnectConfig($aModule) { parent::BxDolConfig($aModule); $this->mApiID = getParam('bx_facebook_connect_api_key'); $this->mApiSecret = getParam('bx_facebook_connect_secret'); $this->sPageReciver = BX_DOL_URL_ROOT . $this->getBaseUri() . 'login_callback'; $this->sDefaultRedirectUrl = BX_DOL_URL_ROOT . 'member.php'; $this->sFaceBookAlternativePostfix = '_fb'; $this->sRedirectPage = getParam('bx_facebook_connect_redirect_page'); $this->bAutoFriends = 'on' == getParam('bx_facebook_connect_auto_friends') ? true : false; $this->aFaceBookReqParams = array('scope' => getParam('bx_facebook_connect_extended_info') ? 'email,public_profile,user_friends,user_birthday,user_about_me,user_hometown,user_location' : 'email,public_profile,user_friends', 'redirect_uri' => $this->sPageReciver); $this->sFaceBookFields = getParam('bx_facebook_connect_extended_info') ? 'name,email,first_name,last_name,gender,birthday,bio,hometown,location' : 'name,email,first_name,last_name,gender'; }
/** * Class constructor; */ function __construct($aModule) { parent::__construct($aModule); // define the tables prefix ; $this->sTablePrefix = $this->getDbPrefix(); $this->iLifeTime = (int) getParam('shoutbox_clean_oldest'); //in seconds $this->iUpdateTime = (int) getParam('shoutbox_update_time'); //(in milliseconds) $this->iAllowedMessagesCount = (int) getParam('shoutbox_allowed_messages'); $this->iBlockExpirationSec = (int) getParam('shoutbox_block_sec'); //in seconds }
function BxBlogsConfig($aModule) { parent::BxDolConfig($aModule); $this->_iAnimationSpeed = 'normal'; $this->sUserExFile = 'blogs.php'; $this->sAdminExFile = 'post_mod_blog.php'; $this->sUserExPermalink = 'blogs/'; $this->iTopTagsCnt = 20; $this->iPerPageElements = (int) getParam('blog_step'); $this->sSQLCategoriesTable = 'sys_categories'; $this->sSQLPostsTable = 'bx_blogs_posts'; $this->sSQLBlogsTable = 'bx_blogs_main'; $this->_sCommentSystemName = "blogposts"; }
/** * Constructor */ function BxWallConfig($aModule) { parent::BxDolConfig($aModule); $this->_bJsMode = false; $this->_sAlertSystemName = "bx_wall"; $this->_sCommonPostPrefix = 'wall_common_'; $this->_sCommentSystemName = "bx_wall"; $this->_sAnimationEffect = 'fade'; $this->_iAnimationSpeed = 'slow'; $this->_sDividerDateFormat = getLocaleFormat(BX_DOL_LOCALE_DATE_SHORT, BX_DOL_LOCALE_DB); $this->_aHideTimeline = array(); $this->_aHideOutline = array(); $this->_aHandlers = array(); $this->_aJsObjects = array('post' => 'oWallPost', 'view' => 'oWallView', 'outline' => 'oWallOutline'); }
/** * Class constructor; */ function BxShoutBoxConfig($aModule) { parent::BxDolConfig($aModule); // define the tables prefix ; $this->sTablePrefix = $this->getDbPrefix(); $this->iLifeTime = (int) getParam('shoutbox_clean_oldest'); //in seconds $this->iUpdateTime = (int) getParam('shoutbox_update_time'); //(in milliseconds) $this->iAllowedMessagesCount = (int) getParam('shoutbox_allowed_messages'); $this->bProcessSmiles = 'on' == getParam('shoutbox_process_smiles') ? true : false; $this->iBlockExpirationSec = (int) getParam('shoutbox_block_sec'); //in seconds //list of processed smiles $this->aSmiles = array(':arrow:' => 'icon_arrow.gif', ':D' => 'icon_biggrin.gif', ':-D' => 'icon_biggrin.gif', ':grin:' => 'icon_biggrin.gif', ':?' => 'icon_confused.gif', ':-?' => 'icon_confused.gif', '???:' => 'icon_confused.gif', '8)' => 'icon_cool.gif', '8-)' => 'icon_cool.gif', ':cool:' => 'icon_cool.gif', ':cry:' => 'icon_cry.gif', ':shock:' => 'icon_eek.gif', ':evil:' => 'icon_evil.gif', ':!:' => 'icon_exclaim.gif', ':idea:' => 'icon_idea.gif', ':lol:' => 'icon_lol.gif', ':x' => 'icon_mad.gif', ':-x' => 'icon_mad.gif', ':mad:' => 'icon_mad.gif', ':mrgreen' => 'icon_mrgreen.gif', ':|' => 'icon_neutral.gif', ':-|' => 'icon_neutral.gif', ':neutral' => 'icon_neutral.gif', ':?:' => 'icon_question.gif', ':P' => 'icon_razz.gif', ':-P' => 'icon_razz.gif', ':razz:' => 'icon_razz.gif', ':oops:' => 'icon_redface.gif', ':roll:' => 'icon_rolleyes.gif', ':(' => 'icon_sad.gif', ':-(' => 'icon_sad.gif', ':sad:' => 'icon_sad.gif', ':)' => 'icon_smile.gif', ':-)' => 'icon_smile.gif', ':smile:' => 'icon_smile.gif', ':o' => 'icon_surprised.gif', ':-o' => 'icon_surprised.gif', ':eek:' => 'icon_surprised.gif', ':twisted' => 'icon_twisted.gif', ':wink:' => 'icon_wink.gif', ';)' => 'icon_wink.gif', ';-)' => 'icon_wink.gif'); }
/** * Constructor */ function BxPollConfig($aModule) { parent::BxDolConfig($aModule); // get allowed members polls; $this->iAlowMembersPolls = getParam('enable_poll'); // get allowed number of polls; $this->iAlowPollNumber = getParam('profile_poll_num'); // chew poll's auto activation; $this->iAutoActivate = getParam('profile_poll_act') == 'on' ? 1 : 0; $this->iProfilePagePollsCount = getParam('profile_page_polls'); $this->iIndexPagePollsCount = getParam('index_page_polls'); // define the table name ; $this->sTableName = $this->getDbPrefix() . 'data'; // define the prefix ; $this->sTablePrefix = $this->getDbPrefix(); }
function __construct($aModule) { parent::__construct($aModule); $this->_iAnimationSpeed = 'normal'; $this->sUserExFile = 'blogs.php'; $this->sAdminExFile = 'post_mod_blog.php'; $this->sUserExPermalink = 'blogs/'; $this->iTopTagsCnt = 20; $this->iPerPageElements = (int) getParam('blog_step'); $this->iPerPageElementsHome = (int) getParam('max_blogs_on_home'); $this->iPerPageElementsProfile = (int) getParam('max_blogs_on_profile'); $this->iPerPageElementsIndex = (int) getParam('max_blogs_on_index'); $this->sSQLCategoriesTable = 'sys_categories'; $this->sSQLPostsTable = 'bx_blogs_posts'; $this->sSQLBlogsTable = 'bx_blogs_main'; $this->_sCommentSystemName = $this->_sRateSystemName = $this->_sViewSystemName = 'bx_blogs'; }
/** * Constructor */ function __construct($aModule) { parent::__construct($aModule); $this->_iAdminId = BX_PMT_ADMINISTRATOR_ID; $this->_sAdminUsername = BX_PMT_ADMINISTRATOR_USERNAME; $this->_sJoinUrl = $this->getBaseUri() . 'join/'; $this->_sReturnUrl = $this->getBaseUri() . 'cart/'; $this->_sDataReturnUrl = $this->getBaseUri() . 'act_finalize_checkout/'; $this->_iOrdersPerPage = 10; $this->_iHistoryPerPage = 10; $this->_sDateFormatOrders = getLocaleFormat(BX_DOL_LOCALE_DATE_SHORT, BX_DOL_LOCALE_DB); $this->_sAnimationEffect = 'fade'; $this->_iAnimationSpeed = 'slow'; $this->_aPrefixes = array('general' => 'bx_pmt_', 'langs' => '_payment_', 'options' => 'pmt_'); $this->_aJsClasses = array('cart' => 'BxPmtCart', 'orders' => 'BxPmtOrders'); $this->_aJsObjects = array('cart' => 'oPmtCart', 'orders' => 'oPmtOrders'); $this->_sOptionsCategory = 'Payment'; }
function BxWallConfig($aModule) { parent::BxDolConfig($aModule); $sName = 'bx_wall'; $this->_bJsMode = false; $this->_sAlertSystemName = $sName; $this->_sCommentSystemName = $sName; $this->_sVotingSystemName = $sName; $this->_aRepostDefaults = array('show_do_repost_as_button' => false, 'show_do_repost_as_button_small' => false, 'show_do_repost_icon' => false, 'show_do_repost_label' => true, 'show_counter' => true); $this->_sCommonPostPrefix = 'wall_common_'; $this->_aPrefixes = array('style' => 'wall', 'language' => '_wall', 'option' => 'wall_', 'common_post' => $this->_sCommonPostPrefix); $this->_sAnimationEffect = 'fade'; $this->_iAnimationSpeed = 'slow'; $this->_sDividerDateFormat = getLocaleFormat(BX_DOL_LOCALE_DATE_SHORT, BX_DOL_LOCALE_DB); $this->_aHideTimeline = array(); $this->_aHideOutline = array(); $this->_aHandlers = array(); $this->_aJsClasses = array('post' => 'BxWallPost', 'repost' => 'BxWallRepost', 'view' => 'BxWallView', 'outline' => 'BxWallOutline'); $this->_aJsObjects = array('post' => 'oWallPost', 'repost' => 'oWallRepost', 'view' => 'oWallView', 'outline' => 'oWallOutline', 'voting' => 'oWallVoting'); $sHtmlPrefix = str_replace('_', '-', $sName); $this->_aHtmlIds = array('repost' => array('main' => $sHtmlPrefix . '-repost-', 'counter' => $sHtmlPrefix . '-repost-counter-', 'by_popup' => $sHtmlPrefix . '-repost-by-')); }
function __construct($aModule) { parent::__construct($aModule); }
/** * Constructor */ function BxChatConfig($aModule) { parent::BxDolConfig($aModule); }
/** * Constructor */ function BxDolFilesConfig($aModule) { parent::BxDolConfig($aModule); $this->sPrefix = 'bx_' . $this->getUri(); $this->isPermalinkEnabled = 'on' == getParam($this->sPrefix . '_permalinks') ? true : false; }
function __construct($aModule) { parent::__construct($aModule); $this->_aMemberships = getMemberships(); }
/** * Constructor */ function BxMsgConfig($aModule) { parent::BxDolConfig($aModule); }
function BxDolTextConfig(&$aModule) { parent::BxDolConfig($aModule); }
/** * Constructor */ function BxGroupsConfig($aModule) { parent::BxDolConfig($aModule); }
function __construct($aModule) { parent::__construct($aModule); $this->_iAnimationSpeed = 'normal'; }
/** * Constructor */ function __construct($aModule) { parent::__construct($aModule); $this->_aJsClasses = array('main' => 'BxProfileCustimizer'); $this->_aJsObjects = array('main' => 'oCustomizer'); }