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

there is like 3 different version of the ajax shoutbox i seen so far..

this should work on 1 of them lol in 2.08



if ($action == "clearshoutbox") {

stdhead("Clear shoutbox");

navmenu();

if ($CURUSER["class"]!=7)

show_error_msg("sorry", "This page is reserved for the Boss",1);

begin_frame("Cleaning the Shoutbox", center);

if ($_GET['yes']== "yes") {

$res = SQL_Query_exec("TRUNCATE TABLE `shoutbox`");

if ($res) echo "shoutbox cleared";

} else {

echo "Are you sure you want Clean ShoutBox?";

echo "[url="admincp.php?action=clearshoutbox&yes=yes"]yes[/url]";

}

end_frame();

stdfoot();

}


[/code]
Full Backup — 2012-04-18 21:08:01 in General Chat
I would never recommend running an torrent site on a "shared" server.. Figure the amount of load and stuff from torrents..

Bad enought running it on a vps but atleast vps is some what dedicated resources and prob be ok for an small site.

Alot of places have vps servers for not alot of money, yes have to check the tos to make sure torrents is allowed but an lot better then trying to deal with some "shared" host that you have no controll over it..
Banned Torrent — 2012-04-17 02:26:39 in General Chat
torrent moderation addon here works, might need some changes to be fully 2.08 able but for the most part works.

