MicroMonkey:I never had much luck using cloudflare. I also never really saw a real purpose for using it on a torrent site, but if you get it working, post your findings :)
Quote:its because a reply in the shoutbox is inserted as plain text into the database, including the username you are replying to. its not an object
spiritblue:Search code:
if ($CURUSER['id'] == $row['uid'] ) {
$mid=$row['id'];
if ($CURUSER["edit_users"]=="yes";) {
$edit="<a href='javascript:editup($mid,$CURUSER[id]);' style='font-size: 8px'><img id='EditSwap' src='images/ajshoutbox/shout_edit_gray.gif' border='0' title=".T_("EDIT";)."\n></a><a href='javascript:delup($mid);' style='font-size: 8px'><img id='DeleteSwap' src='images/ajshoutbox/shout_delete_gray.png' border='0' title=".T_("_DEL_";)."\n></a>";
}
}else
if ($CURUSER['id']) {
$edit="<a href='mailbox.php?compose&id=$uid'><img src='images/ajshoutbox/pm.png' border='0' width='22' height='22' title='Send a private message' alt='Send a private message'></a><a href=javascript:Reply_code('➤".$row['name'].":','chatForm','chatbarText')><img src='images/ajshoutbox/reply.png' border='0' width='22' height='22' style='padding: 0px 0px 0px 3px;' title='Reply to this shout' alt='Reply to this shout'\n></a>";
}
spiritblue:
if ( ($CURUSER["edit_users"]=="yes";) || ($CURUSER['id'] == $row['uid']) ){
$mid=$row['id'];
$edit="<a href='javascript:editup($mid,$CURUSER[id]);' style='font-size: 8px'><img id='EditSwap' src='images/ajshoutbox/shout_edit_gray.gif' border='0' title=".T_("EDIT";)."\n></a><a href='javascript:delup($mid);' style='font-size: 8px'><img id='DeleteSwap' src='images/ajshoutbox/shout_delete_gray.png' border='0' title=".T_("_DEL_";)."\n></a>";
}else
if ($CURUSER['id']) {
$edit="<a href='mailbox.php?compose&id=$uid'><img src='images/ajshoutbox/pm.png' border='0' width='22' height='22' title='Send a private message' alt='Send a private message'></a><a href=javascript:Reply_code('➤".$row['name'].":','chatForm','chatbarText')><img src='images/ajshoutbox/reply.png' border='0' width='22' height='22' style='padding: 0px 0px 0px 3px;' title='Reply to this shout' alt='Reply to this shout'\n></a>";
}
Quote:this also works in code from 1st post find print("<table align=center cellpadding=3 cellspacing=3 width=100% border=0><tr>";);
replace with
print('<marquee scrollAmount="7" onMouseover="this.scrollAmount=0" onMouseout="this.scrollAmount=3" scrolldelay="0" direction="left"><table align=center cellpadding=3 cellspacing=3 width=100% border=0><tr>');Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /htdocs/backend/functions.php on line 5Fatal error: Cannot redeclare spl_autoload_register() in /htdocs/backend/functions.php on line 5

Database Error in torrents-details.php on line 28: Unknown column 'torrents.tmdb' in 'field list'. Query was: SELECT torrents.anon, torrents.recommended, torrents.thanks, torrents.seeders, torrents.tube, torrents.banned, torrents.leechers, torrents.info_hash, torrents.filename, torrents.nfo, torrents.last_action, torrents.numratings, torrents.name, torrents.imdb, 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, torrents.tmdb, torrents.bgsubtitle, torrents.bgaudio, 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 = 133.echo "<td class='table_col2' nowrap='nowrap'>".(count($expandrows)?"<a href=\"javascript: klappe_torrent('t".$row['id']."')\"><img border=\"0\" src=\"".$site_config["SITEURL"]."/images/plus.gif\" id=\"pict".$row['id']."\" alt=\"Show/Hide\" class=\"showthecross\" /></a>":"")." <a title=\"".$row["name"]."\" href=\"torrents-details.php?id=$row[id]&hit=1\">$dispname</a> $freeleech</td>