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
[MOD] Support US users
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2013-04-11 20:17:09
[MOD] Support US users TT 2.7

For INDEX.PHP

begin_frame("<img src=/pic/suport.png><br><b>Thank You To The Following Members For Supporting Us</b><table align=center cellpadding=2 cellspacing=0 class=xty width=1111px>");
$res = mysql_query("SELECT * FROM users WHERE donated ='yes' ORDER BY donated DESC, username LIMIT 10") or sqlerr();

if($i==0)

print("Support Us!<marquee scrollAmount=3 onmouseover=this.scrollAmount=0 onmouseout=this.scrollAmount=3 scrolldelay=0 direction=MARQUEE BEHAVIOR=ALTERNATE><table align=center <table align=center cellpadding=5 cellspacing=2 ><tr>");

$i=20;

$sql = "SELECT id, username, donated FROM users WHERE donated != '' ORDER BY donated DESC ";

$mysql_result=mysql_query($sql) or die (mysql_error());;

while ($row=mysql_fetch_array($mysql_result))

{

$id = $row['id'];

$username = $row['username'];

$donated = $row['donated'];

echo "<a href="account-details.php?id=$id">".$username."&nbsp;|&nbsp;</a>";

$i++;}

print("</tr></table></marquee>");

end_frame();end_frame();

Screen Support.PHP



Suport Icon!



[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6678"]support.php[/url]
support.php
Download
Unknown User
2013-04-12 08:26:31
i see where u got this mod from and set it for 207 one of mine


begin_frame("<b>Thank You To The Following Members For Supporting Us</b>");
$res = SQL_Query_exec("SELECT * FROM users WHERE donated ='yes' ORDER BY donated DESC, username LIMIT 10") or sqlerr();
if($i==0)
print("<marquee scrollAmount=3 onmouseover=this.scrollAmount=0 onmouseout=this.scrollAmount=3 scrolldelay=0 direction=MARQUEE BEHAVIOR=ALTERNATE><table align=center <table align=center cellpadding=0 cellspacing=0 width=100% border=0><tr>");
$i=20;
$sql = "SELECT id, username, donated FROM users WHERE donated != '' ORDER BY donated DESC ";
$mysql_result=SQL_Query_exec($sql) or die (mysql_error());;
while ($row=mysql_fetch_array($mysql_result))
{
$id = $row['id'];
$username = $row['username'];
$donated = $row['donated'];
echo "<a href="account-details.php?id=$id">".class_user($row[username])."</a>";
$i++;}
print("</tr></table></marquee>");
end_frame();
Unknown User
2013-04-13 04:24:19
lol doesnt work right on any of my v2.08 themes displays all stuffed lol will have to play with the code a LOt
Unknown User
2013-04-13 05:11:07
"Mancino, post: 89920":

lol doesnt work right on any of my v2.08 themes displays all stuffed lol will have to play with the code a LOt
[MOD] Support US users TT 2.7

theat means it works on Torrent Trader 2.7
Unknown User
2013-04-13 17:05:37
wow... never woulda guessed that thank you soooo much for the info mate, does that mean I am NOT allowed to try it on v 2.08 and tell others whether  it actually works correctly or not, and when i do GET IT WORKING, DO YOU SUGGEST I post the results or not?

geez....... if we all just followed the pack we'd actually stagnate......
Unknown User
2013-04-13 21:04:48
.. you know it might all just be your browser not displaying it right... some browsers cant display stuff like marquee, i would try other browsers to see if works before saying it dont work........

Newer themes like [url="https://www.torrenttrader.org/index.php/topic/17735-nb-dark-vista-v208/?view=getnewpost"]NB-Dark-Vista v2.08[/url] have css files for Internet Explorer and html5..

TT's fault if your theme is not html5 able or browser??????????????? I think not!!!!

Edit... I see another thing that could be an major issue at the end

end_frame();end_frame();
...... Unless you defined 2 frames it should be

end_frame();
Unknown User
2013-04-13 21:27:06
.. accually neither of the versions scrolls on firefox.. and I know thats html5 able..

this 1 seems to work on firefox...

begin_frame("<b>Thank You To The Following Members For Supporting Us</b>");

//$res = SQL_Query_exec("SELECT * FROM users WHERE donated ='yes' ORDER BY donated DESC, username LIMIT 10");
$i = 0;
if ($i == 0)
   print("<marquee scrollAmount=3 onmouseover=this.scrollAmount=0 onmouseout=this.scrollAmount=3 scrolldelay=0 direction=MARQUEE BEHAVIOR=ALTERNATE><table align=center cellpadding=0 cellspacing=0 width=100% border=0><tr><td>");

//     $i=20;
$sql = "SELECT id, username, donated FROM users WHERE donated != '' && enabled='yes' ORDER BY donated DESC ";
$mysql_result = SQL_Query_exec($sql);
while ($row = mysql_fetch_array($mysql_result)) {
   $id = $row['id'];
   $username = $row['username'];
   $donated = $row['donated'];
   echo "<a href="account-details.php?id=$id">" . class_user($row[username]) . "</a>";
   $i++;
}
print("</td></tr></table></marquee>");
end_frame();

dont ask me what the 1st
$res = SQL_Query_exec("SELECT * FROM users WHERE donated ='yes' ORDER BY donated DESC, username LIMIT 10");

was suppose to do looks like an extra query..
Unknown User
2013-04-14 04:17:24
the main problem I have atm is that the info actually overwrites into/over the next block/frame when I use this..... lol and its the same on IE, Chrome and FF... and my stuff is very up to date.... but its no sweat, I am also playing with the code (time allowing) and as soon as I am happy with it I will also post MY results for TT...

and that end frame I removed before even installing it..... this is a nice touch for site, so I hope to get it right. BTW, marquee scrolling works PERFECTLY on my site, been using it for months for Favourite/Recommended torrents, but for some reason here it doesnt, will try your modified code as well... I also suspect we will have to do some stuff in the css for the newer themes maybe? I mostly use NB-52-v2 (not working right) and the std default theme, (also not right, doesnt put stuff in the right places.)
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: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728