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

Original shoutbox modded with :

- privates rooms (Public, VIP and Staff rooms), you can add more if you need

- bbcodes and smiles under message shout

- edit message with bbcodes and smiles

SQL



ALTER TABLE `shoutbox` ADD `room` int(10) unsigned NOT NULL DEFAULT 0;

css in your(s) theme(s) ccs file




.bb_icon, .bb_icon:hover {

background:#999999;

border:1px solid #666666;

-moz-border-radius: 3px;

-webkit-border-radius: 3px;

border-radius: 3px;

padding:1px;

min-width:16px;

cursor:pointer;

}

.bb_icon:hover {

border: 1px solid #dddddd;

}




refresh  time is 2 mins so change for what you want

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6609"]shoutbox.php[/url]

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6610"]shoutedit.php[/url]



BBcode buttons are made by Nikkbu and can be find here [url="http://nikkbu.info/download.php?list.20"]http://nikkbu.info/d...oad.php?list.20[/url]

Change iframe height in index.php to adapt



Upload Manager — 2013-02-12 02:59:22 in v2.08 Mods Completed
wow nice one ;)
Upload Manager — 2013-02-11 16:54:22 in v2.08 Mods Completed
don't well understand

can you post code working ?
Upload Manager — 2013-02-11 13:39:56 in v2.08 Mods Completed
i try that, but no success



#-----------------------------------------------

# DEDUCT

#-----------------------------------------------

if($_POST['gig2'])

{



if ( !is_numeric($_POST['class']))

{

 $res = SQL_Query_exec("SELECT id, uploaded FROM users");

 $arr1[0] = T_("ALL1");

}

else

{

 $res = SQL_Query_exec("SELECT id, uploaded FROM users WHERE class=".$_POST['class']." AND status = 'confirmed'");

 $res1 = SQL_Query_exec("SELECT level FROM groups WHERE group_id=".$_POST['class']."");

 $arr1 = mysql_fetch_row($res1);

}



$sender = ( $_POST["fromsystem"] == "yes" ) ? "0" : $CURUSER["id"];

$subject = T_("SUBJECT_DED");

$msg = sprintf( T_("MSG_DED"), $_POST['gig2'], $arr1[0]);

while($arr = mysql_fetch_row($res))

{



 $gig = strtobytes($_POST['gig2']);

 $gig2 = ( $arr[1] < $gig ) ? $arr[1] : $gig;



 if ( !is_numeric($_POST['class']))

 {

  SQL_Query_exec("UPDATE users SET uploaded = uploaded - ".$gig2." WHERE status = 'confirmed'");

 }

 else

 {

  SQL_Query_exec("UPDATE users SET uploaded = uploaded - ".$gig2." WHERE class=".$_POST['class']." AND status = 'confirmed'");

 }



 SQL_Query_exec("INSERT INTO messages (sender, receiver, added, subject, msg, poster) VALUES ($sender, $arr[0], '".get_date_time()."', ".sqlesc($subject).", ".sqlesc($msg).", $sender)");

}



write_log( sprintf(T_("UP_DEDUCTED"), class_user($CURUSER["username"]), $_POST['gig2'], htmlspecialchars($arr1[0])) );

autolink("upload-bonus.php", T_("UP_UPDATED"));

}



all values are ok but doesn't work, don't understand why
Upload Manager — 2013-02-10 13:32:28 in v2.08 Mods Completed
you're welcome and thanks to bigmax who port it from TBDEV

post updated
Upload Manager — 2013-02-10 11:38:41 in v2.08 Mods Completed
in the file <_<
Reports System — 2013-02-10 09:20:06 in v2 Only Mods Complete
"Mythos, post: 88703":
is easy someone to fix this to receive pm when somebody click the report?i dont know what change to doing
no needed fix this code is ok, it will send to userid=1
try change



'.date('j',$gettime).' d.

for




'.$day[date('j',$gettime)-1].'






and add





$day = array(''.T_("SUN").'', ''.T_("MON").'', ''.T_("TUE").'', ''.T_("WED").'', ''.T_("THU").'', ''.T_("FRI").'', ''.T_("SAT").'');




not tested
personnaly i use autolink instead show_error_msg
"Mythos, post: 88607":
do you have for more ranks?
add this to promote pu to upper class



$gigs2 = add here uploaded minimum to be promote

$ratio = add here ratio minimum to be promote

$res = SQL_Query_exec("SELECT id FROM users WHERE class = '2' AND warned = 'no' AND uploaded >= $gigs2 AND (uploaded / downloaded) >= $ratio");



while ($arr = mysql_fetch_assoc($res)) :



SQL_Query_exec("UPDATE users SET class = '3' WHERE id = $arr[id]");

