Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > BT.Manager (phpMyBitTorrent) > Mods & Themes
Reply
  #11  
Old 3rd February 2011, 20:35
daffy's Avatar
daffy daffy is offline
Senior Member
 
Join Date: Mar 2009
United Kingdom
Posts: 550
Default
it is because they are both identical. wrap up (rar) your blocks/ directory and post them, i will fix it up once i have eaten my food.
__________________
"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
  #12  
Old 3rd February 2011, 20:43
dumorim dumorim is offline
Senior Member
 
Join Date: Dec 2010
P2P
Posts: 30
Default
thanks for help
Attached Files
File Type: rar blocks.rar (16.3 KB, 13 views)
Reply With Quote
  #13  
Old 3rd February 2011, 21:23
daffy's Avatar
daffy daffy is offline
Senior Member
 
Join Date: Mar 2009
United Kingdom
Posts: 550
Default
no problem., try below. how i do these is i create my blocks and add to blocks/ directory, i then add include function to usercp.php OR usercp2.php to show on left or right side. you can see what i mean with menu.php
Attached Files
File Type: rar blocks.rar (14.6 KB, 33 views)
__________________
"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
  #14  
Old 3rd February 2011, 22:30
flskip flskip is offline
Member
 
Join Date: May 2010
Vietnam
Posts: 1
Default second login in header
When I use this theme with a user logged in it works fine. If use the theme with a guest and no log in i get a second log in screen in the header and everything looks out of alignment. Can anyone help me with this issue. My tracker is open and users only need to log in to download locally tracked torrents. Most of my users will never log in or register.
Reply With Quote
  #15  
Old 3rd February 2011, 23:02
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
in main.php find
PHP Code:
else{
        
$loginbox "<form method=\"POST\" action=\"user.php".$returnto."\">\n<input type=\"hidden\" name=\"op\" value=\"login\" />\n
        <p>"
._btusername."<input type=\"text\" name=\"username\" size=\"20\" />\n<br>"._btpassword."<input type=\"password\" name=\"password\" size=\"20\" />\n</p>\n";
        if (
$gfx_check) {
                
$rnd_code strtoupper(RandomAlpha(5));
                
$loginbox .= "<p>"._btsecuritycode."<img src=\"gfxgen.php?code=".base64_encode($rnd_code)."\" alt=\"Security Code\" width=\"15\" height=\"30\">\n<input type=\"text\" name=\"gfxcode\" size=\"10\" maxlength=\"6\">";
                
$loginbox .= "<input type=\"hidden\" name=\"gfxcheck\" value=\"".md5($rnd_code)."\">\n\n";
        }
        
$loginbox .= "<p><input type=\"submit\" value=\""._btlogin."\" /></p></form>\n";
        
$loginbox .= "<a href=\"user.php?op=lostpassword\">"._btlostpassword."</a></p>\n\n";
        echo 
$loginbox
and replace it with
PHP Code:
else{
        
$loginbox "<form method=\"POST\" action=\"user.php".$returnto."\">\n<input type=\"hidden\" name=\"op\" value=\"login\" />\n
        <p>"
._btusername."<input type=\"text\" name=\"username\" size=\"20\" />\n"._btpassword."<input type=\"password\" name=\"password\" size=\"20\" />\n</p>\n";
        if (
$gfx_check) {
                
$rnd_code strtoupper(RandomAlpha(5));
                
$loginbox .= "<p>"._btsecuritycode."<img src=\"gfxgen.php?code=".base64_encode($rnd_code)."\" alt=\"Security Code\" width=\"77\" height=\"20\">\n<input type=\"text\" name=\"gfxcode\" size=\"10\" maxlength=\"6\">";
                
$loginbox .= "<input type=\"hidden\" name=\"gfxcheck\" value=\"".md5($rnd_code)."\">\n\n";
        
$loginbox .= "<input type=\"submit\" value=\""._btlogin."\" /></p></form>\n";
        }
        else
        
$loginbox .= "<p><input type=\"submit\" value=\""._btlogin."\" /></p></form>\n";
        
$loginbox .= "<a href=\"user.php?op=lostpassword\">"._btlostpassword."</a></p>\n\n";
        echo 
$loginbox
__________________
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 10th March 2011, 04:31
bebeshare bebeshare is offline
Member
 
Join Date: Mar 2011
P2P
Posts: 12
Default
why i use this always show:You can't access this file directly
Reply With Quote
  #17  
Old 10th March 2011, 12:47
daffy's Avatar
daffy daffy is offline
Senior Member
 
Join Date: Mar 2009
United Kingdom
Posts: 550
Default
open themes main.php

replace
Code:
if (!defined('IN_PMBT')) die ("You can't access this file directly");
with below
Code:
if (defined('IN_PMBT'))die ("You can't include this file");
define("IN_PMBT",true);
__________________
"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 3rd April 2011, 17:56
Mahmoud Mahmoud is offline
Senior Member
 
Join Date: Nov 2009
Andorra
Posts: 72
Default
can the theme maker make it full and complete
just to help poor users like me
Reply With Quote
  #19  
Old 3rd April 2011, 18:07
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
first of the missing image is for another theme.
so what theme do you want completed?
Attached Files
File Type: rar NBdemon.rar (583.7 KB, 88 views)
__________________
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/

Last edited by joeroberts; 3rd April 2011 at 18:24.
Reply With Quote
  #20  
Old 3rd April 2011, 21:14
Mahmoud Mahmoud is offline
Senior Member
 
Join Date: Nov 2009
Andorra
Posts: 72
Default
Quote:
Originally Posted by joeroberts View Post
first of the missing image is for another theme.
so what theme do you want completed?
sorry
i already edited my post
the demonoid them require a lot of edit and making files
so im asking of the theme maker to build it for poor users like us
thanks
Reply With Quote
Reply

Tags
demonoid , pmbt

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



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