Ticket #244 (new enhancement)

Opened 2 months ago

Last modified 3 days ago

Add a Mark or checkbox without function in wtorrent for personal notice?

Reported by: anonymous Assigned to: royger
Priority: minor Component: wTorrent
Version: HEAD Keywords: checkbox
Cc:

Description

Hello together! I´m new to LINUX and everything in it but i try it and its great. Now i installed wtorrent and its great to use and simly to install an moderate, perfect for newbies.

I´m also new to php. And at the moment there are too many things i do parallel. So i tried to make a checkbox without function for each torrent. I worked with a howto in german, but it doesnt work with wtorrent. I need it only for personal notice.

Maybe there is someone who has a howto? Or has such a code?

Best wishes!

Attachments

Change History

18/11/08 11:51:41 changed by anonymous

I have reached to get a button, but if i refresh, the chek in it dissapers. So, how can i make the mark databased?

19/11/08 17:44:56 changed by anonymous

Thx for your help...

19/11/08 17:51:55 changed by royger

Sorry for the delay, lately I'm very busy with college work.

You should add a new table to the database with at least 2 columns, one for the hash which identifies the torrent and another one for the user which refers to the user that has this torrent checked. Once you check a checkbox you will have to make an ajax call to command.cls.php and tell the hash of the torrent, so that it can be saved/deleted in the database. For loading checked torrent you just need to modify List.cls.php to make the apropiate database calls when loading the torrent list.

Altough it seems quite simple the implementation isn't really simple since you need to work with the database and implement some javascript methods to do the proper ajax calls.


Add/Change #244 (Add a Mark or checkbox without function in wtorrent for personal notice?)