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 works on v2.08 (and by this, I mean this mod) but I was having trouble with clicking on the screen to use my scroll wheel, and sometimes I would accidentally delete a post in the shoutbox because I would click on the screen to get my mouse active, and there was no warning I was deleting a post. So I did this. It gives a warning screen if you really want to delete a shoutbox message.

The edit you need in the shoutbox.php is this. Its only a minor change from the edits posted earlier in this thread



if ( ($CURUSER["edit_users"]=="yes") || ($CURUSER['username'] == class_user($row['user'])) ){

echo "<div align='right' style='float: right'><a href='".$site_config['SITEURL']."/shoutedit.php?action=edit&msgid=".$row['msgid']."' style='font-size: 8px'>[E]</a>&nbsp;&nbsp;<a href='".$site_config['SITEURL']."/shoutedit.php?action=delete&msgid=".$row['msgid']."' style='font-size: 8px'>[D]</a><div>";



and attached is the shoutedit.php file that works with it. If anyone can make it better, feel free  :)  but it works perfectly as far as I am concerned

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6186"]shoutedit.php[/url]
any external links I click will redirect through anonym.to, so I assume its working on 2.08 lol.
appears to work so far in tt 2.08. I was just looking to get rid of the kpaste.net. I kept getting server 500 errors on it.
I tried this, but I get a blank page when I click the link for contact us. Any ideas?
correct code for TT2.08



$connectable = get_row_count("peers", "WHERE connectable='yes' AND userid=$CURUSER[id]");

$unconnectable = get_row_count("peers", "WHERE connectable='no' AND userid=$CURUSER[id]");

if ($unconnectable)

   print "<br>Connectable: <b><font color='#FF0000'><blink>NO</blink></font></b>";

elseif ($connectable)

   print "<br>Connectable: <b><font color='#00FF00'>YES</font></b>";

else

   print "<br>Connectable: <b><font color='#FF9900'>N/A</font></b>";

works great, thanks for this mod
Thanks MVP, that works fine in my tests.
has anyone else tried this to see if it works? I have tried it on 2 different machines with class 1 accounts, and it does nothing for me. I wonder what is not executing? Firefox just spins like it is going to do something, then just stays on the same page, nothing happens. Am I missing a .php file for this mod other than the one that was posted by tiloup?
I understand the user class part, but it still dont do anything on my site. I click the button on a test user with a class of 1, and nothing happens, it dont delete it. Im confused lol
hmm, I tried this with a test account, and after I press the "delete account" button, the screen blinks, but nothing happens

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

hmm, j'ai essayé cela avec un compte de test, et après j'appuie sur le "compte de supprimer" le bouton, le voyant d'écran, mais rien ne se passe
using this as a block, works great, cant believe I missed this one. thanks
works nice, thank you
nice, I threw out the ones that came with v2.08 and use these.
yea, thats very nice.
premium users? — 2012-01-30 18:20:05 in General Chat
What do you get for being a premium user? is there a section just for them? and if so, How would I become one and what does it cost? If its not alot, i could try and donate to become one. Money sure is tight here, but I could see what I could do. Im in the USA and I think you guys are in the UK, so your money is worth more than ours I think
maybe this is an issue. The mod appears to work, but this is what is in the sql error log

Quote:
Database Error in torrents-details.php on line 33: Unknown column 'torrents.tube' in 'field list'. Query was: SELECT torrents.anon, torrents.seeders, torrents.tube, torrents.banned, torrents.leechers, torrents.info_hash, torrents.filename, torrents.nfo, torrents.last_action, torrents.numratings, torrents.name, torrents.owner, torrents.save_as, torrents.descr, torrents.visible, torrents.size, torrents.added, torrents.views, torrents.hits, torrents.times_completed, torrents.id, torrents.type, torrents.external, torrents.image1, torrents.image2, torrents.announce, torrents.numfiles, torrents.freeleech, IF(torrents.numratings < 2, NULL, ROUND(torrents.ratingsum / torrents.numratings, 1)) AS rating, torrents.numratings, categories.name AS cat_name, torrentlang.name AS lang_name, torrentlang.image AS lang_image, categories.parent_cat as cat_parent, users.username, users.privacy FROM torrents LEFT JOIN categories ON torrents.category = categories.id LEFT JOIN torrentlang ON torrents.torrentlang = torrentlang.id LEFT JOIN users ON torrents.owner = users.id WHERE torrents.id = 2.
this also works on 2.08. Just doing the search for things takes a bit of reading since the code is a little different in 2.08, but it works. Its not as simple as Control+F then paste in dreamwaver to locate code

Just make sure you do EXACTLY what DJ said a few posts up. The order those edits are in have to match up, so to be simple, just do what he posted above. I made that mistake earlier, but I found it and fixed it

In 2.08, it looks like this. I added the "tube" query 8th in line, so I had to add the value 8th in line also

Quote:
$ret = SQL_Query_exec("INSERT INTO torrents (filename, owner, name, descr, image1, image2, category, tube, added, info_hash, size, numfiles, save_as, announce, external, nfo, torrentlang, anon, last_action) VALUES (".sqlesc($fname).", '".$CURUSER['id']."', ".sqlesc($name).", ".sqlesc($descr).", '".$inames[0]."', '".$inames[1]."', '".$catid."', '".$tube."', '" . get_date_time() . "', '".$infohash."', '".$torrentsize."', '".$filecount."', ".sqlesc($fname).", '".$announce."', '".$external."', '".$nfo."', '".$langid."','$anon', '".get_date_time()."')");
this would be a cool mod if it could be made to add youtube videos to torrents when you upload the torrents. I use youtube videos to display trailers, woudl be much simpler to have this mod in the torrent upload rather than having to type out , much in the same way you can upload images with a torrent.
so..........I take it that this mod is no good? Anyone wanna clarify? based on the posts in this thread, it doesnt seem that this mod actually does anything helpful lol
[ADDON] Teams — 2009-10-29 00:52:12 in v2 Only Mods Complete
yea, im curous about what this is also. What are we supposed to do with the "teams" that we can create in TT 2.05? It dont look anything like what I see in some of the screenshots I see in this thread. I understand what its "supposed" to do, but I dont see it in the torrent uploads. Am I missing something lol.
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