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

Bitcoin? — 2013-04-12 20:22:27 in General Chat
yes
"darknova, post: 89667":
Hi!

after the member number on my site passed the 1000 number the counter stooped working

now I have 1033 members and 19999 free space  out of 20000 left : !?



any thoughts!

THANKS!

becouse: 1[size=24px],[/size]033 - 20000 = 19998,967 ~ 19999
"darknova, post: 88810":
You have one to many } (ends)

use notepad++  open in it and click after "{"  that will show you with the read line where the other "{" (end of the code)
READ READ READ



I checked all the code and still have not found the f**king unexpected '}'

For me it's not work  :D  I checked all the code and still have not found the f**king [size=14px]unexpected '}'[/size]  :D

looks like and everything is alright but does not work :)
Show date — 2013-02-12 13:11:14 in v2.08 Mods Completed


Open ../backend/functions.php file

go to file bottom and add cript before "?>"



//Show todays date

function show_today_date(){

$get_month = date('n');

$get_day = date('N');

$days_names = array("".T_("MONDAY")."", "".T_("TUESDAY")."", "".T_("WEDNESDAY")."", "".T_("THURSDAY")."", "".T_("FRIDAY")."", "".T_("SATUDAY")."", "".T_("SUNDAY")."");

$months_names = array("".T_("JANUARY")."", "".T_("FEBRUARY")."", "".T_("MARCH")."", "".T_("APRIL")."", "".T_("MAY")."", "".T_("JUNE")."", "".T_("JULY")."","".T_("AUGUST")."", "".T_("SEPTEMBER")."","".T_("OCTOBER")."", "".T_("NOVEMBER")."", "".T_("DECEMBER")."");

$date = date('Y ');

$date .= $months_names[$get_month-1];

$date .= date(' j d. ');

$date .= $days_names[$get_day-1];

return $date;

}//End date






Open your lang file exp. english.php and add this code:







//Yars Months

$LANG["JANUARY"] = "january";

$LANG["FEBRUARY"] = "february";

$LANG["MARCH"] = "march";

$LANG["APRIL"] = "april";

$LANG["MAY"] = "may";

$LANG["JUNE"] = "june";

$LANG["JULY"] = "july";

$LANG["AUGUST"] = "august";

$LANG["SEPTEMBER"] = "september";

$LANG["OCTOBER"] = "october";

$LANG["NOVEMBER"] = "november";

$LANG["DECEMBER"] = "december";

//Week days

$LANG["MONDAY"] = "monday";

$LANG["TUESDAY"] = "tuesday";

$LANG["WEDNESDAY"] = "wednesday";

$LANG["THURSDAY"] = "thursday";

$LANG["FRIDAY"] = "friday";

$LANG["SATUDAY"] = "satuday";

$LANG["SUNDAY"] = "sunday";






Add this code in your: ../theme.php file







.showday {

color:#dadada;

font-family:"Arial Black", Gadget, sans-serif;

font-size:14px;

font-weight:bold;

display:inline;

margin-left: 10px;

}






And add this code in your ../header.php file. place there where you want to show it.







<div class="showday"><?php echo show_today_date();?></div>

i pick up orginal file from here where you post
[size=14px]Parse error: syntax error, [/size][size=14px]unexpected[/size] '}' in D:wampwwwtorrentv2shoutbox.php on line 320
New Pagination — 2013-02-11 20:20:56 in v2.08 Mods Completed
This is small mod, how to change pagination style, and add small funtion  :)

  • New pagination style

  • New small function: when first page is current dont show "Prev" button, when last page is current when dont show "Next" button. Example when current pages is 2 when show all buttons.




Add this code in your theme/theme.css file:



div.pagination {

color:#48b9ef;

padding:10px 0 10px 0;

font-family: Arial, Helvetica, sans-serif;

font-size: 11px;

text-align:center;

}

div.pagination a {

color:#fff;

padding:2px 5px;

margin:0 2px;

text-decoration:none;

border:1px solid #0174bb;

background-color:#333;

}

div.pagination a:hover, div.pagination a:active {

border:1px solid #0174bb;

color:#333333;

background-color:#eef7fc;

text-decoration:underline;

}

div.pagination span.current {

padding:2px 5px;

border:1px solid #fff;

color:#fff;

font-weight:bold;

background-color:#0174bb;



}

Open backend/functions.php file:



Find this code:






function pager($rpp, $count, $href, $opts = array()) {

   $pages = ceil($count / $rpp);

   if (!$opts["lastpagedefault"])

   $pagedefault = 0;

   else {

   $pagedefault = floor(($count - 1) / $rpp);

   if ($pagedefault < 0)

   $pagedefault = 0;

   }

   if (isset($_GET["page"])) {

   $page = (int) $_GET["page"];

   if ($page < 0)

   $page = $pagedefault;

   }

   else

   $page = $pagedefault;

   $pager = "";

   $mp = $pages - 1;

   $as = "<b>&lt;&lt;&nbsp;".T_("PREVIOUS")."</b>";

   if ($page >= 1) {

   $pager .= "<a href=\"{$href}page=" . ($page - 1) . "\">";

   $pager .= $as;

   $pager .= "</a>";

   }

   else

   $pager .= $as;

   $pager .= "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";

   $as = "<b>".T_("NEXT")."&nbsp;&gt;&gt;</b>";

   if ($page < $mp && $mp >= 0) {

   $pager .= "<a href=\"{$href}page=" . ($page + 1) . "\">";

   $pager .= $as;

   $pager .= "</a>";

   }

   else

   $pager .= $as;

   if ($count) {

   $pagerarr = array();

   $dotted = 0;

   $dotspace = 3;

   $dotend = $pages - $dotspace;

   $curdotend = $page - $dotspace;

   $curdotstart = $page + $dotspace;

   for ($i = 0; $i < $pages; $i++) {

   if (($i >= $dotspace && $i <= $curdotend) || ($i >= $curdotstart && $i < $dotend)) {

   if (!$dotted)

   $pagerarr[] = "...";

   $dotted = 1;

   continue;

   }

   $dotted = 0;

   $start = $i * $rpp + 1;

   $end = $start + $rpp - 1;

   if ($end > $count)

   $end = $count;

   $text = "$start&nbsp;-&nbsp;$end";

   if ($i != $page)

   $pagerarr[] = "<a href=\"{$href}page=$i\"><b>$text</b></a>";

   else

   $pagerarr[] = "<b>$text</b>";

   }

   $pagerstr = join(" | ", $pagerarr);

   $pagertop = "<p align=\"center\">$pager<br />$pagerstr</p>\n";

   $pagerbottom = "<p align=\"center\">$pagerstr<br />$pager</p>\n";

   }

   else {

   $pagertop = "<p align=\"center\">$pager</p>\n";

   $pagerbottom = $pagertop;

   }

   $start = $page * $rpp;

   return array($pagertop, $pagerbottom, "LIMIT $start,$rpp");

}






And replace to this code:







function pager($rpp, $count, $href, $opts = array()) {

   $pages = ceil($count / $rpp);

   if (!$opts["lastpagedefault"])

   $pagedefault = 0;

   else {

   $pagedefault = floor(($count - 1) / $rpp);

   if ($pagedefault < 0)

   $pagedefault = 0;

   }

   if (isset($_GET["page"])) {

   $page = (int) $_GET["page"];

   if ($page < 0)

   $page = $pagedefault;

   }

   else

   $page = $pagedefault;

   $pager = "";



$mp = $pages - 1;

if ($page >= 1) {

   $as = "<b>&laquo;&nbsp;".T_("PREVIOUS")."</b>";

   $prevb .= "<a href=\"{$href}page=" . ($page - 1) . "\">";

   $prevb .= $as;

   $prevb .= "</a>";

   }

   else

 

$nextb .= $as;

if ($page < $mp && $mp >= 0) {

   $as = "<b>".T_("NEXT")."&nbsp;&raquo;</b>";

   $nextb .= "<a href=\"{$href}page=" . ($page + 1) . "\">";

   $nextb .= $as;

   $nextb .= "</a>";

   }

   if ($count) {

   $pagerarr = array();

   $dotted = 0;

   $dotspace = 2;

   $dotend = $pages - $dotspace;

   $curdotend = $page - $dotspace;

   $curdotstart = $page + $dotspace;

   for ($i = 0; $i < $pages; $i++) {

   if (($i >= $dotspace && $i <= $curdotend) || ($i >= $curdotstart && $i < $dotend)) {

   if (!$dotted)

   $pagerarr[] = "<b>...</b>";

   $dotted = 1;

   continue;

   }

   $dotted = 0;

   $start = $i * $rpp + 1;

   $end = $start + $rpp - 1;

   if ($end > $count)

   $end = $count;

   $text = "$start&nbsp;-&nbsp;$end";

   if ($i != $page)

   $pagerarr[] = "<a href=\"{$href}page=$i\"><b>$text</b></a>";

   else

   $pagerarr[] = "<span class=\"current\">$text</span>";

   }

   $pagerstr = join(" ", $pagerarr);

   $pagertop = "<p align=\"center\"><div class=\"pagination\">$prevb $pagerstr $nextb</div></p>\n";

   $pagerbottom = "<p align=\"center\"><div class=\"pagination\">$prevb $pagerstr $nextb</div></p>\n";

   }

   else {

   $pagertop = "<p align=\"center\">$prevb $nextb</p>\n";

   $pagerbottom = $pagertop;

   }

   $start = $page * $rpp;

   return array($pagertop, $pagerbottom, "LIMIT $start,$rpp");

}