SQL_Query_exec("INSERT INTO messages (sender, receiver, added, msg, subject) VALUES(0, $arr[id], '$time', 'Vous avez été promu Membre Elite, si votre ratio devient inférieur à 1.00, vous serez rétrogradé.', 'Vous avez été promu : Membre Elite')");



endwhile;



and so on for each class promotion you want

read diff with first one i post and do demote same way

and change message!
problem in tt forum — 2013-02-04 12:45:23 in General Chat
yes you have a switch button to turn it on

seems to be off by default
Promote Member to PU when :

- is not warned,

- added for more than x days,

- has minimum y GB uploaded,

- has ratio >= 1.00.

Demote PU to Member when :

- has ratio < 1.00.

cleanup.php

find



//OPTIMIZE TABLES




above add





//AUTO PROMOTE/DEMOTE



$gigs = 100*1073741824; // 100 GB

$delai = 28*86400; // 28 days

$date = get_date_time(gmtime() - $delai);

$time = get_date_time();



//Promote

$res = SQL_Query_exec("SELECT id FROM users WHERE class = '1' AND warned = 'no' AND added < '$date' AND uploaded >= $gigs AND (uploaded / downloaded) >= '1.0'");



while ($arr = mysql_fetch_assoc($res)) :



SQL_Query_exec("UPDATE users SET class = '2' WHERE id = $arr[id]");

SQL_Query_exec("INSERT INTO messages (sender, receiver, added, msg, subject) VALUES(0, $arr[id], '$time', 'Vous avez été promu Membre Elite, si votre ratio devient inférieur à 1.00, vous serez rétrogradé.', 'Vous avez été promu : Membre Elite')");



endwhile;



//Demote

$ret = SQL_Query_exec("SELECT id FROM users WHERE class = '2' AND uploaded >= $gigs AND (uploaded / downloaded) < '1.0'");



while ($art = mysql_fetch_assoc($ret)) :



SQL_Query_exec("UPDATE users SET class = 1 WHERE id = $art[id]");

SQL_Query_exec("INSERT INTO messages (sender, receiver, added, msg, subject) VALUES(0, $art[id], '$time', 'Vous avez été rétrogradé Membre car votre ratio est inférieur à 1.0.', 'Vous avez été rétrogradé : Membre')");



endwhile;



// END AUTO PROMOTE/DEMOTE

Ban comments — 2013-02-01 12:48:43 in v2.08 Mods Completed
SQL



ALTER TABLE users ADD `commentbanned` CHAR(3) NOT NULL DEFAULT 'no' AFTER `forumbanned`;






account-details.php



find





$forumbanned = $user["forumbanned"] == 'yes';




add after





$commentbanned = $user["commentbanned"] == 'yes';






find





print("<tr><td>".T_("FORUM_BANNED").": </td><td align='left'><input name='forumbanned' value='yes' type='radio' " . ($forumbanned ? " checked='checked'" : "") . " />Yes <input name='forumbanned' value='no' type='radio' " . (!$forumbanned ? " checked='checked'" : "") . " />No</td></tr>\n");




add after





print("<tr><td>Comments Banned: </td><td align='left'><input name='commentbanned' value='yes' type='radio' " . ($commentbanned ? " checked='checked'" : "") . ">Yes <input name='commentbanned' value='no' type='radio' " . (!$commentbanned ? " checked='checked'" : "") . " />No</td></tr>\n");






admin-modtasks.php



find





$forumbanned = sqlesc($_POST["forumbanned"]);




add after





$commentbanned = sqlesc($_POST["commentbanned"]);






find in the big query





forumbanned=$forumbanned,




change for





forumbanned=$forumbanned, commentbanned=$commentbanned,






comments.php



find





begin_frame(T_("COMMENTS"));






change for





if($CURUSER["commentbanned"]=="yes")

show_error_msg("Error","You was banned to use comments.<br />Contact Staff!",0);

else

{

begin_frame(T_("COMMENTS"));






find





end_frame();

stdfoot();




change for





end_frame();

}

stdfoot();






torrents-details.php



find





begin_frame(T_("COMMENTS"));




change for





if($CURUSER["commentbanned"]=="yes")

show_error_msg("Error","You was banned to use comments.<br />Contact Staff!",0);

else

{

begin_frame(T_("COMMENTS"));






find





end_frame();

stdfoot();




change for





end_frame();

}

stdfoot();

good idea  ;)

will try this soon
header.php

find



<div class='wrapper'>

add above




<a name='top'></a>






footer.php



find





<!-- START FOOTER CODE -->




add above





<center><a href="#top"><b>Top</b></a></center>




looks nice :)
je vois pas le rapport, faut pas + de temps pour bien écrire ;)
Les fautes d'orthographe
"ArcticWolf, post: 88381":
.................. the original tbdev was ugly but it showed an true tree and not just the people someone invited.
where can i find this code ?
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