Go to Profile
I am currently using a mod by [USER=1]@DarkMaster[/USER] And it is working like charm when using scrape.php inside torrent, but mega_scrape.php just shows next refresh in 901 seconds and thats it without refreshing stats. Is there some other way to automatically refresh stats every several hours? Or is it possible to add auto refresh to cleanup.php in backend?
[URL unfurl="true"]https://www.torrenttrader.xyz/index.php?threads/scrape-udp-trackers.18/[/url]
Solution: https://pastebin.com/yf5RYEwa (run via cronjobs)
For example, if user uploads torrent it gets named id.torrent (122.torrent), but if the user tries to upload the same torrent, they are getting an error message that the torrent is already uploaded, but it still saves that torrent under the original name of the torrent and wasting the space.
Instead of full date and hours id like it to be 1 hour ago, 1 day ago, 1week ago, etc,
Use get_elapsed_time(sql_timestamp_to_unix_timestamp($row["added"])) to change it to 1week ago, 1 month ago, etc.
"MicroMonkey, post: 66518, member: 311":
this would probably require using mod-rewrite and adding things to HTACCESS. Just curious, why do you want to do this?
It looks way better and user friendly. I changed htaccess to be like user/number but cant get username there. I found that on ettv.to, prostylex.com, torrentgalaxy.org, etc. Every single of them uses it
This is my htaccess
RewriteRule ^user/([0-9]+) account-details.php?id=$1 [L,QSA]
Edit: I think this needs to be changed in account-details.php
$id = (int)$_GET["id"];
I saw many torrenttrader tackers have it. For example, I want it to be account-details.php?id=shadows instead of account-details.php?id=1
Great job m-jay only comments.php part is left to be fixed. Forums and PM is working well!
Awesome and everything for this thread is now solved.
It works now [USER=20288]@m-jay[/USER], just remove quotes from = posterid
Also, do you happen to have an answer for post #4?
[USER=20288]@m-jay[/USER] adding it now shows 0 to everyone.
[USER=20288]@m-jay[/USER] Thanks for fast reply, but I think it shows for everyone number of torrents of current logged user.
Also, one more question [USER=20288]@m-jay[/USER] which variable is to show custom message when registrations are open and when are closed in header.php
How to add those inside topics and posts on forums.php?
Great! Username working, but user id is empty with id=
Edit: fixed with [color=rgb(147, 101, 184)]account-details.php?id=".T_($CURUSER["id"])."'[/color]
Hi guys,
I'd like to know how to include username and link in themes/header.php of logged user