Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
Bookmark Torrent
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2009-02-11 22:58:35
no i must say "delete" from bookmark.php without enter in details page..

but... i see your screenshot... i don't have a "sup" column!!

you can delete with a click in "sup" column, i don't have!

i must go to details page and press X

where i commit error? why i don't have X in a bookmark.php?

see here:

Unknown User
2009-02-11 23:54:57
"TorrentialStorm, post: 53656":
i think they want a link to bookmark the torrent when you browse, without having to go to the details page

Yes, that what i wants  ;)

Thanks.

And this delete button on bookmarks, wasbe to nice ;)
Unknown User
2009-02-12 03:27:28
"gandalf76, post: 53662":
where i commit error? why i don't have X in a bookmark.php?

it's config.php and function.php modification to have it.

be carefull, it's for v2.05, if you have another v2 function file is a bit different
Unknown User
2009-02-12 04:17:22
"savi, post: 53665":
Yes, that what i wants  ;) Thanks.

function.php

find:

case 'bookmark':

if ($variant == "bookmarks")

echo "<td class=ttable_col2 align=center><a href='takedelbookmark.php?bookmarkid=$id' title='Delete'><img src='images/delchat.gif' border='0' width='10px' alt='delete' title='delete' /></a></td>";

break;
change for:


case 'bookmark':

if ($variant == "bookmarks")

echo "<td class=ttable_col$x align=center><a href='takedelbookmark.php?bookmarkid=$id' title='Delete'><img src='images/delchat.gif' border='0' width='10px' alt='supprimer' title='supprimer' /></a></td>";

else

echo "<td class=ttable_col$x align=center><a href='bookmarks.php?torrent=$id' title='Bookmark'><img src='images/check.gif' border='0' width='10px' alt='Bookmark' title='Bookmark' /></a></td>";

break;





check.gif
check.gif
Unknown User
2009-02-12 07:36:23
Quote:
it's config.php and function.php modification to have it.be carefull, it's for v2.05, if you have another v2 function file is a bit different

i have checked... it's ok, but i have 2.04 version..

it is possible to make to appear the column in order to cancel the bookmark also in version 2.04? thanks
Unknown User
2009-02-12 07:56:08
you could also add the bookmark to the index so you can bookmark from there as well
Unknown User
2009-02-12 08:30:24
"gandalf76, post: 53675":
i have checked... it's ok, but i have 2.04 version..it is possible to make to appear the column in order to cancel the bookmark also in version 2.04? thanks

hummm, are you sure you have bookmark in

$site_config["torrenttable_columns"] = "category,name,dl,uploader,comments,size,seeders,leechers,health,external,boo

kmark";
in config.php?
Unknown User
2009-02-12 10:43:47
"AzuriS, post: 53673":
function.php
find:

case 'bookmark':

if ($variant == "bookmarks")

echo "<td class=ttable_col2 align=center><a href='takedelbookmark.php?bookmarkid=$id' title='Delete'><img src='images/delchat.gif' border='0' width='10px' alt='delete' title='delete' /></a></td>";

break;
change for:


case 'bookmark':

if ($variant == "bookmarks")

echo "<td class=ttable_col$x align=center><a href='takedelbookmark.php?bookmarkid=$id' title='Delete'><img src='images/delchat.gif' border='0' width='10px' alt='supprimer' title='supprimer' /></a></td>";

else

echo "<td class=ttable_col$x align=center><a href='bookmarks.php?torrent=$id' title='Bookmark'><img src='images/check.gif' border='0' width='10px' alt='Bookmark' title='Bookmark' /></a></td>";

break;






Thanks, thats works, but only one small thing  ;)

How to add "B" where i show with red circle. And color is wrong, see on picture:

hmm.JPG
hmm.JPG
Unknown User
2009-02-12 12:06:45
Quote:
hummm, are you sure you have bookmark in


$site_config["torrenttable_columns"] = "category,name,dl,uploader,comments,size,seeders,leechers,health,external,boo

kmark";



in config.php?




yes!

this is my config.php line 99





$site_config["torrenttable_columns"] = "category,name,uploader,comments,size,seeders,leechers,completed,health,exter

nal,bookmark";
Unknown User
2009-02-12 12:42:19
"gandalf76, post: 53682":
yes!this is my config.php line 99

$site_config["torrenttable_columns"] = "category,name,uploader,comments,size,seeders,leechers,completed,health,exter

nal,bookmark";


really don't know why   ;)  cause v2.04 and v2.05 are same structure

post your function.php
Unknown User
2009-02-12 12:44:38
"savi, post: 53679":
Thanks, thats works, but only one small thing  ;) How to add "B" where i show with red circle. And color is wrong, see on picture:

find:

case 'bookmark':

if ($variant == "bookmarks")

echo "<td class=ttable_head>Delete</td>";

break;





change for:



case 'bookmark':

if ($variant == "bookmarks")

echo "<td class=ttable_head>Delete</td>";

else

echo "<td class=ttable_head>B</td>";

break;
Unknown User
2009-02-12 13:20:20
Thanks AzuriS. Works perfect  ;)

I add here mu bookmark gif to.



nice.JPG
nice.JPG
bookmark.gif
bookmark.gif
Unknown User
2009-02-12 13:27:51
savi do you have delete column in bookmarks?
Unknown User
2009-02-12 13:30:44
"AzuriS, post: 53688":
savi do you have delete column in bookmarks?

no and 1 problem still:

this last column must be difrent color:

1st picture is browsing torrents.

2nd picture is my bookmarks:



ice2.JPG
ice2.JPG
ice2gfhu.JPG
ice2gfhu.JPG
Unknown User
2009-02-12 13:45:30
Quote:
really don't know why mellow.gif cause v2.04 and v2.05 are same structure
post your function.php

here my function.php

thanx!

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=3517"]functions.php[/url]
functions.php
Download
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728