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

ok, found why you have this error

you updated a pending user directly in SQL but you forget to change last_access

if last_access is 0000-00-00 00:00:00 utc_to_tz($arr["last_access"]) can't be calculate so you have this error
"Tiloup, post: 88367":
Thanks you AjuriS  :)

..error >>

Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct() [<a href='datetime.--construct'>datetime.--construct</a>]: Failed to parse time string (---) at position 0 (-): Unexpected character' in /home/xxxx/xxx/backend/functions.php:736 Stack trace: #0 /home/xxxx/xxxx/backend/functions.php(736): DateTime->__construct('---', Object(DateTimeZone)) #1 /home/xxx/xxxx/invitetree.php(125): utc_to_tz('---') #2 {main} thrown in /home/xxxx/xxxxx/backend/functions.php on line 736  :(

what do you have in functions on line 736 ?
update with languages

add-on pending invitees

staff can see all user's tree

curuser can  only see his tree

guest can see nothing

you need [url="https://www.torrenttrader.org/topic/17452-class-colors-function-for-208/"]Class Colors Function for 2.08 by BigMax1[/url]

or delete every class_user in the file

you also need [url="https://www.torrenttrader.org/topic/14270-prune-invites/"]Prune Invites[/url]

you also need function get_ratio_color()

if you don't have it, add this into function.php



function get_ratio_color($ratio) {

if ($ratio < 0.1) return "#ff0000";

if ($ratio < 0.2) return "#ee0000";

if ($ratio < 0.3) return "#dd0000";

if ($ratio < 0.4) return "#cc0000";

if ($ratio < 0.5) return "#bb0000";

if ($ratio < 0.6) return "#aa0000";

if ($ratio < 0.7) return "#990000";

if ($ratio < 0.8) return "#880000";

if ($ratio < 0.9) return "#770000";

if ($ratio < 1) return "#660000";

return "#000000";

}

you can change colors as you like





english.php




//Invite Tree

$LANG["NOT_ALLOW"] = "You are not allow to see other user's trees!";

$LANG["NO_INVITEES_FOUND"] = "This member doesn't have invitee.";

$LANG["NO_INVITEES_CURUSER"] = "You don't have invitee.";

$LANG["INVITE_TREE_FOR"] = "Invite Tree for ";

$LANG["MY_INVITE_TREE"] = "My Invitees";

$LANG["PENDING_ACCOUNT[0]"] = " account";

$LANG["PENDING_ACCOUNT[1]"] = " accounts";

$LANG["WAIT_VALID"] = " waiting for confirmation";

$LANG["EMAIL_SENT_TO"] = "Email Addressee";

$LANG["INVITE_DATE"] = "Date Invitation";

$LANG["AVAILABLE_TO"] = "Valid until";

$LANG["TIME_REMAINDER"] = "Remaining Time";

$LANG["INVITED"] = " invited ";

$LANG["YOU_INVITE"] = "You invited ";

$LANG["PERSON[0]"] = " Person";

$LANG["PERSON[1]"] = " Persons";

$LANG["INSCRIPTION"] = "Inscription";

$LANG["BACK_TO_PROFIL"] = "Back to User Profile";






french.php





//Invite Tree

$LANG["NOT_ALLOW"] = "Vous n'avez pas la permission de voir les invités des autres!";

$LANG["NO_INVITEES_FOUND"] = "Ce membre n'a aucun invité.";

$LANG["NO_INVITEES_CURUSER"] = "Vous n'avez aucun invité.";

$LANG["INVITE_TREE_FOR"] = "Invités de ";

$LANG["MY_INVITE_TREE"] = "Mes invités";

$LANG["PENDING_ACCOUNT[0]"] = " compte";

$LANG["PENDING_ACCOUNT[1]"] = " comptes";

$LANG["WAIT_VALID"] = " en attente de validation";

$LANG["EMAIL_SENT_TO"] = "Email destinataire";

$LANG["INVITE_DATE"] = "Date d'invitation";

$LANG["AVAILABLE_TO"] = "Valable jusqu'au";

