Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > BT.Manager (phpMyBitTorrent) > Mods & Themes
Reply
  #11  
Old 18th August 2009, 10:36
kosmyn2008 kosmyn2008 is offline
Member
 
Join Date: Jan 2008
Posts: 3
Default
looks nice..thank you
Reply With Quote
  #12  
Old 23rd August 2009, 09:23
AJ1804's Avatar
AJ1804 AJ1804 is offline
Senior Member
 
Join Date: Jul 2009
New Zealand
Posts: 21
Default
Thanks 4 the great theme
Reply With Quote
  #13  
Old 20th November 2009, 03:45
gokturk's Avatar
gokturk gokturk is offline
Member
 
Join Date: Feb 2009
Turkey
Posts: 9
Default
u super
very thank you
Reply With Quote
  #14  
Old 25th November 2009, 19:48
daffy's Avatar
daffy daffy is offline
Senior Member
 
Join Date: Mar 2009
United Kingdom
Posts: 550
Default
how does one make this theme wider over all. and add side columns.
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?"
"I Kill You!" simples


http://i.imgur.com/DtcRfH5.gif

I also Setup And Modify Trackers PM For Details
Reply With Quote
  #15  
Old 25th November 2009, 20:54
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
that would be hard to do you well need to competely rewrite the theme header
__________________
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
  #16  
Old 1st February 2010, 01:50
xDev xDev is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 158
Default
thank you for the themes for this code as well
Reply With Quote
  #17  
Old 8th May 2010, 21:16
daffy's Avatar
daffy daffy is offline
Senior Member
 
Join Date: Mar 2009
United Kingdom
Posts: 550
Default
Quote:
Originally Posted by joeroberts View Post
that would be hard to do you well need to competely rewrite the theme header
ok well how do we make this wider. its so narrow, especially now with new torrent table added.
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?"
"I Kill You!" simples


http://i.imgur.com/DtcRfH5.gif

I also Setup And Modify Trackers PM For Details
Reply With Quote
  #18  
Old 8th May 2010, 21:27
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
the header is One large image with html incoded into it you would have to resize the image and resized the blank images so that they align the links with the image
__________________
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
  #19  
Old 3rd September 2010, 03:23
daffy's Avatar
daffy daffy is offline
Senior Member
 
Join Date: Mar 2009
United Kingdom
Posts: 550
Default slite header change
edited my main.php to look more like tleech as shown below.


open tleech/main.php

