Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares
Reply
  #31  
Old 7th August 2009, 23:31
bit4you bit4you is offline
Senior Member
 
Join Date: Apr 2008
P2P
Posts: 28
Default
is that possible chops to make for webseed.
so the user to register can their root IP and if seeden that the time is thus geseedet to that the file by roots with 100mbit?

my user a root admin they knew webseed make and wanted to ask whether someone these chop make could for the H2 SOURCE?
Thus the user there the roots IP carry dan know the other user that the one webseed with the files with max 100 mbit /s leechen could.

Click the image to open in full size.

Someone knows chops writes with the files the age and subs to adjust can whom one the file uploaded

thx and best regards for help

Last edited by bit4you; 4th September 2009 at 01:00.
Reply With Quote
  #32  
Old 17th September 2009, 22:33
myky myky is offline
Member
 
Join Date: Aug 2009
P2P
Posts: 2
Default logo
Quote:
Originally Posted by gugudada View Post
Where (which file) can i edit the logo ? In this source has some kind of a flash presentation. I just want to change it with a logo.

Other Issue is when i confirm new users in 'unconfirmed users' and for a split second the username will appear on the frontpage, but next page refresh and the user has totally been deleted.


Any help guys
Thanks
In pic folder its a file called logo.swf...create your own logo image and save as logo.swf and overwrite original file :)
Reply With Quote
  #33  
Old 20th September 2009, 21:29
blkmaster's Avatar
blkmaster blkmaster is offline
Senior Member
 
Join Date: Nov 2008
P2P
Posts: 16
Default
first you must make a screenshot and second you must fix some bugs not all of them because this is our job but....
Reply With Quote
  #34  
Old 2nd November 2009, 17:36
rame rame is offline
Member
 
Join Date: Nov 2009
P2P
Posts: 5
Default
hy
when i try to open the
http://localhost/install/index.php

with xampp, it comes this error:

Parse error: syntax error, unexpected $end in C:\xampp\htdocs\upload\install\functions.php on line 237

please help =)

thx, rame =)
Reply With Quote
  #35  
Old 2nd November 2009, 17:56
daffy's Avatar
daffy daffy is offline
Senior Member
 
Join Date: Mar 2009
United Kingdom
Posts: 550
Default
is this sat inside htdocs or in htdocs/upload? looks like its in sub dir

Bump:
Quote:
Originally Posted by Fynnon View Post
This is the easiest to install tracker source
Unrar the archive files then on your server go to http://localhost/install/index.php
then follow the instructions!
looks like you have htdocs/upload/sitehere so put http://localhost/upload/install/install.php or move site into htdocs/
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?"
"I Kill You!" simples


http://i.imgur.com/DtcRfH5.gif

I also Setup And Modify Trackers PM For Details
Reply With Quote
  #36  
Old 2nd November 2009, 18:13
rame rame is offline
Member
 
Join Date: Nov 2009
P2P
Posts: 5
Default
i have xampp, on my computer..so i can test this torrent script

AND now, i copied all the files in the upload folder, into my htdocs folder
and the folder on my pc is:
C:\xampp\htdocs\install\index.php


and when i try to open http://127.0.0.1/install/index.php it comes this error

Parse error: syntax error, unexpected $end in C:\xampp\htdocs\install\functions.php on line 237
Reply With Quote
  #37  
Old 2nd November 2009, 19:20
KustomizeR KustomizeR is offline
Senior Member
 
Join Date: May 2008
Posts: 26
Default
Quote:
Originally Posted by rame View Post
i have xampp, on my computer..so i can test this torrent script

AND now, i copied all the files in the upload folder, into my htdocs folder
and the folder on my pc is:
C:\xampp\htdocs\install\index.php


and when i try to open http://127.0.0.1/install/index.php it comes this error

Parse error: syntax error, unexpected $end in C:\xampp\htdocs\install\functions.php on line 237

