Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Yuna Scatari Edition (YSE) > Mods & Themes
Reply
  #1  
Old 27th July 2008, 10:47
kp380lv's Avatar
kp380lv kp380lv is offline
Senior Member
 
Join Date: May 2008
Latvia
Posts: 388
Default Full MyBB forum remove
I do not like Mybb so i decide remove it and replace with default forum.php! Here I add my edited files!

My edited file list!

takelogin.php
userdetails.php
functions.php
init.php
cleanup.php
takesignup.php
adduser.php
modtask.php
takeprofedit.php
confirm.php
delacct.php
delacctadmin.php
forums.php
confirmemail.php
deleted forumaccount.php

In installation folder i edited some lines too!

index.php
reqcheck.php

Replace all this files and use my database file!
Attached Files
File Type: rar Edited_files_by_kp380lv.rar (94.4 KB, 194 views)
Reply With Quote
The Following User Says Thank You to kp380lv For This Useful Post:
Elena (24th September 2010)
  #2  
Old 27th July 2008, 19:56
Nilsons Nilsons is offline
Senior Member
 
Join Date: Dec 2007
Latvia
Posts: 40
Default Re: Full Mybb forum remove
Hmmmm.... but why remove in userdetails.php forum posts ....? Here is my userdetails.php with worknig forum posts with default forum....


userdetails.rar

And here is my init.php in youre init forum calss aren't deleted.....

init.rar


Ouh and delete:
forumtest.php and forumaccount.php those files aren't needed

And here are settings.php

settings.rar

Delete in settings line 351....
Reply With Quote
The Following User Says Thank You to Nilsons For This Useful Post:
look (26th March 2012)
  #3  
Old 27th July 2008, 21:26
kp380lv's Avatar
kp380lv kp380lv is offline
Senior Member
 
Join Date: May 2008
Latvia
Posts: 388
Default Re: Full Mybb forum remove
becouse mybb use userdetails.php too!When you registered to your tracker - then mybb you are already registered!If you understand what i wanna say!

In userdetails has a torrent comments not forum posts!So you need delete this from userdetails!

And insert this in your database becouse i forgot about this!!

Code:
CREATE TABLE readposts (
  id int(10) unsigned NOT NULL auto_increment,
  userid int(10) unsigned NOT NULL default '0',
  topicid int(10) unsigned NOT NULL default '0',
  lastpostread int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (id),
  KEY userid (id),
  KEY topicid (topicid)
) TYPE=MyISAM;
And I forgot add settings.php

Here is my settings.php

PHP Code:
<?php
/*********************************\ 
  DO NOT EDIT THIS FILE, PLEASE USE
  THE SETTINGS PANEL!!
\*********************************/

// INCLUDE BACK-END
include($rootpath 'include/bittorrent.php');
gzip();
dbconn();
loggedinorreturn();

// DEFINE IMPORTANT CONSTANTS

define('IN_SETTINGS_PANEL'true);

