Skip to content
Browse files

UseBB 0.4

  • Loading branch information...
1 parent 47b26ba commit c0b7db98b1bca8bc3ec50aa27bbbe9c57eb9af9c @dietrichm dietrichm committed
Showing with 9 additions and 9 deletions.
  1. +3 −3 config.php
  2. +1 −1 sources/common.php
  3. +4 −4 sources/page_foot.php
  4. +1 −1 templates/default/global.tpl.php
View
6 config.php
@@ -65,7 +65,7 @@
$conf['cookie_path'] = '';
$conf['cookie_secure'] = 0;
$conf['date_format'] = 'D M d, Y g:i a';
-$conf['debug'] = 1;
+$conf['debug'] = 0;
$conf['disable_info_emails'] = 0;
$conf['dst'] = 0;
$conf['email_view_level'] = 1;
@@ -76,7 +76,7 @@
$conf['enable_rss'] = 1;
$conf['enable_stafflist'] = 1;
$conf['enable_stats'] = 1;
-$conf['friendly_urls'] = 1;
+$conf['friendly_urls'] = 0;
$conf['guests_can_access_board'] = 1;
$conf['guests_can_view_profiles'] = 1;
$conf['hide_avatars'] = 0;
@@ -106,7 +106,7 @@
$conf['view_hidden_email_addresses_min_level'] = 3;
$conf['view_memberlist_min_level'] = 1;
$conf['view_rss_min_level'] = 1;
-$conf['view_stafflist_min_level'] = 0;
+$conf['view_stafflist_min_level'] = 1;
$conf['view_stats_min_level'] = 1;
$conf['view_contactadmin_min_level'] = 1;
View
2 sources/common.php
@@ -72,7 +72,7 @@
// Define some constants
//
define('TABLE_PREFIX', $dbs['prefix']);
-define('USEBB_VERSION', '0.4-CVS');
+define('USEBB_VERSION', '0.4');
define('USER_PREG', '##is');
define('EMAIL_PREG', '#^[a-z0-9&\-_.]+?@[\w\-]+\.([\w\-\.]+\.)?[\w]+$#is');
define('PWD_PREG', '#^[^\'\"\s]+$#is'); # don't change - dangerous!
View
8 sources/page_foot.php
@@ -33,8 +33,8 @@
// Page footer
//
$link_bar = array();
-if ( $functions->get_user_level() == 3 )
- $link_bar[] = '<a href="'.$functions->make_url('admin.php').'">'.$lang['ACP'].'</a>';
+/*if ( $functions->get_user_level() == 3 )
+ $link_bar[] = '<a href="'.$functions->make_url('admin.php').'">'.$lang['ACP'].'</a>';*/
if ( $functions->get_config('enable_memberlist') && $functions->get_user_level() >= $functions->get_config('view_memberlist_min_level') )
$link_bar[] = '<a href="'.$functions->make_url('members.php').'">'.$lang['MemberList'].'</a>';
@@ -42,11 +42,11 @@
if ( $functions->get_config('enable_stafflist') && $functions->get_user_level() >= $functions->get_config('view_stafflist_min_level') )
$link_bar[] = '<a href="'.$functions->make_url('members.php', array('act' => 'staff')).'">'.$lang['StaffList'].'</a>';
-if ( $functions->get_config('enable_rss') && $functions->get_user_level() >= $functions->get_config('view_rss_min_level') )
+/*if ( $functions->get_config('enable_rss') && $functions->get_user_level() >= $functions->get_config('view_rss_min_level') )
$link_bar[] = '<a href="'.$functions->make_url('rss.php').'">'.$lang['RSSFeed'].'</a>';
if ( $functions->get_config('enable_stats') && $functions->get_user_level() >= $functions->get_config('view_stats_min_level') )
- $link_bar[] = '<a href="'.$functions->make_url('stats.php').'">'.$lang['Statistics'].'</a>';
+ $link_bar[] = '<a href="'.$functions->make_url('stats.php').'">'.$lang['Statistics'].'</a>';*/
if ( $functions->get_config('enable_contactadmin') && $functions->get_user_level() >= $functions->get_config('view_contactadmin_min_level') )
$link_bar[] = '<a href="mailto:'.$functions->get_config('admin_email').'">'.$lang['ContactAdmin'].'</a>';
View
2 templates/default/global.tpl.php
@@ -105,7 +105,7 @@
<h2 id="boarddescr">{board_descr}</h2>
<div id="topmenu"><ul>
- <li><a href="{link_home}">{l_Home}</a></li><li><a href="{link_reg_panel}">{reg_panel}</a></li><li><a href="{link_faq}">{l_FAQ}</a></li><li><a href="{link_search}">{l_Search}</a></li><li><a href="{link_active}">{l_ActiveTopics}</a></li><li><a href="{link_log_inout}">{log_inout}</a></li>
+ <li><a href="{link_home}">{l_Home}</a></li><li><a href="{link_reg_panel}">{reg_panel}</a></li><li><a href="{link_faq}">{l_FAQ}</a></li><!--<li><a href="{link_search}">{l_Search}</a></li>--><li><a href="{link_active}">{l_ActiveTopics}</a></li><li><a href="{link_log_inout}">{log_inout}</a></li>
</ul></div>
<div id="topmenu-shadow"></div>

0 comments on commit c0b7db9

Please sign in to comment.
Something went wrong with that request. Please try again.