find
Code:
          if ($user->user) 
      {
          print("<table style=\"width: 100%;\" border=\"1\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"bottom\">
<div align=\"center\"><font class=\"pmbtcopyright\">");
          
                if ($arr["downloaded"] == 0) $userratio = "&infin;";
                else {
            if ($user->uploaded > 0)
            {
                $ratio = number_format($user->uploaded / $user->downloaded, 2);
        if ($user->downloaded == 0)
                $userratio = "8";
        elseif ($ratio < 0.1)
                $userratio = "<font color=\"#ff0000\">" . $ratio . "</font>";
        elseif ($ratio < 0.2)
                $userratio = "<font color=\"#ee0000\">" . $ratio . "</font>";
        elseif ($ratio < 0.3)
                $userratio = "<font color=\"#dd0000\">" . $ratio . "</font>";
        elseif ($ratio < 0.4)
                $userratio = "<font color=\"#cc0000\">" . $ratio . "</font>";
        elseif ($ratio < 0.5)
                $userratio = "<font color=\"#bb0000\">" . $ratio . "</font>";
        elseif ($ratio < 0.6)
                $userratio = "<font color=\"#aa0000\">" . $ratio . "</font>";
        elseif ($ratio < 0.7)
                $userratio = "<font color=\"#990000\">" . $ratio . "</font>";
        elseif ($ratio < 0.8)
                $userratio = "<font color=\"#880000\">" . $ratio . "</font>";
        elseif ($ratio < 0.9)
                $userratio = "<font color=\"#770000\">" . $ratio . "</font>";
        elseif ($ratio < 1)
                $userratio = "<font color=\"#660000\">" . $ratio . "</font>";
        else
                $userratio = "<font color=\"#00FF00\">".  $ratio . "</font>";
            }
            }
            
            print(_btwelcomebk.", <a href=\"user.php?op=profile&id=$user->id\">$user->name</a>".$usrclass);
            if($user->invites == 0)
                print(", you have no invite   ");
            else
                print(", you have ".$user->invites." <a href=\"invite.php\">invites</a>   ");
          print("<img src=\"./themes/".$theme."/pics/download.gif\" border=\"0\" alt=\"Downloaded\" align=\"middle\" /> <font color=\"red\">".mksize($user->downloaded)."</font>");
          print("  <img src=\"./themes/".$theme."/pics/upload.gif\" border=\"0\" alt=\"Uploaded\" align=\"middle\" /> <font color=\"green\">".mksize($user->uploaded)."</font>");
          print("  <img src=\"./themes/".$theme."/pics/pic_ratio.gif\" border=\"0\" alt=\"Ratio\" align=\"middle\" /> ".$userratio." ");
          print("</font></div></td></tr></table>\n");
      }
}
replace with this
Code:
          if ($user->user) 
      {
          print("<table cellpadding=4 cellspacing=1 border=0 style=width:95%>

   <tr>

    <td ><table style=width:100% cellspacing=0 cellpadding=0 border=1>

     <tr>

      <td class=bottom align=left>");

                      $sql = "SELECT seedbonus, avatar, uploaded,  downloaded, ratio, invites, can_do, level, uploaded/downloaded AS ratio FROM ".$db_prefix."_users WHERE id = '".$user->id."';";
        $res = $db->sql_query($sql);
        list ($seedbonus, $avatar, $uploaded, $downloaded, $invites, $can_do, $level, $ratio) = $db->sql_fetchrow($res);
                
            if ($user->uploaded > 0)
            {
                $ratio = number_format($user->uploaded / $user->downloaded, 2);
        if ($user->downloaded == 0)
                $userratio = "8";
        elseif ($ratio < 0.1)
                $userratio = "<font color=\"#ff0000\">" . $ratio . "</font>";
        elseif ($ratio < 0.2)
                $userratio = "<font color=\"#ee0000\">" . $ratio . "</font>";
        elseif ($ratio < 0.3)
                $userratio = "<font color=\"#dd0000\">" . $ratio . "</font>";
        elseif ($ratio < 0.4)
                $userratio = "<font color=\"#cc0000\">" . $ratio . "</font>";
        elseif ($ratio < 0.5)
                $userratio = "<font color=\"#bb0000\">" . $ratio . "</font>";
        elseif ($ratio < 0.6)
                $userratio = "<font color=\"#aa0000\">" . $ratio . "</font>";
        elseif ($ratio < 0.7)
                $userratio = "<font color=\"#990000\">" . $ratio . "</font>";
        elseif ($ratio < 0.8)
                $userratio = "<font color=\"#880000\">" . $ratio . "</font>";
        elseif ($ratio < 0.9)
                $userratio = "<font color=\"#770000\">" . $ratio . "</font>";
        elseif ($ratio < 1)
                $userratio = "<font color=\"#660000\">" . $ratio . "</font>";
        else
                $userratio = "<font color=\"#00FF00\">".  $ratio . "</font>";
            }
        

        
            print("<span class=smallfont>welcome back</font>, <u><a href=\"user.php?op=profile&id=$user->id\">$user->name</a></u>&nbsp;&nbsp;".$usrclass);            
      print("[<a href=\"user.php?op=logout\"><font color=white>logout</font></a>]<BR>");            
      print("<font color=lawngreen>Ratio:</font> <font colorwhite> ".$userratio." </font>&nbsp;&nbsp;<font color=green>Uploaded:</font> <font color=\"white\">".mksize($user->uploaded)."</font>&nbsp;&nbsp;<font color=red>Downloaded:</font> <font color=\"white\">".mksize($user->downloaded)."</font>&nbsp;&nbsp;<font color=lawngreen>Bonus:</font> <font color=red>[</font><a href='mybonus.php'>".$user->seedbonus."</a><font color=red>]</font></span></td>");            
          print("<td class=bottom align=right><span class=smallfont>The time is now: " . gmdate(" H:i:s", time()) . "<br/><span class=smallfont><a href=pm.php><img height=14px style=border:none alt=inbox title=inbox src=http://www.torrentleech.org/pic/pn_inbox.gif></a> Inbox</span><span class=smallfont>&nbsp;&nbsp;<a href=pm.php><img height=14px style=border:none alt=sentbox title=sentbox src=http://www.torrentleech.org/pic/pn_sentbox.gif></a> Sentbox</span>&nbsp;<a href=pm.php><img style=border:none alt=Buddylist title=Buddylist src=http://www.torrentleech.org/pic/buddylist.gif></a>
      </span></td>



     </tr>

    
</table></table>\n");
      }
Click the image to open in full size.
Click the image to open in full size.
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?"
"I Kill You!" simples


http://i.imgur.com/DtcRfH5.gif

I also Setup And Modify Trackers PM For Details
Reply With Quote
  #20  
Old 3rd September 2010, 15:03
culay111 culay111 is offline
Member
 
Join Date: Mar 2010
P2P
Posts: 7
Default error
a news main.php!


Attached Files
File Type: php main.php (25.5 KB, 12 views)
Reply With Quote
Reply

Tags
20 , forum , pmbt , tleech , tracker

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
[PMBT 2.x]Add last forum posts to index joeroberts Mods & Themes 3 16th July 2013 04:01
[pmbt 2.0.4]problem with tracker settings ferdis BT.Manager (phpMyBitTorrent) 4 12th September 2009 15:17
[PMBT 2.0]Add user for tracker! LoaT BT.Manager (phpMyBitTorrent) 1 2nd February 2009 03:12
[PMBT 2.x] Adding tracker stats to forum joeroberts Mods & Themes 0 17th January 2009 21:33
Sync Forum users with tracker KM4 Torrent Strike 1 4th November 2008 12:23



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