perfect DJ , yet again m8 .....thanks
if ($CURUSER){
begin_frame("New Torrents");
echo '<IFRAME name="new_torrents" src="'.$site_config["SITEURL"].'/imageflow.php" frameborder="0" marginheight="0" marginwidth="0" width="99%" height="260" width=350 scrolling="no" align="middle"></IFRAME>';
end_frame();
}Open ImageFlow/imageflow.jsdefault:
zIndex = zIndex + 1;
image.onclick = function() { window.open(this.url,'_parent'); }
break;
and line 255
/* Set ondblclick event */
image.url = image.getAttribute('longdesc');
image.ondblclick = function() { window.open(this.url,'_parent'); }"Freeinfo, post: 63472":Got an problem or is it just because it doesnt have pictures on all ??
"Lakicevic Boris, post: 62754":whit IE is not working ;)
body {
background-color:
change it to if it isnt allready set to.
body {
background-color:transparent;
in index.php find
begin_frame("New Torrents");
echo '<IFRAME name="new_torrents" src="'.$site_config["SITEURL"].'/imageflow.php" frameborder="0" marginheight="0" marginwidth="0" width="99%" height="220" width=250 scrolling="no" align="middle"></IFRAME>';begin_frame("New Torrents");
echo '<IFRAME name="new_torrents" src="'.$site_config["SITEURL"].'/imageflow.php" frameborder="0" allowtransparency="true" marginheight="0" marginwidth="0" width="99%" height="220" width=250 scrolling="no" align="middle"></IFRAME>';
"Koekje7, post: 72427":I have the approval mod that XxBeliaLxX posted for TTv2 [url="http://www.torrenttrader.org/index.php?showtopic=8066&hl=approval+mod"]http://www.torrenttrader.org/index.php?sho...hl=approval+mod[/url]
The problem I have is that the image shows up on unapproved torrents before there approved is there something that can be added to imageflow.php to prevent this ? :lol:
$query = mysql_query ("SELECT * From torrents WHERE image1 ORDER BY id DESC LIMIT 50");
Change to
$query = mysql_query (" SELECT * FROM `torrents` WHERE image1 AND safe = 'yes' ORDER BY id DESC LIMIT 50 ");
<?php$query = mysql_query ("SELECT * From torrents ORDER BY id DESC LIMIT 5"); <?php$query = mysql_query ("SELECT * From torrents WHERE safe = 'yes' ORDER BY id DESC LIMIT 5");No users online
Torrents
Members
Online