Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > BT.Manager (phpMyBitTorrent)
Closed Thread
  #1  
Old 23rd August 2009, 03:31
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default phpMyBitTorrent 2.0.4 beta1
OK all you beta testers it is time to go to work now PMBT 2.0.4 beta1

DEMO

NOTICE this is ONLY BETA not for a live site!!!

If you are a n00b then this well do you no good and well not be supported for live site

some features added:

NEW cache system to lighten database load
This includes
  1. configs
  2. Shout configs
New shout box settings from admin panel
Settings Include
  1. Open/Close ShoutBox
  2. announcement on top of shouts [BBcode is used]
  3. Number of shouts to show
  4. How long to keep shouts
  5. Refresh Rate
  6. Idle Time
  7. Allow System to shout new users
  8. Allow Shout new torrents
  9. Allow Porn Torrents to be shouted [not finnished]
New level control system
Allows you to
  1. Create New level
  2. Edit what each level can do
  3. Edit level color
  4. Delete level

New Help desk system
New User Pruning system
New By pass email confirmation
New give upload credit on sign up
New layout in admin panel
New Youtube video
Lots of code fixes from past bug reports


__________________
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; 30th August 2009 at 12:20.
The Following 4 Users Say Thank You to joeroberts For This Useful Post:
al-jodtv (2nd September 2009), Fynnon (23rd August 2009), Jaguar Paw (24th August 2009), Phogo (23rd August 2009)
  #2  
Old 23rd August 2009, 11:32
AwakeN AwakeN is offline
Member
 
Join Date: Jan 2009
P2P
Posts: 7
Talking first glance
got it up and running, looks quite nice! Few things that i had to do to get things running right:

- first thing was something to do with shouts, not sure why it's failing but somewhere around line 115 in config.php (if (!$shout) die("Configuration not found (more...))
- I got it working by commenting this out "/*" before the line above, then after "if (!$row4 = $db->sql_fetchrow($shout)) die("phpMyBitTorrent not corre" on the next line put "*/". Something's wrong not sure what - SB is not showing up on mainpage, although blocks/shoutbox.php is being loaded which means "$user->user AND $user->can_shout =="true"" is coming back as true.

- next issue was the theme, themes default to theme 'Default' which did not come with pmbt. several ways to fix this, go edit sql database torrent_user & torrent_config change from 'Default' to 'pmbt' (a theme that came with the install). Or you can goto the theme folder, and copy the folder 'pmbt' into a folder called 'Default'. Please note if u wish to remove the pmbt folder and keep the Default folder you need to edit main.php and change reference from /pmbt/ to /Default/

So after getting those few things straightened out, the site was running, don't forget to install phpBB3 seperately which is in http://sitename/phpBB3/1/ . otherwise the sql queries on the index.php page will fail if the phpBB tables don't exist.

First thing that I was MOST interested in was the new user 'levels' so having finally got the site working I couldn't wait to get into the administration panel and check out the user levels. While I was an administrator, and I had access to the admin panel, when I clicked on User Levels, heck when I tried to edit my OWN user profile in the User Manager, it failed, said I didn't have permission. I was glad to see that the levels were working, unfortunately I didn't have the 'level' that i would've liked to start with as the admin/owner which leads to:

- Admin (UID-1) did not have 'OWNER' priveledges at first start, I couldn't edit user privledges had to be done in SQL first. It appears as though default is 'user' had to change 'can_do' under user field to 'owner' then everything worked okay.

- I love games, had to see if the casino was working now, it seems to be much better. Was missing something tho' because it kept saying 'amount u/l'd is less then the amount u bet' which was not true.. in casino.php add "{" to the end of line 248 after "if ($uploaded < $betmb)" then add "}" on line 251 as it's own line..

cheers..looks great, kinda curious to hear what's wrong w/ the shoutbox maybe it's something I did dunno

Last edited by AwakeN; 23rd August 2009 at 12:25.
  #3  
Old 23rd August 2009, 14:30
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
go to admin and set configs I for got to add them to setup
I am setting admin to owner on install
and added if statement before include ("forumposts.php"); on index.php
fixed default theme back to pmbt theme
and added default shout configs
__________________
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/
The Following 2 Users Say Thank You to joeroberts For This Useful Post:
Ashur (24th August 2009), AwakeN (23rd August 2009)
  #4  
Old 23rd August 2009, 20:07
AwakeN AwakeN is offline
Member
 
Join Date: Jan 2009
P2P
Posts: 7
Question
Quote:
Originally Posted by joeroberts View Post
go to admin and set configs I for got to add them to setup
I am setting admin to owner on install
and added if statement before include ("forumposts.php"); on index.php
fixed default theme back to pmbt theme
and added default shout configs
would you mind posting what you mean by 'default shout configs'..

