Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
Observations for M-Jay
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / M-BiTsy / M-BiTsy Support

2020-06-19 15:44:05
Hello [USER=20288]@m-jay[/USER] .

Here I will place some of the things found to be either not working or which may need a second look:

[color=rgb(65, 168, 95)]Green[/color] = Fixed

Observations for M-Jay

Torrent search:
- Torrent Search field: I noticed 5 Characters will work. This is sufficient.
  However when I search for 2019-12-11 for example, the torrent name which has this date string inside the name will not be found.
  Maybe the 5 letter string does not include numbers and or strange characters.

Button size:
- I noticed that Bootstrap 4 suggests u to use CSS to define the actual button size again.
- Bootstrap 4 only has 3 options, which will limit your theme options, bootstrap 3 has more options available.
- For this I would suggest to add the default options to customstyle.css for all 3 button sizes, and allow users to set.
If It Ain't Dutch, It Ain't Much!!
2020-07-09 07:51:06
Wow! Amazed again. Compliments on your skill!

Found this site >> https://mdbootstrap.com/  

I am sure u long long know about this one! :cool:
If It Ain't Dutch, It Ain't Much!!
2020-09-19 07:47:54
Post cleaned, and slimmed any post with bugs/observations which are now fixed have been removed so can be tracked better  (y)
Updating github today ;)

To keep first post these have been fixed
-  Text field for new topic is small
- The "Browse Torrents" block, the link for "Show all of" is not correct.
- When mobile screen, logo should change to alternative smaller image.
- Selecting multiple message, and next select "Make Selected as Read" does not work
- When you have actually read a message, the system does not auto update the status of the message to "Read"
- Voting results in blank page
Shoutbox:
- Full Date vs time vs width
2020-09-19 07:50:40
Thanks [USER=20288]@m-jay[/USER] !

I have cleaned up the suggested mods topic with the mods I am aware you had applied, and keeping links to the latest version in the forum of the suggested mods.

[URL unfurl="true"]https://www.torrenttrader.xyz/index.php?threads/mods-hacks-by-category-for-m-jay.10061/[/url]
If It Ain't Dutch, It Ain't Much!!
2020-09-20 02:10:59
I have copied new code, and cleared my history and cache. These are my first observations.

- managing blocks in the admin section looks better, but ur not able to edit. Clicking the update button moved u back to the frontpage without saving your edit.
- login page has footer. Frontpage and other pages are missing footer. Maybe this is because of the Poll Block...which is now empty.

[ATTACH type="full"]5899[/ATTACH]

- Seed bonus page does not show the profile menu >

[ATTACH type="full" alt="1600577859198.png"]5893[/ATTACH]

[ATTACH type="full" alt="1600577878802.png"]5894[/ATTACH]

- Menu spacing in user profile pages not sufficient >>

[ATTACH type="full" alt="1600577934448.png"]5895[/ATTACH]

- For Members and Power Users, which by default should not be able to upload, the menu item to upload torrents should lead them to the Uploader application mod. https://www.torrenttrader.xyz/index.php?threads/uploader-app.3531/      At this moment it will throw an error page.

- The VIP Option should only be visible for VIP/Mods/Super Mods/Admin. Normal uploader should not have the option.

[ATTACH type="full" alt="1600600188829.png"]5898[/ATTACH]
1600577859198.png
1600577859198.png
1600577878802.png
1600577878802.png
1600577934448.png
1600577934448.png
1600600188829.png
1600600188829.png
1600603023287.png
1600603023287.png

If It Ain't Dutch, It Ain't Much!!
2020-09-20 19:26:18
Menu: inherit parent width on container or wrap menu in div and width 100% inside that.
I would consider using Select2 plugin or similar, it does that menu perfectly well and is fully responsive Out of the box.
2020-09-25 17:46:48
I have added the following code to the customstyle.css to control to width of the side/main column, vs the view on mobile.
I was looking for a smaller side column, and thus more space for main center column.

