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
MODS/HACKS By Category for @M-Jay
Controls ·  Search New posts · Mark unread

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

2020-10-02 16:15:33
Added the slots item from the Login block to the topnavbar file:

Around line 17, under:

    $privacylevel = T_($_SESSION["privacy"]);


Add the following 3 lines >>

    $countslot = DB::run("SELECT DISTINCT torrent FROM peers WHERE userid =?  AND seeder=?", [$_SESSION['id'], 'yes']);
   $maxslotdownload = $countslot->rowCount();
   $slots = number_format($_SESSION["maxslots"]) . "/" . number_format($maxslotdownload);


Next,

Around line 44, replace this >>

    print("! &nbsp//&nbsp
         <img src='$config[SITEURL]/images/seed.gif' border='none' height='20' width='20' alt='Downloaded' title='Downloaded'><font color='#FFCC66'><b>$userdownloaded</b></font>&nbsp;
         <img src='$config[SITEURL]/images/up.gif' border='none' height='20' width='20' alt='Uploaded' title='Uploaded'> <font color='#33CCCC'><b>$useruploaded</b></font>
         <img src='$config[SITEURL]/images/button_online.png' border='none' height='20' width='20' alt='Ratio' title='Ratio'> (<b><font color='#FFF'>$userratio</font></b>)&nbsp
         //&nbsp;Bonus points:&nbsp;<a href='" . $config["SITEURL"] . "/bonus' title='Seed Bonus Points'><font color=#00cc00>$_SESSION[seedbonus]</font></a>&nbsp
         //&nbsp;Donated: <a href='" . $config["SITEURL"] . "/donate' title='Donated Amount'><font color=#ffff00>&nbsp;$_SESSION[donated]</font></a>&nbsp;");


With this, to add the Used Slots >>

    print("! &nbsp//&nbsp
         <img src='$config[SITEURL]/images/seed.gif' border='none' height='20' width='20' alt='Downloaded' title='Downloaded'><font color='#FFCC66'><b>$userdownloaded</b></font>&nbsp;
         <img src='$config[SITEURL]/images/up.gif' border='none' height='20' width='20' alt='Uploaded' title='Uploaded'> <font color='#33CCCC'><b>$useruploaded</b></font>
         <img src='$config[SITEURL]/images/button_online.png' border='none' height='20' width='20' alt='Ratio' title='Ratio'> (<b><font color='#FFF'>$userratio</font></b>)&nbsp;
         //&nbsp;Used Slots:&nbsp;$slots</a>&nbsp;//&nbsp;Bonus points:&nbsp;<a href='" . $config["SITEURL"] . "/bonus' title='Seed Bonus Points'><font color=#00cc00>$_SESSION[seedbonus]</font></a>&nbsp;
         //&nbsp;Donated: <a href='" . $config["SITEURL"] . "/donate' title='Donated Amount'><font color=#ffff00>&nbsp;$_SESSION[donated]</font></a>&nbsp;");


Note that I also changed a couple of "nbsp" to "nbsp;" at the end of some lines. Do not know if this is required.

[ATTACH type="full" alt="1601655295785.png"]5912[/ATTACH]
[ATTACH type="full" alt="1601655320441.png"]5913[/ATTACH]

Maybe for some of the items, the text can be replaced by an icon to save some space. Attaching a title (label) to those icons should do the trick
1601655295785.png
1601655295785.png
1601655320441.png
1601655320441.png

If It Ain't Dutch, It Ain't Much!!
2020-10-02 16:20:16
"m-jay, post: 69223, member: 20288":

all these are added, really need to work on pdo helper to add all details on these and the config settings (how to)
invitetree
ip bans, history stuff
shoutbox clear, new members, new users, staff
force thanks
seedbonus
sticky torrents
top10 (in navigation block)
torrent clients
friends
snatchlist
magnets
shoutbox bans
teams
censor
youtube in details


How does the PDO helper work?
Can I help on some of the items to write some help text?
If It Ain't Dutch, It Ain't Much!!
2021-07-02 19:29:29
Let me update the topic in the next couple of days to move the already included mods into the correct section.

Glad you managed to upgrade the forum code, so that now the links work!!
If It Ain't Dutch, It Ain't Much!!
2021-07-03 16:43:07
great stuff  :thumb  working my way the models which was the last thing to do, finishing off every file as i go ready for first final release.

Then ill concentrate more on the mods
2021-09-03 16:41:37
Updated the first topic, by moving some of the mods into the included section.

When you got time, please let me know which I have overlooked.
You may just list them in a PM...then I will move them to the included section.

PS. Can you help to make this topic sticky, that would be helpful.
Thanks in advance
If It Ain't Dutch, It Ain't Much!!
Last edited by Propaganda on 2021-09-03 16:43:37
2021-10-02 10:02:21
Think I found a way to hyperlink to direct forum post testing here with the littler anchor icon in each post

This should point to post not topic or lastpost
https://torrenttrader.uk/topic?topicid=10061&page=p#post70320
2021-12-07 17:20:40
mods added recently

bookmark torrents - started expanding to forum topics
catalog - https://torrenttrader.uk/catalog
ballon mod - added to users & torrents - users just basic at minute
visited users on index 24hr - example of ballon mod if you hover over names
new tmdb mod - merge tables into 1, cleaned classes, updated scraper
show file extension icon
torrent marked new for 24hr
auto promote/demote in final testing
bump torrent
Similar Torrents mod
no download ratio for vip group
work on colour class function
mass email
admincp - inactive members, still need to add to cleanup?
2021-12-08 14:10:43
M-jay:
mods added recently bookmark torrents - started expanding to forum topicscatalog - https://torrenttrader.uk/catalogballon mod - added to users & torrents - users just basic at minutevisited users on index 24hr - example of ballon mod if you hover over namesnew tmdb mod - merge tables into 1, cleaned classes, updated scrapershow file extension icontorrent marked new for 24hrauto promote/demote in final testingbump torrentSimilar Torrents modno download ratio for vip groupwork on colour class functionmass emailadmincp - inactive members, still need to add to cleanup?


Let me clean up the list in the next couple of days!
My work a bit busy at the moment, but still writing down things I find or consider useful.
If It Ain't Dutch, It Ain't Much!!
2021-12-17 19:07:24
On this one >>

admincp - inactive members, still need to add to cleanup?

I think no, but that is my opinion. I rather have it be a manual admin action.
Let me check with our admins if they want to have some sort of automated process in place.

If automated, I am thinking of something like:
- Check last login date, if more then 6 months ago > Mark as inactive (parked?) and send email to user that his account has been updated with status.
- If no login after this for another 2 months > Then check for share ratio. If 0, then Mark for deletion and send email to user that his account has been updated with status.
- If no login after 2 weeks, place account as disabled. For us we do never delete accounts - to catch those smart leechers who like to create duplicate accounts.
If It Ain't Dutch, It Ain't Much!!
2021-12-17 21:36:55
On this one >>

auto promote/demote in final testing

The current mod as we have it in place, does not work well. Especially when a user manages to improve his share ratio.
I believe this should also be tied in with the waiting time (as configured in the settings) and block/unblock members from downloading etc.

It kinda all works together this one.
- Block members from being able to download new torrents when below certain ratio
- Unblock them again when they are above (at the moment the click download)
- Give them a wait time if they below or within the wait time vars
- They should also not be allowed to copy the torrent link and "avoid" these checks
- Accounts without download/upload, in steps getting removed
If It Ain't Dutch, It Ain't Much!!
2022-01-12 20:55:14
all mods in the list are in the TT pdo ?

Ubuntu Linux 20.04.3 | MySQL 8 | Apache 2.4.41 | PHP 8.1.1

2022-01-13 06:35:31
not all but most of them. there is loads of mods i will go thorugh post this weekend and make a list of whats included
2022-02-11 01:50:56
What we do over at ST. I am my own security team, so I wrote this step by step and I code accordingly:

Session Token Verification
Session Anti-Fixation Attack
Log Out Everywhere Feature
AJAX Request Rate Limiting

----

Two Factor Authentication (2FA) - SMS PIN

Action: To make sure the account owner is actually the owner.
Reason: An attacker will not have their physical smartphone to spoof their identity.

Trigger:
[X] Change Password
[X] Delete Account
[X] Login Unsuccessfully (3 failed password attempts)

According to condition:
[X] Email Auth (if phone number NOT verified)
[X] SMS Auth (if phone number verified)

Result:
[X] Change Password
[X] Delete Account
[X] Login Successfully

----

Phone Number Verification

If successful, number is stored in separate table with "verified" field.
If number NOT verified, 2FA SMS verification will NOT be available, and only email will be available for verification by email token link (less secure).

----

Even despite all of this in my account class, there is still a problem:

User guesses password. They login. They see IP, account.. everything. How do we prevent that, while allowing multiple location log ins? This part to me so difficult to understand, and a solution is Fortnight and how they do it. If anyone knows the answer to this specific issue, please PM me asap.
Last edited by STorrents2020 on 2022-02-11 01:54:25
2022-02-11 03:29:58
Oh.. and the best case for implementing with logic for number verification

Verification Process:
Mobile Number Input => Query API => Active => INSERT to table => true?: => UPDATE user row field => Close
Mobile Number Input => Query API => Inactive => false?: => Exception => Close
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: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728