the lines that I had to commend out to get it up / running was
Code:
/*
if (!$shout) die("Configuration not found! Make sure you have installed phpMyBitTorrent correctly.");
if (!$row4 = $db->sql_fetchrow($shout)) die("phpMyBitTorrent not correctly installed! Ensure you have run setup.php or config_default.sql!!");
*/
maybe if u got a sec can you post what was changed/added to make the shoutbox work.
  #5  
Old 23rd August 2009, 20:20
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
run this in phpMyAdmin
Code:
INSERT INTO `torrent_shout_config` (`announce_ment`, `shoutnewuser`, `shout_new_torrent`, `shout_new_porn`, `turn_on`, `refresh_time`, `idle_time`, `shouts_to_show`, `bbcode_on`, `allow_url`, `autodelete_time`, `canedit_on`, `candelete_on`) VALUES
('Welcome ', 'yes', 'yes', 'yes', 'yes', 50000, 30000, 25, 'yes', 'yes', 30, 'yes', '');
go to admin panel and edit shout config
__________________
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/
  #6  
Old 23rd August 2009, 21:37
AwakeN AwakeN is offline
Member
 
Join Date: Jan 2009
P2P
Posts: 7
Default
beautiful works like a charm now..
  #7  
Old 28th August 2009, 11:19
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
what in install is "Persistent Connection" and what does it do ?
btw these errors i have seen in pmbt since i first installed on step 4 before list
Code:
Notice:  Undefined property: sql_db::$query_result in /home2/wolfmanb/public_html/setup/udl/mysql.php on line 206
after list these are in step 5 too and after it
Code:
Notice:  Undefined property: sql_db::$query_result in /home2/wolfmanb/public_html/setup/udl/mysql.php on line 206

Notice:  Undefined property: sql_db::$query_result in /home2/wolfmanb/public_html/setup/udl/mysql.php on line 154
+ wtf is this i know u said me something about theme in skype but i don't speak php anyway image atached
Attached Thumbnails
Ekranattels.png  

Last edited by wMan; 28th August 2009 at 11:39.
  #8  
Old 28th August 2009, 14:04
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
Ok I have gone threw and added all fixes found and Just uploaded it so install and all should be better at this point.
__________________
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/
  #9  
