Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   BT.Manager (phpMyBitTorrent) (http://www.bvlist.com/forumdisplay.php?f=23)
-   -   xbTiT Latest torrents mod for pmbt? (http://www.bvlist.com/showthread.php?t=8226)

Giorgatzelos 25th August 2012 21:57

xbTiT Latest torrents mod for pmbt?
 
i found this latest torrent function from xbtit...can it be ported to pmbt? http://www.bvlist.com/attachment.php...4&d=1294264579

joeroberts 25th August 2012 23:47

you can find one like that here
https://www.phpmybittorrent.com/foru...&start=0&rid=6

Giorgatzelos 27th August 2012 12:20

i did exactly what the link you gave me says but i get this error:

Code:

SQL Error
Σφάλμα κατά την εκτέλεση SQL Αιτήματος /home/a8696442/public_html/blocks/latestimages_block.php
Σφάλμα ID: 1054
Σφάλμα Μηνύματος: Unknown column 'torrent_torrents.screen1' in 'field list'


joeroberts 27th August 2012 13:34

can you please put that in English?

did you run this sql query in your data base?
Code:

ALTER TABLE `torrent_torrents` ADD `post_img` TEXT CHARACTER SET utf8 COLLATE utf8_bin NULL AFTER `descr` , ADD `screen1` TEXT CHARACTER SET utf8 COLLATE utf8_bin NULL AFTER `post_img` , ADD `screen2` TEXT CHARACTER SET utf8 COLLATE utf8_bin NULL AFTER `screen1` , ADD `screen3` TEXT CHARACTER SET utf8 COLLATE utf8_bin NULL AFTER `screen2` , ADD `screen4` TEXT CHARACTER SET utf8 COLLATE utf8_bin NULL AFTER `screen3` ;

Giorgatzelos 27th August 2012 13:54

Yes i did run the sql command and everything seems to bee ok with the database...i thought you will get the point no matter part of it was in greek...




Quote:

SQL Error
Σφάλμα κατά την εκτέλεση SQL Αιτήματος /home/a8696442/public_html/blocks/latestimages_block.php
Σφάλμα ID: 1054
Σφάλμα Μηνύματος: Unknown column 'torrent_torrents.screen1' in 'field list'
this message is what i get when i paste:

Quote:

if ($user->user) {
include("blocks/latestimages_block.php");
}

in my index.php edited for horizontal show of the latest torrents....

joeroberts 27th August 2012 13:58

can you check your data base and make sure the rows are screen1 screen2 screen3 screen4 and not screan1..4

Giorgatzelos 27th August 2012 14:11

1 Attachment(s)
This is what i have....

joeroberts 27th August 2012 14:21

You must have gotten to the code before I changed it because everyone was
complaining about the fact screans was miss spelled so I fixed it to be screens
can you please update your data base and files?

Giorgatzelos 27th August 2012 14:27

1 Attachment(s)
It always is a typo! :suicide:

:lol:

Thank you...but i still get an error...how can i correct it or remove the hover functions when i take my mouse over the picture?

i believe these are the lines that are responsible:

Code:

            $img1 = "\"$altname

screen Shots:


', CENTER, HEIGHT, 250, WIDTH, 300);\" onmouseout=\"return nd();\">
S $seed and L $leech ";
                        $img2 = "\"$altname

screen Shots:


Sorry no screens available
', CENTER, HEIGHT, 250, WIDTH, 300);\" onmouseout=\"return nd();\">
S $seed and L $leech ";


joeroberts 28th August 2012 03:15

the hover is not ment to show if there is no screen shots I well take a look and see if I can fix it.


All times are GMT +2. The time now is 22:23.

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