IMAGE

You're welcome :)
Use this code:



$showtime = date('Y',$gettime).', '.$month[date('n',$gettime)-1].' '.date('j',$gettime).', '.$dayname[date('N',$gettime)-1].' - '.date('H',$gettime).':'.date('i',$gettime).' hrs.';

and your date show like this: ( 2013, february 9, monday - 13:48 hrs. ) :)
This metod, dont use time format like: M, m, Y, y, and etc  :)  You have use Numeric representation format its "n" = month name and "N" = week days names code:

$dayname = array(''.T_("MON").'', ''.T_("TUE").'', ''.T_("WED").'', ''.T_("THU").'', ''.T_("FRI").'', ''.T_("SAT").'', ''.T_("SUN").'');

'.$daysname[date('N',$gettime)-1].'


UPDATED first week day must be Monday
This is are simple 3 lines hack, how to translate: news, shoutbox, comments and etc dates month names.  :)

First open: index.php file

Find this code:



// Show first 2 items expanded

if ($news_flag < 2) {

$disp = "block";

$pic = "minus";

} else {

$disp = "none";

$pic = "plus";

}

After this code incert this:




$gettime = utc_to_tz_time($array['added']);

$month = array('1', '2', '3', '4', '5', '6', '7','8', '9','10', '11', '12');

$showtime = date('Y',$gettime).', '.$month[date('n',$gettime)-1].' '.date('j',$gettime).' d. - '.date('H',$gettime).':'.date('i',$gettime).' hrs.';






Find this:

" . date("d-M-y", utc_to_tz_time($array['added'])) . "



Replace to this:

 ( ".$showtime." ) 





Numbers mean: months names like: 1 = January, 2 = February and etc.

You can inter your languages month name like: february: &#1092;&#1077;&#1074;&#1088;&#1072;&#1083;&#1100;, vasaris, février...



If your tracker have multilanguage system then:



This:

$month = array('1', '2', '3', '4', '5', '6', '7','8', '9','10', '11', '12');



Change to this:

$month = array(' '.T_("JANUARY").' ', ' '.T_("FEBRUARY").' ');
and etc.

And dont forget add this code to your xxx.lang file:

Example:

//english lang file

$LANG["FEBRUARY"] = "february";

//russian lang file

$LANG["FEBRUARY"] = "&#1092;&#1077;&#1074;&#1088;&#1072;&#1083;&#1100;";

//lithuanian lang file

$LANG["FEBRUARY"] = "vasaris";

//franch lang file

$LANG["FEBRUARY"] = "février";

This date translate system you can use where you want like in shoutbox or comments orcourse and forum and etc.

Dont forget say Thanks if you like it :)
Hello all, I need your suggestions.

looking for a good and secure server, your torrent site. Need to withstand 200,000 + users. Works well, quickly and steadily.

And most importantly, could do nothing in the government of the country where it will be server

and sorry for my spelling mistakes
CODER LOOKING FOR WORK — 2013-01-19 21:48:11 in General Chat
I dont know who are you :D
Mood mod — 2012-09-22 20:03:58 in v2 Only Mods Complete
It's for TT v2.08 and this mod have 36 mood images
Mood mod — 2012-09-22 19:51:46 in v2 Only Mods Complete
P.S. Files:

  • Moods.php

  • take-mood.php

  • delete-mood.php

  • mood/mood.sql, moods, preview



Red color - files

Green color - folders

moods folder images show in: Login-block, acoount, forum, comments.


previem folder images show in: moods.php and admin.php.






and some lines in language.php file
Mood mod — 2012-09-22 19:43:42 in v2 Only Mods Complete
[size=18px]I created a new version[/size]







New functions:

User commands.

  • User can on/off "Mood" function.

  • Can fast change mood.

  • Can delete mood.



Admin commands.

  • Cant edit mood: name, image name.

  • Delete moods.

  • Add new moods.

  • Turn on/off showing mood in: Login-block, Acoount, Comments and forum.



And more funtions in the future.

P.S. easy edit all files.

[size=18px]Attention[/size] [size=18px]this mod it's not free [/size] :) [size=18px] (price: 3$)[/size]
My New Login page v2 [NOT FREE]

New funtions:

  • Have auto slide info bar.

  • Very nice tooltips

  • Jquery rotate banner (auto change every 5sec,  time may be changed)

  • Stop rotate banner and show tooltip with: banner name and cliks, when the mouse is placed on the advertising

  • Custom body background-image have 8 defirent images, change when page refreshed.

  • And corrected some mistakes



auto slide bar have only login page.

Images:



come will be a new version of the ;)
you have a head and hands can do :)
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