$LANG["TIME_REMAINDER"] = "Temps restant";

$LANG["INVITED"] = " a invité ";

$LANG["YOU_INVITE"] = "Vous avez invité ";

$LANG["PERSON[0]"] = " personne";

$LANG["PERSON[1]"] = " personnes";

$LANG["INSCRIPTION"] = "Inscription";

$LANG["BACK_TO_PROFIL"] = "Retour au profil du membre";




http://devscorner.xyz/uploads/post-14929-0-42560900-1358698157.pnghttp://devscorner.xyz/uploads/post-14929-0-44429700-1358697321.pnghttp://devscorner.xyz/uploads/post-14929-0-59446700-1358697786.pnghttp://devscorner.xyz/uploads/post-14929-0-25552800-1358696765.png

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6496"]invitetree.php[/url]
I don't really understand why using 3 files to do same we have in one file
a small error



if($classy[3]=="no"){

$warn="<img src='".$site_config[sITEURL]."/images/disabled.png' alt='disabled' border=0>";

}else{ $disabled=""; }




change for





if($classy[3]=="no"){

$disabled="<img src='".$site_config[sITEURL]."/images/disabled.png' alt='disabled' border=0>";

}else{ $disabled=""; }

delete , after

rangclass='$rangclass'
I think it's better to use



$CURUSER["control_panel"] == "yes"



for those who have more than 7 class
Upload Manager — 2013-01-13 19:54:59 in v2.08 Mods Completed
"Romano1, post: 88154":
AzuriS an "1" appears in the end. Dont now why, great code thank you.


add to english.php



$LANG["ALL1"] = "ALL";

add to french.php




$LANG["ALL1"] = "TOUTES";






also change in english.php







$LANG["MSG_ADD"] = "Hey, we have added %s GB upload to your account!

Please do not think this is a time to not seed. The same rules as always apply and we hate leechers...

So, if you're not a leecher, download something nice and enjoy!nClass Concerned: %s.";

;




for





$LANG["MSG_ADD"] = "Hey, we have added %s upload to your account!

Please do not think this is a time to not seed. The same rules as always apply and we hate leechers...

So, if you're not a leecher, download something nice and enjoy!nClass Concerned: %s.";






and





$LANG["MSG_DED"] = "Hey, we have deducte %s GB upload to your account!

Please do not think this is a time to not seed. The same rules as always apply and we hate leechers...

So, if you're not a leecher, download something nice and enjoy!nClass Concerned: %s.";




for





$LANG["MSG_DED"] = "Hey, we have deducte %s upload to your account!

Please do not think this is a time to not seed. The same rules as always apply and we hate leechers...

So, if you're not a leecher, download something nice and enjoy!nClass Concerned: %s.";





post updated
Upload Manager — 2013-01-13 17:32:06 in v2.08 Mods Completed
update with language system

english.php

add



//Upload Manager

$LANG["UP_MANAGER"] = "Upload Manager";

$LANG["UP_UPDATED"] = "Done.OK.";

$LANG["UP_ADD"] = "<b>ADD</b> to upload";

$LANG["UP_DED"] = "<b>DEDUCT</b> from upload";

$LANG["UP_MUL"] = "<b>MULTIPLY</b> current upload";

$LANG["UP_DIV"] = "<b>DIVIDE</b> current upload";

$LANG["UP_ADDED"] ="%s added %s GB Upoad to all members from classe: %s";

$LANG["UP_DEDUCTED"] ="%s deducted %s GB Upoad to all members from classe: %s";

$LANG["UP_MULTIPLIED"] ="%s multiplied by %s Upoad to all members from classe: %s";

$LANG["UP_DIVIDED"] ="%s divided by %s Upoad to all members from classe: %s";

$LANG["TO_ALL_MEMBERS"] = "To All Members";

$LANG["INFO_UP_BONUS"] = "<p style='margin-top:10px; margin-bottom:20px' align='center'>Choose the class at you want to modify the upload or preserves <i>To all members</i><br />

then click at one of the values listed below, which you have chosen for this action.<br />

Marks <i>System</i> if you want that it be the sender of messages.</p>";

