Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > xBTiT
Reply
  #1  
Old 18th January 2024, 00:25
soneigr soneigr is offline
Senior Member
 
Join Date: Dec 2023
Greece
Posts: 62
Default how to create recommend php file ?
https://imgur.com/a/WLsAOtO


I would like to create a block similar to the one above and put inside chrome mozilla utorrent btitorrent and whatever else I want to look beautiful like the one above. What codes will I use and where will I find these icons?
Reply With Quote
  #2  
Old 18th January 2024, 08:44
crowni's Avatar
crowni crowni is offline
Senior Member
 
Join Date: Apr 2009
Bulgaria
Posts: 129
Default btclients
You put the btclients folder in the images folder. In the blocks folder, you put client_block.php. You install manually sql .And then you activate the block from the admin panel

Bump: I forgot and this sql



INSERT INTO `xbtit_bt_clients` (`id`, `name`, `link`, `sort`, `image`) VALUES
(1, 'Firefox', 'http://www.mozilla.org/', 1, 'firefox.png'),
(2, 'µTorrent ', 'http://www.utorrent.com/', 2, 'utorrent.png'),
(3, 'Vuze', 'http://azureus.sourceforge.net/', 3, 'azureus.png');
Attached Files
File Type: zip btclients__block.zip (11.8 KB, 4 views)
Reply With Quote
  #3  
Old 18th January 2024, 09:11
soneigr soneigr is offline
Senior Member
 
Join Date: Dec 2023
Greece
Posts: 62
Default
Quote:
Originally Posted by crowni View Post
You put the btclients folder in the images folder. In the blocks folder, you put client_block.php. You install manually sql .And then you activate the block from the admin panel

Bump: I forgot and this sql



INSERT INTO `xbtit_bt_clients` (`id`, `name`, `link`, `sort`, `image`) VALUES
(1, 'Firefox', 'http://www.mozilla.org/', 1, 'firefox.png'),
(2, 'µTorrent ', 'http://www.utorrent.com/', 2, 'utorrent.png'),
(3, 'Vuze', 'http://azureus.sourceforge.net/', 3, 'azureus.png');
Warning: mysqli_query() expects parameter 1 to be mysqli, null given in /www/wwwroot/xbtitfm/blocks/clients_block.php on line 47
ERR_SQL_ERR

in /www/wwwroot/Xbtitfm20/blocks/clients_block.php, line 47

Σφάλμα

Εντολή SQL: Αντιγραφή

INSERT INTO `xbtit_bt_clients` (`id`, `name`, `link`, `sort`, `image`) VALUES
(1, 'Firefox', 'http://www.mozilla.org/', 1, 'firefox.png'),
(2, 'µTorrent ', 'http://www.utorrent.com/', 2, 'utorrent.png'),
(3, 'Vuze', 'http://azureus.sourceforge.net/', 3, 'azureus.png');

Η MySQL επέστρεψε το μήνυμα: Τεκμηρίωση
#1062 - Duplicate entry '1' for key 'PRIMARY'

Last edited by soneigr; 18th January 2024 at 09:26.
Reply With Quote
  #4  
Old 18th January 2024, 16:52
mogo mogo is offline
Senior Member
 
Join Date: Jun 2020
P2P
Posts: 94
Default
Quote:
Originally Posted by soneigr View Post
Warning: mysqli_query() expects parameter 1 to be mysqli, null given in /www/wwwroot/xbtitfm/blocks/clients_block.php on line 47
ERR_SQL_ERR

in /www/wwwroot/Xbtitfm20/blocks/clients_block.php, line 47

Σφάλμα

Εντολή SQL: Αντιγραφή

INSERT INTO `xbtit_bt_clients` (`id`, `name`, `link`, `sort`, `image`) VALUES
(1, 'Firefox', 'http://www.mozilla.org/', 1, 'firefox.png'),
(2, 'µTorrent ', 'http://www.utorrent.com/', 2, 'utorrent.png'),
(3, 'Vuze', 'http://azureus.sourceforge.net/', 3, 'azureus.png');

Η MySQL επέστρεψε το μήνυμα: Τεκμηρίωση
#1062 - Duplicate entry '1' for key 'PRIMARY'

You probably didnt AUTO_INCREMENT the Primary Key.
Reply With Quote
  #5  
Old 21st January 2024, 07:34
crowni's Avatar
crowni crowni is offline
Senior Member
 
Join Date: Apr 2009
Bulgaria
Posts: 129
Default btclients
Try this file. I think this one doesn't need a SQL request.


In the file you need to edit the path to the image.


Here:

<img src='/images/btclients/deluge.png'>

You can add more links

<div id='index-clients-client'>
<div id='index-clients-graphic'>
<img src='/images/btclients/qbit.png'>
</div>
<h15><a href='http://sourceforge.net/projects/qbittorrent/files/qbittorrent-win32/qbittorrent-2.8.5//'>qBittorrent 2.8.5</a></h15>&nbsp;&nbsp;(Win/Mac)
</div>
<br style='clear: left;'>
</div>
Attached Files
File Type: zip clients_block.zip (919 Bytes, 0 views)
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 18:23. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.