|
#51
|
||||
|
||||
You will need to translate it, as far as I know there is no lang system.
__________________
Please Support Majority Report You can contact me on Skype live:phesadent.elect but please let me know first. If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week. Due to free time I'm able to help interested member's with their tracker. Please Note! Depending on your requests I will charge you for my assistance for Tracker installs and mods. All my mods are custom and prices will very depending on the request. I'm able to install any tracker and mods including themes. Please PM me |
#52
|
|||
|
|||
what kind of source code is that in your signature, the site link? :)
|
#53
|
|||
|
|||
How Create user is Owner?
|
#54
|
||||
|
||||
In phpmyadmin , at users, your name ..click edit ..find Class , there replace/write : 15 ,click ok.. now you are owner. Good luck
__________________
only me |
The Following User Says Thank You to Timisoreanul For This Useful Post: | ||
romano1 (20th July 2013)
|
#55
|
|||
|
|||
Quote:
We come to believe you are using a fake account, therefore we've logged this action! i try logout and new login one more the same |
#56
|
|||
|
|||
Resolve
You must to go to your phpmyadmin and to set to your username id 1 and class 15 and that its. For me it's works!
|
#57
|
|||
|
|||
this scrip very problem.
|
#58
|
||||
|
||||
You just need to add your Id's and username in bittorrent.php
looks for this... $clasa =your id; $glavnii = array("your username"); PHP Code:
Also maybe concentrating on spending some time translating it to English too. I'm also interested to find out how the copyright works ???
__________________
Please Support Majority Report You can contact me on Skype live:phesadent.elect but please let me know first. If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week. Due to free time I'm able to help interested member's with their tracker. Please Note! Depending on your requests I will charge you for my assistance for Tracker installs and mods. All my mods are custom and prices will very depending on the request. I'm able to install any tracker and mods including themes. Please PM me |
#59
|
|||
|
|||
Problem
I try to instal this source and i have that error
Code:
15) { stdhead(); stdmsg("FUCK OFF...", "STOP CHEATING MOTHER FUCKER"); stdfoot(); exit; } loggedinorreturn(); maxsysop(); if ($_SERVER["REQUEST_METHOD"] == "POST") { $choice = $_POST["choice"]; if ($CURUSER && $choice != "" && $choice < 256 && $choice == floor($choice)) { $res = mysql_query("SELECT * FROM polls ORDER BY added DESC LIMIT 1") or sqlerr(); $arr = mysql_fetch_assoc($res) or die("No poll"); $pollid = $arr["id"]; $userid = $CURUSER["id"]; mysql_query("UPDATE users SET seedbonus = seedbonus+1.0 WHERE id = $CURUSER[id]") or sqlerr(__FILE__, __LINE__); $res = mysql_query("SELECT * FROM pollanswers WHERE pollid=$pollid && userid=$userid") or sqlerr(); $arr = mysql_fetch_assoc($res); if ($arr) die("Dupe vote"); mysql_query("INSERT INTO pollanswers VALUES(0, $pollid, $userid, $choice)") or sqlerr(); if (mysql_affected_rows() != 1) stderr("Error", "An error occured. Your vote has not been counted."); header("Location: $BASEURL/"); die; } else stderr("Error", "Please select an option."); } $a = @mysql_fetch_assoc(@mysql_query("SELECT id,username FROM users WHERE status='confirmed' ORDER BY id DESC LIMIT 1")) or die(mysql_error()); if ($CURUSER) $latestuser = "" . $a["username"] . ""; else $latestuser = $a['username']; $male = number_format(get_row_count("users", "WHERE gender='Male'")); $female = number_format(get_row_count("users", "WHERE gender='Female'")); $nobody = number_format(get_row_count("users", "WHERE gender='N/A'")); $invites = number_format(get_row_count("users", "WHERE invited_by>'0'")); //$rated = number_format(get_row_count("torrents", "WHERE numratings>'0'")); //$extern = number_format(get_row_count("torrents", "WHERE extern='yes'")); $topics = number_format(get_row_count("topics")); $posts = number_format(get_row_count("posts")); $registered = number_format(get_row_count("users")); $todayreg = get_row_count('users', 'WHERE added > DATE_SUB(NOW(), INTERVAL 1 DAY)'); $unverified = number_format(get_row_count("users", "WHERE status='pending'")); $torrents = number_format(get_row_count("torrents")); $dead = number_format(get_row_count("torrents", "WHERE visible='no'")); $warnedu = number_format(get_row_count("users", "WHERE warned='yes'")); $disabled = number_format(get_row_count("users", "WHERE enabled='no'")); $NAT = number_format(get_row_count("peers", "WHERE connectable='no'")); $r = mysql_query("SELECT value_u FROM avps WHERE arg='seeders'") or sqlerr(__FILE__, __LINE__); $a = mysql_fetch_row($r); $seeders = $a[0]; $r = mysql_query("SELECT value_u FROM avps WHERE arg='leechers'") or sqlerr(__FILE__, __LINE__); $a = mysql_fetch_row($r); $leechers = $a[0]; $seeders = (get_row_count("peers", "WHERE seeder='yes'")); $leechers = (get_row_count("peers", "WHERE seeder='no'")); $peers = ($seeders + $leechers); $uniqpeer = (get_row_count("peers", "WHERE connectable='yes'")*3); if ($leechers == 0) $tratio = 0; else $tratio = round(($seeders / $leechers), 2); if ($leechers == 0) $sratio = 0; //$sratio = round(($seeders / $leechers) * 100); $sratio = round((($seeders + 1) / ($leechers + 1)) * 100); $result = mysql_query("SELECT SUM(downloaded) AS totaldl, SUM(uploaded) AS totalul FROM users") or sqlerr(__FILE__, __LINE__); $row = mysql_fetch_assoc($result); $totaldownloaded = $row["totaldl"]; $totaluploaded = $row["totalul"]; $totaldata = $totaldownloaded+$totaluploaded; $dt = gmtime() - 3600; $dt = sqlesc(get_date_time($dt)); $result = mysql_query("SELECT SUM(last_access >= $dt) AS totalol FROM users") or sqlerr(__FILE__, __LINE__); while ($row = mysql_fetch_array ($result)) { $totalonline = $row["totalol"]; $rec = @mysql_fetch_array(@mysql_query("SELECT * FROM onlinerec LIMIT 1")); if ($rec[users] < $totalonline) mysql_query("UPDATE onlinerec SET users=$totalonline, date='".get_date_time()."' WHERE users=$rec[users]"); } if (get_user_class() >= UC_UPLOADER) { $activeuser_class = 15; } else { $activeuser_class = 7; } $dt = gmtime() - 3600; $dt = sqlesc(get_date_time($dt)); $res = mysql_query("SELECT id, username, class, uploaded, downloaded, avatar, added, donor, warned FROM users WHERE class <= $activeuser_class AND last_access >= $dt ORDER BY class DESC,username") or sqlerr(__FILE__, __LINE__); while ($arr = mysql_fetch_assoc($res)) { if ($activeusers) $activeusers .= ",\n"; $res2 = mysql_query("SELECT COUNT(*) FROM peers WHERE userid=" . htmlspecialchars($arr["id"]) . " AND seeder='yes'") or print(mysql_error()); $row = mysql_fetch_row($res2); $activeseed = "$row[0]"; $res2 = mysql_query("SELECT COUNT(*) FROM peers WHERE userid=" . htmlspecialchars($arr["id"]) . " AND seeder='no'") or print(mysql_error()); $row = mysql_fetch_row($res2); $activeleech = "$row[0]"; if ($arr[added] == "0000-00-00 00:00:00") $joindate = 'N/A'; else $joindate = "Jn: " . get_elapsed_time(sql_timestamp_to_unix_timestamp($arr["added"])) . " ago"; if ($arr["downloaded"] > 0) { $ratio = number_format($arr["uploaded"] / $arr["downloaded"], 3); $ratio = "$ratio"; } else if ($arr["uploaded"] > 0) $ratio = "Inf."; else $ratio = "---"; $uploaded = mksize($arr["uploaded"]); $downloaded = mksize($arr["downloaded"]); $username = "" . htmlspecialchars($arr['username']) . ""; //$username = $arr["username"]; $usrclass = "".get_user_class_name($arr['class']).""; if ($arr["avatar"]) $avatarover = "" . htmlspecialchars($arr['avatar']) . ""; //$avatarover = $arr["avatar"]; elseif (!$arr["avatar"]) $avatarover = "/pic/default_avatar.png"; switch ($arr["class"]) { case UC_OWNER: $arr["username"] = " $joindate Cl: $usrclass UP: $uploaded DL: $downloaded ', CAPTION, ' R:$ratio $activeseed $activeleech ');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_SVISOR: $arr["username"] = " $joindate Cl: $usrclass UP: $uploaded DL: $downloaded ', CAPTION, ' R:$ratio $activeseed $activeleech ');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_SYSOP: $arr["username"] = " $joindate Cl: $usrclass UP: $uploaded DL: $downloaded ', CAPTION, ' R:$ratio $activeseed $activeleech ');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_ELITE_ADMINISTRATOR: $arr["username"] = " $joindate Cl: $usrclass UP: $uploaded DL: $downloaded ', CAPTION, ' R:$ratio $activeseed $activeleech ');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_ADMINISTRATOR: $arr["username"] = " $joindate Cl: $usrclass UP: $uploaded DL: $downloaded ', CAPTION, ' R:$ratio $activeseed $activeleech ');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_MASTER_MODERATOR: $arr["username"] = " $joindate Cl: $usrclass UP: $uploaded DL: $downloaded ', CAPTION, ' R:$ratio $activeseed $activeleech ');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_MODERATOR: $arr["username"] = " $joindate Cl: $usrclass UP: $uploaded DL: $downloaded ', CAPTION, ' R:$ratio $activeseed $activeleech ');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_PREMIUM_UPLOADER: $arr["username"] = " $joindate Cl: $usrclass UP: $uploaded DL: $downloaded ', CAPTION, ' R:$ratio $activeseed $activeleech ');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_UPLOADER: $arr["username"] = " $joindate Cl: $usrclass UP: $uploaded DL: $downloaded ', CAPTION, ' R:$ratio $activeseed $activeleech ');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_VIP: $arr["username"] = " $joindate Cl: $usrclass UP: $uploaded DL: $downloaded ', CAPTION, ' R:$ratio $activeseed $activeleech ');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_LEGEND_USER: $arr["username"] = " $joindate Cl: $usrclass UP: $uploaded DL: $downloaded ', CAPTION, ' R:$ratio $activeseed $activeleech ');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_EXTREME_USER: $arr["username"] = " $joindate Cl: $usrclass UP: $uploaded DL: $downloaded ', CAPTION, ' R:$ratio $activeseed $activeleech ');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_ELITE_USER: $arr["username"] = " $joindate Cl: $usrclass UP: $uploaded DL: $downloaded ', CAPTION, ' R:$ratio $activeseed $activeleech ');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_POWER_USER: $arr["username"] = " $joindate Cl: $usrclass UP: $uploaded DL: $downloaded ', CAPTION, ' R:$ratio $activeseed $activeleech ');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_USER: $arr["username"] = " $joindate Cl: $usrclass UP: $uploaded DL: $downloaded ', CAPTION, ' R:$ratio $activeseed $activeleech ');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; } $donator = $arr["donor"] === "yes"; if ($donator) $activeusers .= ""; $warned = $arr["warned"] === "yes"; if ($warned) $activeusers .= ""; if ($CURUSER) $activeusers .= "{$arr["username"]}"; else $activeusers .= "{$arr["username"]}"; if ($donator) $activeusers .= "Donated {$$arr["donor"]}"; if ($warned) $activeusers .= "Warned {$$arr["warned"]}"; } if (!$activeusers) $activeusers = "There have been no active users in the last 15 minutes."; stdhead("Home"); echo "Welcome to last user : $latestuser\n"; // Extra //print(" \n"); //print(" // // // // \n"); // End Extra begin_main_frame (); print(" "); if (get_user_class() >= UC_SVISOR){ print(" Tracker News [New Item]"); print(" \n"); } else{ print(" Tracker News "); } $res = mysql_query("SELECT * FROM news WHERE ADDDATE(added, INTERVAL 365 DAY) > NOW() ORDER BY added DESC LIMIT 5") or sqlerr(__FILE__, __LINE__); if (mysql_num_rows($res) > 0) { print(" \n "); $news_flag = 0; while($array = mysql_fetch_array($res)) { $user = mysql_fetch_assoc(mysql_query("SELECT username FROM users WHERE id = $array[userid]")) or sqlerr(); if ($news_flag == 0) { print(" \"Show/Hide\" " . gmdate("M-d-y",strtotime($array['added'])) . " - " ."". $array['title'] . " "); if (get_user_class() >= UC_MODERATOR) { print(" [E]"); print(" [D]"); } print(" ".format_comment($array["body"],0)." "); $news_flag = 1; } else { print(" \"Show/Hide\" " . gmdate("M-d-y",strtotime($array['added'])) . " - " ."". $array['title'] . " "); if (get_user_class() >= UC_MODERATOR) { print(" [E]"); print(" [D]"); } print(" ".format_comment($array["body"],0)." "); } print(" ".str_replace(array("n", " "), array("n", " "), $array["body"])." "); print(""); } print(" \n"); } //print(" \n"); //print(" Our partner and daily resource of games! \n"); //print(" \n"); ?> "); $query = "SELECT * FROM banners WHERE 1=1"; $sql = mysql_query($query); while ($row = mysql_fetch_array($sql)) { $link = $row['link']; $banner = $row['banner']; print(" "); } print(" "); ////////////////////////////////////////////////////////////////////////////////////// ?> Recent Poll"); if (get_user_class() >= UC_SYSOP) { print(""); print(" - [New]\n"); if($pollok) { print(" - [Edit]\n"); // print(" - [Delete]"); } print(""); } print(" \n"); if($pollok) { print(" \n"); print(" "); print(" $question \n"); $voted = $arr2; if ($voted) { // display results if ($arr["selection"]) $uservote = $arr["selection"]; else $uservote = -1; // we reserve 255 for blank vote. $res = mysql_query("SELECT selection FROM pollanswers WHERE pollid=$pollid AND selection < 20") or sqlerr(); $tvotes = mysql_num_rows($res); $vs = array(); // array of $os = array(); // Count votes while ($arr2 = mysql_fetch_row($res)) $vs[$arr2[0]] += 1; reset($o); for ($i = 0; $i < count($o); ++$i) if ($o[$i]) $os[$i] = array($vs[$i], $o[$i]); function srt($a,$b) { if ($a[0] > $b[0]) return -1; if ($a[0] < $b[0]) return 1; return 0; } // now os is an array like this: array(array(123, "Option 1"), array(45, "Option 2")) if ($arr["sort"] == "yes") usort($os, srt); print("\n"); $i = 0; while ($a = $os[$i]) { if ($i == $uservote) $a[1] .= " *"; if ($tvotes == 0) $p = 0; else $p = round($a[0] / $tvotes * 100); if ($i % 2) $c = ""; else $c = ""; print("\n"); ++$i; } print(" " . $a[1] . " " . " $p% \n"); $tvotes = number_format($tvotes); print(" Votes: $tvotes \n"); } else { print(" \n"); $i = 0; while ($a = $o[$i]) { print("$a \n"); ++$i; } print(" "); print("Blank vote (a.k.a. \" I just want to see the results ! \") \n"); print(" "); } ?> Older | Suggestions \n"); ?> \n"; echo " "; echo" No Active Polls \n"; echo " "; } } ?> = UC_USER) { ?> "; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo " Bold Italic Underline Url Img "; } ?> = UC_USER) { ?> Useri Activi: Notice: Undefined variable: totalonline in C:\xampp\htdocs\MerY\index.php on line 675 More Smilies Notice: Undefined variable: activeusers in C:\xampp\htdocs\MerY\index.php on line 680 = UC_VIP) { ?> '' ORDER BY added DESC LIMIT 10"; $result=mysql_query($query);$num = mysql_num_rows($result); print(" "); while ($row = mysql_fetch_assoc($result)) { $id = $row['id']; $name = $row['name']; $poster = $row['poster']; $name = str_replace('_', ' ' , $name); $name = str_replace('.', ' ' , $name); $name = substr($name, 0, 50); if (!empty($poster)){ print("$name"); } else { print("$name"); } } print(" "); //== End of Last X torrents with poster and marquee mod ==// ?> = UC_USER) { ?> "); print(""); print(""); print(""); print(""); while( $arr = mysql_fetch_assoc($result) ){ $torrname = htmlspecialchars($arr['name']); if (strlen($torrname) > 50) $torrname = substr($torrname, 0,50) . "..."; $poster = $arr["poster"]; if (!empty($arr["poster"])){ $poster1 = ""; } else{ $poster1 = ""; } print(""); print(""); print(""); print(""); print(""); } print(" 0) { print(" \n"); print("\n"); while ($arr = mysql_fetch_assoc($res)) { $torrname = htmlspecialchars($arr['name']); if (strlen($torrname) > 50) $torrname = substr($torrname, 0,50) . "..."; $poster = $arr["poster"]; if (!empty($arr["poster"])){ $poster1 = ""; } else{ $poster1 = ""; } print("\n"); } print(" Top 10 torrents ".$torrname." ".$arr['seeders']." ".number_format($arr['leechers'])." \n"); } else print("Sorry pal, no torrents here..."); ?> "); print(" Last 10 torrents ".$torrname." " . $arr['seeders'] . " " . $arr['leechers'] . " "); }?> \n"); ?> |
#60
|
||||
|
||||
turn on allow short tags in your server settings in php.ini
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent Do not ask me to make a mod for any other source Do not Ask me to setup your site. I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum My Current Demo is here http://demo.btmanager.org/ |
Tags |
deluxe , torrent |
Thread Tools | |
|
|