$LANG["SUBJECT_ADD"] = "We have added GB Upload to your account";

$LANG["MSG_ADD"] = "Hey, we have added %s upload to your account!

Please do not think this is a time to not seed. The same rules as always apply and we hate leechers...

So, if you're not a leecher, download something nice and enjoy!nClass Concerned: %s.";

$LANG["SUBJECT_DED"] = "We have deducte GB Upload to your account";

$LANG["MSG_DED"] = "Hey, we have deducte %s upload to your account!

Please do not think this is a time to not seed. The same rules as always apply and we hate leechers...

So, if you're not a leecher, download something nice and enjoy!nClass Concerned: %s.";

$LANG["SUBJECT_MUL"] = "We have MULTIPLIED your upload";

$LANG["MSG_MUL"] = "Hey, we have MULTIPLIED your upload by %s!

Please do not think this is a time to not seed. The same rules as always apply and we hate leechers...

So, if you're not a leecher, download something nice and enjoy!nClass Concerned: %s";

$LANG["SUBJECT_DIV"] = "We have DIVIDED your upload";

$LANG["MSG_DIV"] = "[size=2][color=#FF2500]Hey, we have DIVIDED your upload by %s!


Please do not think this is a time to not seed. The same rules as always apply and we hate leechers...

So, if you're not a leecher, download something nice and enjoy!nClass Concerned: %s";

$LANG["ALL1"] = "ALL";

i'm not english so if something wrong change it!!!



french.php

add




//Upload Manager

$LANG["UP_MANAGER"] = "Gestion Upload des membres";

$LANG["UP_UPDATED"] = "Opération effectuée.";

$LANG["UP_ADD"] = "<b>Ajouter</b> à l'Upload";

$LANG["UP_DED"] = "<b>Déduire</b> de l'Upload";

$LANG["UP_MUL"] = "<b>Multiplier</b> l'Upload";

$LANG["UP_DIV"] = "<b>Diviser</b> l'Upload";

$LANG["UP_ADDED"] ="%s a ajouté %s d'Upoad aux membres de la classe: %s";

$LANG["UP_DEDUCTED"] ="%s a déduit %s d'Upoad aux membres de la classe: %s";

$LANG["UP_MULTIPLIED"] ="%s a multiplié par %s l'Upoad des membres de la classe: %s";

$LANG["UP_DIVIDED"] ="%s a divisé par %s l'Upoad des membres de la classe: %s";

$LANG["TO_ALL_MEMBERS"] = "A tous les membres";

$LANG["INFO_UP_BONUS"] = "<p style='margin-top:10px; margin-bottom:20px' align='center'>Choisissez la classe dont vous voulez modifier l'Upload,<br /><br />(par défaut, tous les membres sont sélectionnés).<br /><br />Cochez <i>System</i> si vous voulez que le message associé soit envoyé par lui.<br /><br />Choississez ensuite une des options listées ci-dessous.</p>";

$LANG["SUBJECT_ADD"] = "Vous avez reçu un crédit d'Upload";

$LANG["MSG_ADD"] = "[size=2][color=#FF2500]Bonjour, votre Upload a été crédité de %s.nCe n'est pas une raison pour ne pas seeder!nLes règles ne changent pas et nous détestons toujours autant les leecheurs!!!nDonc, si vous n'êtes pas un leecheur, profitez-en pour télécharger quelque chose et vous faire plaisir.nCette mesure est appliquée à la classe suivante : %s.";

$LANG["SUBJECT_DED"] = "Votre Upload a été débité";

$LANG["MSG_DED"] = "Bonjour, votre Upload a été débité de %s.nCe n'est pas une raison pour ne pas seeder!nLes règles ne changent pas et nous détestons toujours autant les leecheurs!!!nCette mesure est appliquée à la classe suivante : %s.";

$LANG["SUBJECT_MUL"] = "Votre Upload a été multiplié";

$LANG["MSG_MUL"] = "Bonjour, votre Upload a été multiplié par %s.nCe n'est pas une raison pour ne pas seeder!nLes règles ne changent pas et nous détestons toujours autant les leecheurs!!!nCette mesure est appliquée à la classe suivante : %s.";

