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
Trading to delete H&R
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2.08 Mods Completed

Unknown User
2013-06-01 06:57:45
You must have Anti Hit & Run System ([url="http://devscorner.xyz/topic/17641-anti-hit-run-system/?hl=%2Banti+%2Bsystem"]http://devscorner.xyz/topic/17641-anti-hit-run-system/?hl=%2Banti+%2Bsystem[/url][url="https://www.torrenttrader.org/topic/17641-anti-hit-run-system/"]/[/url]) and Seedbonus Manager ([url="http://devscorner.xyz/topic/2717-seeding-bonus/?hl=+seedbonus%20+manager"]http://devscorner.xyz/topic/2717-seeding-bonus/?hl=+seedbonus%20+manager[/url][url="https://www.torrenttrader.org/topic/16758-seedbonus-manager/"]/[/url]) fully installed.

Into header.php or footer.php at the each theme that you have installed, search this code:

if ($site_config["MIDDLENAV"]){
middleblocks();

and after him, copy this new code:

// Start Hit and Run Warning
$qry = SQL_Query_exec("SELECT COUNT(`hnr`) FROM `snatched` WHERE `uid` = '".$CURUSER["id"]."' AND `hnr` = 'yes'");
$res2 = mysql_fetch_row($qry);
$hnr = "<font style="background-color:#252525" color="#FEFEFE"><b>&nbsp; ".$res2[0]." &nbsp;</font>";
$hnr2 = $res2[0];

if ($res2[0] > 0) {
echo"<div style='margin-bottom:5px'>
<table align="center" width="100%" border="0" cellspacing="0" cellpadding="10">
<tr>
<td style='padding: 10px; background: #AB0000' align="center">
<div style='font: bold 15px Times New Roman; color:#FFBF00'>
Hey $CURUSER[username], you have ".$hnr." recording".($hnr2 > 1 ? "s" : "")." for Hit and Run!&nbsp; View the recordings into <a href=snatched.php><font size=3 color=#CBCBCB>Your Snatch List</font></a>
</div>
<div style='font: bold 15px Times New Roman; color:#FFBF00'>
You must to keep seeding or you can <a href=required.php><font size=3 color=#CBCBCB>Trade to Delete</font></a> ".($hnr2 > 1 ? "these recordings" : "this recording")." with Seed Bonus or Upload
</div>
</td>
</tr>
</table>
</div>n";
}
// End Hit and Run Warning

Extract trade.zip archive and upload his content into your root



[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6766"]trade.zip[/url]
trade.png
trade.png
trade.zip
Download
2013-06-01 12:32:01
Thanks BiMax1 !  :)
Unknown User
2013-06-01 14:12:21
hi

thanks for this mod but in my header.php i dont have middelblock  :unsure:   possible to put this code in other place?

thanks
Unknown User
2013-06-01 14:26:37
You have a new theme for v2.08. Puts this code after the all codes for header are finished. Or upload your header.php here.
Unknown User
2013-06-01 14:50:38
this is my header thanks for help  :)

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6767"]header.php[/url]
header.php
Download
Unknown User
2013-06-01 15:14:22
Try this one:

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6768"]header.php[/url]
header.php
Download
Unknown User
2013-06-01 15:19:34
not work is a blank page after  :unsure:
Unknown User
2013-06-01 15:43:26
I see you use the default theme. The code:


if ($site_config["MIDDLENAV"]){
   middleblocks();

is into footer.php, not in header.php, so put the necessary code there.
Unknown User
2013-06-01 16:17:12
ok thanks:) i have one last question the portion of code add in the footer only appears for members have a hit and run?

thanks
Unknown User
2013-06-01 16:34:34
Of course, only members who have at least one 'Hit and Run' can see this warning.
Unknown User
2013-06-01 16:42:07
thanks your explanation and help is really appreciate  :)
Unknown User
2013-08-06 17:41:39
The big problem is further, I have these buttons klikinud already since yesterday but I still have the same return

seedtime stands since yesterday 1 day. How to solve this problem?

Unknown User
2013-08-06 20:19:01
You prob have an messed up seedtime...
You have to have the full snatched list by mvp installed....
I wish people would use sqlesc in writing to the db...
anyway to fix the db errors replace in [color=rgb(40,40,40)]required.php[/color] [size=18px]all[/size] of

modcomment = '$modcomment'

with
modcomment = " . sqlesc($modcomment) . "
Unknown User
2013-08-23 19:48:44
Hello, I've a problem :s

when I try to delete a HnR with seedbonus or upload the tracker return:

"Database Error. Please report this to an administrator."

Can someone help me please ?
Unknown User
2013-08-23 20:37:12
"ArcticWolf, post: 91685":
You prob have an messed up seedtime...

You have to have the full snatched list by mvp installed....

I wish people would use sqlesc in writing to the db...

anyway to fix the db errors replace in [size=12px]required.php[/size]
[size=18px]all[/size] of

modcomment = '$modcomment'
with

modcomment = " . sqlesc($modcomment) . "
[size=18px]Also If posting about "Database Error. Please report this to an administrator." or something along that lines,[/size]

does no good if you don't also add the last info from your_siteurl/admincp.php?action=sqlerr
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: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728