Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Mods & Themes (http://www.bvlist.com/forumdisplay.php?f=93)
-   -   [PMBT] Demonoid (http://www.bvlist.com/showthread.php?t=5798)

daffy 3rd February 2011 20:35

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.

dumorim 3rd February 2011 20:43

1 Attachment(s)
thanks for help

daffy 3rd February 2011 21:23

1 Attachment(s)
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

flskip 3rd February 2011 22:30

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.

joeroberts 3rd February 2011 23:02

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"._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


bebeshare 10th March 2011 04:31

why i use this always show:You can't access this file directly

daffy 10th March 2011 12:47

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);


Mahmoud 3rd April 2011 17:56

can the theme maker make it full and complete
just to help poor users like me :sad:

joeroberts 3rd April 2011 18:07

1 Attachment(s)
first of the missing image is for another theme.
so what theme do you want completed?

Mahmoud 3rd April 2011 21:14

Quote:

Originally Posted by joeroberts (Post 27458)
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


All times are GMT +2. The time now is 08:09.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.