Go to Profile
by stopping people in torrent-details.php does nothing if i can see your torrent table or type in the torrent number at the end of a certain page. i wish i was rich lmfao but i guarentee you have more money in your pocket than me because i do not have a government that supports me and i never would want one because then you become their slave lmfao
this may not not completely stop the download. there are more places you should block. like the one in the premium section that i had made i had a few problems at first because i did not cover all areas where you can download. there is one part that could be reduced but the way you set it up is nice. as far as the banned part to test it ban yourself and then try to download on every single page that will let you download. because torrent-details.php is not the only page you have to block.
looks nice thanks. the cache_hits.txt has to be chmoded 777 right?
i have a syntax error also but it is not this mod, because when i remove the mod the same syntax error is there. what other mod to the shoutbox have you added?
i have never really messed with V1 so i can not really say. if the db for the shoutbox is the same then it should work with a few modifications even if they are not exactly the same then you should be able to adapt it. i updated the post above yours so you may want to take a look at it, the part about using this shoutedit.php
Edit: we must be editing about the same time lmfao
try this
echo "<div align='right' style='float: right'><a href='".$site_config['SITEURL']."/shoutedit.php?action=edit&msgid=".$row['msgid']."' target='_blank' style='font-size: 8px'>[E]</a> <a href='".$site_config['SITEURL']."/shoutbox.php?del=".$row['msgid']."' style='font-size: 8px'>[D]</a><div>";
but if you do that then you should use this shoutedit.php
[url="
http://devscorner.xyz/applications/core/interface/file/attachment.php?id=3075"]shoutedit.php[/url]
sorry about that i did not notice i updated the first post.
Ok I did not really have time to search and give credit for some of the stuff. what i did was take some code form the forums and used somebody's autolink code. when i can i will search and give credit to the person. now this is nothing fancy but it does work. hopefully one of the staff will change this a bit and put it in the next release. it would be better if all of the code was to sit in the shoutbox.php could one of the staff check the shoutedit.php to make sure it is secure from injection. ok here we go
in shoutbox.php find:
echo "<div align='right' style='float: right'><a href='".$site_config['SITEURL']."/shoutbox.php?del=".$row['msgid']."' style='font-size: 8px'>[D]</a><div>";
replace with:
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> <a href='".$site_config['SITEURL']."/shoutbox.php?del=".$row['msgid']."' style='font-size: 8px'>[D]</a><div>";
add shoutedit.php to your root.
Edit: looks like the autolink functions goes way back to V1 so credit goes to whoever made it lol
[url="
http://devscorner.xyz/applications/core/interface/file/attachment.php?id=3073"]shoutedit.php[/url]
it may be best to set it to every 30 minutes because that is normally when clients update the tracker. it should then give a more accurate reading then every hour.
thank you, this is good to have for emergencys, but if you have thousands of peers then it could hurt the load on your tracker. it is better to use the code for cleanup which deletes dead peers after a certain time period.
i use something like this for my toolbar with this link [url="
http://bogota.ebuddy.com/vo6.18.8/main.jsp"]http://bogota.ebuddy.com/vo6.18.8/main.jsp[/url]
one thing that people can tell their members is that if they use an eBuddy account then they can set it login to their other accounts automatically when they login to their eBuddy account.
at the moment if you use the normal unmodded source of tt the chances of getting hacked are smaller than most other sources out there. now if you have modded tt with your own mods or mods not from the staff here then you have a slightly higher chance of being hacked. i do not care which source you use out there it is always hackable, nothing is 100% safe. as long as your host knows what they are doing you should not have any problems with this source code. i have seen sites get hacked because of their host. now from what is posted in this topic by cursed you have nothing to worry about unless you went to tbdev and got the bleach forums and installed them.
looks nice ;) i might have to try this one. nobody was shouting at you. the thing is people use to take things from tbdev and post them here and elsewhere and not give credit. when they did not some of the staff there noticed and closed the mods part from normal members there and we did not know if we would get the right to see the mods or to post in that section again. so that is one of the reason why some users here complain about it and that is why tbdev says at the top of the forum part the mods belong to them or something like that. tbdev has a lot of graet mods and some crappy ones that can be used on torrent trader so make sure you give credit and leave any credit in the files at all times so we do not loose the chance to see the mods, because the next option that i know of that tbdev will do is lock there mods again and only make it available to users who can show a staff member that they have a working tbdev site. i have done the same thing either forgot or just did not give credit to the person for the mod and people complained to me also.
hmmm looks to me like foz likes to take others work and put his own credits on it. most of your code foz is from the tbdev hack that me and daffy have had on our trackers for a while. there may even be a post somewhere on torrent trader with it. when i find it i will post a link. so credit should go to MasterRoot over at tbdev and not foz.
edit:
here it is for v1 [url="
http://www.torrenttrader.org/index.php?showtopic=5847&hl=staffbox"]http://www.torrenttrader.org/index.php?sho...amp;hl=staffbox[/url]
v2 may be out there
why bump your post foz? you should have edited the post and not doubled posted. you should post mods to help others out not so somebody comes to your site or says thanks. i see it this way if you are not happy about people not saying thanks then don't post anymore. most people here just like to see there name by the topic and look at posting mods as a learning experience or fun and not as a way to make money or a way to be famous or anything of the sort. but hey if you want a thank you that bad even though i am not using the hack then thank you foz
if you want to do once a week or a day you could always put something in the cleanup that will set the yes to a no after 24 hours or a week or whenever. that will probably be the best solution. take a look in your cleanup and you may find a part in there that you can copy and adapt to work with this.
king08 you have to add it to your shoutbox.php for it to work. nobody is going to do the work for you. so try adding it yourself it is not that hard to do.
it would add the one point if you used it in the banner code but for doing it every 24 hours you would most likely need an extra part in the user table. you could have a time and date part in that extra field that the script would check for. so something like this may work if you add the extra field with the name banner.
Note: The code below is just an example and has not been tested so it may not work.
$bonusf = 1;
$banner_time = get_date_time(gmtime()-(3600*24)); // the 24hrs is the hours you want listed
mysql_query("UPDATE users SET seedbonus = seedbonus + '$bonusf' WHERE banner<='$banner_time' AND id=".$CURUSER["id"]) or sqlerr();
all of mine except for maybe 1 or two change. every once and a while i will see one torrent on a page that i have to manually change and it is not a category thing but just a small little glitch in the system. so if you are having category problems with the freeleech on and off where the whole cat does not change then i do not really know what to tell you.
ok if you want it to just count only for comments on torrents you will need to put it after
mysql_query("UPDATE torrents SET comments = comments + 1 WHERE id = $id") or die(mysql_error());
but before the
}
i have not tried it yet still but when i do i will update this post
edit: i tried placing it elsewhere but it is not working. i know the script does work because i am using for shouts in my shoutbox and also one for forum posts. i will try looking at it later and see what is going wrong.