Jump to content

  •  

  • Tutorial info Visit support topic

    • Added on: Feb 13 2009 12:24 AM
    • Date Updated: Feb 13 2009 12:29 AM
    • Views: 754
     


    * * * * *
    0 Ratings

    Show only files with screenshot on Random 5 (index)

    Posted by Adriano Faria on Feb 13 2009 12:24 AM
    To show only files with screenshot on Random Files on IP.Downloads index, open sources\components_public\downloads\display.php and find:

    'where'	 => "f.file_open=1 AND c.copen=1 AND c.cid IN (" . implode( ',', $this->catlib->member_access['view'] ) . ")",
    Change to:

    'where'	 => "f.file_open=1 AND c.copen=1 AND c.cid IN (" . implode( ',', $this->catlib->member_access['view'] ) . ") AND f.file_ssname != ''",


    Posted Image

    Files like those on focus, won't be shown!

    Powered by Tutorials 1.4.1 © 2012, by Michael McCune