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

// Auto Uploader rank function (Author: ArcticWolf)
function auto_rank_icon($uploaded, $downloaded, $level)
{
   $tb = 1024 * 1024 * 1024 * 1024;
   // Config
   $minup0 = .5 * $tb;
   $minup1 = 1 * $tb;
   $minup2 = 2 * $tb;
   $minup3 = 3.5 * $tb;
   $minup4 = 5.5 * $tb;
   $minup5 = 8 * $tb;
   $minup6 = 15 * $tb;
   // Config End
   $icon1 = "legend_stjarna_brons.png";
   $icon2 = "legend_stjarna_silver.png";
   $icon3 = "legend_stjarna_guld.png";
   $icon4 = "krona_brons.png";
   $icon5 = "krona_silver.png";
   $icon6 = "krona_guld.png";
   $icon7 = "diamant.png";
   
   if ($uploaded >= $minup6 && $uploaded >= $downloaded) {
       $uprankr = "<img src="/images/icons/" . $icon7 . "" alt='$icon7' border="0"/>";
       return $uprankr;
   } elseif ($uploaded >= $minup5 && $uploaded < $minup6 && $uploaded >= $downloaded) {
       $uprankr = "<img src="/images/icons/" . $icon6 . "" alt='$icon6' border="0"/>";
       return $uprankr;
   } elseif ($uploaded >= $minup4 && $uploaded < $minup5 && $uploaded >= $downloaded) {
       $uprankr = "<img src="/images/icons/" . $icon5 . "" alt='$icon5' border="0"/>";
       return $uprankr;
   } elseif ($uploaded >= $minup3 && $uploaded < $minup4 && $uploaded >= $downloaded) {
       $uprankr = "<img src="/images/icons/" . $icon4 . "" alt='$icon4' border="0"/>";
       return $uprankr;
   } elseif ($uploaded >= $minup2 && $uploaded < $minup3 && $uploaded >= $downloaded) {
       $uprankr = "<img src="/images/icons/" . $icon3 . "" alt='$icon3' border="0"/>";
       return $uprankr;
   } elseif ($uploaded >= $minup1 && $uploaded < $minup2 && $uploaded >= $downloaded) {
       $uprankr = "<img src="/images/icons/" . $icon2 . "" alt='$icon2' border="0"/>";
       return $uprankr;
   } elseif ($uploaded >= $minup0 && $uploaded >= $downloaded) {
       $uprankr = "<img src="/images/icons/" . $icon1 . "" alt='$icon1' border="0"/>";
       return $uprankr;
   }
   return "";
}
works fine..
not sure what you mean lost in translation..

