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
[MOD]Sticky Torrent
Controls ·  Search New posts · Mark unread

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

Unknown User
2010-11-14 15:49:34
I found a bug on torrent search. When you order by seeders for example the sticky torrents still appears.
Unknown User
2010-11-14 21:26:42
$orderby = "ORDER BY torrents.sticky desc, " . $column . " " . $ascdesc;

is ur problem because it will always load them and tbh sticky things are always suppose to show
Unknown User
2010-11-14 22:57:42
And how can i change it?
Unknown User
2010-11-20 02:08:04
Any ideas??
Unknown User
2010-11-27 16:52:48
if i apply this mod thn will everybody can make his uploaded torrent sticky?? It is better if min class moderator get this option . not for all user. so if this mod is not like tht way thn how to do that?
Unknown User
2010-11-27 17:10:54
"nCounter, post: 68022":
if i apply this mod thn will everybody can make his uploaded torrent sticky?? It is better if min class moderator get this option . not for all user. so if this mod is not like tht way thn how to do that?

looking at the code , its anybody who at present  can edit torrents will be able to set sticky
Unknown User
2011-02-02 10:28:26
change for torrents-edit.php code to this because with code in first post it whwn you unclick sticky torrent it doesnt show torrent in torrenttable anymore and dont have 0 in database. hope you understanded me.

this is the right code for site to write right in db

if ($CURUSER["edit_torrents"] == "yes")

$updateset[] = "freeleech = '" . ($_POST["freeleech"] ? "1" : "0") . "'";



if ($CURUSER["edit_torrents"] == "yes")

$updateset[] = "sticky = '" . ($_POST["sticky"] ? "1" : "0") . "'";
Unknown User
2014-07-13 07:07:06
I want this is just want all of my recommended torrents with a star next to them, but I dont want them to be sticky... I just want all torrents as users briose to show with the recommended star by them, like next to the freeleech icon. ... anyone? Help?  :)
Unknown User
2019-11-11 21:11:41
this correct

[php]
ALTER TABLE `torrents` ADD `sticky` enum('yes','no') NOT NULL default 'no';
[/php]

function
[php]
after:
if ($row["freeleech"] == 1)
   $dispname .= " <img src='images/free.gif' border='0' alt='' />";

if ($row["sticky"] == "yes")
   $dispname .= " <img src='images/sticky.gif' bored='0' alt='sticky' title='sticky'>";
[/php]
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