Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Free Torrent Source (http://www.bvlist.com/forumdisplay.php?f=25)
-   -   missing file invite.php (http://www.bvlist.com/showthread.php?t=362)

laur88nt 28th May 2008 01:39

missing file invite.php
 
missing file invite.php from this source

Fynnon 28th May 2008 04:08

Re: missing file invite.php
 
Try this one:

[code]
/*
// +--------------------------------------------------------------------------+
// | Project: FTS - Free Torrent Source |
// +--------------------------------------------------------------------------+
// | Module: invite.php - Invite System. |
// | Version: 0.1 |
// +--------------------------------------------------------------------------+
// | This file is part of FTS. Fts is based on TBDev, |
// | originally by RedBeard of TorrentBits, extensively modified by |
// | Gartenzwerg. |
// | |
// | FTS is free software; you can redistribute it and/or modify |
// | it under the terms of the GNU General Public License as published by |
// | the Free Software Foundation; either version 2 of the License, or |
// | (at your option) any later version. |
// | |
// | FTS is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// | GNU General Public License for more details. |
// | |
// | You should have received a copy of the GNU General Public License |
// | along with FTS; if not, write to the Free Software Foundation, |
// | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +--------------------------------------------------------------------------+
// | FTS IS FREE SOFTWARE, but it still can contain some encoded files. |
// +--------------------------------------------------------------------------+
// | Do not remove above lines! |
// +--------------------------------------------------------------------------+
*/
require "include/bittorrent.php";

dbconn();

loggedinorreturn();
if($invitesys == 'no') stderr('Error!','Invite system is off');
$id = 0 + $_GET["id"];
$type = unesc($_GET["type"]);


stdhead("Invites");





$res = mysql_query("SELECT invites FROM users WHERE id = $id") or sqlerr();
$inv = mysql_fetch_assoc($res);


if ($inv["invites"] != 1){
$_s = "s";
} else {
$_s = "";
}

if ($type == 'new'){
print("
".
"".
"".
"".
"".
"".
"
Invite someone to join F1RW ($inv[invites] invitation$_s left)
Email Address
Email Address must be valid. The invitee will receive an email about your invite.
Message
");



} else {


$rel = mysql_query("SELECT COUNT(*) FROM users WHERE invited_by = $id") or sqlerr();
$arro = mysql_fetch_row($rel);
$number = $arro[0];


$ret = mysql_query("SELECT id, username, email, uploaded, downloaded, status, warned, enabled, donor, email FROM users WHERE invited_by = $id") or sqlerr();
$num = mysql_num_rows($ret);

print("
".
"");

if(!$num){
print("");
} else {


print("");
if ($CURUSER[id] == $id || get_user_class() >= UC_SYSOP)
print("");

print("");
for ($i = 0; $i < $num; ++$i)
{
$arr = mysql_fetch_assoc($ret);
if ($arr[status] == 'pending')
$user = "";
else
$user = "
Current status of invitees ($number)
No invitees yet.
UsernameEmailUploadedDownloadedRatioStatusConfirm
$arr[username]$arr[username]" .($arr["warned"] == "yes" ? "

ciobancai 31st December 2008 12:08

invite
 
I wanna to insert in my source(1.0.2) invite system but i wanna to use invite code not invite with e-mail , can i do this on this source? and if it`s posible I wanna to know who :D , tnx

Dragan3591 6th January 2009 19:52

Yes it is, use the one from TBDev!


All times are GMT +2. The time now is 14:44.

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