Today's Messages (off)
| Unanswered Messages (on)
| Forum: PMBT 2.X Themes |
|---|
| Topic: dvtester |
|---|
| | Topic: Archer |
|---|
| Archer [message #2311] |
Mon, 09 February 2009 04:36 |
|
Attachment: Archer.rar
(Size: 466.31KB, Downloaded 107 times)
[Updated on: Sun, 07 June 2009 00:31]
|
|
| | Topic: Acidtech Tiger |
|---|
| | Topic: Acidtech Green |
|---|
| | Forum: General Help for 2.X |
|---|
| Topic: currently browsing |
|---|
| currently browsing [message #3704] |
Wed, 03 March 2010 18:13 |
|
online user part where users are currently browsing. i notice alot say httperror, wondered where that was or how to stop it. also is it possible to add a part in the users profile for staff to see the current location of the user or say last location of the user.
|
|
| | Topic: httperror.php little fix |
|---|
| httperror.php little fix [message #3541] |
Mon, 18 January 2010 06:47 |
erika  Messages: 8 Registered: January 2010 |
Leecher |
|
|
In the file httperror.php ,check ($admin_email)...
if (defined('IN_PMBT'))die ("You can't include this file");
define("IN_PMBT",true);
include("header.php");
switch ($errid) {
case 400: {
header("HTTP/1.0 400 Bad request");
bterror(str_replace("**email**",spellmail($admin_email),_http400errtxt),_http400errttl);
break;
}
case 401: {
header("HTTP/1.0 401 Access Denied");
bterror(str_replace("**email**",spellmail($admin_email),_http401errtxt),_http401errttl);
break;
}
case 403: {
header("HTTP/1.0 403 Forbidden");
bterror(str_replace("**email**",spellmail($admin_email),_http403errtxt),_http403errttl);
break;
}
case 404: {
header("HTTP/1.0 404 Access Denied");
bterror(str_replace("**email**",spellmail($admin_email),_http404errtxt),_http404errttl);
break;
}
case 500: {
header("HTTP/1.0 500 Internal Server Error");
bterror(str_replace("**email**",spellmail($admin_email),_http500errtxt),_http500errttl);
break;
}
}
include("footer.php");
?>
[Updated on: Mon, 18 January 2010 12:56] by Moderator
|
|
| | Topic: Torrent category viewer |
|---|
| Torrent category viewer [message #3149] |
Fri, 06 November 2009 19:39 |
dophert  Messages: 16 Registered: November 2009 |
Leecher |
|
|
Hey,
I want to have my categories viewed when i'm on the "Torrent" button. how to do that.
And how to create categories in categories like games>pc games
bv.
|
|
| | Topic: ip system |
|---|
| ip system [message #2923] |
Thu, 10 September 2009 20:21 |
|
replace
function getip() {
if (isset($_SERVER)) {
if (isset($_SERVER['HTTP_X_FORWARDED_FOR']) && validip($_SERVER['HTTP_X_FORWARDED_FOR'])) {
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
} elseif (isset($_SERVER['HTTP_CLIENT_IP']) && validip($_SERVER['HTTP_CLIENT_IP'])) {
$ip = $_SERVER['HTTP_CLIENT_IP'];
} else {
$ip = $_SERVER['REMOTE_ADDR'];
}
} else {
if (getenv('HTTP_X_FORWARDED_FOR') && validip(getenv('HTTP_X_FORWARDED_FOR'))) {
$ip = getenv('HTTP_X_FORWARDED_FOR');
} elseif (getenv('HTTP_CLIENT_IP') && validip(getenv('HTTP_CLIENT_IP'))) {
$ip = getenv('HTTP_CLIENT_IP');
} else {
$ip = getenv('REMOTE_ADDR');
}
}
return $ip;
}
with this in include/functions.php
function getip() {
$check = array('HTTP_X_FORWARDED_FOR', 'HTTP_X_FORWARDED',
'HTTP_FORWARDED_FOR', 'HTTP_FORWARDED',
'HTTP_VIA', 'HTTP_X_COMING_FROM', 'HTTP_COMING_FROM');
foreach ($check as $c) {
if (ip_valid(&$_SERVER[$c])) {
return ip_first($_SERVER[$c]);
}
}
return $_SERVER['REMOTE_ADDR'];
}
function ip_first($ips) {
if (($pos = strpos($ips, ',')) != false) {
return substr($ips, 0, $pos);
} else {
return $ips;
}
}
function ip_valid($ips) {
if (isset($ips)) {
$ip = ip_first($ips);
$ipnum = ip2long($ip);
if ($ipnum !== -1 && $ipnum !== false && (long2ip($ipnum) === $ip)) { // PHP 4 and PHP 5
if (($ipnum < 167772160 || $ipnum > 184549375) && // Not in 10.0.0.0/8
($ipnum < -1408237568 || $ipnum > -1407188993) && // Not in 172.16.0.0/12
($ipnum < -1062731776 || $ipnum > -1062666241)) // Not in 192.168.0.0/16
return true;
}
}
return false;
}
|
|
| | Topic: Problem with user.php |
|---|
| Problem with user.php [message #2863] |
Thu, 06 August 2009 17:25 |
|
Hello.
I change in takeregister.php this line :
$sql = "INSERT INTO ".$db_prefix."_users (username, clean_username, email, password, act_key, regdate" . $passkeyrow . ") VALUES ('".addslashes($username)."', '".strtolower($username)."', '".addslashes($email)."', '".md5($password)."', '".$act_key."', NOW(),'1')" . $passkey .");";
And next :
OpenTable(_btsignup);
/*$replace_markers = Array("**sitename**","**siteurl**","**username**","**password**","**key**");
$replace_data = Array ($sitename,$siteurl,$username,$password,md5($act_key));
$confirm_mail = New eMail;
$confirm_mail->sender = $admin_email;
$confirm_mail->subject = $userregconfirmmailsub[$language];
$confirm_mail->body = str_replace($replace_markers,$replace_data,$userregconfirmmailtext[$language]);
$confirm_mail->Add($email);
$confirm_mail->Send();
echo "<p>"._btregcomplete.spellmail($admin_email)."</p>";
*/
echo "<p>You have been registerd with this site Thank You </p>";
*/
echo "<p>You have been registerd with this site Thank You </p>";
CloseTable();
And ok I don't have problem whit e-mail reg. but. When I logout then i get this error :
SQL Error
Error Executing SQL Query SELECT * FROM gustaff_prt_users WHERE username =''LIMIT 1
Error ID: 1146
Error Message: Table 'gustaff_prt.gustaff_prt_users' doesn't exist
And when I login on site : mysite.com/user.php then get blank site and must del /user.php for back logged on site.
Sory for my english
solved
[Updated on: Thu, 06 August 2009 23:09]
|
|
| | Topic: error |
|---|
| error [message #2603] |
Thu, 07 May 2009 22:05 |
evil  Messages: 25 Registered: May 2009 |
Leecher |
|
|
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 '(*) FROM torrent_casino_bets WHERE id = 2' at line 1
can anyone help sort this for me plz
i get that wen i took a bet in the casino
thank you
|
|
| | Forum: General Help |
|---|
| Topic: Fix Email pm |
|---|
| Fix Email pm [message #2955] |
Thu, 08 October 2009 21:12 |
DrAgon  Messages: 192 Registered: August 2007 |
Super-Seeder Bug hunter |
|
|
Is there a script (or similiar php mini program) out there already that will check all email addresses and if not valid ..will send a pm to user's inbox to fix it?
I rather have something already ready made or something similiar I can work off of , that I can just clone and modify and move on to my other busy schedule of stuff..
if there isn't anything out there alreay that can use, then I will have to write one..to force people to clean up their act.. and could be fun to do or enhance something upon
|
|
| | Topic: Please Help: HTTP 406 Error - URGENT |
|---|
| | Topic: bunch of apache error in logs |
|---|
| bunch of apache error in logs [message #1557] |
Mon, 19 November 2007 05:08 |
DrAgon  Messages: 192 Registered: August 2007 |
Super-Seeder Bug hunter |
|
|
v1.2.2
I am getting tons of errors like this in apache error logs, while clients are scraping/announcing . any idea?
[Sun Nov 18 21:05:06 2007] [error] [client 130.243.156.230] PHP Notice: Undefined property: q
uery_result in /usr/local/www/apache22/data/pmbt/include/db/mysql4.php on line 118
[Sun Nov 18 21:05:07 2007] [error] [client 65.182.51.67] PHP Notice: Undefined index: max_num
_file_day_e in /usr/local/www/apache22/data/pmbt/include/config_lite.php on line 92
[Sun Nov 18 21:05:07 2007] [error] [client 65.182.51.67] PHP Notice: Undefined index: max_num
_file_week_e in /usr/local/www/apache22/data/pmbt/include/config_lite.php on line 93
[Sun Nov 18 21:05:07 2007] [error] [client 65.182.51.67] PHP Notice: Undefined index: maxuplo
ad_day_num in /usr/local/www/apache22/data/pmbt/include/config_lite.php on line 96
[Sun Nov 18 21:05:07 2007] [error] [client 65.182.51.67] PHP Notice: Undefined index: maxuplo
ad_day_share in /usr/local/www/apache22/data/pmbt/include/config_lite.php on line 97
[Sun Nov 18 21:05:07 2007] [error] [client 65.182.51.67] PHP Notice: Undefined variable: row2
in /usr/local/www/apache22/data/pmbt/include/config_lite.php on line 103
[Sun Nov 18 21:05:07 2007] [error] [client 65.182.51.67] PHP Notice: Undefined variable: row2
in /usr/local/www/apache22/data/pmbt/include/config_lite.php on line 104
[Sun Nov 18 21:05:07 2007] [error] [client 65.182.51.67] PHP Notice: Undefined variable: row2
in /usr/local/www/apache22/data/pmbt/include/config_lite.php on line 105
[Sun Nov 18 21:05:07 2007] [error] [client 65.182.51.67] PHP Notice: Undefined variable: row2
in /usr/local/www/apache22/data/pmbt/include/config_lite.php on line 106
[Sun Nov 18 21:05:07 2007] [error] [client 65.182.51.67] PHP Notice: Undefined variable: row2
in /usr/local/www/apache22/data/pmbt/include/config_lite.php on line 107
[Fri Nov 16 16:26:25 2007] [error] [client 61.153.150.99] PHP Notice: Undefined index: max_num_file_day_e in /usr/local/www/
apache22/data/pmbt/include/config_lite.php on line 92
[Fri Nov 16 16:26:25 2007] [error] [client 61.153.150.99] PHP Notice: Undefined index: max_num_file_week_e in /usr/local/www
/apache22/data/pmbt/include/config_lite.php on line 93
[Fri Nov 16 16:26:25 2007] [error] [client 61.153.150.99] PHP Notice: Undefined index: maxupload_day_num in /usr/local/www/a
pache22/data/pmbt/include/config_lite.php on line 96
[Fri Nov 16 16:26:25 2007] [error] [client 61.153.150.99] PHP Notice: Undefined index: maxupload_day_share in /usr/local/www
/apache22/data/pmbt/include/config_lite.php on line 97
[Fri Nov 16 16:26:25 2007] [error] [client 61.153.150.99] PHP Notice: Undefined variable: row2 in /usr/local/www/apache22/da
ta/pmbt/include/config_lite.php on line 103
[Fri Nov 16 16:26:25 2007] [error] [client 61.153.150.99] PHP Notice: Undefined variable: row2 in /usr/local/www/apache22/da
ta/pmbt/include/config_lite.php on line 104
[Fri Nov 16 16:26:25 2007] [error] [client 61.153.150.99] PHP Notice: Undefined variable: row2 in /usr/local/www/apache22/da
ta/pmbt/include/config_lite.php on line 105
[Fri Nov 16 16:26:25 2007] [error] [client 61.153.150.99] PHP Notice: Undefined variable: row2 in /usr/local/www/apache22/da
ta/pmbt/include/config_lite.php on line 106
[Fri Nov 16 16:26:25 2007] [error] [client 61.153.150.99] PHP Notice: Undefined variable: row2 in /usr/local/www/apache22/da
ta/pmbt/include/config_lite.php on line 107
[Fri Nov 16 16:26:25 2007] [error] [client 61.153.150.99] PHP Notice: Undefined variable: row2 in /usr/local/www/apache22/da
ta/pmbt/include/config_lite.php on line 108
[Fri Nov 16 16:26:25 2007] [error] [client 61.153.150.99] PHP Notice: Undefined variable: info_hash_arr in /usr/local/www/ap
ache22/data/pmbt/scrape.php on line 64
[Fri Nov 16 16:26:25 2007] [error] [client 61.153.150.99] PHP Notice: Undefined variable: r in /usr/local/www/apache22/data/
pmbt/scrape.php on line 70
[Fri Nov 16 16:26:25 2007] [error] [client 61.153.150.99] PHP Notice: Undefined property: query_result in /usr/local/www/apa
che22/data/pmbt/include/db/mysql4.php on line 118
[Fri Nov 16 16:26:45 2007] [error] [client 194.242.202.241] PHP Notice: Undefined index: max_num_file_day_e in /usr/local/ww
w/apache22/data/pmbt/include/config_lite.php on line 92
[Fri Nov 16 16:26:45 2007] [error] [client 194.242.202.241] PHP Notice: Undefined index: max_num_file_week_e in /usr/local/w
ww/apache22/data/pmbt/include/config_lite.php on line 93
[Fri Nov 16 16:26:45 2007] [error] [client 194.242.202.241] PHP Notice: Undefined index: maxupload_day_num in /usr/local/www
/apache22/data/pmbt/include/config_lite.php on line 96
[Fri Nov 16 16:26:45 2007] [error] [client 194.242.202.241] PHP Notice: Undefined index: maxupload_day_share in /usr/local/w
ww/apache22/data/pmbt/include/config_lite.php on line 97
[Fri Nov 16 16:26:45 2007] [error] [client 194.242.202.241] PHP Notice: Undefined variable: row2 in /usr/local/www/apache22/
data/pmbt/include/config_lite.php on line 103
[Fri Nov 16 16:26:45 2007] [error] [client 194.242.202.241] PHP Notice: Undefined variable: row2 in /usr/local/www/apache22/
data/pmbt/include/config_lite.php on line 104
[Fri Nov 16 16:26:45 2007] [error] [client 194.242.202.241] PHP Notice: Undefined variable: row2 in /usr/local/www/apache22/
data/pmbt/include/config_lite.php on line 105
[Fri Nov 16 16:26:45 2007] [error] [client 194.242.202.241] PHP Notice: Undefined variable: row2 in /usr/local/www/apache22/
data/pmbt/include/config_lite.php on line 106
[Fri Nov 16 16:26:45 2007] [error] [client 194.242.202.241] PHP Notice: Undefined variable: row2 in /usr/local/www/apache22
|
|
| | Topic: if u have problem with finding trackers sites |
|---|
| | Topic: php security |
|---|
| php security [message #1510] |
Tue, 06 November 2007 17:07 |
DrAgon  Messages: 192 Registered: August 2007 |
Super-Seeder Bug hunter |
|
|
Anyone running PMBT with suphp, suexec, CGI binary or interpreter and other security measures?
How is it working? any problems? what are the benefits and disadvantages? is performance effected?
thnx.
|
|
| | Topic: Apache 2 a must? |
|---|
| Apache 2 a must? [message #1379] |
Sun, 07 October 2007 21:59 |
dcarey  Messages: 8 Registered: October 2007 |
Leecher |
|
|
Hi I'm trying to install and I keep getting 403s. I read something someplace tending to indicate that just about any webserver would work. Then I read something that said only Apache 2.0 and higher. Currently my hoster is runner 1.3.36 . Just want to find a definite yes or no on this. Thanks in advance.
-Dave
|
|
| | Topic: Invite Problem |
|---|
| | Topic: IRC |
|---|
| IRC [message #1238] |
Sat, 04 August 2007 21:03 |
|
* How do I join a channel?
| Quote: | All IRC channel names start with the pound sign (#). So, if the channel name is FooBar, you would type "/join #FooBar". Do not include the double quotes in the command.
|
* How do I change my IRC nickname?
| Quote: | To change your IRC nickname (nick), type "/nick newnick", without the double quotes. For expample, if you wanted your nick to be "Slasher", you would type "/nick Slasher".
|
* How do I send a private message?
| Quote: | To send a private message to just one person on the server, you would use the /msg command. For example, to send a private message to [TFK]Slasher to inform him that a scrimmage is about to start, you would type "/msg [TFK]Slasher Come to the #TFK room, our scrimmage is starting soon."
|
* How do I find a friend in IRC?
| Quote: | There are two ways to do this. First, if you know what channel they are in, you could join that channel and see if their name is on the user list at the right hand side of the screen. Or, you could use the /whois command. The /whois command tells you a small amount of information about a user on the IRC server. If you wanted to get the /whois information about [TFK]Slasher, you would type "/whois [TFK]Slasher".
|
* How do I register my IRC nickname?
| Quote: | To register your nickname, send a private message to 'nickserv' containing your password and email address. For example: '/msg nickserv register foobar address@domain.com' - type that (not including the single quotes) to register your current nickname with the password 'foobar' under the email address 'address@domain.com'. You should see a message in your status window from nickserv confirming your registration. You will receive an email address with instructions for authorizing your newly registered nick. Be sure to enter a valid email address so that you can receive the authorization code. After you register your nick, each time you connect to the IRC, you will need to identify yourself by typing: '/msg nickserv identify foobar' (without the single quotes.) Substitute your password instead of 'foobar', of course.
|
* How do I register my IRC channel?
| Quote: | To register your channel, you must first register your nickname. Then once you have registered and identified with nickserv, you can register your channel by sending a private message to 'chanserv' containing the channel, the password you want for the channel, and the channel description. For example: '/msg chanserv register #my_room foobar This is my room' - type that (not including the single quotes) to register the room called #my_room with the password 'foobar', and the description 'This is my room'. You should see a message in your status window from chanserv confirming your registration.
|
* How do I change the topic in my room?
| Quote: | If your channel is registered type the following:
/msg Chanserv SET #channelname TOPIC newtopic
If your channel is not registered type the following:
/topic #channelname newtopic
|
* How do get a user to be auto-opped when they join my channel?
| Quote: | First of all, the channel must be registered with chanserv. Also, the nick for the person that you want to get auto-opped must be registered with nickserv. Once that is done, use the following command to add the person to the op list for the channel:
/msg chanserv access #channelname add nick 50
* How do I ban users from my channel?
Your best bet here is to use a program called mIRC to connect to the Dynamix IRC server. You can get mIRC from http://www.mirc.com. Install the software and use it to connect to the Dynamix IRC server at irc.dynamix.com, port 6667. You can then use the built-in menus in mIRC to kick and ban users from your channel.
|
* How do I talk in white letters?
| Quote: | This is called an 'action'. To do an action, you use the /me command. For example, if your name is Slasher, and you wanted to do an action that says 'Slasher waves to everyone', you would type:
/me waves to everyone
|
* Where can I get a channel bot?
| Quote: | There are hundreds of freely available IRC bots on the web. Most of them are add-on scripts for mIRC. Others are stand-alone programs. In order to have a bot in your channel at all the times, you need a permanent internet connection. The methods for installing and operating each bot are different. Consult the documentation for the bot you wish to use.
|
|
|
| | Topic: error in the texts |
|---|
| error in the texts [message #738] |
Wed, 21 March 2007 01:07 |
|
ok there is an error in my shoutbox, pm, and coments.
any one know how to stop this?
when ever " ' " is used it shows like \'
|
|
| | Topic: "Invalid encoding" error in bencoder-domxml.php |
|---|
| "Invalid encoding" error in bencoder-domxml.php [message #393] |
Wed, 22 November 2006 11:01 |
lodp  Messages: 336 Registered: June 2006 |
Releaser |
|
|
i've got severe problems getting phpMyBitTorrent workin on my new virtual server. it runs php 4.4, and the domxml extension is included and recognized by the setup script.
the problem is in bencoder-domxml.php. when you upload an externally tracked torrent, this error message results:
| Quote: |
*Warning*: Invalid encoding. Node type must be one of the following:
String, Dictionary, List, Integer in
*[...]/pmbt/include/bencoder-domxml.php* on line
*87*
*Notice*: Node content: in
*[...]/pmbt/include/bencoder-domxml.php* on line
*88*
*Warning*: Empty Result:
files/da39a3ee5e6b4b0d3255bfef95601890afd80709/complete(Inte ger) in
*[...]/pmbt/include/bdecoder-domxml.php* on line
*227
_btscrapeerror
_btnoseedersontracker
|
that's it -- the torrent is not getting listed. i tried 100 different torrents, it's the same everywhere.
when it's an internally tracked torrent, it's very similar:
| Quote: | **Warning*: Invalid encoding. Node type must be one of the following:
String, Dictionary, List, Integer in
*[...]/pmbt/include/bencoder-domxml.php* on line
*87*
*Notice*: Node content: in
*[...]/pmbt/include/bencoder-domxml.php* on line *88
**
Warning*: Invalid encoding. Node type must be one of the following:
String, Dictionary, List, Integer in
*[...]/pmbt/include/bencoder-domxml.php* on line
*87*
*Notice*: Node content: in
*[...]/pmbt/include/bencoder-domxml.php* on line
*88*
|
internally tracked torrents DO get listed, but they're displayed with 0 seeds, 0 peers, and you can't connect to the tracker in a client (ktorrent says "invalid response" for example).
i already told djechelon about this, and he says he can't tell exacty why this is, but he suspects that it's socket problems on the server.
can anybody give me a clue maybe?
|
|
| | Topic: Whole HOST of problems |
|---|
| Whole HOST of problems [message #259] |
Mon, 09 October 2006 20:54 |
lodp  Messages: 336 Registered: June 2006 |
Releaser |
|
|
I've done some testing since we got phpmybittorrent 1.0 going on our new server (thanks again, Antonio!).
I ran into a whole host of problems, though. I hope we can work this out here one by one. I did a complete fresh install of version 1.0.
1. Uploading torrents with the local tracker as announce URL results in the following:
| Quote: | Warning: Invalid encoding. Node type must be one of the following: String, Dictionary, List, Integer in /webpages/ChomskyTorrents.org/pmbt2/include/bencoder-domxml. php on line 87
Notice: Node content: in /webpages/ChomskyTorrents.org/pmbt2/include/bencoder-domxml. php on line 88
Warning: Invalid encoding. Node type must be one of the following: String, Dictionary, List, Integer in /webpages/ChomskyTorrents.org/pmbt2/include/bencoder-domxml. php on line 87
Notice: Node content: in /webpages/ChomskyTorrents.org/pmbt2/include/bencoder-domxml. php on line 88
|
The thing does pop up in the list. But when i try to seed, kTorrent says "Invalid response from tracker". And phpmybittorrent doesn't see me as a seeder either.
2. Uploading external torrents results in the following:
| Quote: | Warning: Invalid encoding. Node type must be one of the following: String, Dictionary, List, Integer in /webpages/ChomskyTorrents.org/pmbt2/include/bencoder-domxml. php on line 87
Notice: Node content: in /webpages/ChomskyTorrents.org/pmbt2/include/bencoder-domxml. php on line 88
Error!!_btscrapeerror
Invalid data on external tracker. There can be server problems on the tracker. Please try again later.
|
i made sure the tracker was working and the torrent was well seeded.
3. Uploading ed2K links
adding links in the form works, and a entry is created successfully, but in the file list there's no files showing up.
EDIT:
4. Confirmation mails
...aren't sent off, it seems. could it be there's some mail daemon missing on my server or something? i DID check the spam-filter, btw 
that's it so far situation seems pretty bleak..
[Updated on: Mon, 09 October 2006 21:54]
|
|
| | Topic: DOM XML help |
|---|
DOM XML help [message #177] |
Sun, 27 August 2006 15:33 |
|
I decided to open this topic to help who is having problems with DOM XML.
This topic is read only in order to not make eccessive confusion during discussions. Consider this topic as a collection of FAQs that will be updated on every new issue.
- Part 0: What if I can't use DOM XML?
Before following this tutorial, you must know that if you can't use DOM XML you can't use phpMyBitTorrent at all. You will be able only to install versions up to 0.7.10. But, if DOM XML has failed till now it doesn't directly mean that you can't use it at all. So try this tutorial before throwing the towel.
- Part 1: What you should know about DOM XML
DOM XML is a PHP extension that allows to handle XML documents with an advanced set of classes, as defined in DOM XML standards by W3C.
phpMyBitTorrent uses DOM XML to make operations on Torrents that else wouldn't have been possible. At the time I'm writing, the feature that actively uses DOM XML is not yet present, but I'm working on it. DOM XML makes also possible the generation of an RDF feed that is compliant with the specifications of the W3C, and to easily read the structure of Torrents.
In few words, DOM XML goes beyond the limits of the old bencoder core.
- Part 2: Can everybody use DOM XML?
Unfortunately, not everybody. In order to use DOM XML, you server must be able to use it! Seems a word-game, but it's not. We can't tell you a priori (before you test it) if your server supports DOM XML, but we know the situation for some users. Let's examine what can determine you ability to execute DOM XML
- If Safe Mode is enabled, you cannot use DOM XML
- If your PHP version is less than 4.0, you cannot use DOM XML
- If you use PHP 5, can use DOM XML
- If you use Windows, you may use DOM XML
- If you are the owner of your server, you can use DOM XML after properly configuring PHP
- If you are using a free or cheap hosting service, you may not use DOM XML
You will know that you can use DOM XML only after seeing phpMyBitTorrent work good
- Part 3: Recompiling DOM XML
The following applies on UNIX system. If your server uses Windows, you don't need to recompile anything.
First of all, why recompiling?
The answer is simple: if you get a load error while trying to load DOM XML, it means that you can't use the version provided with phpMyBitTorrent (at this time you can't say you can't use DOM XML yet). The first thing you should try is recompiling DOM XML. Unfortunately, you can recompile DOM XML in a way that it will 90% works (the left 10% is the possibility that your server admin applied some kind of protection that doesn't allow you to use DOM XML or other extensions at all) ONLY if you have shell access, even with restricted privileges. If your server has SSH, and you have an account, you can recompile DOM XML.
If you can't recompile DOM XML, you can try to recompile DOM XML on a machine that has the same hardware and software configuration of the server. The success probabilities are of the 70%, according on how precisely you match the server configuration (refer to phpinfo()).
The last option is to try one of the domxml.so files that we will distribute on this topic. Some will be made using SourceForge compile farm.
How to manually recompile?
Download the source package of YOUR PHP VERSION and decompress it in any directory.
With user shell, enter that directory and use the following commands:
- $ ./configure
- $ make
- $ cd extensions
Then, using cp command, copy the domxml.so file you find in that directory into phpMyBitTorrent's extensions directory.
Will it work?
Probabily.
We have been reported that phpMyBitTorrent refuses torrents on FreeBSD. We don't know the reason, but plaese avoid FreeBSD when choosing server environment.
If you have more problems please open a topic, possibly linking a phpinfo script or reporting its summary here (please use [SPOILER] tags for best appearence)
[Updated on: Sun, 02 December 2007 02:26] by Moderator Unfortunately, no one can be told what the Matrix is. You have to see it for yourself.
|
|
| | Topic: member list |
|---|
member list [message #147] |
Fri, 04 August 2006 20:19 |
|
Can some one help me with this code? It pulls out and displays what i want but i also want it to link to the names any help?
<html>
<body>
<?php
$database="joerobe_mybittorrent";
@mysql_select_db($database) or die( "Unable to select database");
$result = mysql_query( "SELECT username, id, level, uploaded, downloaded FROM torrent_users" )
or die("SELECT Error: ".mysql_error());
$num_rows = mysql_num_rows($result);
print "<font size=80/>There are <strong>$num_rows</strong> members.<P>";
print "<table width=400 border=1>\n";
print "\t<td><font color=#996600 font face=arial size=3/><strong>MEMBER</strong></td></td>\n";
print "\t<td><font color=#996600 font face=arial size=3/><strong>ID</strong></td></td>\n";
print "\t<td><font color=#996600 font face=arial size=3/><strong>LEVEL</strong></td></td>\n";
print "\t<td><font color=#996600 font face=arial size=3/><strong>UPLOADED</strong></td></td>\n";
print "\t<td><font color=#996600 font face=arial size=3/><strong>DOWNLOADED</strong></td></td>\n";
while ($get_info = mysql_fetch_row($result)){
print "<tr>\n";
foreach ($get_info as $field)
print "\t<td><font face=arial size=2/>$field</font></td>\n";
print "</tr>\n";
}
print "</table>\n";
?>
</body>
</html>
|
|
| | Forum: Announcements |
|---|
| Topic: You really love us! |
|---|
| You really love us! [message #3712] |
Sun, 07 March 2010 15:33 |
|
I would like to say a big THANK YOU to a donor that today gave us 50 (FIFTY) american dollars.
For sake of privacy, I won't tell his/her name, but I want to publicly announce this event to remind that all the money gathered will be used to support the project and the website: not a single cent will be even used for LeonidasP2P, another open source project I stopped some years ago (hahahaha). Everything to phpMyBitTorrent!!
Unfortunately, no one can be told what the Matrix is. You have to see it for yourself.
|
|
| | Topic: Transfer complete |
|---|
| Transfer complete [message #2660] |
Thu, 21 May 2009 22:55 |
|
Sorry for being some days offline.
We just moved the whole site to the new server of Zighinetto.org.
Unfortunately, migrating FUDforum is troubly, and I had to manually restore all the tables into the database.
Big thanks to Martin "lodp" for hosting phpMyBitTorrent.com so far. Don't forget to visit onebigtorrent.org
Unfortunately, no one can be told what the Matrix is. You have to see it for yourself.
|
|
| | Topic: Help Wanted |
|---|
| Help Wanted [message #2244] |
Sat, 27 December 2008 01:36 |
|
We are Looking for some new people to help with the coding of phpMyBitTorrent.
We need
PHP coder's
Java coder's
Theme editors
Html coder's
Things needed
*Remove all hard coded words and add them to language file.
*Added info to each page to make it easy for people to figure out
what and where things are
*create a Tutorial for install
upgrades
theme editing and creating
using phpMyBittorrent for both end user and admins
at first most of the work well be hard going because alot of things need cleaned up!
but that well not take to long.
We also still need language decoders to if any one can help V2.0 is soooooo out of date that none of the languages work any more.
If You think You have skills we can Use please contact me by pm.
If you get my interest I well contact you by msn yahoo or skype.
[Updated on: Sat, 27 December 2008 01:46]
|
|
| | Topic: phpMyBitTorrentV2.0 |
|---|
| phpMyBitTorrentV2.0 [message #2216] |
Fri, 31 October 2008 04:27 |
|
**DEMO**
This is the changelog:
Overall features include
1. Completely <?php5 Compatible:
phpMyBitTorrent now works on all php5> servers including with external torrents
2. Completely New AJAX System:
This new system is completely upgradeable and can handle many aspects of the site to limit the loading of information that is now called for by all users (mostly the occasional viewer to your site) which will cut down on your server load.
3. Updated Announce/scrape:
This release includes a number of optimizations that will cut down the load on your server and enables PMBT to handle more than 4,000 peers with out causing a strain on the system
4. New ShoutBox:
The new shoutbox is AJAX-based, so it will no longer have to refresh the whole page in regular intervals.
It also features the new bbcode system to allow users to change fonts, colors, and styles. Users are now able to edit or delete their own shouts (moderators and admins can delete or edit all).
5. Complete New Theme System:
Most of the site layout is now determined by the theme, which means that you will be able to do more with your themes then ever before.
6. New Home Page:
This is the first page most users will see when they come to your site. They will get a chance to see your site news and polls.
We have made it more so that they well see these by placing the shoutbox there.
7. New Torrent/Browse Page:
The torrent index is no longer the home page.
8. New P.M. Setup:
Not really a lot of changes here, though I was able to add a Inbox and Outbox (compliments of Lodp/Martin)
9. New Details Page:
The details page has a whole ne look to it. No longer is everything thrown at you in one page -- the information is now presented in categories:
1. Torrent Info. Standard information on the torrent.
-Seeders, leechers, Total Peers, Peer Complete ratio, and download time
-The torrent name
-Standard actions (download, edit, delete)
-Total file size
-The torrent Description
-The Tracker (or the tracker list)
-The Torrent type (Category)
-Number of files In the torrent
2. Torrent Rating
3. Torrent Peers
4. Torrent Files
5. Auto IMDB Info
6. Torrent Comments
10. New BBcode System:
We have added a complete New BBcode system that will make it easier for users to give their torrent descriptions a mor apealing look
Here are some of the codes:
1. [list]
2. [*]
3. [br]
4. [b]
5. [i]
6. [u]
7. [img]
8. [img=*img link*]
9. [color=*thecolor*]
10. [url=*link*]
11. [size=*font size*]
12. [center]
13. [quote]
14. [video=*youtube.com.*]
15. [video=*video.google.com.*]
16. [php]
17. [skype]
18. [website]
19. [spoiler]
20. [msn=]
21. [yahoo]
22. [aim=]
11. New Text Area:
We have removed the bulky FCKeditor that was part of the earlier releases, as it bloated the package with an enormous number of files, wasn't easy to use, and caused the torrent upload page to take longer to load.
12. New Search Cloud:
We have added a search cloud to the system so that users can see some of the more popular searches performed by other members
the font for each word is whighed by how many time it has been searched
Admin features include:
1. Search Cloud control:
You can control the text in the search cloud from the admin panel so that you can keep an eye on things.
This includes the ability to search for specific words in the database and delete them.
The search cloud is protected agains SQL-injection. All tags are stripped.
2. Requests configuration:
You can set request offline and/or set the level of the members that can use them.
3. Offers Configuration:
You can set Offers offline and/or set the level of the members that can use them
4. Force users to use passkey:
Set the Site so that all users have to use the passkey system. Once you do this, no announces without a passkey will be accepted. The passkey will be automatically added to the user's account on sign up so they will not have to add it them self they well be able to change their passkey from the user panel but not remove it.
5. Set Site to Private mode from admin panel:
You can now set your site to private from the admin panel, so that the only thing that well be seen if your not a member of the site is the login screen.
New User functions
1. Set Time zone for shouts
2. Hide online status
3. Toggle PM notification by e-mail
[Updated on: Fri, 31 October 2008 04:42]
|
|
| | Topic: Domain outages |
|---|
| Domain outages [message #1699] |
Sat, 05 January 2008 00:13 |
|
Since I'm transferring the phpmybittorrent.com domain to another registrar, the website and everything related to phpmybittorrent.com will go offline for a while, until all DNS entries are reset to proper settings.
Please apologize us for any inconvenience.
Unfortunately, no one can be told what the Matrix is. You have to see it for yourself.
|
|
| | Topic: phpMyBitTorrent RC2 |
|---|
| | Topic: PMBT-modded |
|---|
| PMBT-modded [message #1251] |
Wed, 08 August 2007 21:18 |
|
you read rite I have just released my new version witch has major changes in it you can get it here
|
|
| | Topic: SourceForge Awards |
|---|
| SourceForge Awards [message #1124] |
Wed, 20 June 2007 14:15 |
|
Dear users and developers,
SourceForge has recently started the nominations for the Community Choice Awards 2007. This could be a chance for phpMyBitTorrent to become more and more popular, and to finally make a dream come true.
I personally started this project in early 2005 to start a new path in file sharing. This software's original idea was to help cross-platform releasing of files in P2P networks, and this objective has been achieved by only a few other programs around.
If you are interested in nominating this program for the finals, take a look at http://sourceforge.net/awards/cca/nomination.php?group_id=12 9993&from=http%3A%2F%2Fphpmybittorrent.com%2Fforum
Unfortunately, no one can be told what the Matrix is. You have to see it for yourself.
|
|
| | Topic: phpMyBitTorrent V1.2 RC1 |
|---|
| phpMyBitTorrent V1.2 RC1 [message #1083] |
Tue, 05 June 2007 17:01 |
|
O.K. we have got allot of the bugs worked out now and about about ready for the new release.
We are adding a lot of new features
- New auto complete for search
- Alternating torrent table colors
- High lighting tables on mouse over
- Adding a new default theme
- And many more
keep your eyes open
|
|
| | Topic: phpMyBitTorrent V1.2 Beta |
|---|
| phpMyBitTorrent V1.2 Beta [message #918] |
Mon, 23 April 2007 21:10 |
|
We're proud to announce the release of phpMyBitTorrent 1.2.Beta1 The focus of this release has been on interface improvements (including entirely new English language files and documentation, new layout for many pages, more mouse-over help etc.), compatibility (phpMyBitTorrent now runs on PHP 5(php5 well not do external torrents at this time) as well as PHP 4.x), and looks (e.g. new category icons and file icons). But there's are also entirely new stuff, such as Torrent Bans, and a Donations block that can be automatically updated with data from PayPal's IPN. This comes in addition to a whole host of bugfixes. Please refer to the changelog for further details.
We feel that all of this have made phpMyBitTorrent much more mature and stable. There's no question however, that much remains to be done. We're looking forward to hearing from you on phpmybittorrent.com/forum, where we'll be working on the next release, as well as on bleeding-edge stuff like a bridge to phpBB3 (yes, 3, yes, there's no RC yet of that).
|
|
| | Topic: Getting phpMyBitTorrent 1.0 ready |
|---|
| Getting phpMyBitTorrent 1.0 ready [message #168] |
Wed, 23 August 2006 00:09 |
|
Hello guys,
I just want to announce you that phpMyBitTorrent 1.0 FINAL is about to come. I really hope to release it for september.
Here's an extract of the changelog:
- Added Torrent Prefix Option
- Selective Scrape Implemented
- HTTP Basic Authentication Implemented in Announce when IP does not match
- Passkey Authentication Implemented
- Optimized Announce and Scrape memory usage
- Added Global Minimum Ratio Option
- Listing users who completed a download
- Upload can be done by Anonymous users or restricted to Premium Users
- Sticky Torrents can be set only by Moderators
- Supporting Multitracker Specification
- Displaying how many Torrents user is seeding or downloading
- Improved performance of maintenance process
- Added the Torrent Export option when Passkey authentication is enabled
- New XML Bencoding Core
- Implemented IRC client using Open Source Java applet PJIRC
- External Tracker management
- RSS Syndication with most common providers
- Online users list
- Massive Upload in Admin Panel
- Automated installation definitely works!
These are just a few of the new enhancements. The most important, for everyone's joy is the automated setup. No more SQL queries to run from phpMyAdmin or files to edit. An automated installation program will guide you through the setup process and allows you to easily set up your phpMyBitTorrent tracker. One more reason to download phpMyBitTorrent. At this time, you can try the latest features in CVS version, but other more features (including a full translation, I hope ) are about to come.
Stay tuned!!
Unfortunately, no one can be told what the Matrix is. You have to see it for yourself.
|
|
| | Topic: Piracy Notice |
|---|
| Piracy Notice [message #87] |
Tue, 18 July 2006 10:28 |
|
|
PIRACY NOTICE
phpMyBitTorrent is a GNU/GPL-licensed software that allows file sharing using peer-to-peer protocols. Using phpMybitTorrent, you can share all the files you want. However, some may be protected by copyright, and you will still be techinically able to share them, even if it's against the law of 90% of countries worldwide.
Unauthorized sharing of copyrighted files over the Internet is piracy, and piracy is illegal. While running your phpMyBitTorrent tracker, according to your local anti-piracy laws, you, or your users, are the sole responsible(s) for the files that are shared using phpMyBitTorrent
The phpMyBitTorrent Development Team and, particularly, its creator, cannot be held responsible for the files that you make publicly available using the program. We don't want to know what you do with phpMyBitTorrent, because it doesn't matter.
This is a support & discussion Forum, and there is no place here for illegal files.
You may see links to external sites that run phpMyBitTorrent. These links are provided by phpMyBitTorrent Forum users only to investigate problems that may occur using phpMyBitTorrent (ie. error messages). No direct involvement of phpMyBitTorrent Development Team with those activities is intended in any case. You may also see a djechelon account (sometimes with Administrator privileges) on some sites running phpMyBitTorrent. This does not mean direct involvement or co-operation of the phpMyBitTorrent creator with those sites. You can't even know if that's the real one or somebody registering with the same nickname.
The Forum Administrators, conscious that piracy is a crime, will work to keep this Forum clean from piracy (and child-pornography too). We will delete links and files related to copyrighted content as soon as we can: more, we will report to local authorities all links and files related to child sexual abuse, which we consider an infamous offense to children rights.
However, moderation operations can not be performed if no Administrator is available (ie. during holidays). We will perform such operations as soon as we can, and we can't be held responsible for what other users do during our absence.
Unfortunately, no one can be told what the Matrix is. You have to see it for yourself.
|
|
| | Forum: Development |
|---|
| Topic: converted php pages |
|---|
| converted php pages [message #2767] |
Sun, 05 July 2009 17:55 |
|
I am asking for help converting php to use language variables if you
can help to convert them post your changed files here and then post the variables to add to language file
|
|
| | Topic: New CVS URL |
|---|
New CVS URL [message #1700] |
Sat, 05 January 2008 00:58 |
|
Hi there,
the new CVS URL for phpMyBitTorrent, thanks to the new name servers, will be:
cvs.phpmybittorrent.com
The previous one will keep working
Unfortunately, no one can be told what the Matrix is. You have to see it for yourself.
|
|
| | Forum: M0dZ & HaCkZ |
|---|
| Topic: Birthday Mod |
|---|
| Birthday Mod [message #3705] |
Fri, 05 March 2010 04:31 |
|
allow a birthday list on index
Just a little something I threw together for me on monday 
open database and add
ALTER TABLE `torrent_users` ADD `birthday` varchar(20) character set utf8 collate utf8_bin default NULL, Now open user/editprofile.php and find
<?php if (!isset($jabber) OR $jabber == "") $jabber = "NULL";
processinput("jabber",$jabber); ?>
and add after
<?php if ($bday_day =='--' OR $bday_month == "--" OR $bday_year == "--") $birthday = "NULL";
else
$birthday = $bday_day.'-'.$bday_month.'-'.$bday_year;
processinput("birthday",$birthday); ?>
Now find
<?php if ($user->moderator)echo "<tr><td><p>Seedbox</p></td><td><p><input type=\"text\" name=\"seedbox\" value=\"".long2ip($userrow["seedbox"])."\" size =\"40\" /></p></td></tr>\n"; ?>
and add after
<?php //Birthday Modd
if(isset($userrow["birthday"]) OR !$userrow["birthday"]=='')$bday = explode("-", $userrow["birthday"]);
else
$bday = array('0','0','0');
$now = getdate(time() - date('Z'));
echo "<tr><td><p>";
help(pic("help.gif"),"Setting a year will list your age when it is your birthday.","BirthDay");
echo"BirthDay:</p></td>
<td><p><span class=\"genmed\">Day:</span>
<select name=\"bday_day\">
<option ".(($bday['0'] == 0)? "selected=\"selected\"" : '')." value=\"0\">--</option>
<option ".(($bday['0'] == 1)? "selected=\"selected\"" : '')." value=\"1\">1</option>
<option ".(($bday['0'] == 2)? "selected=\"selected\"" : '')." value=\"2\">2</option>
<option ".(($bday['0'] == 3)? "selected=\"selected\"" : '')." value=\"3\">3</option>
<option ".(($bday['0'] == 4)? "selected=\"selected\"" : '')." value=\"4\">4</option>
<option ".(($bday['0'] == 5)? "selected=\"selected\"" : '')." value=\"5\">5</option>
<option ".(($bday['0'] == 6)? "selected=\"selected\"" : '')." value=\"6\">6</option>
<option ".(($bday['0'] == 7)? "selected=\"selected\"" : '')." value=\"7\">7</option>
<option ".(($bday['0'] == 8)? "selected=\"selected\"" : '')." value=\"8\">8</option>
<option ".(($bday['0'] == 9)? "selected=\"selected\"" : '')." value=\"9\">9</option>
<option ".(($bday['0'] == 10)? "selected=\"selected\"" : '')." value=\"10\">10</option>
<option ".(($bday['0'] == 11)? "selected=\"selected\"" : '')." value=\"11\">11</option>
<option ".(($bday['0'] == 12)? "selected=\"selected\"" : '')." value=\"12\">12</option>
<option ".(($bday['0'] == 13)? "selected=\"selected\"" : '')." value=\"13\">13</option>
<option ".(($bday['0'] == 14)? "selected=\"selected\"" : '')." value=\"14\">14</option>
<option ".(($bday['0'] == 15)? "selected=\"selected\"" : '')." value=\"15\">15</option>
<option ".(($bday['0'] == 16)? "selected=\"selected\"" : '')." value=\"16\">16</option>
<option ".(($bday['0'] == 17)? "selected=\"selected\"" : '')." value=\"17\">17</option>
<option ".(($bday['0'] == 18)? "selected=\"selected\"" : '')." value=\"18\">18</option>
<option ".(($bday['0'] == 19)? "selected=\"selected\"" : '')." value=\"19\">19</option>
<option ".(($bday['0'] == 20)? "selected=\"selected\"" : '')." value=\"20\">20</option>
<option ".(($bday['0'] == 21)? "selected=\"selected\"" : '')." value=\"21\">21</option>
<option ".(($bday['0'] == 22)? "selected=\"selected\"" : '')." value=\"22\">22</option>
<option ".(($bday['0'] == 23)? "selected=\"selected\"" : '')." value=\"23\">23</option>
<option ".(($bday['0'] == 24)? "selected=\"selected\"" : '')." value=\"24\">24</option>
<option ".(($bday['0'] == 25)? "selected=\"selected\"" : '')." value=\"25\">25</option>
<option ".(($bday['0'] == 26)? "selected=\"selected\"" : '')." value=\"26\">26</option>
<option ".(($bday['0'] == 27)? "selected=\"selected\"" : '')." value=\"27\">27</option>
<option ".(($bday['0'] == 28)? "selected=\"selected\"" : '')." value=\"28\">28</option>
<option ".(($bday['0'] == 29)? "selected=\"selected\"" : '')." value=\"29\">29</option>
<option ".(($bday['0'] == 30)? "selected=\"selected\"" : '')." value=\"30\">30</option>
<option ".(($bday['0'] == 31)? "selected=\"selected\"" : '')." value=\"31\">31</option>
</select>
<span class=\"genmed\">Month:</span>
<select name=\"bday_month\">
<option value=\"0\">--</option>
<option ".(($bday['1'] == 1)? "selected=\"selected\"" : '')." value=\"1\">1</option>
<option ".(($bday['1'] == 2)? "selected=\"selected\"" : '')." value=\"2\">2</option>
<option ".(($bday['1'] == 3)? "selected=\"selected\"" : '')." value=\"3\">3</option>
<option ".(($bday['1'] == 4)? "selected=\"selected\"" : '')." value=\"4\">4</option>
<option ".(($bday['1'] == 5)? "selected=\"selected\"" : '')." value=\"5\">5</option>
<option ".(($bday['1'] == 6)? "selected=\"selected\"" : '')." value=\"6\">6</option>
<option ".(($bday['1'] == 7)? "selected=\"selected\"" : '')." value=\"7\">7</option>
<option ".(($bday['1'] == 8)? "selected=\"selected\"" : '')." value=\"8\">8</option>
<option ".(($bday['1'] == 9)? "selected=\"selected\"" : '')." value=\"9\">9</option>
<option ".(($bday['1'] == 10)? "selected=\"selected\"" : '')." value=\"10\">10</option>
<option ".(($bday['1'] == 11)? "selected=\"selected\"" : '')." value=\"11\">11</option>
<option ".(($bday['1'] == 12)? "selected=\"selected\"" : '')." value=\"12\">12</option>
</select>
<span class=\"genmed\">Year:</span>
<select name=\"bday_year\">
<option value=\"0\">--</option>
<option ".(($bday['2'] == 1910)? "selected=\"selected\"" : '')." value=\"1910\">1910</option>
<option ".(($bday['2'] == 1911)? "selected=\"selected\"" : '')." value=\"1911\">1911</option>
<option ".(($bday['2'] == 1912)? "selected=\"selected\"" : '')." value=\"1912\">1912</option>
<option ".(($bday['2'] == 1913)? "selected=\"selected\"" : '')." value=\"1913\">1913</option>
<option ".(($bday['2'] == 1914)? "selected=\"selected\"" : '')." value=\"1914\">1914</option>
<option ".(($bday['2'] == 1915)? "selected=\"selected\"" : '')." value=\"1915\">1915</option>
<option ".(($bday['2'] == 1916)? "selected=\"selected\"" : '')." value=\"1916\">1916</option>
<option ".(($bday['2'] == 1917)? "selected=\"selected\"" : '')." value=\"1917\">1917</option>
<option ".(($bday['2'] == 1918)? "selected=\"selected\"" : '')." value=\"1918\">1918</option>
<option ".(($bday['2'] == 1919)? "selected=\"selected\"" : '')." value=\"1919\">1919</option>
<option ".(($bday['2'] == 1920)? "selected=\"selected\"" : '')." value=\"1920\">1920</option>
<option ".(($bday['2'] == 1921)? "selected=\"selected\"" : '')." value=\"1921\">1921</option>
<option ".(($bday['2'] == 1922)? "selected=\"selected\"" : '')." value=\"1922\">1922</option>
<option ".(($bday['2'] == 1923)? "selected=\"selected\"" : '')." value=\"1923\">1923</option>
<option ".(($bday['2'] == 1924)? "selected=\"selected\"" : '')." value=\"1924\">1924</option>
<option ".(($bday['2'] == 1925)? " selected=\"selected\"" : '')." value=\"1925\">1925</option>
<option ".(($bday['2'] == 1926)? " selected=\"selected\"" : '')." value=\"1926\">1926</option>
<option ".(($bday['2'] == 1927)? " selected=\"selected\"" : '')." value=\"1927\">1927</option>
<option ".(($bday['2'] == 1928)? " selected=\"selected\"" : '')." value=\"1928\">1928</option>
<option ".(($bday['2'] == 1929)? " selected=\"selected\"" : '')." value=\"1929\">1929</option>
<option ".(($bday['2'] == 1930)? " selected=\"selected\"" : '')." value=\"1930\">1930</option>
<option ".(($bday['2'] == 1931)? " selected=\"selected\"" : '')." value=\"1931\">1931</option>
<option ".(($bday['2'] == 1932)? " selected=\"selected\"" : '')." value=\"1932\">1932</option>
<option ".(($bday['2'] == 1933)? " selected=\"selected\"" : '')." value=\"1933\">1933</option>
<option ".(($bday['2'] == 1934)? " selected=\"selected\"" : '')." value=\"1934\">1934</option>
<option ".(($bday['2'] == 1935)? " selected=\"selected\"" : '')." value=\"1935\">1935</option>
<option ".(($bday['2'] == 1936)? " selected=\"selected\"" : '')." value=\"1936\">1936</option>
<option ".(($bday['2'] == 1937)? " selected=\"selected\"" : '')." value=\"1937\">1937</option>
<option ".(($bday['2'] == 1938)? " selected=\"selected\"" : '')." value=\"1938\">1938</option>
<option ".(($bday['2'] == 1939)? " selected=\"selected\"" : '')." value=\"1939\">1939</option>
<option ".(($bday['2'] == 1940)? " selected=\"selected\"" : '')." value=\"1940\">1940</option>
<option ".(($bday['2'] == 1941)? " selected=\"selected\"" : '')." value=\"1941\">1941</option>
<option ".(($bday['2'] == 1942)? " selected=\"selected\"" : '')." value=\"1942\">1942</option>
<option ".(($bday['2'] == 1943)? " selected=\"selected\"" : '')." value=\"1943\">1943</option>
<option ".(($bday['2'] == 1944)? " selected=\"selected\"" : '')." value=\"1944\">1944</option>
<option ".(($bday['2'] == 1945)? " selected=\"selected\"" : '')." value=\"1945\">1945</option>
<option ".(($bday['2'] == 1946)? " selected=\"selected\"" : '')." value=\"1946\">1946</option>
<option ".(($bday['2'] == 1947)? " selected=\"selected\"" : '')." value=\"1947\">1947</option>
<option ".(($bday['2'] == 1948)? " selected=\"selected\"" : '')." value=\"1948\">1948</option>
<option ".(($bday['2'] == 1949)? " selected=\"selected\"" : '')." value=\"1949\">1949</option>
<option ".(($bday['2'] == 1950)? " selected=\"selected\"" : '')." value=\"1950\">1950</option>
<option ".(($bday['2'] == 1951)? " selected=\"selected\"" : '')." value=\"1951\">1951</option>
<option ".(($bday['2'] == 1952)? " selected=\"selected\"" : '')." value=\"1952\">1952</option>
<option ".(($bday['2'] == 1953)? " selected=\"selected\"" : '')." value=\"1953\">1953</option>
<option ".(($bday['2'] == 1954)? " selected=\"selected\"" : '')." value=\"1954\">1954</option>
<option ".(($bday['2'] == 1955)? " selected=\"selected\"" : '')." value=\"1955\">1955</option>
<option ".(($bday['2'] == 1956)? " selected=\"selected\"" : '')." value=\"1956\">1956</option>
<option ".(($bday['2'] == 1957)? " selected=\"selected\"" : '')." value=\"1957\">1957</option>
<option ".(($bday['2'] == 1958)? " selected=\"selected\"" : '')." value=\"1958\">1958</option>
<option ".(($bday['2'] == 1959)? " selected=\"selected\"" : '')." value=\"1959\">1959</option>
<option ".(($bday['2'] == 1960)? " selected=\"selected\"" : '')." value=\"1960\">1960</option>
<option ".(($bday['2'] == 1961)? " selected=\"selected\"" : '')." value=\"1961\">1961</option>
<option ".(($bday['2'] == 1962)? " selected=\"selected\"" : '')." value=\"1962\">1962</option>
<option ".(($bday['2'] == 1963)? " selected=\"selected\"" : '')." value=\"1963\">1963</option>
<option ".(($bday['2'] == 1964)? " selected=\"selected\"" : '')." value=\"1964\">1964</option>
<option ".(($bday['2'] == 1965)? " selected=\"selected\"" : '')." value=\"1965\">1965</option>
<option ".(($bday['2'] == 1966)? " selected=\"selected\"" : '')." value=\"1966\">1966</option>
<option ".(($bday['2'] == 1967)? " selected=\"selected\"" : '')." value=\"1967\">1967</option>
<option ".(($bday['2'] == 1968)? " selected=\"selected\"" : '')." value=\"1968\">1968</option>
<option ".(($bday['2'] == 1969)? " selected=\"selected\"" : '')." value=\"1969\">1969</option>
<option ".(($bday['2'] == 1970)? " selected=\"selected\"" : '')." value=\"1970\">1970</option>
<option ".(($bday['2'] == 1971)? " selected=\"selected\"" : '')." value=\"1971\">1971</option>
<option ".(($bday['2'] == 1972)? " selected=\"selected\"" : '')." value=\"1972\">1972</option>
<option ".(($bday['2'] == 1973)? " selected=\"selected\"" : '')." value=\"1973\">1973</option>
<option ".(($bday['2'] == 1974)? " selected=\"selected\"" : '')." value=\"1974\">1974</option>
<option ".(($bday['2'] == 1975)? " selected=\"selected\"" : '')." value=\"1975\">1975</option>
<option ".(($bday['2'] == 1976)? " selected=\"selected\"" : '')." value=\"1976\">1976</option>
<option ".(($bday['2'] == 1977)? " selected=\"selected\"" : '')." value=\"1977\">1977</option>
<option ".(($bday['2'] == 1978)? " selected=\"selected\"" : '')." value=\"1978\">1978</option>
<option ".(($bday['2'] == 1979)? " selected=\"selected\"" : '')." value=\"1979\">1979</option>
<option ".(($bday['2'] == 1980)? " selected=\"selected\"" : '')." value=\"1980\">1980</option>
<option ".(($bday['2'] == 1981)? " selected=\"selected\"" : '')." value=\"1981\">1981</option>
<option ".(($bday['2'] == 1982)? " selected=\"selected\"" : '')." value=\"1982\">1982</option>
<option ".(($bday['2'] == 1983)? " selected=\"selected\"" : '')." value=\"1983\">1983</option>
<option ".(($bday['2'] == 1984)? " selected=\"selected\"" : '')." value=\"1984\">1984</option>
<option ".(($bday['2'] == 1985)? " selected=\"selected\"" : '')." value=\"1985\">1985</option>
<option ".(($bday['2'] == 1986)? " selected=\"selected\"" : '')." value=\"1986\">1986</option>
<option ".(($bday['2'] == 1987)? " selected=\"selected\"" : '')." value=\"1987\">1987</option>
<option ".(($bday['2'] == 1988)? " selected=\"selected\"" : '')." value=\"1988\">1988</option>
<option ".(($bday['2'] == 1989)? " selected=\"selected\"" : '')." value=\"1989\">1989</option>
<option ".(($bday['2'] == 1990)? " selected=\"selected\"" : '')." value=\"1990\">1990</option>
<option ".(($bday['2'] == 1991)? " selected=\"selected\"" : '')." value=\"1991\">1991</option>
<option ".(($bday['2'] == 1992)? " selected=\"selected\"" : '')." value=\"1992\">1992</option>
<option ".(($bday['2'] == 1993)? " selected=\"selected\"" : '')." value=\"1993\">1993</option>
<option ".(($bday['2'] == 1994)? " selected=\"selected\"" : '')." value=\"1994\">1994</option>
<option ".(($bday['2'] == 1995)? " selected=\"selected\"" : '')." value=\"1995\">1995</option>
<option ".(($bday['2'] == 1996)? " selected=\"selected\"" : '')." value=\"1996\">1996</option>
<option ".(($bday['2'] == 1997)? " selected=\"selected\"" : '')." value=\"1997\">1997</option>
<option ".(($bday['2'] == 1998)? " selected=\"selected\"" : '')." value=\"1998\">1998</option>
<option ".(($bday['2'] == 1999)? " selected=\"selected\"" : '')." value=\"1999\">1999</option>
<option ".(($bday['2'] == 2000)? " selected=\"selected\"" : '')." value=\"2000\">2000</option>
<option ".(($bday['2'] == 2001)? " selected=\"selected\"" : '')." value=\"2001\">2001</option>
<option ".(($bday['2'] == 2002)? " selected=\"selected\"" : '')." value=\"2002\">2002</option>
<option ".(($bday['2'] == 2003)? " selected=\"selected\"" : '')." value=\"2003\">2003</option>
<option ".(($bday['2'] == 2004)? " selected=\"selected\"" : '')." value=\"2004\">2004</option>
<option ".(($bday['2'] == 2005)? " selected=\"selected\"" : '')." value=\"2005\">2005</option>
<option ".(($bday['2'] == 2006)? " selected=\"selected\"" : '')." value=\"2006\">2006</option>
<option ".(($bday['2'] == 2007)? " selected=\"selected\"" : '')." value=\"2007\">2007</option>
<option ".(($bday['2'] == 2008)? " selected=\"selected\"" : '')." value=\"2008\">2008</option>
<option ".(($bday['2'] == 2009)? " selected=\"selected\"" : '')." value=\"2009\">2009</option>
<option ".(($bday['2'] == 2010)? " selected=\"selected\"" : '')." value=\"2010\">2010</option>
</select></p></td></tr>\n";
//Birthday Modd End ?>
Now Open index.php and where you want it to show add
<?php OpenTable("Birthday's");
$birthday_list = '';
$now = getdate(time() - date('Z'));
$sql = "SELECT * FROM ".$db_prefix."_users WHERE ban = '0' AND birthday LIKE '" . $now['mday']."-". $now['mon']."-" . "%'";
$result = $db->sql_query($sql) or btsqlerror($sql);
echo'<img src="http://bvlist.com/images/Birthday_Cake.png" title="cake" alt="cake" />';
while ($row = $db->sql_fetchrow($result))
{
if($row["donator"] == 'true')$donator = true;
else
$donator = false;
$img = '';
if ($row["level"] == "premium") $img .= pic("icon_premium.gif",'','premium');
elseif ($row["level"] == "moderator") $img .= pic("icon_moderator.gif",'','moderator');
elseif ($row["level"] == "admin") $img .= pic("icon_admin.gif",'','admin');
if($donator) $img .= '<img src="http://bvlist.com/images/donator.gif" height="16" width="16" title="donator" alt="donator" />';
if($row["warned"] == "1") $img .= '<img src="http://bvlist.com/images/warning.gif" title="warned" alt="warned" />';
$name = ($row['name'] == '' ? $row['username'] : $row['name']);
$birthday_list .= (($birthday_list != '') ? ', ' : '') ."<a href=\"user.php?op=profile&id=".$row["id"]."\"><font color=\"".getusercolor($row["can_do"])."\">{$name}</font></a>{$img}";
if ($age = (int) substr($row['birthday'], -4))
{
$birthday_list .= ' (' . ($now['year'] - $age) . ')';
}
}
$db->sql_freeresult($result);
echo $birthday_list;
CloseTable(); ?>
and add this image to your images folder
[Updated on: Fri, 05 March 2010 04:32]
|
|
| | Topic: shoutcast radio |
|---|
| | Topic: Google Adverts |
|---|
| Google Adverts [message #3348] |
Mon, 14 December 2009 19:32 |
r35id3nt  Messages: 27 Registered: December 2009 |
Leecher |
|
|
Well ive come up with a way to add your google ads into your site. If you want it just ask and ill post the code
Demo can be found here
[Updated on: Mon, 14 December 2009 19:35]

|
|
|
Pages (3): [1 ]
Current Time: Wed Mar 10 13:06:27 GMT 2010
Total time taken to generate the page: 0.09453 seconds
|