@ chez: thanks. I'm going to try install this mod today and then i'll post some feedback about it.
first, what's the difference from
Code:
CREATE TABLE `bookmarks` (
`id` int(10) unsigned NOT NULL auto_increment,
`userid` int(10) unsigned NOT NULL default '0',
`torrentid` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 PACK_KEYS=0;
and
Code:
CREATE TABLE `bookmarks` (
`id` int(10) unsigned NOT NULL auto_increment,
`userid` int(10) unsigned NOT NULL default '0',
`torrentid` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`id`)
) TYPE=MyISAM AUTO_INCREMENT=13 ;
second, i see that bookmarks mod checks if a torrent is already bookmarked and gives error when someone try to bookmark it again.
is there a way to show an image in browse to unbookmarked torrents, so people click to bookmark it, and then, another image to bookmarked torrents, so people can click to unbookmark?
Images could change after action (bookmark/unbookmark), maybe with F5 (refresh), or with javascript, like in asiandvdclub tracker.
Bump: here some errors
when adding bookmarks:
Quote:
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/tracker.net/subdomains/tracker/httpdocs/addmark.php:1) in /var/www/vhosts/tracker.net/subdomains/tracker/httpdocs/addmark.php on line 28
|
in bookmarks.php
Quote:
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/tracker.net/subdomains/tracker/httpdocs/bookmarks.php:1) in /var/www/vhosts/tracker.net/subdomains/tracker/httpdocs/include/bittorrent.php on line 326
|
when removing bookmarks
Quote:
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/tracker.net/subdomains/tracker/httpdocs/delmark.php:1) in /var/www/vhosts/tracker.net/subdomains/tracker/httpdocs/delmark.php on line 15
|
i think i can solve them, after dinner.
Bump: is it me or this mod has lots of security problems?