Quote:
we all have the same images?
??
Quote:
Image works Radio?
??
.. wow hard:(

print ("Seeding Bonus: <a href='mybonus.php'>".$CURUSER["seedbonus"]."</a><br />");
"phoenix75, post: 91108":

hello ArticWolf

sorry it's not possible varchar 7

ALTER TABLE `groups` ADD `Color` VARCHAR( 7 ) NOT NULL DEFAULT '#000000' AFTER `level` ;

hex color=6 #000000
Sorry your an idiot... varchar is just the number of spaces allowed!!!!
Helpdesk tbdev — 2013-07-05 18:38:16 in v2.08 Mods Completed
.. This file has alot of issues LOL..

I did not test it but this might solve the time issues..

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6809"]helpdesk.php[/url]
I found out its just simpler to use sqlesc like in the 1st post.

' does weird stuff even with addslashes..
"zamunda, post: 90898":
Can someone to fix the code to use cache.?
Here you go.. It still uses the multi querys.... but is cached now atleast.[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6789"]latestforum_block.php[/url]
Not to mention the so many query's inside each other and the fact its an active block..

Maybe some point will look at moding this to use an cache atleast... All these query's cant be good on load:(
Ban comments — 2013-06-15 20:47:50 in v2.08 Mods Completed
"zamunda, post: 90783":
Not worked for me..Doesnt show Error message when user is banned for comments..
You could prob try changing both in comments.php and torrents-details.php this
if($CURUSER["commentbanned"]=="yes")

to
if($CURUSER["commentbanned"]=="yes" || !CURUSER)

In theory would fix it too so have to be logged in to comment, witch is always an good thing LOL!
Its probably an blank page cause you have short-tag turned off, its why the person said to change <? to <?php
guess you dont want help... We're sorry, we cannot find the page you requested.

Please check the URL for correct spelling and capitalization.

USE IMAGE ATTACH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Ok if you have weird torrent names that have stuff like "`' in them they will error out when trying to download if using the default svn 2.08:(

This fix will fix that and should work in any version that has sqlesc in it.

In download.php change both:

header('Content-Disposition: attachment; filename="'.$name.'"');

to
header('Content-Disposition: attachment; filename='.sqlesc($name).'');

I dont know if this will fix other language issues but someone reported back it does fix the above weird chars.
you would need to use something along these links its highly untested and just brain storming lol.

Not sure where you trying to use this at..


 $user_rated_check_torr = get_row_count("reppoint", "WHERE userid='" . $CURUSER['id'] . "' AND uploader='" . $row["owner"] . "' AND (type ='torrent'||type ='account')");
 if ($user_rated_check_torr>=1)
  show_error_msg(T_("ERROR"), "You cannot give reputation again you alrady done it.");
np, if you take out

<div class="clr"></div>

it might move it up not really sure what that clr class does LOL
.. opps

<tr><td><b>Humans:</b> <td><div class="clr"></div><div id="QapTcha"></div></td></tr>

should be
<tr><td><b>Humans:</b> <div class="clr"></div><div id="QapTcha"></div></td></tr>
not quite sure what you mean.. but maybe something like this

in account-login

		 <tr>
<td><b>Humans:</b></td>
<td><div class="clr"></div><div id="QapTcha"></div></td>
</tr>

to
<tr><td><b>Humans:</b> <td><div class="clr"></div><div id="QapTcha"></div></td></tr>
that comes from when shoutbox is disabled in config or you not logged in aka no $CURUSER vars

if you are logged in but not working on firefox but in chrome.. looks like you got more issues then this.. have fun!

"PyhaJumal, post: 90019":
I deleted off all cookies and browser history, and I did restart, but still does not work.
I think thib is right.. Hard knowing without out the code around it or atleast the function its being called from..

from his original post it looks like user... so change

if ($type == "torrent" && $CURUSER["edit_torrents"] == "yes" || $type == "news" && $CURUSER["edit_news"] == "yes" || $CURUSER['id'] == $row['username']) 
 $edit = '[<a href="comments.php?id='.$row["id"].'&amp;type='.$type.'&amp;edit=1">Edit</a>]&nbsp;';

to
if ($type == "torrent" && $CURUSER["edit_torrents"] == "yes" || $type == "news" && $CURUSER["edit_news"] == "yes" || $CURUSER['id'] == $row['user']) 
 $edit = '[<a href="comments.php?id='.$row["id"].'&amp;type='.$type.'&amp;edit=1">Edit</a>]&nbsp;';
this will not work..

if ($type == "torrent" && $CURUSER["edit_torrents"] == "yes" || $type == "news" && $CURUSER["edit_news"] == "yes" || $CURUSER['id'] == ".class_user($row['user']).") $edit = '[<a href="comments.php?id='.$row["id"].'&amp;type='.$type.'&amp;edit=1">Edit</a>]&nbsp;';

in  that case you should use

  if ($type == "torrent" && $CURUSER["edit_torrents"] == "yes" || $type == "news" && $CURUSER["edit_news"] == "yes" || $CURUSER['id'] == $row['username']) 
 $edit = '[<a href="comments.php?id='.$row["id"].'&amp;type='.$type.'&amp;edit=1">Edit</a>]&nbsp;';
BUMP!!!!!!!!!!!!!!!
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