Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
User Posts

Go to Profile

TorrentTrader Installer — 2009-06-12 17:07:20 in General Chat
Here I have just based me of a script of Xbtit to do one to install for torrenttrader. All functions creation of database, importation of the file sql, configuration of the tracker.

I have concern for the moment it is the creation of an account owner. The account created well in the database but when I want to connect anything does not pass

I will desactivate this function time that I find. If some is interress

Import your member in punbb with the password associated has TT, you will not have more has to warn your members has to change their master key which 123456.

This script is based on that of djhowarth

convert.php

<?php



require_once("backend/functions.php");

dbconn(false);

loggedinonly();



stdhead("PunBB User Import");





$insertusers = mysql_query("INSERT INTO punbb_users (id, group_id, username, realname, password, email, registration_ip) SELECT id, username, username, password, email, ip, class FROM `users`") or die(mysql_error());



if (!$insertusers)

{

show_error_msg("PunBB Import Failed!", "Something Went Wrong Their!!!!", 1);

}

else



show_error_msg("PunBB Import Successfull", "Everything Was Okai", 1);





stdfoot();

?>
Some information

[url="http://macdailynews.com/index.php/weblog/comments/20830/"]http://macdailynews.com/index.php/weblog/comments/20830/[/url]

[url="http://news.scotsman.com/topstories/Pirate-Bay-founders-jailed-after.5180077.jp"]http://news.scotsman.com/topstories/Pirate...fter.5180077.jp[/url]
Thank you TorrentialStorm

post 1 updated
There is a concern it is that it one can connect oneself more once put the code in function
From time to time, you may want to turn your forum off to the public while you perform maintenance, update versions, etc. When you turn your forum off, visitors will receive a message that states that the forum is temporarily unavailable. Administrators will still be able to see the forum.

to add in backend/config.php

$closeforums  = false; // false = forum on, true = forum off.

$message = '<b><font color="red">We are currently performing updates, please check back soon!</font></b>'; // Message to show your users why the forum is off...
to add in backend/function.php before ?>


function forum_closed() {

global $closeforums, $message;

if ($closeforums && $GLOBALS["CURUSER"]["control_panel"] != "yes")

show_error_msg("Sorry","$message", 1);

}





open forums.php and add after: loggedinonly();



forum_closed();



post updated thank you TorrentialStorm
SQL

ALTER TABLE `users` ADD `forum_access` DATETIME NOT NULL AFTER `last_access`;
In forums.php find


$forums_res = mysql_query("SELECT forumcats.id AS fcid, forumcats.name AS fcname, forum_forums.* FROM forum_forums LEFT JOIN forumcats ON forumcats.id = forum_forums.category ORDER BY forumcats.sort, forum_forums.sort, forum_forums.name") or die(mysql_error());





Above that add:



mysql_query("UPDATE users SET forum_access='" . get_date_time() . "' WHERE id={$CURUSER["id"]}");// or die(mysql_error());





Find



//Top posters



Above that add:

//Users active
$forum_t = gmtime() - 600; //you can change this value to whatever span you want

$forum_t = sqlesc(get_date_time($forum_t));

$res = mysql_query("SELECT id, username, class FROM users WHERE forum_access >= $forum_t ORDER BY forum_access DESC") or print(mysql_error());

while ($arr = mysql_fetch_assoc($res))

{

if ($forumusers) $forumusers .= ",\n";

switch ($arr["class"])

{

case 15:

$arr["username"] = "<font color=#011FFD>" . $arr["username"] . "</font>";

break;

case 14:

$arr["username"] = "<font color=#FD0113>" . $arr["username"] . "</font>";

break;

case 9:

$arr["username"] = "<font color=red>" . $arr["username"] . "</font>";

break;

case 8:

$arr["username"] = "<font color=red>" . $arr["username"] . "</font>";

break;

case 7:

$arr["username"] = "<font color=#03FCF3>" . $arr["username"] . "</font>";

break;

case 6:

$arr["username"] = "<font color=orange>" . $arr["username"] . "</font>";

break;

case 5:

$arr["username"] = "<font color=#FAFD01>" . $arr["username"] . "</font>";

break;

case 4:

$arr["username"] = "<font color=#FF00FF>" . $arr["username"] . "</font>";

break;

case 3:

$arr["username"] = "<font color=#03FC0F>" . $arr["username"] . "</font>";

break;

case 2:

$arr["username"] = "<font color=black>" . $arr["username"] . "</font>";

break;

case 1:

$arr["username"] = "<font color=#FA8072>" . $arr["username"] . "</font>";

break;

}

if ($CURUSER)

$forumusers .= "<a href=account-details.php?id=" . $arr["id"] . ">" . $arr["username"] . "</a></a>";

}