@media (min-width: 768px) {
   .col-sm-8 {
       flex: 0 0 72.667%; /* Center Column width. Note: linked to side (.col-sm-2) width and linked to @media setting */
       max-width: 72.66667%;
   }

   .col-sm-2 {
       flex: 0 0 13.667%;    /* Side Column width. Note: linked to center (.col-sm-8) width and linked to @media setting */
       max-width: 13.66667%;
   }
}

If It Ain't Dutch, It Ain't Much!!
2020-09-25 19:27:57
Try flex 50% and min/max at 25% if your having display/alignment issues.
2020-10-02 17:02:22
IP History >>

[ATTACH type="full"]5914[/ATTACH]

No need say more ;-)
1601658034366.png
1601658034366.png

If It Ain't Dutch, It Ain't Much!!
2020-10-03 00:47:03
INSERT ON DUPLICATE REPLACE ‘table’

Better to compare user ID or something against the table row, and just UPDATE ’table’ with a WHERE claus, so duplicates are eliminated and only existing row is updated. (y)

This is a classic INSERT procedure without checks.
2020-10-07 05:58:29
"Propaganda, post: 69371, member: 60":

- login page has footer. Frontpage and other pages are missing footer. Maybe this is because of the Poll Block...which is now empty.
- The VIP Option should only be visible for VIP/Mods/Super Mods/Admin. Normal uploader should not have the option.
- poll vote


dont have these issues at minute but ill do fresh install later today and check again, rest is fixed
- For Members and Power Users, which by default should not be able to upload, the menu item to upload torrents should lead them to the Uploader application mod. https://www.torrenttrader.xyz/index.php?threads/uploader-app.3531/      At this moment it will throw an error page.
[color=rgb(250, 197, 28)]is this set  [/color][color=rgb(250, 197, 28)]$config["UPLOADERSONLY"] ? (still need to work on applications)[/color]

looks like the iplog table is missing a key, good idea [USER=20382]@STorrents2020[/USER] just need to insert original ip i thought signup but there is no id that is added as auto inc after the query might see if i can get that login query working ideally this should be last 5 ips or in config (iphistorylimit for large sites) if not the dbconn or userlogin should be possible or using username instead
2020-10-07 07:41:41
"m-jay, post: 69436, member: 20288":

dont have these issues at minute but ill do fresh install later today and check again, rest is fixed
- For Members and Power Users, which by default should not be able to upload, the menu item to upload torrents should lead them to the Uploader application mod. https://www.torrenttrader.xyz/index.php?threads/uploader-app.3531/      At this moment it will throw an error page.
[color=rgb(250, 197, 28)]is this set  [/color][color=rgb(250, 197, 28)]$config["UPLOADERSONLY"] ? (still need to work on applications)[/color]

looks like the iplog table is missing a key, good idea [USER=20382]@STorrents2020[/USER] just need to insert original ip i thought signup but there is no id that is added as auto inc after the query might see if i can get that login query working ideally this should be last 5 ips or in config (iphistorylimit for large sites) if not the dbconn or userlogin should be possible or using username instead


When I manually the disable the poll block in the database, the footer will become visible again.
If It Ain't Dutch, It Ain't Much!!
2020-10-10 02:54:48
You gotta get your code seriously simplified, there is no reason is make it so seriously complex by simply using the MVC methodology. Has anyone benched this against other trackers? Requiring 67 classes simply to produce a shoutbox is not the way, and the seek time the disk has to make before the interpreter is just horrendous. Announce should be as simple as possible, for a reason - there are up to 5,000 clients connecting to that file concurrently, you do NOT want fancy exception logging and including 6 other class files ever, period. Revise! I dont agree with MVC TT and never will. This is a killer on shared hosting too (for the majority out there).

Keep up the good work but I expect to minimize and consider hosting situations properly. Can we just get a team on my platform, who wants to just work for me? lol
2020-10-10 16:23:11
It's not complex at all I find it much simpler, plus small size
The speed is average compared to v3 just need to find time to work on it it's a long task.
Only thing not working is scraper got idea for that though
2020-10-11 06:34:48
just added a new core and moved themes if you want to PM your theme [USER=60]@Propaganda[/USER] ill make the changes

