Plugins system – what are the hooks?

Plugins system

Plugins system

What is a hook?

In computer programming, the term hooking covers a range of techniques used to alter or augment the behavior of an operating system, of applications, or of other software components by intercepting function calls or messages or events passed between software components. Code that handles such intercepted function calls, events or messages is called a “hook”.

To install this plugin system on bittytorrent, I use the script Php-hooks
Here is the result:

Plugins system

You will find all the information needed of Plugins system in the doc of Bittytorrent

111 total views, no views today

Users groups improvement with X-editable

X-editable users groups page

users groups

Researching the internet, I found a javascript to allow users to improve the page users groups of Bittytorrent.
This script is X-editable
.

 

This library allows you to create editable elements on your page. It can be used with any engine (bootstrap, jquery-ui, jquery only) and includes both popup and inline modes. Please try out demo to see how it works.

Here the adjustment of the page:

users groups

 

And here is the list of permissions currently available for each group:

  • View Torrents
  • Edit Torrents
  • Delete Torrents
  • View Users
  • Edit Users
  • Delete Users
  • Can Upload
  • Can Download
  • Can Scrape
  • Can Be Deleted
  • Admin Access

With this improvement, it is much easier to modify the permissions of each users groups without refresh page.

244 total views, no views today

Bittorrent php tracker – Bittytorrent

bittorrent php trackerSoon, the release of the bittytorrent script 1.0!
After several months of work, the final version will be ready soon.
You may already visited several sections of the site: Demo, forum and documentation.
Here are some explanations to start:

What is BitTorrent?

BitTorrent is file sharing software. You need four things to have BitTorrent work: a BitTorrent client, a BitTorrent tracker, a file to share, and a torrent file (made from the file to share.) The torrent file is placed where others can have access to it (i.e. a website.)

The clients use the torrent file to connect to the tracker, this allows the client to find other peers to get the file from. This is the simplest explanation.

What is Bittytorrent – bittorrent php tracker?

Bittytorrent is a bittorrent tracker, this is a script that allows you to deploy a website for sharing torrents. Its bittorrent php tracker.

376 total views, no views today