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

[ADDON] Forums — 2011-11-13 20:32:57 in v2 Only Mods Complete
Well the svn copy of the forums works perfect, other then maybe showing who posted in it.. but oh well, win some loss some hehe

[ADDON] Forums — 2011-11-13 18:12:44 in v2 Only Mods Complete
you prob using some old version the forums..  I use the svn copy and yes they can see the forum but cant see the posts in it unless logged in..  No idea why people here so picky about non members doing stuff on there site... So unsafe to have guests roaming around your site and an waste of resources..... but what ever.......

I guess its so you can call yourself an site owner... LOL
Thank You — 2011-11-08 00:20:18 in General Chat
Not sure if anyone has ever said thank you. But I wanted to say to to all the people updating the svn copy lately.

This source really needed it and Thank you much for updating to so much now.
Paypal — 2011-10-29 20:53:50 in General Chat
1 of the ideas I can say if want to accept paypal, is limit the data shown to guests, like on my site all you see is an logo and the declaimer at the bottom.

So people might think its stupid but heck my site is private only and I dont need google trolls causing problems:)

I added

$site_config["LEFTNAV"] = $site_config["MIDDLENAV"] = $site_config["RIGHTNAV"] = false;

after

dbconn();

in account-login, seems to hide most of the blocks

in thory it should, i personally like the old style once its changed to pickup more pages hehe
"yesszus, post: 70134":
All user edit and delete shoutbox messages  LOOL

Simple changes to fix that

replace

echo "<div align='right' style='float: right'><a href='" . $site_config['SITEURL'] . "/shoutedit.php?action=edit&msgid=" . $row['msgid'] . "' style='font-size: 8px'>[E]</a>&nbsp;&nbsp;<a href='" . $site_config['SITEURL'] . "/shoutbox.php?del=" . $row['msgid'] . "' style='font-size: 8px'>[D]</a><div>";



with



		  if (($CURUSER["edit_users"] == "yes")) {

 echo "<div align='right' style='float: right'><a href='" . $site_config['SITEURL'] . "/shoutedit.php?action=edit&msgid=" . $row['msgid'] . "' style='font-size: 8px'>[E]</a>&nbsp;&nbsp;<a href='" . $site_config['SITEURL'] . "/shoutbox.php?del=" . $row['msgid'] . "' style='font-size: 8px'>[D]</a><div>";

 }
this would prob be an better cleanup

replace

$gigs = 25*1073741824; // 25 GB

$res = mysql_query("SELECT id FROM users WHERE class = 1 AND uploaded >= $gigs AND uploaded >= downloaded");

$time = get_date_time();

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

mysql_query("UPDATE users SET class = 2 WHERE id = $arr[id]");

mysql_query("INSERT INTO messages (sender, receiver, added, msg, subject) VALUES(0, $arr[id], '$time', 'You have been automatically promoted from User to Power User, If your ratio drops below 1.00 you will be demoted.', 'You have been promoted to: Power User')");

}



$res = mysql_query("SELECT id FROM users WHERE class = 2 AND uploaded >= $gigs AND uploaded < downloaded");

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

mysql_query("UPDATE users SET class = 1 WHERE id = $arr[id]");

mysql_query("INSERT INTO messages (sender, receiver, added, msg, subject) VALUES(0, $arr[id], '$time', 'You have been automatically demoted from Power User to User.', 'You have been demoted to User')");

}





With





$gigs = 25*1073741824; // 25 GB

$res_premote = mysql_query("SELECT id FROM users WHERE class = 1 AND uploaded >= $gigs AND (uploaded / downloaded) >= 1.0");

$time = get_date_time();

while ($arr_premote = mysql_fetch_assoc($res_premote)) {

mysql_query("UPDATE users SET class = 2 WHERE id = $arr_premote[id]");

mysql_query("INSERT INTO messages (sender, receiver, added, msg, subject) VALUES(0, $arr_premote[id], '$time', 'You have been automatically promoted from User to Power User, If your ratio drops below 1.00 you will be demoted.', 'You have been promoted to: Power User')");

}

unset($res_premote,$arr_premote);



$res_demote = mysql_query("SELECT id FROM users WHERE class = 2 AND uploaded >= $gigs AND (uploaded / downloaded) <= 1.0");