here is new core for mvc, this is the skeleton and can be run with only 7 files

obvs the db class and you can use this for anything not just TT you just need to add home controller, view & model at minute the old TT is spaghetti code but with good classes can be really slimmed down ive been saving classes for some time now so just need to implement them.

index.php
<?php
require_once "core/TTcore.php";
TTcore::run();


TTcore.php
<?php
class TTcore
{

   public static function run()
   {
       self::init();
       self::autoload();
       self::dispatch();
   }

   private static function init()
   {
       // Define path constants
       define("DS", DIRECTORY_SEPARATOR);
       define("ROOT", __DIR__ . DS);
       // Core
       require "core/Database.php"; // Extened PDO connection
       require "core/Router.php"; // Set Paths
       require "core/Controller.php"; // Load Models/Views
       // Include all helpers & connection
       require_once "helpers/a_start_function.php";
       session_start();
   }

   private static function autoload()
   {
       // Autoload Classes (Controllers & Models already loaded)
       spl_autoload_register ( function ($class) {
           $sources = array("classes/$class.php"); // just one for now but it is a array
               foreach ($sources as $source) {
                   if (file_exists($source)) {
                       require_once $source;
                   }
               }
           });

   }

   private static function dispatch()
   {
       $router = new Router;
   }

}


controller.php (puts models and views into controllers)
<?php
/*
* Base Controller
* Loads the models and views
*/
class Controller
{
   // Load model
   public function model($model)
   {
       // Require model file
       require_once 'models/' . $model . '.php';

       // Instatiate model
       return new $model();
   }

   // Load View (we add data with array $data[] )
   public function view($file, $data = [], $inc = false)
   {
       global $config, $THEME, $LANGUAGE;
       // Check for view file
       if (file_exists('views/' . $file . '.php')) {
           if ($inc) {
               require "themes/" . ($_SESSION['stylesheet'] ?: $config['default_theme']) . "/header.php";
               require "themes/" . ($_SESSION['stylesheet'] ?: $config['default_theme']) . "/topnavbar.php";
               require_once "views/" . $file . ".php";
               require "themes/" . ($_SESSION['stylesheet'] ?: $config['default_theme']) . "/footer.php";
           } else {
               require_once "views/" . $file . ".php";
           }
       } else {
           // View does not exist
           die('View does not exist');
       }
   }
}


router.php (links everything together)
<?php
/*
* App Router Class
* Creates URL & loads core controller
* URL FORMAT - /controller/method/params
*/
class Router
{
   protected $currentController = 'Home';
   protected $currentMethod = 'index';
   protected $params = [];

   public function __construct()
   {
       //print_r($this->getUrl());

       $url = $this->getUrl();

       // Look in controllers for first value
       if (file_exists('controllers/' . ucwords($url[0]) . '.php')) {
           // If exists, set as controller
           $this->currentController = ucwords($url[0]);
           // Unset 0 Index
           unset($url[0]);
       }

       // Require the controller
       require_once 'controllers/' . $this->currentController . '.php';

       // Instantiate controller class
       $this->currentController = new $this->currentController;

       // Check for second part of url
       if (isset($url[1])) {
           // Check to see if method exists in controller
           if (method_exists($this->currentController, $url[1])) {
               $this->currentMethod = $url[1];
               // Unset 1 index
               unset($url[1]);
           }
       }

       // Get params
       $this->params = $url ? array_values($url) : [];

       // Call a callback with array of params
       call_user_func_array([$this->currentController, $this->currentMethod], $this->params);
   }

   public function getUrl()
   {
       if (isset($_GET['url'])) {
           $url = rtrim($_GET['url'], '/');
           $url = filter_var($url, FILTER_SANITIZE_URL);
           $url = explode('/', $url);
           return $url;
       }
   }
}
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 3
  • Members: 0
  • Guests online: 3
  • Comments: 3
  • Messages: 1,728