Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   BT.Manager (phpMyBitTorrent) (http://www.bvlist.com/forumdisplay.php?f=23)
-   -   phpMyBitTorrent 2.0.3 (http://www.bvlist.com/showthread.php?t=1779)

joeroberts 11th January 2009 17:36

phpMyBitTorrent 2.0.3
 
I am happy to announce the release of PMBT 2.0.3
this is a major fix release with some new stuff added

Demo

Release files


Added

Shoutbox.
1.New Detach feature
2.New private shouts
3.New users in shoutbox
4.Fixed close Smilies
5.Fixed some Html error codes for alternating background colors
6.Added Idle timer
7.Fixed clear shout text when you click on shout

Upload features
1.Added free leech selection
2.Added New Bit Bucket feature

Admin Panel
1.Added Bit Bucket config system
2.Added log system
3.Added new Theme editor
4.Fixed Bug in settings
5.Bonus system configs
6.Added Torrent Client banning system
7.Added feature so you can now use .png .jpg or .gif images for buttons

phpBB3 Forum Integration
I created a new interface system which makes it allot easier to upgrade.
It still works inside or outside the tracker
Fixed remember me when you log in from forum to tracker


there was allot of bug fixes done here if you have watched the 2.0.2 release
you can see most of them.
Hope you injoy
and one's again thankyou for your suport!



Krypto 11th January 2009 21:47

mybonus
 
Bug Fix - mybonus.php

See below post

joeroberts 11th January 2009 21:59

1 Attachment(s)
I well take a look
ok checked also added some stuff I missed to it
I missed adding the new config systme to it

Krypto 11th January 2009 23:04

Code:

Fatal error:  Call to a member function sql_query() on a non-object in /home/******/www/pmbtv3/mybonus.php on line 33

joeroberts 11th January 2009 23:13

Quote:

Originally Posted by Krypto (Post 8099)
Code:

Fatal error: Call to a member function sql_query() on a non-object in /home/******/www/pmbtv3/mybonus.php on line 33

fixed use my original update

Krypto 11th January 2009 23:21

Wonderful, Thanks

SafariMan 15th January 2009 12:49

can i upgrade my tracker?

i used 2.0 gold version!

joeroberts 15th January 2009 13:05

Yes there is a upgrade script included

wMan 4th February 2009 19:00

way to go joe :friend::drink:

Muikku 14th February 2009 11:14

phpMyBitTorrent 2.0.3 announce url proplem
 
hi sorry my bad english

where i can conficg to upload announce url adress? now my upload page only shows that This Site's Official Tracker is: /announce.php
I understud announce url must be http://own site name/announce.php :sos:

joeroberts 14th February 2009 13:31

Quote:

Originally Posted by Muikku (Post 9031)
hi sorry my bad english

where i can conficg to upload announce url adress? now my upload page only shows that This Site's Official Tracker is: /announce.php
I understud announce url must be http://own site name/announce.php :sos:

When you edit the site adress in admin/settings.
This should have been done when you ran install where it asked you for
do not add announce in site url

Muikku 14th February 2009 17:10

Quote:

Originally Posted by joeroberts (Post 9034)
When you edit the site adress in admin/settings.
This should have been done when you ran install where it asked you for

do not add announce in site url

ok i try install again

and put only my adress in site url place
but where i put annouce url adress????
and what i put in cookie path/ place? can i leave cookie path place in not touch?

SOLVED :)

codedash 15th February 2009 00:24

One suggestion from me:
When it comes the place to make all the configurations for the tracker, before creating admin account, its very difficult to see what goes where because text and boxes are far from each other and its a bit confusing.

Great project. Thank you for helping people who dont know much coding.
:drink:

joeroberts 15th February 2009 00:58

Quote:

Originally Posted by Muikku (Post 9039)
ok i try install again

and put only my adress in site url place
but where i put annouce url adress????
and what i put in cookie path/ place? can i leave cookie path place in not touch?

there is no need to reinstall go to admin panel then settings and edit there
there is no place to edit announce url the tracker takes it from your settings...

---------- Post added at 22:58 ---------- Previous post was at 22:56 ----------

Quote:

Originally Posted by codedash (Post 9049)
One suggestion from me:
When it comes the place to make all the configurations for the tracker, before creating admin account, its very difficult to see what goes where because text and boxes are far from each other and its a bit confusing.

Great project. Thank you for helping people who dont know much coding.
:drink:

Well take under advisement for next release.:drink:

TheArcadeMaster 30th April 2009 20:23

Our Tracker has been Disabled: Only External Torre
 
this is a fresh install and i keep getting this error message
Code:

Our Tracker has been Disabled: Only External Torrents can be Uploaded
can anyone help me plzz

joeroberts 1st May 2009 02:50

uncheck Disable Local Tracker in admin=>settings

wMan 16th May 2009 12:21

log full with this
Data base sql error

Code:

Error Executing SQL Query
Error ID: 1064
Error Message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND active = '1' AND warned = 'no'' at line 1

anyway source is great i love it !! :D :D :D
all i can say is thank you

why do i don't get 10bp for post ?? i use fixed mybonus.php

+ this source needs some hacks like vip torrents for donors only
and radio
and sms shop like TBdev have (when you send sms you get back code and when code is entered you got youre gb :D :D )

+ can't get donations block to work

gugudada 12th June 2009 14:49

arcade error
 
Hi , i'm getting this error

Fatal error: Call to undefined function btderr() in "..../public_html/arcade.php on line 44

any help? thanks.

edit
...solved (+/-), i guess enable or disable the casino has something to do with it ...

joeroberts 13th June 2009 00:50

Quote:

Originally Posted by gugudada (Post 12338)
Hi , i'm getting this error

Fatal error: Call to undefined function btderr() in "..../public_html/arcade.php on line 44

any help? thanks.

edit
...solved (+/-), i guess enable or disable the casino has something to do with it ...

sorry and thanks for the post to fix that error change btderr( to bterror(
:unknown: I must have been tired :secret:

gugudada 13th June 2009 20:02

login text
 
Where can i edit the login text ?

"The area you are trying to Access is Restricted to Registered Users.
Please provide your Access Credentials and try again. If you're not Signed Up yet..."


Thanks.

Krypto 13th June 2009 22:00

You can change the text from /language/english.php or whatever language you use.

joeroberts 13th June 2009 23:06

Quote:

Originally Posted by gugudada (Post 12359)
Where can i edit the login text ?

"The area you are trying to Access is Restricted to Registered Users.
Please provide your Access Credentials and try again. If you're not Signed Up yet..."


Thanks.

the lanuage files would be in language folder

gugudada 14th June 2009 08:16

Mods privileges
 
Thanks guys you were very helpful.

Btw is it possible to give more privileges to Mods? I was looking at the databases (through phpmyadmi) files if there was any file where i could change it but i couldn't find any.

I was thinking to add the ability to give seed bonus to their privileges.

Thanks.

joeroberts 14th June 2009 08:37

not in 2.0.3 but the Next release well have a new level control system so you can add remove and edit ranks and prevlages.

gugudada 14th June 2009 19:10

new things
 
i believe it'll be very useful :ok:

... since we are gonna have a new version allow me to write some ideas;

- If possible add some commands to shoutbox, like /clean .
- Define some stuff to the new members, like how many invites they should receive when they join the site...
- Internal forum (even without many features), this 'phpBB' integrate solution i think makes some confusions.
- The possibility to add an external link for avatar

and excuse me if i'm being annoying

joeroberts 14th June 2009 19:15

Quote:

Originally Posted by gugudada (Post 12402)
i believe it'll be very useful :ok:

... since we are gonna have a new version allow me to write some ideas;

- If possible add some commands to shoutbox, like /clean .
- Define some stuff to the new members, like how many invites they should receive when they join the site...
- Internal forum (even without many features), this 'phpBB' integrate solution i think makes some confusions.
- The possibility to add an external link for avatar

and excuse me if i'm being annoying

most of this stuff can be done within next release except the forum part.
and no your not annoying the more input from end user the better the end product:drink:

gugudada 15th June 2009 01:05

invites
 
I think every invite has an maximum dead line register time, my guess is 24 hrs so my question is, is it possible to set that for a little bit longer ? Where ?

Thanks guys.

joeroberts 15th June 2009 05:35

There is a way but I don't have the code I would have to write it.
You would have to edit cleanup.php for delete unconfirmed accounts
so that it dose not delete accounts with a invited_by and then create a new one that dose.
I well give you a couple days to play with it and come up with this on your own :bubble: this way it well help you get to know the code a little better.
If you dont have it in a few days I well work something out for you.


Btw can you open new topic next time? would make it easy if someone else looks for such a thing:drink:

gugudada 20th June 2009 19:03

Hey,

i've just read your answer and sorry that i didn't reply sooner but last week was a little bit difficult for me so i didn't have much time for web things, anyway was awesome to know that you guys are preparing a new version, i just hope to see it realeased really quickly :ok: and pls don't forget a easy way to upgrade the old ones ... Hehe :-P
Can't wait ;)

About the invites i'll probably check something later, although and now with this news about the new version i'm not so worrry... Is pity that you guys don't think in other integrating forum solution for the forum cuz that 'interface' with phpBB doesn't convince me. Btw how about integrate a xmb forum is it possible ? just a thought.

Thanks guys:drink:

wMan 3rd August 2009 15:29

why do i get report as security bleach for this (see atached )
http://pic.ipicture.ru/uploads/090803/7RiT5W3emZ.png
he he i am back on PMBT because it's fastest and securest pice of nightmare u can get :D

joeroberts 3rd August 2009 18:45

I don't see security issue there all that is stander info.

wMan 3rd August 2009 19:20

im youst asking that's all :D by the way wtf is wrong with this code
main.php
PHP Code:

<?php 
if (eregi("main.php",$_SERVER["PHP_SELF"])) die ("You can't access this file directly"); 
 
$tableopen false
$errtableopen false
$table2open false
$btback1 "f0f0f0"
$btback2 "f9f9f9"
$btback3 "EBDDE2"
                    
 
function 
OpenTable($title "title"$tablewidth "") { 
        global 
$tableopen$siteurl
        if (
$tableopen) return; 
        if(
$tablewidth !=""$stylewidth "style=\"width: ".$tablewidth."px;\""
        else 
$stylewidth ''
        echo 
"<div class=\"mainbox\" ".$stylewidth."> "
    echo 
"<span class=\"mainbox-title\">".$title."</span><div style=\"margin: 0 auto;\">"
            
    
$tableopen true

 
function 
CloseTable() { 
        global 
$tableopen$siteurl
        if (!
$tableopen) return; 
        echo 
"</div></div>"
 
        
$tableopen false

 
function 
OpenTable2($title "") { 
      global 
$tableopen2$siteurl
        if (
$tableopen2) return; 
        echo 
"<div id=\"messagebox\" > "
    echo 
"<span class=\"messagebox-title\">".$title."</span><div style=\"margin: 0 auto;\">"
            
    
$tableopen2 true
 } 
 
function 
CloseTable2() { 
          global 
$tableopen2$siteurl
        if (!
$tableopen2) return; 
        echo 
"</div></div>"
 
        
$tableopen2 false

 
function 
OpenNewsTable($title "") { 
      global 
$OpenNewsTable$siteurl
        if (
$OpenNewsTable) return; 
        echo 
"<div id=\"newsbox\" > "
            
    
$OpenNewsTable true
 } 
 
function 
CloseNewsTable() { 
          global 
$OpenNewsTable$siteurl
        if (!
OpenNewsTable) return; 
        echo 
"</div>"
 
        
$OpenNewsTable false

 
function 
OpenMessTable($title "") { 
      global 
$OpenMessTable$siteurl
        if (
$OpenMessTable) return; 
        echo 
"<div id=\"messagebox\"> "
    echo 
"<span class=\"messagebox-title\">".$title."</span>"
            
    
$OpenMessTable true
 } 
 
function 
CloseMessTable() { 
          global 
$OpenMessTable$siteurl
        if (!
$OpenMessTable) return; 
        echo 
"</div>"
 
        
$OpenMessTable false

 
function 
OpenSuccTable($title "") { 
      global 
$OpenSuccTable$siteurl
        if (
$OpenSuccTable) return; 
        echo 
"<div id=\"successbox\" > "
    echo 
"<span class=\"successbox-title\">".$title."</span>"
            
    
$OpenSuccTable true
 } 
 
function 
CloseSuccTable() { 
          global 
$OpenSuccTable$siteurl
        if (!
$OpenSuccTable) return; 
        echo 
"</div>"
 
        
$OpenSuccTable false

function 
OpenErrTable($title) { 
      global 
$OpenErrTable$siteurl
        if (
$OpenErrTable) return; 
        echo 
"<div id=\"errorbox\" > "
    echo 
"<span class=\"errorbox-title\">".$title."</span>"
            
    
$OpenErrTable true
 } 
 
function 
CloseErrTable() { 
          global 
$OpenErrTable$siteurl
        if (!
$OpenErrTable) return; 
        echo 
"</div>"
 
        
$OpenErrTable false

function 
themechange(){ 

global 
$bttheme
        
$themes = Array(); 
        
$thememaindir "themes"
        
$themehandle opendir($thememaindir); 
        while (
$themedir readdir($themehandle)) { 
                if (
is_dir($thememaindir."/".$themedir) AND $themedir != "." AND $themedir != ".." AND $themedir != "CVS"
                        
$themes[$themedir] = $themedir
        } 
        
closedir($themehandle); 
        unset(
$thememaindir,$themedir); 

        
$change ''
foreach (
$themes as $key=>$val) { 
        
$change .= "<option "
        if (
$bttheme == $key$change .="selected "
        
$change .= "value=\"".$key."\">".$val."</option>\n"

unset(
$themes); 
return 
$change

function 
languagechange(){ 

global 
$language
        
$languages = Array(); 
        
$langdir "language"
        
$langhandle opendir($langdir); 
        while (
$langfile readdir($langhandle)) { 
                if (
eregi("\.php$",$langfile) AND strtolower($langfile) != "mailtexts.php"
                        
$languages[str_replace(".php","",$langfile)] = ucwords(str_replace(".php","",$langfile)); 
        } 
        
closedir($langhandle); 
        unset(
$langdir,$langfile); 

        
$change ''
foreach (
$languages as $key=>$val) { 
        
$change .="<option "
        if (
$language == $key$change .="selected"
        
$change .=" value=\"".$key."\">".$val."</option>\n"

unset(
$languages); 
return 
$change

 
function 
themeheader() { 
global 
$db$db_prefix$theme$siteurl$user$upload_level$sitename$gfx_check$donations$INVITEONLY,$onlysearch$pivate_mode
 
if (
$user->user) { 
        
//Update online user list 
        
$pagename substr($_SERVER["PHP_SELF"],strrpos($_SERVER["PHP_SELF"],"/")+1); 
        
$sqlupdate "UPDATE ".$db_prefix."_online_users SET page = '".addslashes($pagename)."', last_action = NOW() WHERE id = ".$user->id.";"
        
$sqlinsert "INSERT INTO ".$db_prefix."_online_users VALUES ('".$user->id."','".addslashes($pagename)."', NOW(), NOW())"
        
$res $db->sql_query($sqlupdate); 
        if (!
$db->sql_affectedrows($res)) $db->sql_query($sqlinsert); 

echo 
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n"
echo 
"<html>\n"
echo 
"<head>\n"
echo 
"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\" />\n"
echo 
"<meta name=\"generator\" content=\"PMBT 2.0.2\" />\n"
echo 
"<meta http-equiv=\"Pragma\" content=\"no-cache\" />\n"
echo 
"<meta http-equiv=\"Expires\" content=\"-1\" />\n"
echo 
"<meta http-equiv=\"Cache-Control\" content=\"no-cache\" />\n"
echo 
"<!--[if lt IE 7]> 
<script defer type=\"text/javascript\" src=\"
$siteurl/pngfix.js\"></script><![endif]-->"
echo 
"<title>".$sitename."</title>\n"
?> 
<script type="text/javascript"> 
pmbtsite_url = "<?php echo $siteurl?>"; 
tag_prompt = "<?php echo _bb_tag_prompt?>"; 
img_prompt = "<?php echo _bb_img_prompt?>"; 
font_formatter_prompt = "<?php echo _bb_font_formatter_prompt?>"; 
link_text_prompt = "<?php echo _bb_link_text_prompt?>"; 
link_url_prompt = "<?php echo _bb_link_url_prompt?>"; 
link_email_prompt = "<?php echo _bb_link_email_prompt?>"; 
list_type_prompt = "<?php echo _bb_list_type_prompt?>"; 
list_item_prompt = "<?php echo _bb_list_item_prompt?>"; 
_btshoutnowprivate = "<?php echo _btshoutnowprivate?>"; 
</script> 
<?php 
if (is_readable("themes/$theme/favicon.ico")) { 
        echo 
"<link REL=\"shortcut icon\" HREF=\"$siteurl/themes/".$theme."/favicon.ico\" TYPE=\"image/x-icon\">\n"

 
if (!
$onlysearch) { 
        echo 
"<link rel=\"alternate\" type=\"application/rss+xml\" title=\"Last Torrents\" href=\"$siteurl/backend.php?op=last\">\n"
        echo 
"<link rel=\"alternate\" type=\"application/rss+xml\" title=\"Best Torrents\" href=\"$siteurl/backend.php?op=best\">\n"

 
 
if (
is_readable("themes/$theme/style.css")) { 
        echo 
"<link rel=\"StyleSheet\" href=\"$siteurl/themes/$theme/style.css\" type=\"text/css\">\n<script type=\"text/javascript\" src=\"$siteurl/global.js\"></script>\n"

overlib_init(); 
 
echo 
"</head>\n\n"
 
 
$themepage false
?> 
<?php 
if($user->user)echo "<body onload=\"shoutthis_ajax()\">\n"
else 
echo 
"<body>"
echo
"<noscript> 
<center><h1><font class=warntext>Javascript is not available!</font></h1></center> 
<center><h1><font class=warntext>This website cannot function correctly without JavaScript!</font></h1></center> 
</noscript>\n"

echo 
"<div id=\"overDiv\" style=\"position:absolute; visibility:hidden; z-index:1000;\"></div>\n"
echo 
"<div id=\"pmbtwrap\">\n";
echo
'<img style"border:0" src="themes/pmbt/pics/logo.png" height="270" width="950" ><div id="theme-header"> 
    </div> 
    <div id="theme-body"><div align="center">'

?> 
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
<span class="preload1"></span> 
<span class="preload2"></span> 
<ul id="nav"> 
    <li class="top"><a href="#nogo1" class="top_link"><span>Home</span></a></li> 
    <li class="top"><a href="#nogo2" id="products" class="top_link"><span class="down">Products</span><!--[if gte IE 7]><!--></a><!--<![endif]--> 
        <!--[if lte IE 6]><table><tr><td><![endif]--><ul class="sub"> 
            <li><b>Cameras</b></li> 
            <li><a href="#nogo3" class="fly">Cameras<!--[if gte IE 7]><!--></a><!--<![endif]--> 
                    <!--[if lte IE 6]><table><tr><td><![endif]--><ul> 
                        <li><a href="#nogo4">Nikon</a></li> 
                        <li><a href="#nogo5">Minolta</a></li> 
                        <li><a href="#nogo6">Pentax</a></li> 
                    </ul><!--[if lte IE 6]></td></tr></table></a><![endif]--> 
            </li> 
            <li><a href="#nogo7" class="fly">Lenses<!--[if gte IE 7]><!--></a><!--<![endif]--> 
                    <!--[if lte IE 6]><table><tr><td><![endif]--><ul> 
                        <li><a href="#nogo8">Wide Angle</a></li> 
                        <li><a href="#nogo9">Standard</a></li> 
                        <li><a href="#nogo15">Mirror</a></li> 
                        <li><a href="#nogo10">Telephoto</a></li> 
                        <li><b>Zoom</b></li> 
                        <li><a href="#nogo12">35mm to 125mm</a></li> 
                        <li><a href="#nogo13">50mm to 250mm</a></li> 
                        <li><a href="#nogo14">125mm to 500mm</a></li> 
                        <li><b>Non standard</b></li> 
                        <li><a href="#nogo17">Bayonet mount</a></li> 
                        <li><a href="#nogo18">Screw mount</a></li> 
                    </ul><!--[if lte IE 6]></td></tr></table></a><![endif]--> 
            </li> 
            <li><b>Accessories</b></li> 
            <li><a href="#nogo19">Flash Guns</a></li> 
            <li><a href="#nogo20">Tripods</a></li> 
            <li><a href="#nogo21">Filters</a></li> 
        </ul><!--[if lte IE 6]></td></tr></table></a><![endif]--> 
    </li> 
    <li class="top"><a href="#nogo22" id="services" class="top_link"><span class="down">Services</span><!--[if gte IE 7]><!--></a><!--<![endif]--> 
        <!--[if lte IE 6]><table><tr><td><![endif]--><ul class="sub"> 
            <li><a href="#nogo23">Printing</a></li> 
            <li><a href="#nogo24">Photo Framing</a></li> 
            <li><a href="#nogo25">Retouching</a></li> 
            <li><a href="#nogo26">Archiving</a></li> 
        </ul><!--[if lte IE 6]></td></tr></table></a><![endif]--> 
    </li> 
    <li class="top"><a href="#nogo27" id="contacts" class="top_link"><span class="down">Contacts</span><!--[if gte IE 7]><!--></a><!--<![endif]--> 
        <!--[if lte IE 6]><table><tr><td><![endif]--><ul class="sub"> 
            <li><a href="#nogo28">Support</a></li> 
            <li><a href="#nogo29" class="fly">Sales<!--[if gte IE 7]><!--></a><!--<![endif]--> 
                <!--[if lte IE 6]><table><tr><td><![endif]--><ul> 
                    <li><b>European</b></li> 
                    <li><a href="#nogo34" class="fly">British<!--[if gte IE 7]><!--></a><!--<![endif]--> 
                        <!--[if lte IE 6]><table><tr><td><![endif]--><ul> 
                            <li><b>City</b></li> 
                            <li><a href="#nogo35">London</a></li> 
                            <li><a href="#nogo36">Liverpool</a></li> 
                            <li><a href="#nogo37">Glasgow</a></li> 
                            <li><a href="#nogo38" class="fly">Bristol<!--[if gte IE 7]><!--></a><!--<![endif]--> 
                                <!--[if lte IE 6]><table><tr><td><![endif]--><ul> 
                                    <li><b>District</b></li> 
                                    <li><a href="#nogo39">Redland</a></li> 
                                    <li><a href="#nogo40">Hanham</a></li> 
                                    <li><a href="#nogo41">Eastville</a></li> 
                                </ul><!--[if lte IE 6]></td></tr></table></a><![endif]--> 
                            </li> 
                            <li><a href="#nogo42">Cardiff</a></li> 
                            <li><a href="#nogo43">Belfast</a></li> 
                        </ul><!--[if lte IE 6]></td></tr></table></a><![endif]--> 
                    </li> 
                    <li><a href="#nogo44">French</a></li> 
                    <li><a href="#nogo45">German</a></li> 
                    <li><a href="#nogo46">Spanish</a></li> 
                    <li><b>Worldwide</b></li> 
                    <li><a href="#nogo30">USA</a></li> 
                    <li><a href="#nogo31">Canadian</a></li> 
                    <li><a href="#nogo32">South American</a></li> 
                    <li><a href="#nogo47">Australian</a></li> 
                    <li><a href="#nogo48">Asian</a></li> 
                </ul><!--[if lte IE 6]></td></tr></table></a><![endif]--> 
            </li> 
            <li><a href="#nogo49">Buying</a></li> 
            <li><a href="#nogo50">Photographers</a></li> 
            <li><a href="#nogo51">Stockist</a></li> 
            <li><a href="#nogo52">General</a></li> 
        </ul><!--[if lte IE 6]></td></tr></table></a><![endif]--> 
    </li> 
    <li class="top"><a href="#nogo53" id="shop" class="top_link"><span class="down">Shop</span><!--[if gte IE 7]><!--></a><!--<![endif]--> 
        <!--[if lte IE 6]><table><tr><td><![endif]--><ul class="sub"> 
            <li><a href="#nogo54">Online</a></li> 
            <li><a href="#nogo55">Catalogue</a></li> 
            <li><a href="#nogo56">Mail Order</a></li> 
        </ul><!--[if lte IE 6]></td></tr></table></a><![endif]--> 
    </li> 
    <li class="top"><a href="#nogo57" id="privacy" class="top_link"><span>Privacy Policy</span></a></li> 
</ul> 
</html>
<? 
function newuserpage($page

if(
eregi("user.php",$page))return true
if(
eregi("takeconfirminvite.php",$page))return true
if(
eregi("confirminvite.php",$page))return true
return 
false

if(
$pivate_mode AND !$user->user AND !newuserpage($_SERVER["PHP_SELF"])){ 
 
loginrequired("user"false); 
include
'footer.php'

 
echo 
"<table border=\"0\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\n"
echo 
"<tr>\n"
echo 
"<td>\n"
 
//echo "<link rel=\"search\" type=\"application/opensearchdescription+xml\" href=\"/w/opensearch_desc.php\" title=\"Wikipedia (English)\" />"; 
$reason ""
if (
is_banned($user$reason)) { 
        echo 
"<p>&nbsp;</p>\n"
        echo 
"<p>&nbsp;</p>\n"
        echo 
"<h3 align=\"center\">".str_replace("**reason**",htmlspecialchars($reason),_btbannedmsg)."</p>\n"
        echo 
"<p>&nbsp;</p>\n"
        echo 
"<p>&nbsp;</p>\n"
        include(
"footer.php"); 
        die(); 

 
$has_newpm false
$sql "SELECT id FROM ".$db_prefix."_private_messages WHERE recipient = '".$user->id."' AND is_read = 'false' LIMIT 1;"
$res $db->sql_query($sql) or btsqlerror($sql); 
$has_newpm = ($db->sql_numrows($res) > 0) ? true false
$db->sql_freeresult($res); 
if (
$has_newpm

  echo 
"<script type=\"text/javascript\" language=\"JavaScript\">"
  echo 
"sPath = window.location.pathname;"
  echo 
"sPage = sPath.substring(sPath.lastIndexOf('/') + 1);"
   
  echo 
"if (sPage != \"pm.php\"){ var answer = confirm (\""._jscriptconfirmtext."\");"
  echo 
"if (answer) window.location=\"pm.php?op=inbox\";"
  echo 
"}"
  echo 
"</script>"
 

 
echo 
"<table width=\"100%\">\n"
echo 
"<tr>\n"
echo 
"<td width=\"2%\" valign=\"top\">\n"
echo 
"<div >"
if(!
eregi("phpBB.php",$_SERVER["PHP_SELF"])) 

include(
"./blocks/usercp.php"); 
// invite block 
if ($user->user AND $INVITEONLY

     
         
        
OpenTable(_btinvites); 
        echo 
"<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n"
        echo 
"<tr><td align=\"center\">"._btinfituh."</td></tr>\n"
        if (
$user->invites ){ 
        echo 
"<tr><td align=\"center\"><a href=invite.php>"._btsendiv."</a></td></tr>\n"
        } 
        echo 
"</table>"
         
        
CloseTable(); 
     

 
if (
$donations){ 
include(
"./blocks/donation_block.php"); 

//include("blocks/shoutbox.php"); 
 

echo 
"</div></td>\n"
echo 
"<td width=\"75%\" valign=\"top\">\n"
echo 
"<div id=\"rightcolumn\">"
$sql_profile "SELECT * FROM ".$db_prefix."_users where id = '".$user->id."' ;"
$res_profile $db->sql_query($sql_profile); 
$userrow $db->sql_fetchrow($res_profile); 
$db->sql_freeresult($res_profile); 
// WARN things START 
if ($user->user) { 
if (
$user->downloaded 0){ 
include (
"./ratiowarn.php"); 


 if (
$userrow["warned"]) 
 { 
$warn_kapta $userrow["warn_kapta"]; 
$warn_hossz $userrow["warn_hossz"]; 
$modcomment $userrow["modcomment"]; 
 
if (
$warn_hossz != -1) { 
$warn $warn_kapta $warn_hossz
$time_now strtotime(gmdate("Y-m-d H:i:s"time())); 
if (
$warn $time_now

$modcomment "[ " gmdate("Y-m-d H:i:s"time()) . " - WARN time expired ]\n" $modcomment
$msg = ("Your WARN time expired, so we deleted it!"); 
     @
$db->sql_query("INSERT INTO ".$db_prefix."_private_messages (sender, recipient, subject, text, sent) VALUES(1, " .$user->id",'WARNING' '" $msg ."', NOW())") or die(mysql_error());   
$modcomment $modcomment
$frissites $db->sql_query("UPDATE ".$db_prefix."_users SET modcomment=$modcomment, warned='0', warn_kapta='0', warn_hossz='0' WHERE id='".$user->id."'") or die(mysql_error()); 



// WARN things END 
 //////////////////// Kommentera modd //////////////////////// 
$res =  $db->sql_query("SELECT torrent FROM ".$db_prefix."_peers WHERE uid='".$user->id."'")or print(mysql_error()); 
while(
$row $db->sql_fetchrow($res)){ 
$kom $db->sql_fetchrow$db->sql_query("SELECT count(*) FROM ".$db_prefix."_comments WHERE user= '".$user->id."' AND torrent='$row[torrent]'"))or print(mysql_error()); 
$tor $db->sql_fetchrow$db->sql_query("SELECT name,owner FROM ".$db_prefix."_torrents WHERE id='$row[torrent]'"))or print(mysql_error()); 
if(!
$kom[0] && $tor[owner] !=  $user->id){ 
 
$komment .= "<a href=details.php?id=".$row[torrent].">".$tor[name]."</a>"


 
///////////////////////////////////////////////////////////// 
if ($user->user) { 
 if (
$komment){ 
 print(
"<p><table border=0 cellspacing=0 cellpadding=10 bgcolor=green><tr><td style='padding: 50px; background: green'>\n"); 
 print(
"Please leave a comment on:$komment"); 
 print(
"</td></tr></table></p>\n"); 



 
function 
overlib_init() { 
        echo 
"<script type=\"text/javascript\" src=\"overlib/overlib.js\"><!-- overLIB (c) Erik Bosrup --></script>\n"
        echo 
"<script type=\"text/javascript\" src=\"overlib/overlib_shadow.js\"><!-- overLIB (c) Erik Bosrup --></script>\n"

function 
themefooter(){ 
global 
$startpagetime
if(!
eregi("phpBB.php",$_SERVER["PHP_SELF"])){ 
echo
"</div></td><td width=\"18%\" valign=top >";#right hand collom here 
echo"</td>"
echo
"</tr>"

echo

<tr> 
<td> 
<td><p class="footer"> 
 phpMyBitTorrent &copy; 2005-2006 <a href="http://phpmybittorrent.com">phpMyBitTorrent Team</a>. 
 This is free software and contains source code version of GNU/LGPL distributed libraries. 
 You may redistribute the whole package and its source code according to the GNU/GPL license. 
 The Development Team cannot be held responsible in any way for the results of the use of this software. 
 <!-- END OF COPYRIGHT NOTICE --> 
 Generated in ' 
abs(round(microtime()-$startpagetime,2)) . ' seconds 
 </p>'

 echo
'<!-- Start of StatCounter Code --> 
 <script type="text/javascript"> 
 var sc_project=2789089; 
 var sc_invisible=0; 
 var sc_partition=28; 
 var sc_security="7d0a2fe3"; 
 </script> 
 
 <script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script><noscript><div class="statcounter"><a class="statcounter" href="http://www.statcounter.com/"><img class="statcounter" src="http://c29.statcounter.com/2789089/0/7d0a2fe3/0/" alt="web metrics" ></a></div></noscript> 
<!-- End of StatCounter Code --> 
</td> 
</tr> 
</table> 
</td> 
</tr> 
</table> 
</div> 
</div> 
<div id="theme-footer"></div> 
</div> 
</body> 
</html>'


function 
help($name,$help,$title "") { 
        echo 
"<span onmouseover=\"return overlib('".addslashes(str_replace(Array("\n","\""),Array("","'"),$help)),"'"
        if (
$title != "") echo ",CAPTION, '".addslashes(str_replace(Array("\n","\""),Array("","'"),$title))."'"
        echo 
",FGCOLOR,'#ffffaa',CAPICON,'themes/pmbt/pics/help.png',SHADOW,SHADOWOPACITY,40,SHADOWCOLOR,'#000000',SHADOWX,2,SHADOWY,2,HAUTO,VAUTO);\" onmouseout=\"return nd();\" style=\"cursor:help\">".$name."</span>"

?>

but menu doesnt look good i added css to style.css but i got error on images those are not showing up and when i press view background image i got this on url http://pegasus.woano.lv/themes/pmbt/pic/six_0.gif

Code:

HTTP 403 Error - ForbiddenA 403 HTTP Error Occurred while Processing Your Request.
You can't Access the Requested Page because the Server Configuration doesn't allow you to.
Please check carefully the URL Address on your Browser, and correct it if needed.
Contact  if you're having problems.

why i got this ? ?

joeroberts 3rd August 2009 19:32

you need to check the chmod of the images make sure they are read able
check the spelling of this image location in scc you have
pic/six_0.gif
and it should be
pics/six_0.gif
you also have content type listed 2 times in 2 ways

wMan 3rd August 2009 19:38

nope this thing is way deeper god damit i hate that pice of ............

http://img87.imageshack.us/img87/4449/uiemg2urtj.png

joeroberts 3rd August 2009 19:40

please check file locations
http://pegasus.woano.lv/themes/pmbt/pic/six_0.gif

should be
http://pegasus.woano.lv/themes/pmbt/pics/six_0.gif

Ciosmy 4th August 2009 20:39

hi. I have a problem after you upload and download a utorrent error (missing key) what should I do?

joeroberts 4th August 2009 20:44

what torrent client, uTorrent or BitComet or which one ?

Ciosmy 4th August 2009 20:51

Quote:

Originally Posted by joeroberts (Post 14106)
what torrent client, uTorrent or BitComet or which one ?

uTorrent 1.8.3

joeroberts 4th August 2009 21:01

let me look at announce.php

Edit: are you using passkey system

can you give more info on your server
OS
php version
sql type version
apache version

wMan 4th August 2009 21:23

need little help on css
Code:

#leftcolumn {
width : 174px;
float : left;
margin-left : 7px;
padding-right : 0;
background-color : #f2f2f2;
}
#rightcolumn {
width : 920px;
float : left;
padding-left : 0;
padding-right : 0;
background-color : #f2f2f2;
}


OK FiXED new code
Code:

#leftcolumn {
width : 174px;
float : left;
margin-left : 7px;
padding-right : 0;
background-color : #f2f2f2;
}
#rightcolumn {
width : 920px;
float : left;
padding : 0em;
margin-left : 0.7em;
margin-right : 0em;
margin-bottom : 0em;
background-color : #f2f2f2;
}


by the way bug on seting torrent password if u edit torrent later
Code:

Error Executing SQL Query UPDATE torrent_torrents SET name = 'pegasus tirquize', exeem = '', descr = ' there may be missing part of code like usercp mod if u need it contact me wolfman creator of this theme', category = '6', ownertype = '0', owner = '1', password = tirquize, banned = 'no', nuked = 'no', ratiobuild = 'no', nukereason='' WHERE id = '1';
Error ID: 1054
Error Message: Unknown column 'tirquize' in 'field list'

one more bug when i edit someones profile seting more upload it makes number like this 137986690.0 < makes upload not count so error


All times are GMT +2. The time now is 23:47.

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