xiaomlove / nexusphp

A private tracker application base on NexusPHP
https://nexusphp.org
GNU General Public License v2.0
873 stars 178 forks source link

[Request] Seedbox icon in torrents page #100

Closed BeAristobule closed 1 year ago

BeAristobule commented 2 years ago

Hello,

Is it possible to show the seedbox icon in the torrents page beside the approbation icon ?

Thanks.

xiaomlove commented 2 years ago

Please take a screenshot to illustrate

BeAristobule commented 2 years ago

seed_icon

xiaomlove commented 2 years ago

If uploader is using seedBox, show this icon ?

BeAristobule commented 2 years ago

Yes show this icon please.

xiaomlove commented 2 years ago

got it, I will take a look first.

Stargaterom commented 1 year ago

hello @xiaomlove ,

I added ip seedbox to two users.

when uploading a torrent with the first seed-box icon displayed on the torrent page.

here is my problem when I download the torrent of the first user with the second user who also has a seed-box register and authorize, they seed myself my seedbox icon on the torrent page disappears for the time the 2 users have a seed-box therefore re-register in logic if there is a user on seed-box icon of should not disappear when a person shares my second

xiaomlove commented 1 year ago

@Stargaterom Sorry ,I don't understand, you can show some screen shoot maybe .

Stargaterom commented 1 year ago

here is screenshot that shows torrent.php and detail.php page peers.

page torrent peers du torrent there is indeed a seed-box in the peers my icon displays more

xiaomlove commented 1 year ago

The current logic is that only uploader who are seedbox users will be displayed. Do you want to show it whenever any seeder uses the seed box?

Stargaterom commented 1 year ago

yes I would like to have an icon if a user in peers has a seed-box because it shows that the torrent is fast even if uploading and more on it so if its possible added its would be really good

xiaomlove commented 1 year ago

OK,I will change it later

Stargaterom commented 1 year ago

ok thank you very much i can't wait to see the change

xiaomlove commented 1 year ago

You can update to the latest commit to confirm if it is OK now @Stargaterom

Stargaterom commented 1 year ago

Hello,

I did the update. my icons have disappeared and to display them I have to enter the description click on peers to see the users in seed and the icon appears on the torrent page

Stargaterom commented 1 year ago

here is what i have on the torrent page page torrent in the description of the torrent I click on peers to open the table and I click on icon. peers tableau peers and when I return to the torrent page icon and display:

icone afficher do I have to delete the seedboxes and add them again, maybe a problem with the old parameters?

if I change page and return to the torrent page icon has disappeared

xiaomlove commented 1 year ago

Got it

Stargaterom commented 1 year ago

you had understood where could come the problem related to your change ?

xiaomlove commented 1 year ago

Fixed, just upgrade to the latest commit.

Stargaterom commented 1 year ago

ok I'll make the changes and I'll come back to you thank you

Stargaterom commented 1 year ago

I modified the ad file and icon still does not appear automatically, I have to go to the description, open the peers so that the icon displays.

unless it takes time before detecting to add them to the torrent page

thank you for the modification I will do some tests to see if there is no need for a certain time for the function

xiaomlove commented 1 year ago

the peer seedbox status will be update when view peer list or BT client sent a report

Stargaterom commented 1 year ago

thank you very much for your answer so you associated with the bt client so I understand better than its not instantaneous