Server : Apache System : Linux host44.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 User : vapecompany ( 2719) PHP Version : 7.4.33 Disable Function : NONE Directory : /proc/self/root/var/softaculous/minibb/ |
Upload File : |
<?php /* This file is part of miniBB. miniBB is free discussion forums/message board software, without any warranty. Check COPYING file for more details. Copyright (C) 2014 Paul Puzyrev. www.minibb.com Latest File Update: 2023-03-22 */ $DB='mysqli'; $DBhost='[[softdbhost]]'; $DBname='[[softdb]]'; $DBusr='[[softdbuser]]'; $DBpwd='[[softdbpass]]'; $Tf='minibbtable_forums'; $Tp='minibbtable_posts'; $Tt='minibbtable_topics'; $Tu='minibbtable_users'; $Ts='minibbtable_send_mails'; $Tb='minibbtable_banned'; $Tl='minibbtable_failedlogin'; $cookiedomain=''; $cookiename='miniBBforums'; $cookiepath=''; $cookiesecure=FALSE; $cookie_expires=1209600; $cookie_renew=172800; $cookie_httponly=(version_compare(phpversion(), '5.2.0', '<')?FALSE:TRUE); $cookie_options=(version_compare(phpversion(), '7.3.0', '<')?FALSE:TRUE); $cookie_samesite='Strict'; $brtag='<br>'; /* determining the mobile device */ $is_mobile=FALSE; $user_agent=(isset($_SERVER['HTTP_USER_AGENT'])?strtolower($_SERVER['HTTP_USER_AGENT']):''); $is_mobile_test=FALSE; $is_mobile_exclude=(substr_count($user_agent, 'pad')>0 or substr_count($user_agent, 'tab')>0 or substr_count($user_agent, 'touch')>0); $is_mobile_browser=(substr_count($user_agent, 'mobile')>0 or substr_count($user_agent, 'android')>0 or substr_count($user_agent, 'phone')>0 or substr_count($user_agent, 'touch')>0); $is_mobile_samsung=(substr_count($user_agent, 'samsungbrowser')>0); $is_mobile=(!$is_mobile_exclude and ($is_mobile_test or $is_mobile_browser)); if(isset($_COOKIE[$cookiename.'_mobileswitch']) and $is_mobile) $is_mobile=FALSE; if(isset($_COOKIE[$cookiename.'_mobileswitch']) and $is_mobile_exclude) $is_mobile=TRUE; /* -- determining the mobile device */ $admin_usr='[[admin_username]]'; $admin_pwd='[[admin_pass]]'; $admin_email='[[admin_email]]'; $reply_to_email=$admin_email; $main_url='[[softurl]]'; //$main_url='http://yourdomain/forums'; $bb_admin='bb_admin.php?'; $indexphp='index.php?'; $pathToFiles='./'; $fontsCSS="<link href=\"{$main_url}/css/roboto.css\" rel=\"stylesheet\">"; $skin='default'; $sitenameArray=array('Astounding', 'Amazing', 'Astonishing', 'Extraordinary', 'Incredible', 'Impressive', 'Awesome'); $sitename='An '.$sitenameArray[date('w')].' miniBB-based Forum'; //$sitename=(isset($_SERVER['SERVER_NAME'])?$_SERVER['SERVER_NAME']:'').' Forum'; //$sitename='Awesome miniBB-Forums'; $sitename_subtitle = 'Support Forums'; $startPageModern=TRUE; /* Mobile Friendly/Template code */ if($is_mobile_browser) $startPageModern=FALSE; /* --Mobile Friendly/Template code */ $lang='eng'; $emailadmin=0; $emailusers=0; $userRegName='_A-Za-z0-9 '; $l_sepr='<span class="sepr">|</span>'; $post_text_maxlength=10240; $post_word_maxlength=28; $topic_max_length=250; $viewmaxtopic=30; $viewlastdiscussions=30; $viewmaxreplys=15; $viewmaxsearch=20; $viewpagelim=5000; $viewTopicsIfOnlyOneForum=0; $protectWholeForum=0; $protectWholeForumPwd='pwd'; $postRange=5; $dateOnlyFormat='j F Y'; $timeOnlyFormat='H:i'; $dateFormat=$dateOnlyFormat.' '.$timeOnlyFormat; $disallowNames=array('Anonymous', 'Fuck', 'Shit', 'Guest'); $disallowNamesIndex=array('admin', 'guest'); // 2.0 RC1f $sortingTopics=0; $topStats=4; $genEmailDisable=0; $defDays=60; $userUnlock=0; $emailadmposts=0; $useredit=86400; //$metaLocation='go'; //$closeRegister=1; //$timeDiff=21600; $stats_barWidthLim='31'; $dbUserSheme=array( 'username'=>array(1,'username','login'), 'user_password'=>array(3,'user_password','user_pwd'), 'user_email'=>array(4,'user_email','email'), 'user_icq'=>array(5,'user_icq','icq'), 'user_website'=>array(6,'user_website','website'), 'user_occ'=>array(7,'user_occ','occupation'), 'user_from'=>array(8,'user_from','from'), 'user_interest'=>array(9,'user_interest','interest'), 'user_viewemail'=>array(10,'user_viewemail','user_viewemail'), 'user_sorttopics'=>array(11,'user_sorttopics','user_sorttopics'), 'language'=>array(14,'language','language'), 'num_topics'=>array(16,'num_topics',''), 'num_posts'=>array(17,'num_posts',''), 'user_custom1'=>array(18,'user_custom1','user_custom1'), 'user_custom2'=>array(19,'user_custom2','user_custom2'), 'user_custom3'=>array(20,'user_custom3','user_custom3') ); $dbUserId='user_id'; $dbUserDate='user_regdate'; $dbUserDateKey=2; $dbUserAct='activity'; $dbUserNp='user_newpasswd'; $dbUserNk='user_newpwdkey'; $enableNewRegistrations=TRUE; $enableProfileUpdate=TRUE; $usersEditTopicTitle=TRUE; //$includeHeader='header.php'; //$includeFooter='footer.php'; //$emptySubscribe=TRUE; //$allForumsReg=TRUE; //$registerInactiveUsers=TRUE; //$mod_rewrite=TRUE; $enableViews=TRUE; //$userInfoInPosts=array(); //$userDeleteMsgs=1; $description='This forum is build on miniBB - the best easy software written in PHP/mySQL to support simple and quick communities.'; $startIndex='index.php'; // or 'index.html' for mod_rewrite $manualIndex='index.php?action=manual'; // or 'manual.html' for mod_rewrite $enableGroupMsgDelete=TRUE; $post_text_minlength=2; $loginsCase=TRUE; $allowHyperlinks=0; //$addMainTitle=1; $editMsgReloc=TRUE; $uname_maxlength=15; $enableDash = '—'; $eliminateCheckBox=FALSE; $subscriptionsLimit=$viewmaxtopic*5; $additionAlerts=FALSE; $purgeEmailSettings=1; $fla_attempts=3; $fla_mode=2; $fla_manyAttemptsLimit=2; $fla_blockPeriod=3600; $fla_logFile=''; $fla_autoBanned=TRUE; $fla_logLang=array( 'delete' => 'Clean up expired locks', 'update' => 'Updated lock', 'new' => 'Added lock', 'autoban' => 'Auto ban', ); ?>