Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   xBTiT (http://www.bvlist.com/forumdisplay.php?f=30)
-   -   how to create recommend php file ? (http://www.bvlist.com/showthread.php?t=12766)

soneigr 18th January 2024 00:25

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?

crowni 18th January 2024 08:44

btclients
 
1 Attachment(s)
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');

soneigr 18th January 2024 09:11

Quote:

Originally Posted by crowni (Post 57236)
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'

mogo 18th January 2024 16:52

Quote:

Originally Posted by soneigr (Post 57237)
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.

crowni 21st January 2024 07:34

btclients
 
1 Attachment(s)
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:



You can add more links





qBittorrent 2.8.5  (Win/Mac)






All times are GMT +2. The time now is 08:21.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.