Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Project U-232 (http://www.bvlist.com/forumdisplay.php?f=80)
-   -   Project U-232 (http://www.bvlist.com/showthread.php?t=6342)

Bigjoos 26th April 2011 13:44

Project U-232
 
6 Attachment(s)
Official Forum:

https://u-232forum.servebeer.com


Official Dev site

https://u-232.servebeer.com

IRC

irc.mibbit.com #09source

Please note that in order to join IRC then you need to be a member on the dev site also you need to use your exact site username !!!

Code Repository's :


https://github.com/Bigjoos/U-232
https://github.com/Bigjoos/U-232-V1
https://github.com/Bigjoos/U-232-V2
https://github.com/Bigjoos/U-232-V3
https://github.com/Bigjoos/U-232-V4
https://github.com/Bigjoos/U-232-V5


Main requirements


U-232 now requires MySQLI, V1 & V2 still use MySQL for now, will soon be MySQLI
Gd2
memcache for V1 and V2
mcrypt
SSL

Recommended

APC

V3 Main requirements

Gd2
memcache
memcached
Mysqli
mcrypt
SSL
Sphinx

What the heck is U-232 ?

It was called Installer09 but we decided to change that.
Well U-232 is a fully modded source code, Its based on Tbdev 09 final which is based on Tbdev which is based on Tbsource which is based on TorrentBits which is based on Bytemonsoon ha ha, so thanks to all those guys for the great work on the base code through the years and variants.

It succeeds Codex Installer/Tbdev Installer but this time around its had 15 odd months work done behind the scenes before being released for public usage. The source code is set up well and follows good web standards specifically because the source code is Xhtml valid.

It has a standard version for everyone also V1 which is memcached and V2 is memcached as well with much more development than the previous two. Its simply a free modded source code built for the masses but with a sting in its tail just like its namesake.

The V2 version is efficient and already performing extremely well but its not finished by a long shot, generally you will see that it ticks over @ 0 querys on homepage in between cache expires or events freeing up huge mysql resource, the announce has the user query memcached as well so its going in the correct direction however were continually working on the code and changing or improving stuff. V2 sports modifications that are in no other source code, the memcached routines did not exist either until it was all built.

I will answer most support related questions and install issues on a limited basis. I have my own SVN and forum with every single modification used for this project, and to close i would just like to say a massive thank you goes out to all involved.

You all know who you are and i couldn't have got this far without you all - Sharing is caring.

Set Up Instructions :

First extract pic.rar, javairc.rar, GeoIp.rar for V2 and ensure there not inside an extra folder from being archived then upload the code to your server and chmod - root - avatars - backup - bitbucket - cache and all nested files and folders - dictbreaker - dir_list - uploads - uploadsubs - imdb imdb/cache imdb/images - include - include/settings settings.txt install/extra/config.sample.php install/extra/announce.sample.php - logs - torrents.

Create a new database user and password via phpmyadmin - Point to http://yoursite.com/install/index.php - fill in all the required data - log in - Create a new user on entry named System ensure its userid2 so you dont need to alter the autoshout id in config.php. Add your staff ids to config.php first.

Add your staffnames to config.php to access staffpanel. V1 and V2 Installer is set up for linux if on windows then edit install/functions/database.php - its commented. tcl files are included - include each one one your eggdrop.conf.

Please be aware full active support is retained only on the current SVN version which is V5, all previous versions are updated much less.

Set Up Instructions v3:

First extract pic.rar - javairc.rar and GeoIp.rar and ensure there not inside an extra folder from being archived then upload the code to your server and chmod - cache and all nested files and folders - dir_list - uploads - uploadsubs - imdb imdb/cache imdb/images - include - include/backup - include/settings settings.txt install/config.sample.php install/ann_config.sample.php - logs - torrents.
Create a new database user and password via phpmyadmin - Point to http://yoursite.com/install/index.php - fill in all the required data - log in. As soon as you install do not enter staffpanel until you make the first edit which is cache/staff_settings2.php - replace admin with your username. Create a new user on entry named System ensure its userid2 so you dont need to alter the autoshout function on include/user_functions.php.

Setup Instructions v4:

U-232 V4 Please take note; Before you begin installation it is very important that your server is configured correctly and has all the required source code dependencies. Ensure your error reporting is enabled on the server and you are logging the errors and not just displaying them. A error on install is a failure to adhere to setup instructions. If you experience a failure then a properly configured server will report that issue, no excuses required. Install memcache and zend opcode cache before installing U-232 V4. 1. Create a directory one up from root so it resides beside it not inside it, named bucket. Then inside the bucket folder make another and name it avatar. If you use your own names for those folders then you need to edit bitbucket.php and img.php defines at top of the files. Then add a .htaccess and index.html files into both newly created folders. Then chmod those above folders. Then extract pic.tar.gz, javairc.tar.gz, Log_Viewer.tar.gz and GeoIp.tar.gz and ensure they are not inside an extra folder from being archived. Then upload the code to your server and chmod; - cache and all nested files and folders - dir_list - uploads - uploadsub - imdb imdb/cache - imdb/images - include - include/backup - include/settings settings.txt - install/extra/config.phpsample.php/config.xbtsample.php - install/extra/ann_config.phpsample.php/ann_config.xbtsample.php - sqlerr_logs - torrents 2. Create a new database user and password via phpmyadmin. 3. Point to https://yoursite.com/install/index.php - fill in all the required data and choose XBT or default - then log in. 4. Create a second user on entry named System ensure its userid2 so you dont need to alter the autoshout function on include/user_functions.php. 5. Sysop is added automatically to the array in cache/staff_settings.php and cache/staff_setting2.php. 6. Staff is automatically added to the same 2 files, but you have to make sure the member is offline before you promote them.

djblackout 26th April 2011 20:42

complete 100 % excellent source coding !!!
this is so brilliant that its to die fore :lol:

i like ur new work u spend so many hours on this, and all end up in nice code
i personal hope to se more great project's from you in the future ,
thanks that this could go to bvlist sharing is caring :muscle:

you can all be asured that this is the greatest source !

scenedemon 27th April 2011 14:16

nice
 
nice so far joe hope you stick with it mate unlike the tbdev installer shame about that version left for dead
but always look ahead and thank you for ur / others hard work
:drink::friend:

gram 28th April 2011 20:03

the best source ever

coko 29th April 2011 16:17

hi, u r just awesome
but can u pls help me integrate the theme below in u-232
www.tbdev.net/topic/24250-the-ftl-theme/

Bigjoos 29th April 2011 20:48

Yeah i could make a template from it probably but i would need to see the code first in order for me to give a definite answer.

Bump: @ coko - Can you tell me which version your running please - Im guessing its U-232 standard ?

And the css file for that template imports

Code:

@import url("essentials.css") all;
That is missing presently but i don't know if that's required yet ?

cherwonk 30th April 2011 01:22

Been testing this source out for a couple of months now. Its a good solid source, easy to edit and add other mods/tools to.
Bigjoos, glad you've decide to keep on with the coding . Some would have been soured after all that went down . :drink:

coko 30th April 2011 05:27

1 Attachment(s)
tnx for the reply bigjoos...the theme i attached is very sweet...more over easy to edit evn..
but problem wid the theme provided in u-232 is they are fully unstructured...
if one theme is edited (uniqpixel 1.0 ) to fixed tables wid same alignment in browse/index (i mean lower sqeez the current table width to look gud)

tnx:drink:

Naven 30th April 2011 10:34

What is svn address?

Bigjoos 30th April 2011 10:55

New Repo

https://github.com/Bigjoos/U-232
https://github.com/Bigjoos/U-232-V1
https://github.com/Bigjoos/U-232-V2

englezu 30th April 2011 22:53

I try install U-232 V2 with subdomain and after signup show this error:

Code:

Error
Please resubmit the form. Click HERE

Why?

NatashaRhea 30th April 2011 23:45

small issue i got installed successfully . But when i go to login it takes me back to login page like i am just refreshing the page nothing happens would anyone know why and a fix for it thank you in advance

Great Job on Source :drink:

Bigjoos 1st May 2011 01:58

If your being bounced back to login then its the cookie_domain setting on config.php causing it so either set it as your domain no http or www or leave it blank sometimes need to clear your cookies when making changes there as well.

@ englezu because you have set it up incorrectly - Make sure the baseurl line is correct and make sure you use cookie_prefix no cookie domain
Code was set up in subs by the beta testers ages ago.

englezu 1st May 2011 08:31

It does not work. My settings in config.php:

$INSTALLER09['cookie_prefix'] = ''; // This allows you to have multiple trackers, eg for demos, testing etc.
$INSTALLER09['cookie_path'] = ''; // ATTENTION: You should never need this unless the above applies eg: /tbdev
$INSTALLER09['cookie_domain'] = '.subdomain.domain.net'; // set to eg: .somedomain.com or is subdomain set to: .sub.somedomain.com
$INSTALLER09['domain'] = 'http://subdomain.domain.net';

not working on subdomain?

(I installed it on the domain and work. I can make my account and to log in.)

Bigjoos 1st May 2011 10:28

Im not getting into a debate about if it works or not in sub domain, i know it does.

This needs modified to tell your one up from root :

Code:

$INSTALLER09['baseurl'] = 'http'.(isset($_SERVER['HTTPS']) && (bool)$_SERVER['HTTPS'] == true ? 's':'').'://'. $_SERVER['HTTP_HOST'];
To something like this :

Code:

$INSTALLER09['baseurl'] = 'http'.(isset($_SERVER['HTTPS']) && (bool)$_SERVER['HTTPS'] == true ? 's':'').'://'. $_SERVER['HTTP_HOST'].'/Subfolder';
This :

Code:

$INSTALLER09['cookie_prefix']  = ''; // This allows you to have multiple trackers, eg for demos, testing etc.
$INSTALLER09['cookie_path']    = '';  // ATTENTION: You should never need this unless the above applies eg: /tbdev
$INSTALLER09['cookie_domain']  = ''; // set to eg:  .somedomain.com or is subdomain set to: .sub.somedomain.com

Would be something like this :

Code:

$INSTALLER09['cookie_prefix'] = '/subfolder'; // This allows you to have multiple trackers, eg for demos, testing etc.
$INSTALLER09['cookie_path'] = ''; // ATTENTION: You should never need this unless the above applies eg: /tbdev
$INSTALLER09['cookie_domain'] = ''; // set to eg: .somedomain.com or is subdomain set to: .sub.somedomain.com


NatashaRhea 1st May 2011 21:46

thank you got that sorted i dont have ops though i get this when going to staff panel sweet looking source well done :drink:

lol

Incorrect access

Silly Rabbit - Trix are for kids.. You dont have the correct credentials to be here !

Bigjoos 1st May 2011 21:53

All you need to do is open config.php and find :

PHP Code:

//==Important security settings below
//==Add all your Staff ids
$INSTALLER09['allowed_staff']['id'] = array(1,2); 

Would become for example :

PHP Code:

//==Important security settings below
//==Add all your Staff ids
$INSTALLER09['allowed_staff']['id'] = array(1,2,3,4,50); 

Ensure that before you promote any staff that there userid is added to that array.

Then few lines below find :

PHP Code:

//== Add ALL staff names before promote them
$INSTALLER09['staff']['allowed'] = array( 'Admin'       => 1,
                                    
'System' => 1
                                    
); 

Would become for example :

PHP Code:

//== Add ALL staff names before promote them
$INSTALLER09['staff']['allowed'] = array( 'Bigjoos'  => 1,
                                          
'Admin'    => 1,
                                          
'Bob'      => 1,
                                          
'System'   => 1
                                    
); 

And edit that array by copying the top line and pasting it direct underneath then change the name, adding your staff names used on site so they can access staffpanel, You will also see pins on there as some tools are pin protected so check that out.

englezu 1st May 2011 23:24

Thanks Bigjoos works now. Great source! :drink:

NatashaRhea 1st May 2011 23:26

done something wrong
 
I done what you said but for some reason it keeps demoting an not given systems op to BeetPete can u check see what i done wrong thanks


Code:


/**

 *  http://btdev.net:1337/svn/test/Installer09_Beta

 *  Licence Info: GPL

 *  Copyright (C) 2010 BTDev Installer v.1

 *  A bittorrent tracker source based on TBDev.net/tbsource/bytemonsoon.

 *  Project Leaders: Mindless,putyn.

 **/

error_reporting(E_ALL);

define('PUBLIC_ACCESS', true);

define('SQL_DEBUG', 1);

//==charset

$TBDEV['char_set'] = 'UTF-8'; //also to be used site wide in meta tags

if (ini_get('default_charset') != $TBDEV['char_set']) {

ini_set('default_charset',$TBDEV['char_set']);

}

/* Compare php version for date/time stuff etc! */

if (version_compare(PHP_VERSION, "5.1.0RC1", ">="))

date_default_timezone_set('Europe/London');

define('TIME_NOW', time());

$TBDEV['time_adjust'] =  0;

$TBDEV['time_offset'] = '0';

$TBDEV['time_use_relative'] = 1;

$TBDEV['time_use_relative_format'] = '{--}, h:i A';

$TBDEV['time_joined'] = 'j-F y';

$TBDEV['time_short'] = 'jS F Y - h:i A';

$TBDEV['time_long'] = 'M j Y, h:i A';

$TBDEV['time_tiny'] = '';

$TBDEV['time_date'] = '';



//== DB setup

$TBDEV['mysql_host'] = 'localhost';

$TBDEV['mysql_user'] = 'root';

$TBDEV['mysql_pass'] = 'XXXXX';

$TBDEV['mysql_db']  = 'tb';

//== Cookie setup

$TBDEV['cookie_prefix']  = ''; // This allows you to have multiple trackers, eg for demos, testing etc.

$TBDEV['cookie_path']    = '';  // ATTENTION: You should never need this unless the above applies eg: /tbdev

$TBDEV['cookie_domain']  = ''; // set to eg: .somedomain.com or is subdomain set to: .sub.somedomain.com

$TBDEV['domain'] = '';

$TBDEV['site_online'] = 1;

$TBDEV['tracker_post_key'] = 'lsdflksfda4545frwe35@kk';

$TBDEV['max_torrent_size'] = 1000000;

$TBDEV['announce_interval'] = 60 * 30;

$TBDEV['signup_timeout'] = 86400 * 3;

$TBDEV['autoclean_interval'] = 900;

$TBDEV['autoslowclean_interval'] = 28800;

$TBDEV['autoslowclean_interval2'] = 57600;

$TBDEV['lotteryclean_interval'] = 259200;

$TBDEV['autobackup_interval'] = 86400;

$TBDEV['optimizedb_interval'] = 172800;

$TBDEV['minvotes'] = 1;

$TBDEV['max_dead_torrent_time'] = 6 * 3600;

$TBDEV['language'] = 'en';

$TBDEV['user_ratios'] = 1;

$TBDEV['bot_id'] = 2;

$TBDEV['coins'] = false;

$TBDEV['forums_online'] = 1;

$TBDEV['forums_autoshout_on'] = 1;

$TBDEV['forums_seedbonus_on'] = 1;

$TBDEV['maxsublength'] = 100;

//== Memcache expires

$TBDEV['expires']['latestuser'] = 0; // 0 = infinite 

$TBDEV['expires']['MyPeers_'] = 120; // 60 = 60 seconds

$TBDEV['expires']['unread'] = 86400; // 86400 = 1 day

$TBDEV['expires']['alerts'] = 0;  // 0 = infinite

$TBDEV['expires']['user_cache'] = 900;  // 900 = 15 min

$TBDEV['expires']['forum_posts'] = 900;  // 900 = 15 min

$TBDEV['expires']['torrent_comments'] = 900;  // 900 = 15 min

$TBDEV['expires']['latestposts'] = 900;  // 900 = 15 min

$TBDEV['expires']['iphistory'] = 900;  // 900 = 15 min

$TBDEV['expires']['newpoll'] = 900;  // 900 = 15 min

$TBDEV['expires']['curuser'] = 900;  // 900 = 15 min

$TBDEV['expires']['genrelist'] = 30*86400; // 30x86400 = 30 days

$TBDEV['expires']['poll_data'] = 300; // 300 = 5 min

$TBDEV['expires']['torrent_data'] = 900; // 900 = 15 min

$TBDEV['expires']['user_flag'] = 86400*28; // 900 = 15 min

$TBDEV['expires']['shit_list'] = 900; // 900 = 15 min

$TBDEV['expires']['port_data'] = 900; // 900 = 15 min

$TBDEV['expires']['user_peers'] = 900; // 900 = 15 min

$TBDEV['expires']['user_friends'] = 900; // 900 = 15 min

$TBDEV['expires']['user_blocks'] = 900; // 900 = 15 min

$TBDEV['expires']['hnr_data'] = 900; // 900 = 15 min

$TBDEV['expires']['hnr_data'] = 900; // 900 = 15 min

$TBDEV['expires']['snatch_data'] = 900; // 900 = 15 min

$TBDEV['expires']['user_snatches_data'] = 900; // 900 = 15 min

$TBDEV['expires']['snatch_data'] = 900; // 900 = 15 min

$TBDEV['expires']['user_snatches_complete'] = 900; // 900 = 15 min

$TBDEV['expires']['activeusers'] = 60; // 60 = 1 minutes

$TBDEV['expires']['last24'] = 3600; // 3600 = 1 hours

$TBDEV['expires']['total_funds'] = 0; // 0 = infinite

$TBDEV['expires']['latest_news'] = 0; // 0 = infinite

$TBDEV['expires']['site_stats'] = 300; // 300 = 5 min

//== Latest posts limit

$TBDEV['latest_posts_limit'] = 5; //query limit for latest forum posts on index

/** Settings **/

$TBDEV['reports']      = 1;// 1/0 on/off

$TBDEV['karma']        = 1;// 1/0 on/off

$TBDEV['textbbcode']  = 1;// 1/0 on/off

$TBDEV['max_slots'] = 1; // 1=On 0=Off

$TBDEV['user_slots'] = 20;

$TBDEV['p_user_slots'] = 30;

$TBDEV['user_ratio1_slots'] = 2;

$TBDEV['user_ratio2_slots'] = 3;

$TBDEV['user_ratio3_slots'] = 5;

$TBDEV['user_ratio4_slots'] = 10;

//== Max users on site

$TBDEV['maxusers'] = 5000; // LoL Who we kiddin' here?

$TBDEV['invites'] = 3500; // LoL Who we kiddin' here?

$TBDEV['openreg'] = true; //==true=open, false = closed

$TBDEV['failedlogins'] = 5; // Maximum failed logins before ip ban

$TBDEV['flood_time'] = 900; //comment/forum/pm flood limit

$TBDEV['readpost_expiry'] = 14*86400; // 14 days

/** define dirs **/

define('INCL_DIR', dirname(__FILE__).DIRECTORY_SEPARATOR);

define('ROOT_DIR', realpath(INCL_DIR.'..'.DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR);

define('ADMIN_DIR', ROOT_DIR.'admin'.DIRECTORY_SEPARATOR);

define('FORUM_DIR', ROOT_DIR.'forums'.DIRECTORY_SEPARATOR);

define('CACHE_DIR', ROOT_DIR.'cache'.DIRECTORY_SEPARATOR);

define('MODS_DIR', ROOT_DIR.'mods'.DIRECTORY_SEPARATOR);

define('LANG_DIR', ROOT_DIR.'lang'.DIRECTORY_SEPARATOR.$TBDEV['language'].DIRECTORY_SEPARATOR); 

define('TEMPLATE_DIR', ROOT_DIR.'templates'.DIRECTORY_SEPARATOR);

define('IMDB_DIR', ROOT_DIR.'imdb'.DIRECTORY_SEPARATOR);

$TBDEV['cache'] = ROOT_DIR.'cache';

$TBDEV['backup_dir'] = INCL_DIR.'backup';

$TBDEV['dictbreaker'] = ROOT_DIR.'dictbreaker';

$TBDEV['torrent_dir'] = ROOT_DIR.'torrents'; # must be writable for httpd user 

$TBDEV['bucket_dir'] = ROOT_DIR .'bitbucket'; # must be writable for httpd user

$TBDEV['flood_file'] = INCL_DIR.'settings'.DIRECTORY_SEPARATOR.'limitfile.txt';

$TBDEV['nameblacklist'] = ROOT_DIR.'cache'.DIRECTORY_SEPARATOR.'nameblacklist.txt';

# the first one will be displayed on the pages

$TBDEV['announce_urls'] = array();

$TBDEV['announce_urls'][] = 'http://www.yoursite.info/announce.php';

//$TBDEV['announce_urls'][] = "https://09source.kicks-ass.net/announce.php";

if ($_SERVER["HTTP_HOST"] == "")

$_SERVER["HTTP_HOST"] = $_SERVER["SERVER_NAME"];

$TBDEV['baseurl'] = "http://" . $_SERVER["HTTP_HOST"];

/*

## DO NOT UNCOMMENT THIS: IT'S FOR LATER USE!

$host = getenv( 'SERVER_NAME' );

$script = getenv( 'SCRIPT_NAME' );

$script = str_replace( "\\", "/", $script );



  if( $host AND $script )

  {

    $script = str_replace( '/index.php', '', $script );



    $TBDEV['baseurl'] = "http://{$host}{$script}";

  }

*/

//== Email for sender/return path.

$TBDEV['site_email'] = 'admin@yoursite.co.uk';

$TBDEV['site_name'] = 'yoursite';

$TBDEV['language'] = 'en';

$TBDEV['msg_alert'] = 1; // saves a query when off

$TBDEV['report_alert'] = 1; // saves a query when off

$TBDEV['staffmsg_alert'] = 1; // saves a query when off

$TBDEV['uploadapp_alert'] = 1; // saves a query when off

$TBDEV['sql_error_log'] = ROOT_DIR.'logs'.DIRECTORY_SEPARATOR.'sql_err_'.date('M_D_Y').'.log';

$TBDEV['pic_base_url'] = "./pic/";

$TBDEV['stylesheet'] = "1";

//== set this to size of user avatars

$TBDEV['av_img_height'] = 100;

$TBDEV['av_img_width'] = 100;

//== set this to size of user signatures

$TBDEV['sig_img_height'] = 100;

$TBDEV['sig_img_width'] = 500;

$TBDEV['bucket_dir'] = ROOT_DIR . '/bitbucket'; # must be writable for httpd user 

$TBDEV['allowed_ext'] = array('image/gif', 'image/png', 'image/jpeg');

$TBDEV['bucket_maxsize'] = 500*1024; #max size set to 500kb

//== last 24 users online

$TBDEV['last24cache'] = CACHE_DIR.'last24/'.date('dmy').'.txt';

$TBDEV['last24record'] = CACHE_DIR.'last24record.txt';

$TBDEV['happyhour'] = CACHE_DIR.'happyhour'.DIRECTORY_SEPARATOR.'happyhour.txt';

$TBDEV['crazy_title'] ="w00t It's Crazyhour!";

$TBDEV['crazy_message'] ="All torrents are FREE and upload stats are TRIPLED!";

//== Set this to the line break character sequence of your system

//$TBDEV['linebreak'] = "\r\n"; // not used at present.

define ('UC_USER', 0);

define ('UC_POWER_USER', 1);

define ('UC_VIP', 2);

define ('UC_UPLOADER', 3);

define ('UC_MODERATOR', 4);

define ('UC_ADMINISTRATOR', 5);

define ('UC_SYSOP', 6);

define('UC_MIN', 0);  // minimum class

define('UC_MAX', 6);  // maximum class

define('UC_STAFF', 4); // start of staff classes

$TBDEV['staff_viewcode_on'] = true;

//==Class check by pdq

$TBDEV['site']['owner'] = 1;

//== Salt

$TBDEV['site']['salt2'] = 'jgutyshsjaka';  // should be mix of u/l case and min 12 chars length

//= Change staff pin daily or weekly

$TBDEV['staff']['staff_pin'] = 'uFg40y3IufqoI9'; // should be mix of u/l case and min 12 chars length

//== Staff forum ID for autopost

$TBDEV['staff']['forumid'] = 2; // this forum ID should exist and be a staff forum

//==Staff ids

$TBDEV['allowed_staff']['id'] = array(1);  //== Add all staff ids before promotion

//== Add ALL staff names before promote them
$INSTALLER09['staff']['allowed'] = array( 'BeetPete'      => 1,
                                    'Admin'      => 1,
                                    'Yourname'      => 1,
                                    'anothername'      => 1,
                                    'System' => 1
                                    ); 

//Do not modify -- versioning system

//This will help identify code for support issues at Btbdev.net

define ('TBVERSION','09_Installer');

?>


Bigjoos 2nd May 2011 04:25

Well your using what looks like default U-232 V1 and trying to add V2 globals to it

PHP Code:

//== Add ALL staff names before promote them 
$INSTALLER09['staff']['allowed'] = array( 'BeetPete'       => 1,                                     
    
'Admin'       => 1,                                     
    
'Yourname'       => 1,                                     
    
'anothername'       => 1,                                     
    
'System' => 1                                     
    
); 

Should be

PHP Code:

//== Add ALL staff names before promote them 
$TBDEV['staff']['allowed'] = array( 'BeetPete'       => 1,                                     
'Admin'       => 1,                                     
'Yourname'       => 1,                                     
'anothername'       => 1,                                     
'System' => 1                                     
); 


NatashaRhea 2nd May 2011 18:13

ha ha i didnt even notice that what a moron i am sometimes thanks Bigjoss i tried to log on your forum to get V2 it is being moved ill look for V2 later on thanks again and well done to all on the source

Ledgic 3rd May 2011 03:08

memcache extension
 
hi i got it installed V2 but when i load the site and go to log in i get a white page and it says memcache extension not installed have i done something wrong ?

Bigjoos 3rd May 2011 05:46

Well i did list the requirements on the main post and that means installing memcache on your server and ensuring its running so once you have that done you'll be able to use the code.

wMan 3rd May 2011 11:24

lests hope its not a mess
 
Lets hope its not a mass like u did the installer ll give it ago a
nd let u know big j from a old mate from years ago

stoner 3rd May 2011 12:32

This is a great source code. Ideal for just about any admin no matter your coding level.

I have been using it for only a couple of months now, but see new bits being added all the time, which is a great indication on how the code will progress over time.

Keep up the good work guys and gals. Also I would like to see some of the sites out there using this code :drink:

wMan 3rd May 2011 13:18

why
 
Why rename it itz a 09 code why i do not know big j why 2downloads of it ? Ive all ready have this code from few monthz ago . What i never got crom here

Bigjoos 3rd May 2011 15:30

There's a standard version == U-232 for those that cant get there head around installing memcache on there server or simply cant and theres 2 versions of the memcache version U-232 V1 and U-232 V2,V1 had 8 templates built for it and i faced a major issue updating 8 templates at a time so V2 was introduced, V2 had a complete re-design and got some systems added that are completely new in preparation for V3 which will sport .TPL, Its about choice but if your not happy sure i'll remove them and leave you less choice and a basic code. The rename is simply putting our brand on the code because were the ones that's spent 16 odd months developing it so you the end user simply has an alternative to the current source codes available.. im entitled to do that and lets be honest Installer09 sounds pathetic and ties it to 2 years ago.

wMan 3rd May 2011 16:19

thax getting back
 
Thax for your input on this one big J ll download the memcache from here as its the best of the code one morething can i remove themes ?
have one as there's is too many there is one i like only ?

Bigjoos 3rd May 2011 16:30

Aye if its V1 you have it has eight and you want say theme number 5 - simply take folder 5 rename it to 1 and then edit template.php and change any links from 5 to 1 and also the css file from 5.css to 1.css as number 1 template will always be the default - Use the template manager in admin panel to delete the entrys from db or add them - Its straight forward to change it to one template only just have to remember that there numbered and so is any links within those template.php files.

wMan 3rd May 2011 20:33

thax buzzing big J
 
Thax big J

icheee 4th May 2011 22:00

MySQL
 
Hi I have the following problem in the Staff Panel>>>

when I go to the page>> admin.php?action =usersearch <
MySQL is a mistake because then the following>>>
MySQL Error There appears to be an error with the database. More is not because I hope you can help me! (I have this version of U-232.zip without memched)


and then I also will be a question how do I disable mail Signup



Thank you in advance already




Sorry for my bad English

cherwonk 5th May 2011 00:33

Dont know about your error , I havent installed the V2 yet . But to disable mail confirmation
Include/config.php
look for
Code:

//==Auto confirm no email
//== 0 and false = email off
define ('EMAIL_CONFIRM',1);
$INSTALLER09['send_email'] = true;

change the 1=0 and true=false

icheee 6th May 2011 01:00

Hi thanks for your help cherwonk but such a code does not exist in my config file

Bigjoos 6th May 2011 11:30

takesignup.php find :

PHP Code:

confirmed':'pending

Change to :

PHP Code:

confirmed':'confirmed

Find :

PHP Code:

if($arr[0])
      
mail($email"{$TBDEV['site_name']} {$lang['takesignup_confirm']}"$body"{$lang['takesignup_from']} {$TBDEV['site_email']}");
    else
      
logincookie($id$wantpasshash); 

To :

PHP Code:

logincookie($id$wantpasshash); 

usersearch.php - simple just take the file from v1 rar.

icheee 7th May 2011 15:36

Hi I have successfully disabled the signup thanks for the help but the user search does not work with php page from the V1 that I get only a white page

shasta 7th May 2011 20:35

u-232
 
i was do all right but i cant login with my account, when i login it return me to the login page :(

and now other problem when i tried to make another account
Code:

Signup failed

Sorry, you're not qualified to become a member of this site.


wMan 7th May 2011 21:12

Quote:

Originally Posted by icheee (Post 27852)
Hi I have successfully disabled the signup thanks for the help but the user search does not work with php page from the V1 that I get only a white page

you have a php error with the said file look at it at the of file thats where it be

Bump:

Bump:

Bump:
Quote:

Originally Posted by Bigjoos (Post 27804)
Aye if its V1 you have it has eight and you want say theme number 5 - simply take folder 5 rename it to 1 and then edit template.php and change any links from 5 to 1 and also the css file from 5.css to 1.css as number 1 template will always be the default - Use the template manager in admin panel to delete the entrys from db or add them - Its straight forward to change it to one template only just have to remember that there numbered and so is any links within those template.php files.

Yes there is 8 themes and the one i want to us only is the 8 theme and the css is main.css would you tell me what to do with the main.css , rename to 1css ? Your input would be nice BiG J

Bigjoos 13th May 2011 16:08

Well you can name it 1.css or you can edit template.php and call it main.css choice is yours there just what ever you find easier, as long as the name of the file is correct and on template.php its fine.

shasta 22nd May 2011 20:40

Quote:

Originally Posted by Bigjoos (Post 27665)
attention

Attention



Under Development!





I have done everything well done but when i wana log in it's return me to the login page again

ddshow 23rd May 2011 15:54

Quote:

Originally Posted by shasta (Post 28052)
I have done everything well done but when i wana log in it's return me to the login page again

$INSTALLER09['cookie_prefix'] = 'some text';
$INSTALLER09['cookie_path'] = 'some text';
$INSTALLER09['cookie_domain'] = 'some text';

you put some details here ======/include/config.php empty were i put some text without quotes and work the login if not work empty the cookie on your browser


All times are GMT +2. The time now is 21:44.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2022, vBulletin Solutions Inc.