if (
get_user_class() < UC_SYSOP
    
newerr($tracker_lang['error'], $tracker_lang['access_denied']);


// GET ACTION
$action = isset($_POST['action']) ? htmlspecialchars($_POST['action']) : (isset($_GET['action']) ? htmlspecialchars($_GET['action']) : 'showmenu');


// CHECK ACTIONS
$allowed_actions = array('mainsettings''databasesettings''smtpsettings''securitysettings''tweaksettings''extrasettings''cleanupsettings''themesettings''savesettings_m''savesettings_d''savesettings_s''savesettings_sec''savesettings_tweak''savesettings_e''save_cleanup''save_theme''showmenu','trackerinfo');
if (!
in_array($action$allowed_actions))
    
newerr($tracker_lang['error'], $tracker_lang['access_denied']);

rebuild_announce_settings();

// IMPORTANT FUNCTIONS
//----------------------------------------------
//---- Faster Announce Config by xam v.0.4 by xam
//-----------------------------------------------
function rebuild_announce_settings()
{
    global 
$announce_interval$BASEURL$SITENAME$MEMBERSONLY$waitsystem$maxdlsystem$mysql_host$mysql_user$mysql_pass$mysql_db$nc$privatetrackerpatch,$rootpath,$bannedclientdetect;
    
$settings '';
    if(!
file_exists($rootpath 'include/config_announce.php'))
        
$mode 'x';
    else
        
$mode 'w';    
    
$settings .= "\$announce_interval = ".$announce_interval.";\n";
    
$settings .= "\$BASEURL = '".$BASEURL."';\n";
    
$settings .= "\$SITENAME = '".$SITENAME."';\n";
    
$settings .= "\$MEMBERSONLY = '".$MEMBERSONLY."';\n";
    
$settings .= "\$waitsystem = '".$waitsystem."';\n";
    
$settings .= "\$maxdlsystem = '".$maxdlsystem."';\n";
    
$settings .= "\$mysql_host = '".$mysql_host."';\n";
    
$settings .= "\$mysql_user = '".$mysql_user."';\n";
    
$settings .= "\$mysql_pass = '".$mysql_pass."';\n";
    
$settings .= "\$mysql_db = '".$mysql_db."';\n";
    
$settings .= "\$nc = '".$nc."';\n";
    
$settings .= "\$privatetrackerpatch = '".$privatetrackerpatch."';\n";
    
$settings .= "\$bannedclientdetect = '".$bannedclientdetect."';";
    
$settings "<"."?php\n/*********************************\ \n DO NOT EDIT THIS FILE, PLEASE USE\n THE SETTINGS PANEL!!\n\*********************************/\n\nif(!defined('IN_ANNOUNCE')) {\n    die('Hacking attempt!');\n}\n$settings\n?".">";
    
$file = @fopen($rootpath 'include/config_announce.php'$mode);
    @
fwrite($file$settings);
    @
fclose($file);
}
//-----------------------------------------------
//---- Faster Announce Config by xam v.0.4 by xam
//-----------------------------------------------

function tooltip($text='',$size=300) {
    global 
$rootpath,$pic_base_url;
    
$content "<img src=\"".$rootpath.$pic_base_url."help_on.gif\" border=\"0\" onMouseover=\"ddrivetip('<font color=red>$text</font>', $size)\";
onMouseout=\"hideddrivetip()\">"
;
    return 
$content;
}


function 
settingsmenu ($selected "main") {
    global 
$BASEURL;
    print (
"<table border=1 cellspacing=0 cellpadding=10 width=100% align=center><tr><td class=text align=left>");

    print (
"<div class=\"shadetabs\"><ul>");
    print (
"<li" . ($selected == "none" " class=selected" "") . "><a href=\"settings.php\">Home</a>");
    print (
"<li" . ($selected == "main" " class=selected" "") . "><a href=\"settings.php?action=mainsettings\">Main</a>");
    print (
"<li" . ($selected == "database" " class=selected" "") . "><a href=\"settings.php?action=databasesettings\">DB</a>");
    print (
"<li" . ($selected == "security" " class=selected" "") . "><a href=\"settings.php?action=securitysettings\">Sec.</a>");
    print (
"<li" . ($selected == "tweak" " class=selected" "") . "><a href=\"settings.php?action=tweaksettings\">Tweak</a>");
    print (
"<li" . ($selected == "smtp" " class=selected" "") . "><a href=\"settings.php?action=smtpsettings\">Smtp</a>");
    print (
"<li" . ($selected == "extra" " class=selected" "") . "><a href=\"settings.php?action=extrasettings\">Extra</a>");
    print (
"<li" . ($selected == "cleanup" " class=selected" "") . "><a href=\"settings.php?action=cleanupsettings\">Clean</a>");
    print (
"<li" . ($selected == "theme" " class=selected" "") . "><a href=\"settings.php?action=themesettings\">Theme</a>");
    print (
"[/list]</div>");
    print (
"</td></tr>");
    print (
"<table border=1 cellspacing=0 cellpadding=10 width=100%>");
}

function 
get_forum_settings ($name=''$value=''$title=''$update=false) {
    if (
$update) {        

        
rebuild_settings();
        return;
    }
    
$res sql_query("SELECT name,value FROM ".TABLE_PREFIX."settings");
    if (
mysql_num_rows($res) >= 1) {
        while(
$setting mysql_fetch_array($res))
        {
            
$setting['value'] = str_replace("\"""\\\""$setting['value']);
            
$settings[$setting['name']] = $setting['value'];
        }
    }
    
mysql_free_result($res);
    return 
$settings[$name];
}


function 
make_style () {
    
$style '<style type="text/css">
    .curlycontainer{
    border: 1px solid #b8b8b8;
    margin-bottom: 1em;

    }
    .curlycontainer .innerdiv{
    background: transparent url(../pic/brcorner.gif) bottom right no-repeat;
    position: relative;
    left: 2px;
    top: 2px;
    padding: 1px 4px 15px 5px;
    }
    </style>'
;
    return 
$style;
}

function 
make_div ($text='') {
    
$div '<div class="curlycontainer">
        <div class="innerdiv">'
.$text.'</div></div>';
    return 
$div;
}

function 
get_mysql_version(){        
    
$query sql_query("SELECT VERSION() as version");
    
$ver mysql_fetch_array($query);
    if(
$ver['version'])
    {
        
$version explode("."$ver['version'], 3);
        
$version intval($version[0]).".".intval($version[1]).".".intval($version[2]);
    }
    return 
$version;
}

function 
get_count ($name$where ''$extra '') {
    
$res sql_query('SELECT COUNT(*) as '.$name.' FROM '.$where.' '.($extra $extra ''));
    list(
$info[$name]) = mysql_fetch_array($res);
    return 
$info[$name];
}


if (
$action == 'trackerinfo') {

    
$phpversion phpversion();
    
$mysqlversion get_mysql_version();
    
$serverload get_server_load();
    
$totalusers get_count('totalusers''users''WHERE status=\'1\'');
    
$timecut time() - 86400;
    
$newuserstoday get_count('totalnewusers''users''WHERE UNIX_TIMESTAMP(added) > '.sqlesc($timecut));
    
$pendingusers get_count('pendingusers''users''WHERE status = \'0\'');
    
$todaycomments get_count('todaycomments''comments''WHERE UNIX_TIMESTAMP(added) > '.sqlesc($timecut));
    
$gd2support = (extension_loaded('gd') ? '<font color=green>Enabled</font>' '<font color=red>Disabled</font>');
    
$sessionsupport = (function_exists('session_save_path') ? '<font color=green>Enabled</font>' '<font color=red>Disabled</font>');
    
$todayvisits get_count('todayvisits''users''WHERE UNIX_TIMESTAMP(last_access) > '.sqlesc($timecut));

    echo 
make_style();
    
$str '
    <table width=90%>
  <tr>
    <td class="none"><div align="left">PHP Version</div></td>
    <td class="none"><div align="left">'
.$phpversion.'</div></td>
    <td class="none"><div align="left">Total Users</div></td>
    <td class="none"><div align="left">'
.$totalusers.'</div></td>
  </tr>
  <tr>
    <td class="none"><div align="left">MYSQL Version</div></td>
    <td class="none"><div align="left">'
.$mysqlversion.'</div></td>
    <td class="none"><div align="left">New Users Today</div></td>
    <td class="none"><div align="left">'
.$newuserstoday.'</div></td>
  </tr>
  <tr>
    <td class="none"><div align="left">GD2 Support</div></td>
    <td class="none"><div align="left">'
.$gd2support.'</div></td>
    <td class="none"><div align="left">Unconfirmed Users</div></td>
    <td class="none"><div align="left">'
.$pendingusers.'</div></td>
  </tr>
  <tr>
    <td class="none"><div align="left">Server Load</div></td>
    <td class="none"><div align="left">'
.$serverload.'</div></td>
    <td class="none"><div align="left">New Comments Today</div></td>
    <td class="none"><div align="left">'
.$todaycomments.'</div></td>
  </tr>
   <tr>
    <td class="none"><div align="left">Session Support</div></td>
    <td class="none"><div align="left">'
.$sessionsupport.'</div></td>
    <td class="none"><div align="left">Active Users Today</div></td>
    <td class="none"><div align="left">'
.$todayvisits.'</div></td>
  </tr>
</table>'
;
    
    echo 
make_div($str);
    die;
}


function 
rebuild_settings()
{
    global 
$rootpath;
    if(!
file_exists($rootpath."forum/inc/settings.php"))
    {
        
$mode "x";
    }
    else
    {
        
$mode "w";
    }
    
    
$query sql_query("SELECT value, name FROM ".TABLE_PREFIX."settings ORDER BY title ASC");

    while(
$setting mysql_fetch_array($query))
    {
        
$setting['value'] = str_replace("\"""\\\""$setting['value']);
        
$settings .= "\$settings['".$setting['name']."'] = \"".$setting['value']."\";\n";        
    }
    
$settings "<"."?php\n/*********************************\ \n  DO NOT EDIT THIS FILE, PLEASE USE\n  THE SETTINGS EDITOR\n\*********************************/\n\n$settings\n?".">";
    @
fwrite($file$settings);
    @
fclose($file);
    
mysql_free_result($query);
    return;
}

function 
error($title='Error',$msg='Could not select storage folder') {
    
stdhead();
    
stdmsg ($title$msg);
    
stdfoot();
    exit;
}


// START SCRIPT
  
if ($action == 'themesettings') {
    
$template_dirs =  dir_list($rootpath.'/themes');
    
$language_dirs =  dir_list($rootpath.'/languages');
    
stdhead("Website Settings by - Theme Settings");
    
settingsmenu("theme");
    print (
"<form method='post' action='".$_SERVER["SCRIPT_NAME"]."'><input type='hidden' name='action' value='save_theme'>");

    echo 
'<tr><td colspan="2" class="subheader" align="center">Theme and Language Settings</td></tr>';
    echo 
'<tr><td class="heading" valign="top" align="right">Please select default template of your tracker:</td>';
    echo 
'<td valign="top" align="left"><select name="defaulttheme">';
    if (empty(
$template_dirs))
        
$dirlist .= '<option value="">There is no template</option>';
    else {
        foreach (
$template_dirs as $dir)
            
$dirlist .= '<option value="'.$dir.'" '.($defaulttheme == $dir 'selected' '').'>'.$dir.'</option>';
    }
    echo 
$dirlist.'</select></td></tr>';    
    echo 
'<tr><td class="heading" valign="top" align="right">Please select default language of your tracker:</td>';
    echo 
'<td valign="top" align="left"><select name="defaultlanguage">';
    if (empty(
$language_dirs))
        
$dirlist2 .= '<option value="">There is no template</option>';
    else {
        foreach (
$language_dirs as $dir2)
            
$dirlist2 .= '<option value="'.$dir2.'" '.($defaultlanguage == $dir2 'selected' '').'>'.$dir2.'</option>';
    }
    echo 
$dirlist2.'</select></td></tr>';
    
tr("Use Multilanguage?""yes <INPUT type='radio' name=multilang" . ($THEME["multilang"] == "yes" " checked" "") . " value='yes'> no <INPUT type='radio' name='multilang'" . ($THEME["multilang"] == "no" " checked" "") . " value='no'>\n Use multilanguage support or not."1);
    
tr('Character Set','<input type="text" name="charset" id="specialboxn" value="'.($charset htmlspecialchars($charset) : 'UTF-8').'">
Enter the charset for the language you are exporting:
Click here to find the charset of your language.'
1);
    
tr('Meta Keywords','<input type="text" name="metakeywords" id="specialboxg" value="'.htmlspecialchars($metakeywords).'">
Type in keywords separated by commas that describe your website.
These keywords will help your site be listed in search engines.'
1);
    
tr('Meta Description','<input type="text" name="metadesc" id="specialboxg" value="'.htmlspecialchars($metadesc).'">
Description of your website:
    Helps your website\'s position in search engines.'
1);


    
tr("Save settings","<input type='submit' name='save' class='btn' value='Save THEME Settings [PRESS ONLY ONCE]'>\n"1);
    print (
"</form>");    
}elseif (
$action == 'save_theme') {

    
GetVar(array('defaulttheme','defaultlanguage','charset','metakeywords','metadesc','multilang'));
    
$THEME['defaulttheme'] = $defaulttheme;
    
$THEME['defaultlanguage'] = $defaultlanguage;
    
$THEME['charset'] = $charset;
    
$THEME['metakeywords'] = $metakeywords;
    
$THEME['metadesc'] = $metadesc;
    
$THEME['multilang'] = $multilang;

    
WriteConfig('THEME'$THEME);
    
$actiontime date("F j, Y, g:i a"); 
    
write_log("Tracker THEME settings updated by $CURUSER[username]$actiontime");
    
redirect("settings.php?action=themesettings","Settings saved, you will now be redirected.");
}elseif (
$action == 'cleanupsettings') {
    
stdhead("Website Settings - CLEANUP Settings");
    
settingsmenu("cleanup");
    print (
"<form method='post' action='".$_SERVER["SCRIPT_NAME"]."'><input type='hidden' name='action' value='save_cleanup'>");
    
    echo 
'<tr><td colspan="2" class="subheader" align="center">LIMITATIONS: Timeouts</td></tr>';
    
tr("Delete Inactive users""<input type='text' name='inactiveusertime' value='".$inactiveusertime."' id='specialboxes'> Delete inactive users every X days.\n"1);
    
tr("Delete Parked users""<input type='text' name='parkedacctime' value='".$parkedacctime."' id='specialboxes'> Delete inactive parked accounts every X days.\n"1);
    
tr("Use Delete Old Torrents?""yes <INPUT type='radio' name=useoldtorrentstime" . ($CLEANUP["useoldtorrentstime"] == "yes" " checked" "") . " value='yes'> no <INPUT type='radio' name='useoldtorrentstime'" . ($CLEANUP["useoldtorrentstime"] == "no" " checked" "") . " value='no'>\n To Delete Old Torrents or Not"1);
    
tr("Delete old torrents""<input type='text' name='oldtorrentstime' value='".$oldtorrentstime."' id='specialboxes'> Delete torrents older than X days.\n"1);    

    echo 
'<tr><td colspan="2" class="subheader" align="center">LIMITATIONS: Promote and Demote Users</td></tr>';
    
tr("Promote Users GIG Limit""<input type='text' name='promote_gig_limit' value='".$promote_gig_limit."' id='specialboxes'> Min. GIG Limit for promote.\n"1);
    
tr("Promote Users RATIO Limit""<input type='text' name='promote_min_ratio' value='".$promote_min_ratio."' id='specialboxes'> Min. RATIO Limit for promote.\n"1);
    
tr("Promote Users DAYS Limit""<input type='text' name='promote_min_reg_days' value='".$promote_min_reg_days."' id='specialboxes'> Min. DAYS Limit for promote.\n"1);
    
tr("Demote Users RATIO Limit""<input type='text' name='demote_min_ratio' value='".$demote_min_ratio."' id='specialboxes'> Min. RATIO Limit for Demote.\n"1);
    
    echo 
'<tr><td colspan="2" class="subheader" align="center">LIMITATIONS: Automatic Warning and Banning</td></tr>';
    
tr("Warn User MIN. Ratio""<input type='text' name='leechwarn_min_ratio' value='".$leechwarn_min_ratio."' id='specialboxes'> Min. Ratio for LeechWarning.\n"1);
    
tr("Warn User GIG Limit""<input type='text' name='leechwarn_gig_limit' value='".$leechwarn_gig_limit."' id='specialboxes'> Min. GIG Limit for LeechWarning.\n"1);
    
tr("Warning Length""<input type='text' name='leechwarn_length' value='".$leechwarn_length."' id='specialboxes'> LeechWarning Length (weeks)\n"1);
    
tr("Remove Warning Min. Ratio""<input type='text' name='leechwarn_remove_ratio' value='".$leechwarn_remove_ratio."' id='specialboxes'> Min. Ratio Limit to Remove LeechWarning\n"1);

    
tr("Save settings","<input type='submit' name='save' class='btn' value='Save CLEANUP Settings [PRESS ONLY ONCE]'>\n"1);
    print (
"</form>");
}elseif (
$action == 'save_cleanup'){
    
GetVar(array('inactiveusertime','parkedacctime','useoldtorrentstime','oldtorrentstime','promote_gig_limit','promote_min_ratio','promote_min_reg_days','demote_min_ratio','leechwarn_min_ratio','leechwarn_gig_limit','leechwarn_length','leechwarn_remove_ratio'));
    
    
$CLEANUP['inactiveusertime'] = $inactiveusertime;
    
$CLEANUP['parkedacctime'] = $parkedacctime;    
    
$CLEANUP['useoldtorrentstime'] = $useoldtorrentstime;
    
$CLEANUP['oldtorrentstime'] = $oldtorrentstime;
    
$CLEANUP['promote_gig_limit'] = $promote_gig_limit;
    
$CLEANUP['promote_min_ratio'] = $promote_min_ratio;
    
$CLEANUP['promote_min_reg_days'] = $promote_min_reg_days;
    
$CLEANUP['demote_min_ratio'] = $demote_min_ratio;
    
$CLEANUP['leechwarn_min_ratio'] = $leechwarn_min_ratio;
    
$CLEANUP['leechwarn_gig_limit'] = $leechwarn_gig_limit;
    
$CLEANUP['leechwarn_length'] = $leechwarn_length;
    
$CLEANUP['leechwarn_remove_ratio'] = $leechwarn_remove_ratio;

    
WriteConfig('CLEANUP'$CLEANUP);
    
$actiontime date("F j, Y, g:i a"); 
    
write_log("Tracker CLEANUP settings updated by $CURUSER[username]$actiontime");
    
redirect("settings.php?action=cleanupsettings","Settings saved, you will now be redirected.");
}elseif (
$action == 'savesettings_m'){
    
GetVar(array('site_online','max_torrent_size','announce_interval','signup_timeout','minvotes','max_dead_torrent_time','maxusers','torrent_dir','announce_urls','BASEURL','DEFAULTBASEURL','MEMBERSONLY','SITEEMAIL','SITENAME','autoclean_interval','pic_base_url','reportemail','invitesystem','registration','waitsystem','cache','verification','blocks','boardclosed','bitbucket','maxdlsystem'));
    
$MAIN['site_online'] = $site_online;
    
$MAIN['max_torrent_size'] = $max_torrent_size;
    
$MAIN['announce_interval'] = $announce_interval;
    
$MAIN['signup_timeout'] = $signup_timeout;
    
$MAIN['minvotes'] = $minvotes;
    
$MAIN['max_dead_torrent_time'] = $max_dead_torrent_time;
    
$MAIN['maxusers'] = $maxusers;
    
$MAIN['torrent_dir'] = $torrent_dir;
    
$MAIN['announce_urls'] = $announce_urls;
    
$MAIN['BASEURL'] = $BASEURL;
    
$MAIN['DEFAULTBASEURL'] = $DEFAULTBASEURL;
    
$MAIN['MEMBERSONLY'] = $MEMBERSONLY;
    
$MAIN['SITEEMAIL'] = $SITEEMAIL;
    
$MAIN['SITENAME'] = $SITENAME;
    
$MAIN['autoclean_interval'] = $autoclean_interval;
    
$MAIN['pic_base_url'] = $pic_base_url;
    
$MAIN['reportemail'] = $reportemail;
    
$MAIN['invitesystem'] = $invitesystem;
    
$MAIN['registration'] = $registration;
    
$MAIN['waitsystem'] = $waitsystem;
    
$MAIN['bitbucket'] = $bitbucket;
    
$MAIN['cache'] = $cache;    
    
$MAIN['verification'] = $verification;    
    
$MAIN['maxdlsystem'] = $maxdlsystem;

    
WriteConfig('MAIN'$MAIN);
    
$actiontime date("F j, Y, g:i a"); 
    
write_log("Tracker MAIN settings updated by $CURUSER[username]$actiontime");
    
redirect("settings.php?action=mainsettings","Settings saved, you will now be redirected.");
}elseif (
$action == 'savesettings_d') {

    
GetVar(array('mysql_host','mysql_user','mysql_pass','mysql_db'));
    
$DATABASE['mysql_host'] = $mysql_host;
    
$DATABASE['mysql_user'] = $mysql_user;
    
$DATABASE['mysql_pass'] = $mysql_pass;
    
$DATABASE['mysql_db'] = $mysql_db;

    
WriteConfig('DATABASE'$DATABASE);
    
$actiontime date("F j, Y, g:i a"); 
    
write_log("Tracker database settings updated by $CURUSER[username]$actiontime");
    
redirect("settings.php?action=databasesettings","Settings saved, you will now be redirected.");

}elseif (
$action == 'savesettings_sec') {
    
GetVar(array('iv','maxwarns','ipbans','privatetrackerpatch','bannedclientdetect'));
    
$SECURITY['iv'] = $iv;
    
$SECURITY['maxwarns'] = $maxwarns;
    
$SECURITY['ipbans'] = $ipbans;    
    
$SECURITY['privatetrackerpatch'] = $privatetrackerpatch;
    
$SECURITY['bannedclientdetect'] = $bannedclientdetect;

    
WriteConfig('SECURITY'$SECURITY);
    
$actiontime date("F j, Y, g:i a"); 
    
write_log("Tracker SECURITY settings updated by $CURUSER[username]$actiontime");
    
redirect("settings.php?action=securitysettings","Settings saved, you will now be redirected.");
}elseif (
$action == 'savesettings_tweak') {    

    
GetVar(array('ctracker','gzipcompress','cachesystem','avatar_max_size','avatar_max_width','avatar_max_height','sessions'));
    
$TWEAK['ctracker']                =    $ctracker;
    
$TWEAK['gzipcompress']            =    $gzipcompress;
    
$TWEAK['cachesystem']            =    $cachesystem;
    
$TWEAK['avatar_max_size'] = $avatar_max_size;
    
$TWEAK['avatar_max_width'] = $avatar_max_width;
    
$TWEAK['avatar_max_height'] = $avatar_max_height;
    
$TWEAK['sessions'] = $sessions;

    
WriteConfig('TWEAK'$TWEAK);
    
$actiontime date("F j, Y, g:i a"); 
    
write_log("Tracker TWEAK settings updated by $CURUSER[username]$actiontime");
    
redirect("settings.php?action=tweaksettings","Settings saved, you will now be redirected.");
    
}elseif (
$action == 'savesettings_s') {

    
GetVar('smtptype');
    if (
$smtptype == 'default'){        
        
$SMTP['smtptype']            = $smtptype;
    }
    elseif (
$smtptype == 'advanced') {
        
GetVar(array('smtp_host','smtp_port','smtp_from'));
        
$SMTP['smtptype']            = $smtptype;
        
$SMTP['smtp_host']             = $smtp_host;
        
$SMTP['smtp_port']             = $smtp_port;
        if (
strtoupper(substr(PHP_OS,0,3)=='WIN'))
            
$SMTP['smtp_from']         = $smtp_from;    
    }
    elseif (
$smtptype == 'external'){
        
GetVar(array('smtpaddress','smtpport','accountname','accountpassword'));
        
$SMTP['smtptype']                    = $smtptype;
        
$SMTP['smtpaddress']                = $smtpaddress;
        
$SMTP['smtpport']                    = $smtpport;
        
$SMTP['accountname']                = $accountname;
        
$SMTP['accountpassword']            = $accountpassword;
    }

    
WriteConfig('SMTP'$SMTP);
    
$actiontime date("F j, Y, g:i a"); 
    
write_log("Tracker SMTP settings updated by $CURUSER[username]$actiontime");
    
redirect("settings.php?action=smtpsettings","Settings saved, you will now be redirected.");
}elseif (
$action == 'savesettings_e') {    

    
GetVar(array('nc','hitrun','rqs'));
    
$EXTRA['nc'] = $nc;
    
$EXTRA['hitrun'] = $hitrun;
    
$EXTRA['rqs'] = $rqs;

    
WriteConfig('EXTRA'$EXTRA);
    
$actiontime date("F j, Y, g:i a"); 
    
write_log("Tracker Extra settings updated by $CURUSER[username]$actiontime");
    
redirect("settings.php?action=extrasettings","Settings saved, you will now be redirected.");

}elseif (
$action == 'extrasettings') {
    
stdhead("Website Settings - Extra Settings");
    
settingsmenu("extra");
    print (
"<form method='post' action='".$_SERVER["SCRIPT_NAME"]."'><input type='hidden' name='action' value='savesettings_e'>");

    echo 
'<tr><td colspan="2" class="subheader" align="center">Extra Settings</td></tr>';
    
tr("Disable DL/UL""yes <INPUT type='radio' name=nc" . ($EXTRA["nc"] == "yes" " checked" "") . " value='yes'> no <INPUT type='radio' name='nc'" . ($EXTRA["nc"] == "no" " checked" "") . " value='no'>\n Disable download/upload of not connectable users."1);
    
tr("HIT & RUN system enabled?""yes <INPUT type='radio' name=hitrun" . ($EXTRA["hitrun"] == "yes" " checked" "") . " value='yes'> no <INPUT type='radio' name='hitrun'" . ($EXTRA["hitrun"] == "no" " checked" "") . " value='no'>\n Check user ratio before download torrent. (min ration: 0.4 and 4 gig.)"1);
    
tr("Request and Offers Section enabled?""yes <INPUT type='radio' name=rqs" . ($EXTRA["rqs"] == "yes" " checked" "") . " value='yes'> no <INPUT type='radio' name='rqs'" . ($EXTRA["rqs"] == "no" " checked" "") . " value='no'>\n Turn OFF Request and Offers section by selecting 'NO'."1);

    
tr("Save settings","<input type='submit' name='save' class='btn' value='Save Extra Settings [PRESS ONLY ONCE]'>\n"1);
    print (
"</form>");
}elseif (
$action == 'tweaksettings') {
    
stdhead("Website Settings - Tweak Settings");
    
settingsmenu("tweak");
    print (
"<form method='post' action='".$_SERVER["SCRIPT_NAME"]."'><input type='hidden' name='action' value='savesettings_tweak'>");

    echo 
'<tr><td colspan="2" class="subheader" align="center">Tweak Your Tracker for Better Performance</td></tr>';
    
tr("Cracker Tracker Protection System Enabled?""yes <INPUT type='radio' name=ctracker" . ($TWEAK["ctracker"] == "yes" " checked" "") . " value='yes'> no <INPUT type='radio' name='ctracker'" . ($TWEAK["ctracker"] == "no" " checked" "") . " value='no'>\n Check every1 URL on your tracker for hacking attempt!"1);    
    
tr("GZip Compression?","yes <INPUT type='radio' name=gzipcompress" . ($TWEAK["gzipcompress"] == "yes" " checked" "") . " value='yes'> no <INPUT type='radio' name='gzipcompress'" . ($TWEAK["gzipcompress"] == "no" " checked" "") . " value='no'>\n If your server is running off of apache, then you can turn this setting on to compress your pages potentially making your site much quicker"1);
    
tr("Cache System enabled?","yes <INPUT type='radio' name=cachesystem" . ($TWEAK["cachesystem"] == "yes" " checked" "") . " value='yes'> no <INPUT type='radio' name='cachesystem'" . ($TWEAK["cachesystem"] == "no" " checked" "") . " value='no'>\n Turn this setting on to cache your pages potentially making your site much quicker. (FAQ,TOPTEN,RULES will be cached for 2 hours)"1);

    
tr("Max Avatar File Size?","<input type=text name=avatar_max_size value='".($TWEAK["avatar_max_size"] ? $TWEAK["avatar_max_size"] : "102400")."'  id='specialboxes'> Enter File Size in \"bytes\""1);
    
tr("Max Avatar Height?","<input type=text name=avatar_max_height value='".($TWEAK["avatar_max_height"] ? $TWEAK["avatar_max_height"] : "100")."'  id='specialboxes'> Enter Height Size in"1);
    
tr("Max Avatar Width?","<input type=text name=avatar_max_width value='".($TWEAK["avatar_max_width"] ? $TWEAK["avatar_max_width"] : "100")."'  id='specialboxes'> Enter Width Size in"1);
    
tr("Use Sessions?","yes <INPUT type='radio' name=sessions" . ($TWEAK["sessions"] == "yes" " checked" "") . " value='yes'> no <INPUT type='radio' name='sessions'" . ($TWEAK["sessions"] == "no" " checked" "") . " value='no'>\nUse Sessions or not"1);

    
tr("Save settings","<input type='submit' name='save' class='btn' value='Save TWEAK Settings [PRESS ONLY ONCE]'>\n"1);
    print (
"</form>");

}elseif (
$action == 'smtpsettings') {
    
stdhead("Website Settings - SMTP Settings");
    
settingsmenu("smtp");
    echo 
'<tr><td colspan="2" class="subheader" align="center">General SMTP Settings</td></tr>';
?>
<script src="<?=$rootpath;?>/js/usableforms.js"></script>
<body onload="prepareForm()">
<table><tbody id="waitingRoom" 
      style="display: none"></tbody>
<form method='post' action='settings.php'>
<input type='hidden' name='action' value='savesettings_s'> 
<table width=100%><tbody>
<tr>
  <td class="smtptype" align="right">Please select type of PHP Mail function?</td>
  <td>
    <input type="radio" name="smtptype" value="default"
      show="default" /> <font color=green>DEFAULT</font> (Use default PHP MAIL Function.)

    <input type="radio" name="smtptype" value="advanced"
      show="advanced" /> <font color=blue>ADVANCED</font> (Use default PHP Mail Function with EXTRA headers, This function to help avoid spam-filters.)

      <input type="radio" name="smtptype" value="external"
      show="external" /> <font color=red>EXTERNAL</font> (Use an external PHP Mail Script.)

    
  </td>
</tr>
<tr relation="default">
<?
  tr
("Save settings","<input type='submit' name='save' class='btn' value='Save SMTP Settings [PRESS ONLY ONCE]'>\n"1,"default");
?>
</tr>
<tr relation="advanced">
<?
tr
("SMTP Host? ","<input type='text' size='45' name=smtp_host value='".($smtp_host $smtp_host "localhost")."'> Default: Localhost\n"1,"advanced");
tr("SMTP Port? ","<input type='text' size='45' name=smtp_port value='".($smtp_port $smtp_port "25")."'> Default: 25\n"1,"advanced");
if (
strtoupper(substr(PHP_OS,0,3)=='WIN'))
    
tr("SMTP sendmail from? ","<input type='text' size='45' name=smtp_from value='".($smtp_from $smtp_from "$SITEEMAIL")."'> Default: $SITEEMAIL\n"1,"advanced");    
else
    print(
"<tr relation=\"advanced\"><td class=\"heading\" valign=\"top\" align=\"right\">Sendmail Path?</td><td valign=\"top\" align=left>Please setup your sendmail_path by editing php.ini</tr></td>");
tr("Save settings","<input type='submit' name='save' class='btn' value='Save SMTP Settings [PRESS ONLY ONCE]'> <u>WARNING:</u> Don't leave any fields blank!\n"1,"advanced");
?>
</tr>
<tr relation="external">
<?
print("<tr relation=\"external\"><td align=right>Outgoing mail (SMTP) address:</td><td><input type=text name=smtpaddress size=40 ".($smtpaddress "value=\"$smtpaddress\"" "")."> hint: smtp.yourisp.com</td></tr>");
print(
"<tr relation=\"external\"><td align=right>Outgoing mail (SMTP) port:</td><td><input type=text name=smtpport size=40 ".($smtpport "value=\"$smtpport\"" "")."> hint: 80</td></tr>");
print(
"<tr relation=\"external\"><td align=right>Account Name:</td><td><input type=text name=accountname size=40 ".($accountname "value=\"$accountname\"" "")."> hint: yourname@yourisp.com</td></tr>");
print(
"<tr relation=\"external\"><td align=right>Account Password:</td><td><input type=password name=accountpassword size=40 ".($accountpassword "value=\"$accountpassword\"" "")."> hint: your password goes here</td></tr>");
tr("Save settings","<input type='submit' name='save' class='btn' value='Save SMTP Settings [PRESS ONLY ONCE]'>  <u>WARNING:</u> Don't leave any fields blank!\n"1,"external");
?>
</tr>
</tbody></td>
</tr>
</form>
<?
    
print ("<script language=\"JavaScript\">
function openWindow() {
popupWin=window.open('
$BASEURL/mailtest.php','mailtest','width=750,height=450,top=300,left=300')
}
</script>"
);
    print (
"<tr><td colspan=2>How can I test php mail? Its simple easy: Click <a href=\"javascript:openWindow();\">here</a>.</tr></td>"); 
}elseif (
$action == 'securitysettings') {
    
stdhead("Website Settings - Security Settings");
    
settingsmenu("security");
    print (
"<form method='post' action='".$_SERVER["SCRIPT_NAME"]."'><input type='hidden' name='action' value='savesettings_sec'>");

    echo 
'<tr><td colspan="2" class="subheader" align="center">General Security Settings</td></tr>';
    
tr("Private Tracker Patch Enabled?","yes <INPUT type='radio' name='privatetrackerpatch'" . ($SECURITY["privatetrackerpatch"] == "yes" " checked" " checked") . " value='yes'> no <INPUT type='radio' name='privatetrackerpatch'" . ($SECURITY["privatetrackerpatch"] == "no" " checked" "") . " value='no'>\n NOTE: Re-download is necessary for seed after upload a torrent."1);    
    
tr("Banned Client Detection Enabled?","yes <INPUT type='radio' name='bannedclientdetect'" . ($SECURITY["bannedclientdetect"] == "yes" " checked" " checked") . " value='yes'> no <INPUT type='radio' name='bannedclientdetect'" . ($SECURITY["bannedclientdetect"] == "no" " checked" "") . " value='no'>\n Disable downloads if a banned client detected.. (e.g. Bitcomet, Utorrent < v1.6, Browser Clients, ABC and so far."1);
    
tr("Image Verification enable?","yes <INPUT type='radio' name='iv'" . ($SECURITY["iv"] == "yes" " checked" " checked") . " value='yes'> no <INPUT type='radio' name='iv'" . ($SECURITY["iv"] == "no" " checked" "") . " value='no'>\n Require users to enter a Visual Verify Code to register/login/recover?"1);
    
tr("Max. Warnings? ","<input type='text' id='specialboxes' name=maxwarns value='" . ($SECURITY["maxwarns"] ? $SECURITY["maxwarns"] : "1")."'> Maximum Warnings Before User is banned.\n"1);
    
tr("Use IP Bans?","yes <INPUT type='radio' name='ipbans'" . ($SECURITY["ipbans"] == "yes" " checked" " checked") . " value='yes'> no <INPUT type='radio' name='ipbans'" . ($SECURITY["ipbans"] == "no" " checked" "") . " value='no'>\n Enforces IP Bans"1);
    
    
tr("Save settings","<input type='submit' name='save' class='btn' value='Save SECURITY Settings [PRESS ONLY ONCE]'>\n"1);
    print (
"</form>");
    
}elseif (
$action == 'databasesettings') {
    
stdhead("Website Settings - Database Settings");
    
settingsmenu("database");
    print (
"<form method='post' action='".$_SERVER["SCRIPT_NAME"]."'><input type='hidden' name='action' value='savesettings_d'>");

    echo 
'<tr><td colspan="2" class="subheader" align="center">Database Configuration</td></tr>';
    
tr("Mysql Host? ","<input type='text' id='specialboxs' name=mysql_host value='".($DATABASE["mysql_host"] ? $DATABASE["mysql_host"] : "localhost")."'> Please enter your mysql host name.\n"1);
    
tr("Mysql User? ","<input type='text' id='specialboxs' name=mysql_user value='".($DATABASE["mysql_user"] ? $DATABASE["mysql_user"] : "root")."'> Please enter your mysql user name.\n"1);
    
tr("Mysql Password? ","<input type='password' id='specialboxs' name=mysql_pass value=''> Please enter your mysql password.\n"1);
    
tr("Mysql Database Name? ","<input type='text' id='specialboxs' name=mysql_db value='".($DATABASE["mysql_db"] ? $DATABASE["mysql_db"] : "torrent")."'> Please enter database name of your tracker.\n"1);

    
tr("Save settings","<input type='submit' name='save' class='btn' value='Save Database Settings [PRESS ONLY ONCE]'>\n"1);
    print (
"</form>");
}elseif (
$action == 'mainsettings') {
    
stdhead("Website Settings - Main Settings");
    
settingsmenu("main");

    print (
"<form method='post' action='".$_SERVER["SCRIPT_NAME"]."'><input type='hidden' name='action' value='savesettings_m'>");
    echo 
'<tr><td colspan="2" class="subheader" align="center">TRACKER/BOARD Online/Offline</td></tr>';
    
tr("Tracker Online? ""yes <INPUT type='radio' name='site_online'" . ($MAIN["site_online"] == "yes" " checked" " checked") . " value='yes'> no <INPUT type='radio' name='site_online'" . ($MAIN["site_online"] == "no" " checked" "") . " value='no'>
Want to turn off your Tracker while performing updates or other types of maintenance?
Please Note: Staff Leader will still be able to see the tracker.\n"
1);

    echo 
'<tr><td colspan="2" class="subheader" align="center">General TRACKER Configuration</td></tr>';
    
tr("Members Only? ""yes <INPUT type='radio' name=MEMBERSONLY" . ($MAIN["MEMBERSONLY"] == "yes" " checked" " checked") . " value='yes'> no <INPUT type='radio' name='MEMBERSONLY'" . ($MAIN["MEMBERSONLY"] == "no" " checked" "") . " value='no'>\n
Disable guest downloads."
1);
    
tr("Invites System Enabled? ""on <INPUT type='radio' name=invitesystem" . ($MAIN["invitesystem"] == "on" " checked" "") . " value='on'> off <INPUT type='radio' name='invitesystem'" . ($MAIN["invitesystem"] == "off" " checked" "") . " value='off'>\n
Allow Registrations via Invite System."
1);
    
tr("Registration System Enabled? ""on <INPUT type='radio' name=registration" . ($MAIN["registration"] == "on" " checked" " checked") . " value='on'> off <INPUT type='radio' name='registration'" . ($MAIN["registration"] == "off" " checked" "") . " value='off'>\n
Allow Registrations (not need invite code)"
1);
    
tr("Verification type?","Email <INPUT type='radio' name='verification'" . ($MAIN["verification"] == "email" " checked" " checked") . " value='email'> Automaticly <INPUT type='radio' name='verification'" . ($MAIN["verification"] == "automatic" " checked" "") . " value='automatic'>
EMAIL: Sent confirmation email.
AUTOMATIC: Automaticly activate after registration by system.</p>\n"
1);
    
tr("Wait System Enabled?","yes <INPUT type='radio' name='waitsystem'" . ($MAIN["waitsystem"] == "yes" " checked" "") . " value='yes'> no <INPUT type='radio' name='waitsystem'" . ($MAIN["waitsystem"] == "no" " checked" "") . " value='no'>\n Enable or Disable wait system (see <a href=$BASEURL/faq.php#46>faq</a>)"1);
    
tr("Max. Concurrent Download Enabled?","yes <INPUT type='radio' name='maxdlsystem'" . ($MAIN["maxdlsystem"] == "yes" " checked" "") . " value='yes'> no <INPUT type='radio' name='maxdlsystem'" . ($MAIN["maxdlsystem"] == "no" " checked" "") . " value='no'>\n Enable or Disable Maximum concurrent downloads (AKA Max Slots) (see <a href=$BASEURL/faq.php#66>faq</a>)"1);

    echo 
'<tr><td colspan="2" class="subheader" align="center">Enable/Disable Extra Features on Index Page</td></tr>';
    
tr("Blocks?""yes <INPUT type='radio' name=blocks" . ($MAIN["blocks"] == "yes" " checked" " checked") . " value='yes'> no <INPUT type='radio' name='blocks'" . ($MAIN["blocks"] == "no" " checked" "") . " value='no'>\n
Use Blocks system."
1);

    echo 
'<tr><td colspan="2" class="subheader" align="center">General Tracker Settings</td></tr>';
    
tr("Announce URL? ","<input type='text' id='specialboxg' name=announce_urls value='".($MAIN["announce_urls"] ? $MAIN["announce_urls"] : "http://" $_SERVER["HTTP_HOST"]."/announce.php")."'> 
It should be: http://" 
$_SERVER["HTTP_HOST"]."/announce.php\n"1);
    
tr("Base URL? ","<input type='text' id='specialboxg' name=BASEURL value='".($MAIN["BASEURL"] ? $MAIN["BASEURL"] : "http://" $_SERVER["HTTP_HOST"]."")."'> <br /It should be: http://" $_SERVER["HTTP_HOST"]." <u>NO</u> a trailing slash (/) at the end!\n"1);
    
tr("Default Base URL? ","<input type='text' id='specialboxg' name=DEFAULTBASEURL value='".($MAIN["DEFAULTBASEURL"] ? $MAIN["DEFAULTBASEURL"] : "http://" $_SERVER["HTTP_HOST"])."'> <br /It should be: http://" $_SERVER["HTTP_HOST"]." <u>NO</u> trailing slash (/) at the end!\n"1);
    
tr("Site EMAIL? ","<input type='text' id='specialboxg' name=SITEEMAIL value='".($MAIN["SITEEMAIL"] ? $MAIN["SITEEMAIL"] : "noreply@".$sh)."'> 
Website Email address\n"
1);
    
tr("Report EMAIL? ","<input type='text' id='specialboxg' name=reportemail value='".($MAIN["reportemail"] ? $MAIN["reportemail"] : "report@".$sh)."'> 
Report Email address\n"
1);
    
tr("Site Name? ","<input type='text' id='specialboxg' name=SITENAME value='".($MAIN["SITENAME"] ? $MAIN["SITENAME"]: $sh)."'> 
Website Name.\n"
1);

    echo 
'<tr><td colspan="2" class="subheader" align="center">General Settings Of Tracker Directories</td></tr>';
    
tr("Torrent Directory? ","<input type='text' id='specialboxn' name=torrent_dir value='".($MAIN["torrent_dir"] ? $MAIN["torrent_dir"] : "torrents")."'> 
Default: torrents <u>NO</u> a trailing slash (/) at the end!\n"
1);
    
tr("Picture Directory? ","<input type='text' id='specialboxn' name=pic_base_url value='".($MAIN["pic_base_url"] ? $MAIN["pic_base_url"] : "pic/")."'> 
Default: pic/ <u>ADD</u> a trailing slash (/) at the end!\n"
1);
    
tr("Bitbucket Directory? ","<input type='text' id='specialboxn' name=bitbucket value='".($MAIN["bitbucket"] ? $MAIN["bitbucket"] : "bitbucket")."'> default: bitbucket <u>NO</u> a trailing slash (/) at the end!\n"1);
    
tr("Cache Directory? ","<input type='text' id='specialboxn' name=cache value='".($MAIN["cache"] ? $MAIN["cache"] : "cache")."'> 
Default: cache <u>NO</u> a trailing slash (/) at the end!\n"
1);

    echo 
'<tr><td colspan="2" class="subheader" align="center">General Tracker Limitations</td></tr>';
    
tr("Max. Torrent Size? ","<input type='text' id='specialboxes' name='max_torrent_size' value='".($MAIN["max_torrent_size"] ? $MAIN["max_torrent_size"] : 10*1024*1024)."'> Default: ".(10*1024*1024)." (10 gb)\n"1);
    
tr("Announce Interval? ","<input type='text' id='specialboxes' name=announce_interval value='".($MAIN["announce_interval"] ? $MAIN["announce_interval"] : "1800")."'> Default: 1800 (60 * 30)\n"1);
    
tr("Auto Clean Interval? ","<input type='text' id='specialboxes' name=autoclean_interval value='".($MAIN["autoclean_interval"] ? $MAIN["autoclean_interval"] : "900")."'> Default: 900\n"1);
    
tr("Signup Timeout? ","<input type='text' id='specialboxes' name=signup_timeout value='".($MAIN["signup_timeout"] ? $MAIN["signup_timeout"] : "259200")."'> Default: 259200  (86400 * 3)\n"1);
    
tr("Min. Votes? ","<input type='text' id='specialboxes' name=minvotes value='".($MAIN["minvotes"] ? $MAIN["minvotes"] : "1")."'> Default: 1\n"1);
    
tr("Max. Dead Torrent Time ? ","<input type='text' id='specialboxes' name=max_dead_torrent_time value='".($MAIN["max_dead_torrent_time"] ? $MAIN["max_dead_torrent_time"] : "21600")."'> Default: 21600  (6 * 3600)\n"1);
    
tr("Max. Users? ","<input type='text' id='specialboxes' name=maxusers value='".($MAIN["maxusers"] ? $MAIN["maxusers"] : "2500" )."'> Disable registration whenever this limit will be reached.\n"1);

    
tr("Save settings","<input type='submit' name='save' class='btn' value='Save Main Settings [PRESS ONLY ONCE]'>\n"1);
    print (
"</form>");
}elseif (
$action == 'showmenu') {    
    
stdhead("Website Settings - Admin Menu");
    
settingsmenu("none");    
?>

<tr><td colspan="2" align="left">
<link rel="stylesheet" type="text/css" href="<?=$rootpath;?>/themes/<?=$defaulttheme;?>/ajaxtabs.css" />
<script type="text/javascript" src="<?=$DEFAULTBASE;?>/js/ajaxtabs.js"></script>
<ul id="maintab" class="shadetabs">
<li class="selected">Welcome[*]Tracker Info[/list]<div id="ajaxcontentarea" class="contentstyle">


Welcome to the Administration Control Panel</p>


You have been logged in as Administrator, you will be able to manage your tracker. You will be able to perform various tasks such as Main Settings, Database Settings, SMTP Settings,  Theme Settings. You can also Manage the Important Settings of the tracker once you have logged in as an Administrator.</p>



<font color=green>We would like to thank you again for your support!</p>
</div>
<script type="text/javascript">
//Start Ajax tabs script for UL with id="maintab" Separate multiple ids each with a comma.
startajaxtabs("maintab")
</script>
</td></tr>
<?
    
print ("<tr><td style='padding: 10px; background: red' class=subheader>
<font color=white><center>Before save the settings, please ensure that you have properly configured file and directory access permissions.
</font></center></td></tr>"
);
}
// PRINT FOOTER AND DIE!
print("</table>");
stdfoot(); 
?>
Just create new file settings.php COPY AND PASTE IT:D
Reply With Quote
  #4  
Old 31st May 2009, 21:37
NoOne NoOne is offline
Member
 
Join Date: Dec 2008
United Kingdom
Posts: 6
Default ....
this doesn't work...!
I get this problem : http://bvlist.com/yuna-scatari/2725-...html#post11962
Reply With Quote
  #5  
Old 20th July 2009, 09:59
Gerxx13 Gerxx13 is offline
Member
 
Join Date: Apr 2009
P2P
Posts: 8
Default
Its only for Pre 7 ?
Reply With Quote
  #6  
Old 20th July 2009, 11:14
helvijs13 helvijs13 is offline
Senior Member
 
Join Date: Sep 2008
Posts: 23
Cool
For Pre 6 Works only you need take forums.php raplece and insert editforums.php and add SQL !

P.S You need Fix userdetails.php!
Attached Files
File Type: php forums.php (46.5 KB, 30 views)
File Type: php editforums.php (6.5 KB, 19 views)
File Type: txt SQL.txt (3.3 KB, 29 views)
Reply With Quote
  #7  
Old 1st June 2010, 16:26
leicha leicha is offline
Member
 
Join Date: Apr 2010
Latvia
Posts: 6
Default
i downloaded helvijs 13 files and found a problem - forum doesnt count Topics and Posts



Last edited by leicha; 3rd June 2010 at 19:57.
Reply With Quote
Reply

Tags
forum , full , mybb , remove

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question-Converting from MyBB to vBulletin-AutoIntegration? koolfire Community Cafe 3 23rd July 2011 02:54
SQL Error - Unknown column - MyBB - YSE PRE7 2.2 iceburn Yuna Scatari Edition (YSE) 4 3rd December 2009 02:05
Can BoLaMn make YSE source without Mybb? kp380lv Yuna Scatari Edition (YSE) 11 12th November 2008 16:01
MyBB login problem!?! Kotafi Yuna Scatari Edition (YSE) 0 2nd September 2008 14:02



All times are GMT +2. The time now is 23:03. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.