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

My Posted Premium Mods — 2010-08-03 10:15:29 in General Chat
"TheUnknown, post: 64712":
Personally, I would say no. Why? Because admins get help from the donations for costs of things. Why not you? Because a lot of the mods on premium are by you and a few more people. If all your mods are released, then it loses the value of it being premium.

i am not going to release all of them now. just releasing a few which have not had any comments or anything in the past year or so. somebody might be able to take them and make them better or make them for future torrent trader versions.
this was added in a later post of the original topic

here is a little addon if you use mochiads games. it is a simple leader for leader board games. you can customize it to actually send the scores to your databank but i have not done that and may not do it. this is a good addon for your members because some probably like to compete and also they can challenge their friends through either email, posting a link or facebook. for more info on other parameter options and for any problem dealing with the leader board please visit [url="https://www.mochiads.com/support/pub_docs#boards"]https://www.mochiads.com/support/pub_docs#boards[/url] you will need to do a cross domain policy for mochiads i will post an example below that should work for you. some of the options i have tried in the board seem to not work but most of them are optional. you need to change in the leaderboard.php your publisher id where it says "put your publisher id here" and put your site url where it says change this to your site url

note: you have to make sure the name of the game is like the one on the embed code from the mochi site for that game or the leaderboard will not show. i thought about adding a column to the game part of the db so people could add the name of the game for the leaderboard but i decided to leave it. the leaderboard code will call the normal name game. for example if the game name is Kersplat then you cannot use that name for the game you would have to use kersplat because it is case sensitive.

find in content.php which is in your content folder:

if(!$CURUSER){

echo "<center>You must be logged in to add a game to the homepage...</center>";

}





add after:





echo "<br>";

include("content/leaderboard.php");





now add the code below to your content folder with the name leaderboard.php:





<?

if($_GET[task] == 'view'){

$id = intval($_GET[id]);

$sql = mysql_query("SELECT * FROM ava_games WHERE id=".$id."");



while($row = mysql_fetch_assoc($sql)){

$name = $row["name"];

$pname = $CURUSER["username"];

$pid = $CURUSER["id"];

?><div id="leaderboard_widget"></div>

<script src="http://xs.mochiads.com/static/pub/swf/leaderboard.js" type="text/javascript"></script>

<script type="text/javascript">

// Customized example: Embeds a 500x500 leaderboard widget, replacing the "leaderboard_widget" div

var options = {game: "<?=$name?>", width: 500, height: 500, id: "leaderboard_widget", title: "Test"};

options.userID = "<?=$pid?>";

options.username = "<?=$pname?>";

// your publisher ID - optional (if not included, ALL scores from all sites will be shown)

//options.partnerID = "put your publisher id here";

options.gateway = "http://change this to your site url/content/leader-board.php";

// username link prefix - optional

options.logoURL = "/images/joystick.png";

options.globalScores = "false";

// leaderboard background color - optional

options.backgroundColor = "#ffffff";

// leaderboard scores text color - optional

options.textColor = "#333333";

// username link color - optional

options.linkColor = "#006699";

// username hover color - optional

options.hoverColor = "#3399CC";

// button color - optional

options.buttonColor = "#f29d1c";

// button text color - optional

options.buttonTextColor = "#ffffff";

// Show the widget!

Mochi.showLeaderboardWidget(options);

</script>

<?

}

}

?>





here is an example cross domain policy which needs to go into your root folder and have the name crossdomain.xml:





<?xml version="1.0"?>

<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">

<cross-domain-policy>

 <site-control permitted-cross-domain-policies="master-only"/>

 <allow-access-from domain="x.mochiads.com" />

 <allow-access-from domain="www.mochiads.com" />

 <allow-access-from domain="xs.mochiads.com" />

</cross-domain-policy>
This mod was posted in the premium section and made for Torrent Trader V2.3 Below is the orginal post. It may need editing to work on newer versions of Torrent Trader.

[url="http://www.torrenttrader.org/index.php?showtopic=10270"]http://www.torrenttrader.org/index.php?showtopic=10270[/url]

Updated on 20.April.2009: fixed the description problem in the admin part. changes were made to admin-arcade-index.php. rar file has been re-uploaded.

I took the AV Arcade v3 from [url="http://www.avscripts.net/avarcade/"]http://www.avscripts.net/avarcade/[/url] and adapted it to work with Torrent Trader V2.XX so credit goes to them for the code. I have tested it on V2.03 and V2.05 and all seems to work so far. There may be a few bugs here and there that I have not found. Some files from the original script I left in but they are not all used.  In the rar file you will find the files needed with some install instructions. I will try to help out with the script if you have problems but will not offer support for Mochiads [url="http://www.mochiads.com"]http://www.mochiads.com[/url] if you decide to use games from them. With Mochiads you can choose from thousands of games and get paid for people playing the games. Also with the autopost.php you are able to browse the games on Mochiads and click a button which will add the game files to your server.