if (!$forumusers)

$forumusers = "There have been no active users in the last 15 minutes.";

?>

<br>

<table width=100% cellspacing=0 cellpadding=5><tr>

<td class="table_col1" align="left">Active Forum Simpsons</td></tr>

</tr><td class=table_col2>

<?=$forumusers?>

</td></tr>

</tr><td class=table_col1>

L

i use ubuntu server intrepid
.htaccess problem — 2009-03-15 16:44:11 in General Chat
it was well its however I always activate this odd function Thank you still
.htaccess problem — 2009-03-15 15:40:18 in General Chat
I use the MOD User Stats Image and I must put a file .htaccess.

but when I upload on my ftp, I do not include/understand it is removed all alone.

I tested 4 times but nothing has to make it disappears.

what do I have to make? thank you for your assistance

My server one is dedicated from santrex with ubuntu intrepid
When I click to give them into normal that do not do it and yet that m' informed although they are become again normal but when I look at the details of a torrent it is always in freelech
I have a concern. is there are 5 member of the staff which voted yes but the results were 4 no and 1 yes, how that done it?

thank you
since I changed server the image is not posted any more. however all is activated (Gd, mod_rewrite)
Bonne et heuseuse Ann
[Mod] Contact — 2008-12-29 11:51:48 in v2 Only Mods Complete
the line which you quote they are those

//

// TorrentTrader v2.x

// Created by M@f!eusO http://www.topliens.net

// Modified by Mcgyver http://www.visualtracker.net

// http://www.torrenttrader.org

//

//


look at the link of demo referred to above me it functions
I have a problem with the image does not post myself, I have a red square,and when I click above I have this error

Quote:
Fatal error: Call to undefined function: imagettftext() in /home/visualhi/domains/visualtracker.net/public_html/statsimage.php on line 64

line 64

Quote:
imagettftext($im, $size, 0, 10, 20, $colour, $font, "Username: $row[username]");

and that gives me its as addresses image

Quote:
[url="http://www.mydomaine.net/userstats/2095.png"]http://www.mydomaine.net/userstats/2095.png[/url]
[Mod] Contact — 2008-12-27 17:38:35 in v2 Only Mods Complete
That sends an email to the webmaster with the address defined in config.php no sql

[url="http://www.visualtracker.net/contacts.php"]demo[/url]
[Mod] Contact — 2008-12-27 16:51:19 in v2 Only Mods Complete
This MOD allows has your members to contact you in order to announce you any problem. They have the choice to or not put it into urgent. Practical because that avoids having its PM encumbered. Afflicted if I did not translate it I did not succeed

create contact.php

Quote:
<?php//

//  TorrentTrader v2.x

// Created by M@f!eusO [url="http://www.topliens.net"]http://www.topliens.net[/url]

// Modified by Mcgyver [url="http://www.visualtracker.net"]http://www.visualtracker.net[/url]

// [url="http://www.torrenttrader.org"]http://www.torrenttrader.org[/url]

//

//

require_once("backend/functions.php");

require_once("backend/config.php");

dbconn(false);

loggedinonly();

stdhead("Contact");

begin_frame("Contacter le webmaster");

//Pour tous les param
new loading.gif

"XxBeliaLxX, post: 45730":
look here :  [url="http://www.torrenttrader.org/index.php?showtopic=8818"]http://www.torrenttrader.org/index.php?showtopic=8818[/url]
thank you  :blink:
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728