Old 7th September 2009, 05:08
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
orginal style still don't work for me but i fixed up old version skin to make it work right on this version
youtube thing gets screwd up since there is a code in youtube.php what says hove shoud blocks look like (since it's already done by function Opentable look at screen 1 )

i think this one can be solved as removing parts like
Code:
print("<td width=502 valign=top>\n");

print("<table width=502 border=1>\n");
from youtube.php and side "list" block just set as part of "leftcolumn"
defined in css (will try to do this )
NEXT ONE one same youtube.php
when i migrate from index by clicking on video image in latest video block it transfears me to youtube.php what is problem is that i can add extra video and watch 2 in same time
(screen 2 and 3)
i think that's all at this moment keep on party
remember if every thing is ok that means nothing work
+there is still junk folder "bitbucket" woud be nice if u remove it from installer files
AND there is "torrentbar" mod but it doesn't show up anyware like where is generated code to use it ?
Attached Thumbnails
Ekranattels.png   Ekranattels-1.png   Ekranattels-2.png  
  #10  
Old 7th September 2009, 05:56
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
I well take a look at it and see if I can redo the tables on I not sure If I added repairs to that try this here first
PHP Code:
<?php

include("header.php");
if (
$_GET["id"] != ""){
$id =$_GET["id"];
if (
checkaccess('can_add_uttube')){
mysql_query("DELETE FROM ".$db_prefix."_youtubevideo WHERE id= $id") or sqlerr(__FILE____LINE__);
}
else{
bterror(_btauthorized,_btsorry);
}

if (
$_SERVER["REQUEST_METHOD"] == "POST")
{
if (
$link == "" || $name == "")bterror(_btmissing,_btsorry);
if(!
checkaccess('can_add_uttube')){
        
bterror(_btprivelages,_btsorry);
}
    
$name $_POST["name"];
    
$user $user->name;
    
$link "http://youtube.com/v/".$_POST[link]."";
    
mysql_query("INSERT INTO ".$db_prefix."_youtubevideo (link, name, addedby, addtime) VALUES('$link', '$name', '$user',NOW())") or sqlerr(__FILE____LINE__);
                        echo 
"<meta http-equiv=\"refresh\" content=\"0;url=youtube.php\">";
  }
if (!
checkaccess('can_view_utube')){
OpenErrTable(_btaccdenied);
echo 
"<p>You do not have Permissions to Access Utube Videos at this time</p>";
CloseErrTable();
die();
}else{
$showvid "";
if (
$op == "show"){
//$showvid = $video;
$showvid "<object width=\"480\" height=\"295\"><param name=\"movie\" value=\"".$video."&hl=en&fs=1&rel=0\"></param><param name=\"allowFullScreen\" value=\"true\"></param><param name=\"allowscriptaccess\" value=\"always\"></param><embed src=\"".$video."&hl=en&fs=1&rel=0\" type=\"application/x-shockwave-flash\" allowscriptaccess=\"always\" allowfullscreen=\"true\" width=\"480\" height=\"295\"></embed></object>";
}else{
$showvid "";
}

print(
"\n\n\n<table border=0 cellspacing=0 cellpadding=0 align=center><tr>\n");
print(
"<td width=502 valign=top>\n");
print(
"<table width=502><tr><td align=center>\n");
Opentable(_btvid_clip);
echo
"<center>";
echo
"<span class=\"style3\"><font color=blue>"._btvid_choose."</font></span> </p>";
echo
"</center>";
echo
"<tr><td align=center>";
if(
$showvid !="")echo $showvid;
echo
"<iframe src=\"\" name=\"games\" width=\"570\" height=\"570\" scrolling=\"no\"></iframe>";
CloseTable();
print(
"</td></tr></table>");
print(
"<td width=300 valign=top>");
print(
"<table border=1><tr><td align=center>");
OpenTable(_btvid_list);
echo 
"<center>";
echo 
"<span class=\"style3\"><font color=blue>"._btvid_fun."</font></span> </p>";
echo
"</center></td></tr>";
$query "SELECT * FROM ".$db_prefix."_youtubevideo ORDER BY name";
$sql $db->sql_query($query);
while (
$row $db->sql_fetchrow($sql)) {
$link $row['link'];
$name $row['name'];
print(
"<tr><td align=left>  <a href=".$link." target=games>".$name."</td></tr>");
}
CloseTable();
print(
"</table></td></tr><tr><td>");
if (
checkaccess('can_add_uttube')){
OpenTable(_btvid_add);
echo 
"<table align=center cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#D6D9DB\" width=\"100%\" border=\"1\">";
?>
<form method="post" action="youtube.php">
<div align=center><p>
<?=_btvid_url?>"http://youtube.com/watch?v=qppuuQrklHg"<br /><?=_btvid_link?>

</p></div>
<tr><td class="tableb"><?=_btvid_link1?></td><td class="tablea"><input type="text" name="link" size="60"></td></tr>
<tr><td class="tableb"><?=_btvid_name?></td><td class="tablea"><input type="text" name="name" size="60"></td></tr>
<tr><td class="tablea" colspan="2" style="text-align:center"><input type="submit" value="<?=_btokay?>" class="btn"></td></tr>
</form>
<?php
echo "</table>";
CloseTable();
OpenTable(_btvid_info);
echo 
"<table align=center cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#D6D9DB\" width=\"100%\" border=\"1\">";
?>
<tr>
 <td width="5%" class="tablecat"><div align="center"><?=_btvid_id?></div></td>
 <td width="45%"class="tablecat"><div align="center"><?=_btvid_name?></div></td>
 <td width="15%"class="tablecat"><div align="center"><?=_btvid_link1?></div></td>
 <td width="20%"class="tablecat"><div align="center"><?=_btvid_addedby?></div></td>
 <td width="10%"class="tablecat"><div align="center"><?=_btvid_added?></div></td>
 <td width="5%"class="tablecat"><div align="center"><?=_btvid_delete?></div></td>
</tr>
<?php
$query 
"SELECT * FROM ".$db_prefix."_youtubevideo ORDER BY id";
$sql mysql_query($query);
    while (
$row2 mysql_fetch_array($sql)){
     
$link str_replace("http://youtube.com/v/","",$row2["link"]);
     
$name $row2["name"];
     
$id $row2["id"];
     
$addedby $row2["addedby"];
     
$addtime $row2["addtime"];
?>
<tr>
 <td width="5%" class="tablea"><div align="center"> <?=$id?></div></td>
 <td width="45%" class="tablea"><div align="left"> <?=$name?></div></td>
 <td width="15%" class="tablea"><div align="center"> <?=$link?></div></td>
 <td class="tablea"><div align="center"> <?=$addedby?></div></td>
 <td class="tablea"><div align="center"> <?=$addtime?></div></td>
 <td class="tablea"><div align="center"><?=pic("drop.gif","youtube.php?id=".$id,_btvid_remove);?></div></td>
</tr>
<?php
$nr 
$nr+1;
}
echo 
"</table>";
CloseTable();
}
}
echo 
"</td></tr></table>";
include (
"footer.php");
?>
__________________
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/
Closed Thread

Tags
beta1 , phpmybittorrent

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
What is phpMyBitTorrent joeroberts BT.Manager (phpMyBitTorrent) 0 14th October 2009 15:43
phpMyBitTorrent 2.0.3 joeroberts BT.Manager (phpMyBitTorrent) 54 21st September 2009 13:10
phpMyBitTorrent v2.0 joeroberts Downloads 126 12th January 2009 20:53
What I Think Of phpMyBittorrent dark_dragon BT.Manager (phpMyBitTorrent) 1 10th November 2008 07:43
phpMyBitTorrent v1.0 zenja7777 BT.Manager (phpMyBitTorrent) 8 27th October 2008 17:58



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