Now a little about how to use the script. After you have installed the files you will need to go into the admin part which you should have made a link to in your admincp.php there you will be able to add your categories. once you have made categories then you can either get your games from Mochiads or you can add your own to the games folder. after you have some files added then you can click on media in the admin part and on the right side you will see a place to click to add media. once you have clicked that you will be able to add the files which will add the info to the databank.

Some features are:

-Categories for the games

-Shows popular games

-Comments for games

-Ratings for games

-Embed code for the games to be used on sites like myspace

-Fullscreen mode

-Share game with friend through e-mail

-Users can add there favorite game the index page of your site

and lots of other features

Some things that need to be added:

-leaderboard system which stores scores (Mochiads has this for some of their games which can be used on your site)

-Maybe a page for your users which shows their favorite games which they have bookmarked

and whatever other things people can think off

known problems:

-in the settings in the admin area you can not change the theme, this is because the theme at the moment is hardcoded

I hope that is it have fun with it.

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=4190"]Arcade.rar[/url]
This mod was posted in the premium section and made for Torrent Trader V2.3. It may need editing to work on newer versions of Torrent Trader.

This was originally made to work on phpbb I think. But after some long hard modding I got it to work on Torrent Trader.

It is a casino game that will work without the casino. There is not anything to add to mysql. Maybe one day I will write a config for it. Until then you have to change the bet size and win size in the chanceace.php. Just place the chanceace.php in your root folder and link to it. Place the chanceace folder in your images directory. I have not seen any problems yet so  enjoy  ;)

Screenshots:





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

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=4151"]chanceace.rar[/url]
My Posted Premium Mods — 2010-08-02 19:30:47 in General Chat
well it looks like i have some posting to do lol i will post a couple of today with links to the premium section so the admins can either delete them from there or for reference in case premium members want to see the comments on them
My Posted Premium Mods — 2010-07-30 17:25:03 in General Chat
i will let the poll make the decision on Monday if there isn't any objections from the admins and also if their is a tie then i will vote to break the tie.
My Posted Premium Mods — 2010-07-29 20:17:33 in General Chat
I have quite a few mods in the premium section which have not had any replys in over a year and want to know if the users would like to have some reposted in the normal section. If the admins have no problems with me posting some of the ones from the premium area and I see an interest for them from the normal users then I will post them.
you will be back they always come back look at me lol i am posting here again, just don't do any mods on here anymore lol but one day you will get bored and lonely and wake up in here ;)
I compile my web serv was 4am and then the opening five minutes without web access php (which distributes mode Read / Send PHP files) Basically you are very good!


if i am not mistaken you are from France, correct me if i am wrong. but i saved your file an hour before that which would have been 3am your time.
i never say anything is for noobs or if you use it then you are a noob because a lot of skilled people out there do use phpmyadmin and other panels not because they are noobs because they like how easy it is. i said before it might be a chmod problem and i also know that overload will put things out there but if your server is set up correctly then it would not have been so easy no matter what you were doing. not once have you seen me say that i was the best and not once did i try to harm your server. all i done was followed two links or lets say more than two because i was looking at your directory tree on your cherokee server through port 443 i think it was. i have noticed that you have changed somethings on your server which you should have done before putting your files for the site back on. if i wanted to hurt your site then i would have but that is not how i do things, at least i told you about what happen so you can fix your problem. one more thing if those programs are for noobs then why are you using cherokee? is it not the same. people could see you as a noob for using it because a panel is a panel. i guess i should use centos and do everything by ssh and then i do not have to worry about being a noob, but to be honest that takes to long and is much easier with a panel. everybody has their panel of choice and i will tell you that mine is kloxo and to be honest i hate cpanel and webmin but i have no problem with using phpmyadmin and when set up correctly it can be safe.
now you may say what dj has posted is not your info and you may say what i post below is not your but i think this is your index.php

<?php
//

//  Toos-dl 1.xx

// Dernieres modifs : 20/Juin/2010

//

// http://toos-dl.net

//

require_once("backend/functions.php");

dbconn(true);

loggedinonly();

stdhead("Accueil");

// Recommended torrents images

if (!$site_config["MEMBERSONLY"] || $CURUSER ) {

if ($CURUSER["stylesheet"] != "1"){

if ($CURUSER["stylesheet"] != "8"){

if ($CURUSER["stylesheet"] != "10"){

begin_frame("Bienvenue sur wWw.Toos-DL.NeT");

echo '<table align=center>

<tr>

<td width="10%" class="tablea">

<center>

<ul id="maintab" class="shadetabs">

<center>

<li><a href="top_forum.php" rel="ajaxcontentarea"><font color="black">Actu Forum</font></a></li>

<li><a href="top_stream.php" rel="ajaxcontentarea"><font color="black">Actu Streaming</font></a></li>

<li class="selected"><a href="top_news.php" rel="ajaxcontentarea"><font color="black">Les News TDN</font></a></li>

<li><a href="top_recom.php" rel="ajaxcontentarea"><font color="black">Torrents Recommand&eacute;s</font></a></li>

</center>

</ul>

<br />

<div id="ajaxcontentarea" class="contentstyle"></div>

<script type="text/javascript">

startajaxtabs("maintab")

</script>

</center>

</td>

</tr>

</table>';

end_frame();

}

}

}

}