That because there is a non-closed interogation with } in the functions.php file.So you have to fin that interogation/function and put } at the end of it or post your functions.php file here so we can help you.
Reply With Quote
  #38  
Old 2nd November 2009, 19:26
daffy's Avatar
daffy daffy is offline
Senior Member
 
Join Date: Mar 2009
United Kingdom
Posts: 550
Default
works fine on my server, xampp i get errors.
Attached Thumbnails
sss.jpg  
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?"
"I Kill You!" simples


http://i.imgur.com/DtcRfH5.gif

I also Setup And Modify Trackers PM For Details
Reply With Quote
  #39  
Old 2nd November 2009, 20:32
rame rame is offline
Member
 
Join Date: Nov 2009
P2P
Posts: 5
Default
heres the code of functions.php

PHP Code:

<?php
# IMPORTANT: Do not edit below unless you know what you are doing!
if(!defined('IN_INSTALL'))
  die(
'Hacking attempt!');
  
  function 
validusername($username)
{
    if (
$username == "")
      return 
false;

    
// The following characters are allowed in user names
    
$allowedchars "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";

    for (
$i 0$i strlen($username); ++$i)
      if (
strpos($allowedchars$username[$i]) === false)
        return 
false;

    return 
true;
}
function 
validemail($email) {
    return 
preg_match('/^[\w.-]+@([\w.-]+\.)+[a-z]{2,6}$/is'$email);
}
function 
mksecret($len 20) {
    
$ret "";
    for (
$i 0$i $len$i++)
        
$ret .= chr(mt_rand(0255));
    return 
$ret;
}
function 
get_date_time ()
{
    return 
date("Y-m-d H:i:s");
}
function 
sqlerr($file ''$line '')
{
  print(
"<table border=0 bgcolor=blue align=left cellspacing=0 cellpadding=10 style='background: blue'>" .
    
"<tr><td class=embedded><font color=white><h1>SQL Error</h1>\n" .
  
"<b>" mysql_error() . ($file != '' && $line != '' "<p>in $file, line $line</p>" "") . "</b></font></td></tr></table>");
  die;
}
function 
sqlesc($value) {
    
// Stripslashes
   
if (get_magic_quotes_gpc()) {
       
$value stripslashes($value);
   }
   
// Quote if not a number or a numeric string
   
if (!is_numeric($value)) {
       
$value "'" mysql_real_escape_string($value) . "'";
   }
   return 
$value;
}
function 
mkglobal($vars) {
    if (!
is_array($vars))
        
$vars explode(":"$vars);
    foreach (
$vars as $v) {
        if (isset(
$_GET[$v]))
            
$GLOBALS[$v] = unesc($_GET[$v]);
        elseif (isset(
$_POST[$v]))
            
$GLOBALS[$v] = unesc($_POST[$v]);
        else
            return 
0;
    }
    return 
1;
}
function 
unesc($x) {
    if (
get_magic_quotes_gpc())
        return 
stripslashes($x);
    return 
$x;
}
function 
safe_email($email) {     
    
$email str_replace("<","",$email); 
    
$email str_replace(">","",$email); 
    
$email str_replace("\'","",$email); 
    
$email str_replace('\"',"",$email); 
    
$email str_replace("\\\\","",$email); 
    return 
$email
}
function 
check_email ($email) {
    
# Check EMail Function v.02 by xam!
    
if(ereg("^([A-Za-z0-9]+_+)|([A-Za-z0-9]+\-+)|([A-Za-z0-9]+\.+)|([A-Za-z0-9]+\++))*[A-Za-z0-9]+@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$"$email)) 
        return 
true;
    else
        return 
false;
}
function 
bark($msg) {
    
stdmsg("Signup Failed! (See Below)"$msg,false);
    exit;
}
function 
stdmsg($heading$text$htmlstrip TRUE)
{
    if (
$htmlstrip) {
        
$heading htmlspecialchars(trim($heading));
        
$text htmlspecialchars(trim($text));
    }
    print(
"<table class=main width=737 border=0 cellpadding=0 cellspacing=0><tr><td class=embedded>\n");
        if (
$heading)
            print(
"<h2>$heading</h2>\n");
    print(
"<table width=100% border=1 cellspacing=0 cellpadding=10><tr><td class=text>\n");
    print(
$text "</td></tr></table></td></tr></table>\n");
}
function 
int_check($value) {
    if ( 
is_array($value) ) {
        foreach (
$value as $valint_check ($val);
    } else {
        if (!
is_valid_id($value)) {
            
bark("Invalid ID! For security reason, we have been logged this action.");        }            
        else
            return 
true;
    }
}
function 
is_valid_id($id)
{
  return 
is_numeric($id) && ($id 0) && (floor($id) == $id);
}
  function 
dbconn()
{
    global 
$DATABASE;

    if (!@
mysql_connect($DATABASE[mysql_host], $DATABASE[mysql_user], $DATABASE[mysql_pass]))
    {
      switch (
mysql_errno())
      {
        case 
1040:
        case 
2002:
            if (
$_SERVER[REQUEST_METHOD] == "GET")
                die(
"<html><head><meta http-equiv=refresh content=\"5 $_SERVER[REQUEST_URI]\"></head><body><table border=0 width=100% height=100%><tr><td><h3 align=center>The server load is very high at the moment. Retrying, please wait...</h3></td></tr></table></body></html>");
            else
                die(
"Too many users. Please press the Refresh button in your browser to retry.");
        default:
            die(
"[" mysql_errno() . "] dbconn: mysql_connect: " mysql_error());
      }
    }
    
mysql_select_db($DATABASE[mysql_db])
        or die(
'dbconn: mysql_select_db: ' mysql_error());

}
  function 
step ($text ''$stepname ''$stepnumber '') {
      
?>
      <p><table border=1 cellspacing=0 cellpadding=10 bgcolor=black width=900 align=center><tr><td style='padding: 10px; background: black' class=text>
<font color=white><center><b><?=$text?></b> <div align=right>STEP: <?=$stepname?> (<?=$stepnumber?>/8)</div>
</font></center></td></tr></table></p>
<table border=1 cellspacing=0 cellpadding=10 width=900 align=center><tr><td style='padding: 10px;' class=text><div align=justify>
      <?
  
}
  function 
ReadConfig ($configname) {
    if (
strstr($configname',')) {
        
$configlist explode(','$configname);
        foreach (
$configlist as $key=>$configname) {
            
ReadConfig(trim($configname));
        }
    } else {
        
$configname basename($configname);
        
$path ROOT_PATH.'config/'.$configname;
        if (!
file_exists($path)) {
            die(
"<font color=red>File [<b>".htmlspecialchars($configname)."</b>] doesn't exist!.</font><br><font color=blue>Before the setup starts, please ensure that you have properly configured file and directory access permissions. Please see below.</font><br><br>chmod 777 CONFIG (config directory).<br>chmod 777 CONFIG/main (the file which save the main settings).");
        }
        
$fp fopen($path'r');
        
$content '';
        while (!
feof($fp)) {
            
$content .= fread($fp102400);
        }
        
fclose($fp);
        if (empty(
$content)) {
            if (
$configname == 'XAM') {
                
Header("Location: index.php");                  
                die; 
            }
            return array();
        }
        
$tmp        = @unserialize($content);
        if (empty(
$tmp)) {
            if (
$configname == 'XAM') {
                
Header("Location: index.php");                  
                die;                
            }
            die(
"<font color=red>Cannot read file [<b>".htmlspecialchars($configname)."</b>]!.</font><br><font color=blue>Before the setup starts, please ensure that you have properly configured file and directory access permissions. Please see below.</font><br><br>chmod 777 CONFIG (config directory).<br>chmod 777 CONFIG/main (the file which save the main settings).");
        }
        
$GLOBALS[$configname] = $tmp;
        return 
true;
    }
}

function 
WriteConfig ($configname$config) {
    
$configname basename($configname);
    
$path ROOT_PATH.'config/'.$configname;
    if (!
file_exists($path) || !is_writable ($path)) {
        die(
"<font color=red>Cannot read file [<b>".htmlspecialchars($configname)."</b>]!.</font><br><font color=blue>Before the setup starts, please ensure that you have properly configured file and directory access permissions. Please see below.</font><br><br>chmod 777 CONFIG (config directory).<br>chmod 777 CONFIG/main (the file which save the main settings).");
    }
    
$data = @serialize($config);
    if (empty(
$data)) {
        die(
"<font color=red>Cannot serialize file [<b>".htmlspecialchars($configname)."</b>]</font><br><font color=blue>Before the setup starts, please ensure that you have properly configured file and directory access permissions. Please see below.</font><br><br>chmod 777 CONFIG (config directory).<br>chmod 777 CONFIG/main (the file which save the main settings).");
    }
    
$fp = @fopen ($path'w');
    if (!
$fp) {
        die(
"<font color=red>Cannot open file [<b>".htmlspecialchars($configname)."</b>] to save info!.</font><br><font color=blue>Before the setup starts, please ensure that you have properly configured file and directory access permissions. Please see below.</font><br><br>chmod 777 CONFIG (config directory).<br>chmod 777 CONFIG/main (the file which save the main settings).");
    }
    
$Res = @fwrite($fp$data);
    if (empty(
$Res)) {
        die(
"<font color=red>Cannot save info in file (error in serialisation) [<b>".htmlspecialchars($configname)."</b>] to save info!.</font><br><font color=blue>Before the setup starts, please ensure that you have properly configured file and directory access permissions. Please see below.</font><br><br>chmod 777 CONFIG (config directory).<br>chmod 777 CONFIG/main (the file which save the main settings).");
    }
    
fclose($fp);
    return 
true;
}

function 
GetVar ($name) {
    if ( 
is_array($name) ) {
        foreach (
$name as $varGetVar ($var);
    } else {
        if ( !isset(
$_REQUEST[$name]) )
            return 
false;
        if ( 
get_magic_quotes_gpc() ) {
            
$_REQUEST[$name] = ssr($_REQUEST[$name]);
        }
        
$GLOBALS[$name] = $_REQUEST[$name];
        return 
$GLOBALS[$name];
    }
}

function 
ssr ($arg) {
    if (
is_array($arg)) {
        foreach (
$arg as $key=>$arg_bit) {
            
$arg[$key] = ssr($arg_bit);
        }
    } else {
        
$arg stripslashes($arg);
    }
    return 
$arg;
}
function 
tr($x,$y,$noesc=0,$relation='') {
    if (
$noesc)
        
$a $y;
    else {
        
$a htmlspecialchars($y);
        
$a str_replace("\n""<br />\n"$a);
    }
    print(
"<tr".( $relation " relation = \"$relation\"" "")."><td class=\"heading\" valign=\"top\" align=\"right\">$x</td><td valign=\"top\" align=left>$a</td></tr>\n");
}
?>
Reply With Quote
  #40  
Old 2nd November 2009, 20:34
daffy's Avatar
daffy daffy is offline
Senior Member
 
Join Date: Mar 2009
United Kingdom
Posts: 550
Default
try this one. if no work, check php.ini

Short Open Tag support (see php.ini for: short_open_tag = On)
GD2 Support (see php.ini for: extension=php_gd2.dll)
Mod Rewrite Support (see httpd.conf for: LoadModule rewrite_module modules/mod_rewrite.so)
Attached Files
File Type: php functions.php (81.2 KB, 119 views)
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?"
"I Kill You!" simples


http://i.imgur.com/DtcRfH5.gif

I also Setup And Modify Trackers PM For Details

Last edited by daffy; 2nd November 2009 at 20:36. Reason: .
Reply With Quote
Reply

Tags
tsse

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



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