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

this seems to work. you can set what user class you want. torrents-detail.php
			if($CURUSER["class"] > 4) {
print ("<td valign='top' align='right'><b>Tracked:</b> EXTERNAL<br /><br /><form action='torrents-details.php?id=$id&amp;scrape=1' method='post'><input type=\"submit\" name=\"submit\" value=\"Update Stats\" /></form></td>"); }
This might be useful to you. I used this on an old html page from a while back so I thought I would use it here. instead of clicking and dragging your mouse to highlight code in a box to copy/paste, you just click in the box and everything gets highlighted ready to copy.
	$s = preg_replace("#\[code\](.+)\[/code\]#isU",
"<p class='sub'><b> CODE: click box to select all code</b></p><table class='main' border='1' cellspacing='0' cellpadding='10'><tr><td style='border: 1px black solid'><textarea rows='15' cols='100' wrap='SOFT' READONLY onclick='this.select()'>$1</textarea></td></tr></table><br />", $s);


This is the addition of the select function
<textarea rows='15' cols='100' wrap='SOFT' READONLY onclick='this.select()'>$1</textarea>
thanks for that. I had to fiddle around to get it correct for me and wound up with this so far to style the page
"<p class='sub'><b> CODE:</b></p><table class='main' border='1' cellspacing='0' cellpadding='10'><tr><td style='border: 1px black dotted'>$1/td></tr></table><br />", $s);
that helps. I didnt have some of those since they dont really get used. What are you using for the [code] [ /code] part?
NFO fix [TTv3] — 2021-02-18 21:51:51 in v3 Mods Completed
you should have this function in your file. If not, definitely look at my files, and use whatever you like
function CutName ($vTxt, $Car) {
if (strlen($vTxt) > $Car) {
return substr($vTxt, 0, $Car) . "...";
}
return $vTxt;
}
NFO fix [TTv3] — 2021-02-18 21:41:09 in v3 Mods Completed
check in functions.php. I believe thats where the name gets cut. Check for this code or similar
			case 'name':
$char1 = 35; //cut name length
$smallname = htmlspecialchars(CutName($row["name"], $char1));

Feel free to download the modded TTv3 Micro Edition and look through that code for items. You may find it useful :)
NFO fix [TTv3] — 2021-02-18 19:32:09 in v3 Mods Completed
cant seem to post this code here, so try this and see if its what you need in torrents-details.php. I had to post it on codepile https://www.codepile.net/pile/PWmZVXrq
NFO fix [TTv3] — 2021-02-18 17:36:33 in v3 Mods Completed
Can you post more info? I dont know what tbdev looks like. Maybe a screenshot?
would you share your code format comment bbcode?
TTv3 Micro Edition — 2021-02-18 12:23:21 in v3 Download
error found in torrents-upload.php. Not sure what happened to this line but it vanished in my code. Im doing too much at once lol
find
	if (empty($fname))
$message = T_("EMPTY_FILENAME");

add below
$nfo = 'no';
can you post a screenshot of your code? something is being lost in translation on the post.
I dont have youtube format comment, you have that?
Is this what its supposed to look like? Seems normal to me, but I dont know if I have anything being added to it, just wanted to check https://ibb.co/56dXtMg
the youtube part strips the url down to the video ID and we cant use that currently without more code. Have you looked at that yet?
My headers are a mess of addons, so I am sure I made an error, so rather than get a headache over it, I just made that function. The upside of that is you can just implement it where ever you want and not have to worry about the theme. So far so good, if it goes to shit, I'll report on it lol
example in torrents-details.php
	if ($CURUSER) {
echo "<center>";
echo "<form name=\"comment\" method=\"post\" action=\"torrents-details.php?id=$row[id]&takecomment=yes\">";
// echo textbbcode("comment","body")."<br />";
echo sceditor();
echo "<input type=\"submit\"  value=\"".T_("ADDCOMMENT")."\" />";
echo "</form></center>";
}
Im having better luck so far just by making a function and calling it. I put this in backend/bbcode.php at the top
function sceditor() {
?>
<textarea  id='example' style='height:300px;width:80%;' name='body' rows='13'></textarea>
<link rel="stylesheet" href="sceditor/minified/themes/default.min.css" id="theme-style" />
<script src="sceditor/minified/sceditor.min.js"></script>
<script src="sceditor/minified/icons/monocons.js"></script>
<script src="sceditor/minified/formats/bbcode.js"></script>
<script>
// Replace the textarea #example with SCEditor
var textarea = document.getElementById('example');
sceditor.create(textarea, {
format: 'bbcode',
style: 'minified/themes/content/default.min.css',
startInSourceMode: true,
toolbar: 'bold,italic,underline,strike,left,center,right,font,size,color,cut,copy,paste,code,quote,image,link,emoticon,youtube,source',
emoticonsRoot: "<?php echo $site_config['SITEURL'] ?>/sceditor/",
emoticonsCompat: true
});
</script>
<?php
}


then just calling the function rather than editing the headers. I dunno, im still fiddling, just a thought that seems to be a bit simpler I couldnt make it work using the header edits, not sure what was going wrong and I couldnt tell, so I piled all the code into the function to execute all of it so then I knew it was launching
TTv3 Micro Edition — 2021-02-16 21:44:33 in v3 Download
Wanna try this and see if I screwed this up? Im only 1 person and I did this over a few days. I dont want to spend alot of time on it, that way I can get back to what I was doing, which is fixing up my own copy. I did pull some updates from what I am doing and put them in this, so hopefully its fine, if not, let me know https://sourceforge.net/projects/ttv3-micro-edition/
This version may have errors in it as I do not work on it anymore
and another
heres a few magnet images I had you can use if you need
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: 10

  • Online

  • Total online: 4
  • Members: 1
  • Guests online: 3
  • Comments: 3
  • Messages: 1,728