while ($arr_demote = mysql_fetch_assoc($res_demote)) {

mysql_query("UPDATE users SET class = 1 WHERE id = $arr_demote[id]");

mysql_query("INSERT INTO messages (sender, receiver, added, msg, subject) VALUES(0, $arr_demote[id], '$time', 'You have been automatically demoted from Power User to User.', 'You have been demoted to User')");

}

unset($res_demote,$arr_demote);
I used to be only https for my staff and higher on my old site.  I did not see much an an load difference actually it was better loading on the https side if the tracker was overloaded, that was normal http.
[ADDON] Forums — 2011-09-07 13:26:48 in v2 Only Mods Complete
"djhowarth, post: 74523":
if ($action == "deletetopic") {

$topicid = $_GET["topicid"];

if (!is_valid_id($topicid) || $CURUSER["delete_forum"] != "yes")

die;

}




try changing above code to




you have to know basic formating.. if an if( statement something has to follow it or it will error out auto.

by anyway sounds like you still missing the delete_forum entry in the db or something.. I would make sure its in there and flagged as yes to what ever class you want to be able to delete in the forum.



if ($action == "deletetopic") {

$topicid = $_GET["topicid"];

if (!is_valid_id($topicid) || $CURUSER["delete_forum"] != "yes")

showerror("Error", "Denied!");



}
[ADDON] Forums — 2011-09-05 23:41:49 in v2 Only Mods Complete
rofl bumping an thread is LAME once someone knows how to fix they will..... i think its something to do with either your db or forums.php I would use the stock 1 from the start of this topic and see what happens.................
[ADDON] Forums — 2011-09-04 12:36:25 in v2 Only Mods Complete
i use tt forums too and delete works fine, so I would also check in your groups to see who as delete_forums access..

Quote:
//define buttons and who can use themif ($CURUSER["id"] == $posterid || $CURUSER["edit_forum"] == "yes" || $CURUSER["delete_forum"] == "yes") {

print("<a href='forums.php?action=editpost&postid=$postid&topicid=$topicid'><img src=" . $themedir . "p_edit.gif border='0' ></a>&nbsp;");

}

if ($CURUSER["delete_forum"] == "yes") {

print("<a href='forums.php?action=deletepost&postid=$postid&sure=0'><img src=" . $themedir . "p_delete.gif border='0' ></a>&nbsp;");

}
wierd.. i would check the snatched table in myphpadmin or what ever you use to edit the db and make sure its got data into it.
attach your viewsnatches and I will try and debug it

oh i would change all in viewsnatches.php

from

or die(mysql_error());
to


or sqlerr(__FILE__, __LINE__);



should give you an line # where its erroring out instead of the lame mysql error LOL

edit:

or just use the attached file, i changed it all for you:)

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=5161"]viewsnatches.php[/url]
you prob missing an needed db key you welcome to try this attached file but its for the latest svn copy of TT

this is mostly directed at my statments farther up.

to turn on logging use:

error_reporting(E_ALL ^ E_NOTICE);

ini_set("display_errors", 1);

in the files you having problems with after the 1at <? or <?php

2.07 svn makes it so easy to log mysql errors with its wrapper:)

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=5160"]viewsnatches.php[/url]
I can see 1 problem atleast with this:( dont add to the warned table in the db.  Other then that looks cool.
i been using an nfo ripper since day 1 of my site, it gets most of the nfo junk, sometimes it messes up on stuff but heck mostly it works.  The other stuff my staff can fix thats what they are well staff for LOL other then just an status thing.. hehehe

Dont know if it works on devise.. that release group is OLD lol from what I found so far..
prob have to use some kind of size % on the columes to keep them all the same size.

you would have to edit the torrenttable function in functions in thory
i guess none knows about Fedora LOL anyway I would either get an real os like debian or ubuntu and/or try rtorrent i think there is an installer out there some where for it on most os's.

I used to use tflux myself but its an major killer on load due to pylong and kind of outdated technological and an real pain to get tranmission working on it on any os.
tt v2 modified — 2011-08-25 06:35:23 in General Chat
only reason i can see people wanting this junk is cause to lazy to do it them selfs.. thats just sad people expect an site to run out the box but for real it takes alot of work.. Like i would want someone elses so called modified code, it prob has back doors in it cause well people are lamers.
mods not hard to re-add in lol, after all this source is still in its beta stage anyway.  I keep bookmarks of the mods I added just incase I need to re-add them into a new source.  2.07 is out and alot of stuff changed in it, and all of it for the good.  I personally would use the svn copy then when stuff does change its easy in svn prg to check the differences between to 2 versions.
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