$LANG["SUBJECT_DIV"] = "Votre Upload a été divisé";

$LANG["MSG_DIV"] = "Bonjour, votre Upload a été divisé par %s.nCe n'est pas une raison pour ne pas seeder!nLes règles ne changent pas et nous détestons toujours autant les leecheurs!!!nCette mesure est appliquée à la classe suivante : %s.";

$LANG["ALL1"] = "TOUTES";






little update for class translation in messages and log



find 4 times





$arr1 = mysql_fetch_row($res1);




add after everyone





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






add to languages if you don't have yet



english.php





$LANG["Member"] = "Member";

$LANG["Power User"] = "Power User";

$LANG["VIP"] = "VIP";

$LANG["Uploader"] = "Uploador";

$LANG["Moderator"] = "Moderator";

$LANG["Super Moderator"] = "Super Moderator";

$LANG["Administrator"] = "Administrator";






french.php





$LANG["Member"] = "Membre";

$LANG["Power User"] = "Power User";

$LANG["VIP"] = "VIP";

$LANG["Uploader"] = "Uploadeur";

$LANG["Moderator"] = "Modérateur";

$LANG["Super Moderator"] = "Super Modérateur";

$LANG["Administrator"] = "Administrateur";


[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6475"]upload-bonus.php[/url]
Upload Manager — 2013-01-09 19:23:25 in v2.08 Mods Completed
nice work  ;)

"Mythos, post: 87843":
very nice but i have 1 small problem

in DEDUCT from upload and DIVIDE current upload dont take message the  member

take this one, just a little modded to works with only one file.

all messages are working well

write to log added

still some french words you'll have to change

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6458"]upload-bonus.php[/url]
"ArcticWolf, post: 87933":
I dont have an iphone to test it LOL but the main site of QapTcha says to use the attached file, upload it to jquery then after

<script type="text/javascript" src="jquery/jquery-ui.js"></script>
add


<script type="text/javascript" src="jquery/jquery.ui.touch.js"></script>


[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6454"]jquery.ui.touch.js[/url]
TY but i already did this ;)
you're right ;)
"BigMax1, post: 87836":
Sorry AzuriS, your code does not work...

sorry, it is cause i put this in an another place than you ;)
it works on mine
nice job  ;)



bark("Not logged in");


is for old 1st version TT

you have to change it for





show_error_msg(T_("ERROR"), "Not logged in", 1);






and i change





if (get_user_class() >= 5) {

print("<div style='margin-bottom:3px'>");

print("<table><tr><td><font size=2>[<a href="javascript:void(0);" onclick="window.open('/ratings.php?id=$id', 'mywindow4', 'width=300, height=580, menubar=no, toolbar=no, scrollbars=yes');"><b>See Votes</b></a>]</font></td></tr></table>");

print("</div>");

}




for







$numrat = mysql_num_rows($xres);

if (($numrat > 0) && (get_user_class() >= 5 )) {

print("<div style='margin-bottom:3px'>");

print("<table><tr><td><font size=2>[<a href="javascript:void(0);" onclick="window.open('/ratings.php?id=$id', 'mywindow4', 'width=300, height=580, menubar=no, toolbar=no, scrollbars=yes');"><b>See Votes</b></a>]</font></td></tr></table>");

print("</div>");

}



nice job  ;)

only with iphone not working

seems it need another js file ([size=12px] jquery.ui.touch.js)[/size]

[size=12px]i upload it this the other but nothing better [/size][size=12px] [/size] :( [size=12px] [/size]
"Tiloup, post: 87276":
Français

$LANG["DONATE_UPLOAD_CREDITS"] = "Faites un Crédits Upload";
Faîtes un crédit d'Upload

-_-
change



$LANG["EMAIL_BANS_ADD"] = "Email %sbanni %s ajouté par (%s)";




for



$LANG["EMAIL_BANS_ADD"] = "Email %s banni ajouté par (%s)";

you can also add @yopmail.com cause it's a jetable email ;)
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