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
User Posts

Go to Profile

ces moi ou api fonctionne plus ?
it work for me like this in torrent-upload



//update seedbox

if(get_user_class($CURUSER) > 4) {

if ($_POST["seedbox"] == "yes") {

$seedbox = 'yes';

}else{

$seedbox = 'no';

}

Hello i'am gonna install it tonight  :)  i want to know if its possible to set hit n run for a specific class ??
Work good in 2.08  :)

here is new file

SQL



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;

Add link to bookmark.php where you want to show the page.







torrents-details.php



you can use the original code or here is mine i juste change mysql_query to SQL_Query_exec



find




echo "[<a href='report.php?torrent=$id'><b>" .T_("REPORT_TORRENT"). "</b></a>]&nbsp;";






ADD before





// Bookmarks mod

$bookt = SQL_Query_exec("SELECT torrentid FROM bookmarks WHERE torrentid = $row[id] AND userid = $CURUSER[id]");

if (mysql_num_rows($bookt) > 0)

   print("<div align='right'><div align='right'><a href='takedelbookmark.php?bookmarkid=". $row[id] ."'><b>[Ne plus suivre]</b></a></td></tr>n&nbsp;");

   else

print("<div align='right'><a href='bookmarks.php?torrent=$row[id]'><b>[suivre]</b></a></td></tr>n&nbsp;");

  //end bookmarks








function.php

find





SQL_Query_exec("DELETE FROM torrents WHERE id = $id");






add after





SQL_Query_exec("DELETE FROM bookmarks WHERE torrentid = $id");








find





SQL_Query_exec("DELETE FROM ratings WHERE user = $userid");






add after





SQL_Query_exec("DELETE FROM bookmarks WHERE userid = $userid");








bookmark.php





<?

require_once("backend/functions.php");

dbconn(false);

if (!isset($_GET[user]))

 $user = $CURUSER[id];

else

 $user = $_GET[user];

$res = SQL_Query_exec("SELECT username FROM users WHERE id = $user") or sqlerr();

$arr = mysql_fetch_array($res);

stdhead("Suivis pour " . $arr[username]);

//print ("<h1>Bookmarks for <a href=userdetails.php?id=$user><b>$arr[username]<b></a></h2>");

$res = SQL_Query_exec("SELECT COUNT(id) FROM bookmarks WHERE userid = $user");

$row = mysql_fetch_array($res);

$count = $row[0];

list($pagertop, $pagerbottom, $limit) = pager(25, $count, "bookmarks.php?");

$res = SQL_Query_exec("SELECT bookmarks.id as bookmarkid, users.username,users.id as owner, torrents.id, torrents.name, torrents.type, torrents.comments, torrents.leechers, torrents.seeders, ROUND(torrents.ratingsum / torrents.numratings) AS rating, categories.name AS cat_name, categories.image AS cat_pic, torrents.save_as, torrents.numfiles, torrents.added, torrents.filename, torrents.size, torrents.views, torrents.visible, torrents.hits, torrents.times_completed, torrents.category FROM bookmarks LEFT JOIN torrents ON bookmarks.torrentid = torrents.id LEFT JOIN users on torrents.owner = users.id LEFT JOIN categories ON torrents.category = categories.id WHERE bookmarks.userid = $user ORDER BY torrents.id DESC $limit")  or sqlerr();

begin_frame("Mes suivis");

print($pagertop);

torrenttable($res, "bookmarks", TRUE);

print($pagerbottom);

end_frame();

stdfoot();

?>






bookmarks.php





<?

require_once("backend/functions.php");

dbconn();

$gottorrent = (int)$_GET["torrent"];

if (!isset($gottorrent))

 show_error_msg("Error"," ... No torrent selected",1);

if ((get_row_count("bookmarks", "WHERE userid=$CURUSER[id] AND torrentid = $gottorrent")) > 0)

 show_error_msg("Error","Already bookmarked torrent",1);

if ((get_row_count("torrents", "WHERE id = $gottorrent")) > 0) {

SQL_Query_exec("INSERT INTO bookmarks (userid, torrentid) VALUES ($CURUSER[id], $gottorrent)") or die(mysql_error());

stdhead("Bookmarks");

begin_frame ("Successfully");

echo "<div align=center><font color=red><font size=3>Torrent ajouté avec succes!!!</font></font>";

echo "&nbsp;<a href=torrents-details.php?id=$gottorrent>Retour sur la fiche du torrent!</a></div>";

end_frame();

stdfoot();

}

else  show_error_msg("Error","ID not found",1);

?>






takedelbookmark.php





<?

require_once("backend/functions.php");

dbconn(true);

loggedinonly();

$delid = (int)$_GET['bookmarkid'];

$res2 = SQL_Query_exec("SELECT id, userid FROM bookmarks WHERE torrentid = $delid AND userid = $CURUSER[id]") or die();

$arr = mysql_fetch_assoc($res2);

if (!$arr)

show_error_msg("Error!","ID not found in your bookmarks list...",1);

SQL_Query_exec("DELETE FROM bookmarks WHERE torrentid = $delid AND userid = $CURUSER[id]") or die();

header("Refresh: 0;url=".$_SERVER['HTTP_REFERER']);

?>





Thank you azuris workk good :D
hyaaaa thank you azuris i try this :D
i try this for 2.08 thank you azuris i come back if it work or not ;)
Hello all i have a little problem with this mod ....

when member make donation i recieve PM , the status change to vip ... but here is no update of account upload, invitation....

thanks for help (:

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6599"]donate.php[/url]

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6600"]paypal.php[/url]
you can try my shoutbox.php i have no bbcode button and historique dont work for the moment for additionsal room i'am working on that ^^ but room work :P

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6593"]shoutbox.php[/url]
yesss thanx AzuriS :)
Goood work like a charm and beautiful :D
Comment faire quand il as pas de bande annonce cacher ce carrer blanc ?



et la section série fonctionne pas

merci
[Addon] Ptc — 2011-08-02 22:15:31 in v2 Only Mods Complete
ok

[url="http://nero-night.com/index.php"]http://nero-night.com/index.php[/url]

username : testtorrenttrader

pass : 12345

this is in my config.php

// PTC Bonus

$site_config["adfly_uid"] = 693589; // Can be found at this link http://adf.ly/tools.php?api it is the number after uid=

$site_config["zpag_uid"] = 16114; // Can be found at this link http://zpag.es/referrals/code it is the number in the referral link after the id=

$site_config["ptc_bonus"] = 5; // Amount to update seed bonus per link clicked

$site_config["ptc_sites"] = "zpag"; // For http://adf.ly use adfly For http://zpag.es use zpag

// end PTC bonus



thank you
[Addon] Ptc — 2011-07-30 06:14:48 in v2 Only Mods Complete
the two site work.  :angry:   2 small things the configuration of pts bonus when i change it for 5 points in config.php it always update 1 pts

and for use both it dont work

thank you
[Addon] Ptc — 2011-07-30 04:44:00 in v2 Only Mods Complete
thank you i try i with both the links in links.php dont appear..i try adf.ly i dont get any clicks on my account and zpag i get 1 lol i'am gonna wait it may be take a time for update on the site soo it work with zpag person have any problem with adf ?

and.... thank walker for that mod. big thanx
thank you war02 :D
Hello its possible to have an option for the admin change the bonus point of the members ????

thank you
thanx tiloup
yes its that i do ^^  the member  downloaded about 300 gb of files loll
yop work well but here is a small problem

when a member is curently leechinig a torrent after a ban download it dont stop this torrent. some one have the same problem ?
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