Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > BT.Manager (phpMyBitTorrent)
Reply
  #1  
Old 15th August 2009, 04:47
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default Time and date
where can i set date or/and time for tracker or it's from hosting anyway wierd seeing (images atached)
Pay ATTENTION to last LOGIN
Attached Thumbnails
Ekranattels-TorrentO - Mozilla Firefox.png   Ekranattels-TorrentO - Mozilla Firefox-1.png  
Reply With Quote
  #2  
Old 15th August 2009, 06:28
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
find
PHP Code:
if ($row["lastlogin"] == "0000-00-00 00:00:00")
  
$lastseen "never";
else
{
  
$lastseen get_elapsed_time(sql_timestamp_to_unix_timestamp($row["lastlogin"])) ;

and remove it
now find
PHP Code:
while ($row $db->sql_fetchrow($res)) { 
and add after
PHP Code:
if ($row["lastlogin"] == "0000-00-00 00:00:00")
  
$lastseen "last Login: never";
else
{
  
$lastseen "last Login: ".get_formatted_timediff(sql_timestamp_to_unix_timestamp($row["lastlogin"]))." "._btago."" ;

Now find
PHP Code:
        "last Login".": ".get_elapsed_time(sql_timestamp_to_unix_timestamp($row["lastlogin"]))." "._btago.""
and replace with
PHP Code:
        $lastseen
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #3  
Old 15th August 2009, 06:34
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
parfecto THANK YOU
Reply With Quote
Reply

Tags
date , time

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Join date & Last seen Issue majio Template Shares 0 17th July 2009 20:07
Warning: date() expects Pls Help kiper Yuna Scatari Edition (YSE) 0 30th December 2008 21:50
Date and Time Help tcbroonsie Free Torrent Source 1 1st December 2008 04:56
Problems with join date Seth TBDev 2 24th November 2008 15:58
time & date snakebite Torrent Strike 2 14th May 2008 21:35



All times are GMT +2. The time now is 16:26. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.