Members   Search      Help    Register    Login    Home
Today's Messages (off)  | Unanswered Messages (on)

Forum: Bug Reports
 Topic: Refresh Error !
Refresh Error ! [message #2180] Wed, 27 August 2008 03:02
jackie9mm is currently offline jackie9mm  Thailand
Messages: 13
Registered: July 2008
Leecher
 Topic: Time of generating the page
Time of generating the page [message #2172] Tue, 26 August 2008 10:22
Revan is currently offline Revan  Czech Republic
Messages: 125
Registered: April 2007
Super-Seeder
I think I found little bug in the value of the time that the page is being generated...
I know it doesn't influence anything, but I thought I'd post it anyway...

So instead of: $startpagetime = microtime(); in header.php
there should be:
$start_time = microtime();
$start_time = array_sum (explode (' ', $start_time));

and in footer.php, instead of:
echo abs(round(microtime()-$startpagetime,2))
should be:
echo round(array_sum(explode(' ', microtime()))-$startpagetime,2)

Like I said not a big deal, but I thought I'd post it Smile
 Topic: comment notification language
comment notification language [message #1756] Thu, 07 February 2008 15:02
Revan is currently offline Revan  Czech Republic
Messages: 125
Registered: April 2007
Super-Seeder
I discovered a bug that causes comment notifications to be sent in language of the poster of comment and not in the language of ppl that receive notifications...
here's a fix, find:
$sql = "SELECT name, email FROM ".$db_prefix."_users U, ".$db_prefix."_comments_notify C WHERE C.user = U.id AND C.status = 'active' AND C.torrent = '".$id."' AND U.id != '".$user->id."' ;";

replace with:
$sql = "SELECT name, email, language FROM ".$db_prefix."_users U, ".$db_prefix."_comments_notify C WHERE C.user = U.id AND C.status = 'active' AND C.torrent = '".$id."' AND U.id != '".$user->id."' ;";


then find:
while($row = $db->sql_fetchrow($res)) $notify_mail->Add($row["email"]);
$notify_mail->sender = $admin_email;
$notify_mail->subject = $commnotifysub[$language];
$search = Array("**sitename**","**siteurl**","**torrenturl**","**unwatchurl**","**name**");
$replace = Array($sitename,$siteurl,$siteurl."/details.php?id=".$id,$siteurl."/details.php?id=".$id."&op=comment&trig=off",$tortn["name"]);
$notify_mail->body = str_replace($search,$replace,$commnotifytext[$language]);

and replace with:
while($row = $db->sql_fetchrow($res))
{
if ($row["language"] != "") $language = $row["language"];
else $language = "english";
$notify_mail->Add($row["email"]);
$notify_mail->subject = $commnotifysub[$language];
$search = Array("**sitename**","**siteurl**","**torrenturl**","**unwatchurl**","**name**");
$replace = Array($sitename,$siteurl,$siteurl."/details.php?id=".$id,$siteurl."/details.php?id=".$id."&op=comment&trig=off",$tortn["name"]);
$notify_mail->body = str_replace($search,$replace,$commnotifytext[$language]);
}
$notify_mail->sender = $admin_email;


This should fix it...
 Topic: V1.2beta1 and cvs
V1.2beta1 and cvs [message #976] Tue, 01 May 2007 18:35
joeroberts is currently offline joeroberts  United States
Messages: 1971
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer
we need your help to make V1.2beta1 move forward
If you are using V1.2beta1 or cvs snapshot please report your bug
to http://sourceforge.net/tracker/?func=add&group_id=129993 &atid=716488
along with here so that we may track them better and assign them to the proper person.


http://a.imageshack.us/img831/5562/mybikes.png

[Updated on: Tue, 01 May 2007 20:18] by Moderator

Report message to a moderator

 Topic: How to get support on this Forum
How to get support on this Forum [message #74] Sat, 15 July 2006 01:01
djechelon is currently offline djechelon  Italy
Messages: 207
Registered: June 2006
Location: Ercolano, NA
Releaser
Administrator

This Forum is meant for bug reporting on OFFICIAL phpMyBitTorrent versions. You should always install the lastest version.

In order to get proper support, please fully describe your problem and don't forget to:

  1. Say what version you're using
  2. Say how to replicate the problem
  3. Make a short summary of server configuration (ie. Apache 2.0 under Linux)
  4. If possible, tell us your tracker URL address


Please remember that some bugs have been already identified and fixed, and the only way to get rid of them is to upgrade to CVS version. At this time phpMyBitTorrent offers no tutorial for CVS upgrade, but you should find appropriate documentation on SourceForge.net.


Unfortunately, no one can be told what the Matrix is. You have to see it for yourself.



Current Time: Thu Feb 09 20:23:21 GMT 2012

Total time taken to generate the page: 0.00689 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software