// end recommended torrent images

//if ($CURUSER["shoutboxpos"] == 'yes'){

//Shoutbox

if ($site_config['SHOUTBOX']){

begin_frame("TDN - ShouT");

echo '<iframe name="shout_frame" src="shoutbox.php" frameborder="0" marginheight="0" marginwidth="0" width="100%" height="399" scrolling="auto" align="middle"></iframe>';

echo '<div align="center">

<center>

<font size="2">

<b>Legende :

<font color=ForestGreen>Membre</font> |

<font color=Green>Power User</font> |

<font color=LawnGreen>Donateur</font> |

<font color=Gold>ViP</font> |

<font color=DarkGoldenrod>ViP+</font><br>

<font color=MediumOrchid>Uploader</font> |

<font color=DarkOrchid>Releaser</font> |

<font color=Navy>Moderateur</font> |

<font color=DodgerBlue>Formateur</font> |

<font color=Turquoise>Super Modo</font> |

<font color=Red>Admin</font> |

<font color=DeepPink>SysOp</font>

</b>

</font>

</center>

</div>

<br />';

end_frame();

}

//}else{

//  begin_frame("ShoutBoX D
i am no expert in chmod and in this case chmod might not save a site. but at one time i had my site setup that when somebody went directly to the backend files they did not see a white screen like you normally do on torrent trader sources. it would give an error in firefox like the page is not there or not browsable. for some reason firefox likes to make files from sites downloadable and that was the case here it wanted to download as an oct stream i think it was and could not believe my eyes when it gave me the whole mysql.php i guess it is a good thing that you do not use phpmyadmin because then your db would have been open for attack.
Not the best tutorial but for quick reference or try it yourself examples then this site will help the noobs and the advanced

[url="http://www.w3schools.com/php/default.asp"]http://www.w3schools.com/php/default.asp[/url]

also for other coding languages here is the main site link

[url="http://www.w3schools.com/"]http://www.w3schools.com/[/url]
Risks and Consequences — 2010-07-17 15:10:14 in General Chat
if you are worried about your host then if you have daily backups then that is not a problem because there are a lot of hosts out there to go through if yours shut you down. if you are worried about prison then that is up to the laws of your country. if your country thinks you are doing something illegal then you might have problems but chances of you getting in trouble are very slim unless you do stupid things. some sites get taken down within the first year because their heads are to big and they do not watch what they do and ask for trouble. but a lot of sites have been running under the same admins and mods for 5 years or more and do not run into much trouble. when people start bragging then that is where the problems come from or when owners don't know there staff that can cause problems also.
no yanks lmfao if i had a ride up there i would come lol
Which is newer? — 2009-11-24 11:57:48 in General Chat
both codes are updated all the time. v1 is older than v2 and is more complete. v2 is still in progress and that is why you see so many mods for it. a lot of the mods in v2 are either on v1 or available in the v1 section. it all depends on your taste as to which version to use. i think v2 is better by look and code wise.
this will work

if ($CURUSER["class"] >=7)

{

}
it is the quickest way to do it but the safest way which uses more code is




if ($CURUSER["class"] ==7 || $CURUSER["class"] ==8 || $CURUSER["class"] ==9) 

{

}



the reason the above one is safer is because it will only allow class 7, 8 or 9 and nothing above. it will cover you incase there is some kind of problem with your php or with the torrent trader script. for example if there is a bug in either it it allows lets say class 10 even though there isn't one or if you make a higher class for some reason and it is a normal user class, which you should never do, then by adding wach individual class you do not have to worry about the code being exploited. off course you could even add more code which would make it more secure by dis-allowing all the other classes but then it just adds extra lines of code which is really not needed.
you ae still trying to get the toolbar lol. maybe i should do a topic with a poll asking people what they think about the conduit toolbar and how much money they make per month off of it lol.

"daffy, post: 60203":
id like to know what its all about, im interested, (your toolbar too) lol
i think he told me once what he done but i cannot remember. i know he is not around at the moment and from his facebook profile it looks like he has been sent down. i will try to get in touch with his girlfriend and find out what is happening if daffy does not know what is going on. he tried to get in touch with me a few days before he went to court but i was not around. while writing this message i decided to check his ftp and see what was on it. looks like he uploaded something new to it so when i get the chance i will take a look at it and see what i can do with the files. it will be a bit before i get a chance to look at anything because at the moment i am re-modeling the house. i will try to keep people update but cannot promise anything.

"TheUnknown, post: 60206":
What did you do? I liked your tracker, it was very advanced.
have fun and good luck lmfao
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