using the banned torrent thing is not an good idea, i dont think even the uploader can seed it then:(

this 1 is not bad too and prob would work better for what you want https://www.torrenttrader.org/topic/8711-mod-approval-torrents/

I use parts of it myself just my auto uploader accounts are flagged as safe hehe
Hello From Greece — 2012-04-17 02:23:29 in General Chat
welcome, biggest thing i can say is read the stickys in the forums and the info in the top of the forums.
Full Backup — 2012-04-16 17:00:52 in General Chat
not sure if hosts have full site backup as in the phps and all but its not hard to do with crontab scripts
rofl, i disabled alot of stuff on my site if using IE.. IE has to be 1 of the worse browsers out there..
Disturbing Trend Here:( — 2012-04-12 19:33:29 in General Chat
good point mvp, 1 more thing I forgot to say:

When asking for help please say what version you are running, so many different versions of TT so hard to guess what it might be.
Torrent Name — 2012-04-12 03:47:54 in General Chat
without seeing the code looks like you got prob an extra $ someplace in

function torrenttable
Disturbing Trend Here:( — 2012-04-12 00:36:37 in General Chat
I been noticing a disturbing trend here in the quite a few last post asking for help.

That is they either have no info or next to no info on what it is about.

To me those kind of posts are really an waste of time and heck my feeling is prob I will just lock them from now on.

After all the staff here do this stuff in their free time and total waste of that if have to keep asking over and over again for more info.

So long story short if need help on something put more info about it and would help to know the php you got errors on.

You can use code tags to post just the section giving you issues if dont want to attach the whole file.
Seed Bonus In 2.08 — 2012-04-11 08:48:08 in General Chat
.. soon or later mvp will get to the 2.08 version of it.. if you cant wait LOL figure it out yourself its not hard..
actually if people bothered to read.,.paypal.php is BigMax1 code.................................. I just modified it to be not for some other site ONLY...................................................

anyway:

in what ever you use to edit the db



ALTER TABLE `users` ADD `donoruntil` datetime NOT NULL default '0000-00-00 00:00:00';

debian and its clones is



apt-get install php-pear -y

then




pear install --alldeps Mail

pear install --alldeps Net_SMTP



-alldeps flag is cool, it should get any missing things if needed.
dont know i cant read french to see the error.. my guess is check with paypal, they should have correct Currency types

edit: I see you used the wrong name..

Canadian Dollar $0.00 CAD

Correct I Guess..

#Set the Currency Type

$currencytype = 'Canadian Dollar'; #For Fonts

$currencytype2 = '$'; #For Sign

$currencytype3 = 'CAD'; #Main Currency for Donations
1st post updated, I fixed some issues with people not logged in that try and donate, and also now the



$DONATEMAIL


is in backend/funds_config.php
Here is an very basic!!!!!!!!!!!!!!!!!!!!!!!!!!!! donation addon that should work fine in 2.08

Original credit for donate,php and paypal.php goes to BigMax1.

I just modified it to be correct for just about any site and fixed some formatting.

1st: sql: add the following sql into your db with what ever you use to edit the db.

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=5729"]tt_donation.rar[/url] New Update 05/05/2012



Show Donor Info In Account-Details And Account.php

in account-details

find 1st


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



Cleanup code to remove the donor status once it expires.

in bottom of cleanup.php before



DROP TABLE IF EXISTS `funds`;

CREATE TABLE IF NOT EXISTS `funds` (

`id` int(10) unsigned NOT NULL auto_increment,

`cash` decimal(8,2) NOT NULL default '0.00',

`user` int(10) unsigned NOT NULL default '0',

`added` datetime NOT NULL default '0000-00-00 00:00:00',

`month` varchar(10) default NULL,

`year` varchar(10) NOT NULL default '',

PRIMARY KEY (`id`)

) ENGINE=MyISAM DEFAULT CHARSET=latin1;




2nd:

extract the enclosed zip file into the root of your site with folders and all.

New Update

http://devscorner.xyz/uploads/post-33545-0-28392100-1333921513.pnghttp://devscorner.xyz/uploads/post-33545-0-05794400-1333921524.png

3rd: edit backend/funds_config.php





$DONATEMAIL = 'change_this_email@change.this'; //Your Paypal email address here.




Edit: I fixed some issues if people try and donate if not logged in, in that case the person would have to pm someone to get the status set right.



List Of Most Reg Currencys





// List Of Most Reg Currencys

// Euro € EUR

// British Pound £ GBP

// Canadian Dollar $ CAD

// Polish Zloty $ PLN

// U.S. Dollar $ USD




Seems bigmax1 original post for entries that dont exist..

anyway:

in what ever you use to edit the db





ALTER TABLE `users` ADD `donoruntil` datetime NOT NULL default '0000-00-00 00:00:00';

ALTER TABLE `users` ADD `donor` enum('yes','no') NOT NULL default 'no';

ALTER TABLE `users` ADD `total_donated` int(10) unsigned NOT NULL default '0';




if ($user["privacy"] != "strong" || ($CURUSER["control_panel"] == "yes")) {




after add







//Donor count down

if ($user[donor] == 'yes' && ($CURUSER[id] == $user[id] || $CURUSER["class"] >= 6)) {

$donoruntil = $user['donoruntil'];

if ($donoruntil != '0000-00-00 00:00:00') {

print("<b><p>Donated Status Until - $donoruntil");

if ($CURUSER["class"] < 6)

print(" [ " . mkprettytime(strtotime($donoruntil) - gmtime()) . " ] to go...</b><font size="-2"> to re-new donation click <a class=altlink href=donate.php>here</a>.</font></p>n");

else

print(" [ " . mkprettytime(strtotime($donoruntil) - gmtime()) . " ] to go...</b></p>n");

} //$donoruntil != '0000-00-00 00:00:00'

else {

print("<b><p>Donated Status Until Removed Via Site Owner:)");

}

} //$user[donor] == 'yes' && ($CURUSER[id] == $user[id] || $CURUSER["class"] >= 6)

//====end








then in account

find





<b><?php echo T_("PASSKEY"); ?>:</b> <?php echo $CURUSER["passkey"]; ?><br />




after add





<b>Last <?php echo T_("DONATED"); ?>:</b> <?php echo $site_config['currency_symbol']; ?><?php echo number_format($CURUSER["donated"], 2); ?><br>

<b>Total <?php echo T_("DONATED"); ?>:</b> <?php echo $site_config['currency_symbol']; ?><?php echo number_format($CURUSER["total_donated"], 2); ?><br>

<?php if ($CURUSER['donoruntil']<>"0000-00-00 00:00:00 && ".htmlspecialchars($CURUSER['donor'])." == 'yes'")

echo "<b>Donor Until: </b> ".$CURUSER['donoruntil']." [ ".mkprettytime(strtotime($CURUSER['donoruntil']) - gmtime()); ?> ] to go...<br>








Langauges:

English:





// Mode Don

$LANG["THANKS_YOU_DONATE"] = "Thank You for visiting Donations page";

$LANG["SUPPORT_DON"] = "If you like our tracker please support us to keep it alive";

$LANG["DONATE"] = "Donate";

$LANG["AND_RECEIVE"] = "And you will receive";

$LANG["WEEKS"] = "Weeks";

$LANG["WEEKS_FREE_DL"] = "Weeks Free Download";

$LANG["GB_CREDITS_UP"] = "GB Upload Credits";

$LANG["INVITES_SITE"] = "Invites on our site";

$LANG["STATUS"] = "Status";

$LANG["PM_ADMIN_DON"] = "If you don't receive anything after a donation send a PM ";

$LANG["HERE"] = "HERE";

$LANG["CONFIRMED_ACCOUNT"] = "for confirmation and upgrade your account";

$LANG["-IMPORTANT-"] = "- IMPORTANT -";






Then replace donate.php with the attached file.


 //OPTIMIZE TABLES



add this code:









 //=== Remove donor status if time up and set class to power user ===//

$res = SQL_Query_exec("SELECT id, modcomment,class FROM users WHERE donor='yes' AND donoruntil < NOW() AND donoruntil <> '0000-00-00 00:00:00'");

if (mysql_num_rows($res) > 0) {

       $dt = sqlesc(get_date_time());

       $subject = sqlesc("VIP status removed by System.");

       $msg = sqlesc("Your VIP status has timed out and has been auto-removed by the System. We would like to thank you once again for supporting " . $site_config['SITENAME'] . ". If you wish to re-new your VIP, you can do so by clicking [url=".%20%24site_config%5B"] . "/donate.php]HERE[/url]. Cheers!n");

       while ($arr = mysql_fetch_assoc($res)) {

               ///--- Autosystem modcomment ---//

               $modcomment = htmlspecialchars($arr["modcomment"]);

               $modcomment = gmdate("Y-m-d H:i") . " - VIP status removed by System.n" . $modcomment;

               $modcom = sqlesc($modcomment);

               if ($arr["class"]<=3)   // Change this to your vip class if well diferent...

               SQL_Query_exec("UPDATE users SET class = '2', donor = 'no', donoruntil = '0000-00-00 00:00:00', modcomment = $modcom WHERE id = $arr[id]");

               else

               SQL_Query_exec("UPDATE users SET donor = 'no', donoruntil = '0000-00-00 00:00:00', modcomment = $modcom WHERE id = $arr[id]");



               SQL_Query_exec("INSERT INTO messages (sender, receiver, added, msg, subject, poster) VALUES(0, $arr[id], $dt, $msg, $subject, 0)");

       }

}


[/code]
caps lock is pretty elite...

and this mod basically works in 2.08... i use it myself on my site but again i can look for missing stuff if needed...............................
Magnet Links — 2012-04-03 01:56:25 in General Chat
not really sure if this idea would work.. I know I tried magnet links on my site and they would not show the right info for "private" torrents.

maybe they are an public type thing?

and yes before you ask i did mod the link to include the passkey.
new system is easier to add to and change due to the fact you can edit using any php editior.  + its more extendability due P_ var aka plural vars.
this

$site_config['announce_list'] = "http://mydomain/announce.php";
Ok this is an simple mod to change the siteurl if using https

in thory should fix issues while browsers stating an mix of secure data and insecure data.

in confg.php

change



$site_config['SITEURL'] = 'http://changemydomain.com'; //Main Site URL changemydomain.com to well your domain

to




if($_SERVER['SERVER_PORT'] != '443')  

$site_config['SITEURL'] = 'http://changemydomain.com'; //Main Site URL changemydomain.com to well your domain

else

$site_config['SITEURL'] = 'https://changemydomain.com'; //Main Site URL changemydomain.com to well your domain




and after that add





$site_config['TSITEURL'] = 'http://changemydomain.com'; //Main Tracker URL






now farther down change





$site_config['PASSKEYURL'] =  "$site_config[sITEURL]/announce.php?passkey=%s"; // Announce URL to use for passkey




to





$site_config['PASSKEYURL'] =  "$site_config[TSITEURL]/announce.php?passkey=%s"; // Announce URL to use for passkey




keep the old url for the announce_list aka



$site_config['announce_list'] = "http://mydomain/announce.php";


ps: you could also use the $site_config['TSITEURL'] var in emails send if say only your staff or uploaders + are forced to use https
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