View Thread
 Print Thread
downloads.php remove version, comments, ratings
razin
Hello,

How remove version, comments, ratings in downloads.php. Info on screen.

images76.fotosik.pl/823/93d67d98b2d850f9.png
 
douwe_yntema
In downloads.php comment out the line numbers: 191, 193,194, 237, 239, 240


      echo "
\n";
      echo "\n";
      echo "\n";
      echo "\n";
      echo "\n";
//      echo "\n";
      echo "\n";
//      echo "\n";
//      echo "\n";



                  echo "
\n";
                  echo "\n";
                  echo "\n";
                  echo "\n";
                  echo "\n";
//                  echo "\n";
                  echo "\n";
//                  echo "\n";
//                  echo "\n";
                  echo "\n";


Demo on http://www.douwe.schoonheidssalonanne...nanneke.nl\n";
   echo "\n\n";
   echo "\n";
   echo "\n";
//   echo "\n\n";
//   echo "\n";
//   echo "\n";
   echo "\n\n";
   echo "\n";
   echo "\n";
".$locale['420']."".$locale['421']."".$locale['422']."".$locale['423']."".$locale['424']."".$locale['425']."".$locale['426']."
".$new."".$data['download_title']."".showdate("shortdate", $data['download_datestamp'])."".profile_link($data['user_id'], $data['user_name'], $data['user_status'])."".($data['download_version'] ?  $data['download_version'] : "--")."".$data['download_count']."".$comments_count."".($data['count_votes'] > 0 ? str_repeat("'*'", ceil($data['sum_rating'] / $data['count_votes'])) : "--")."
 
razin
Thanks Blush

But how delete this funcion in downloads - add files in administration.
Edited by razin on 08-27-2016 13:28
 
douwe_yntema
You can disable comments and ratings for your site in Settings --> miscellaneous.

For removing version in file administration\downloads.php, remove lines 387 - 389


   echo "
".$locale['425']."
".$locale['426']."
".$locale['435']."
 
Jump to Forum
Similar Threads
Thread Forum Replies Last Post
[PANEL] Top 5 Downloads [7.02.XX] Code Snippets 1 05-23-2018 02:09
Version 9 with php 7 General Chat 7 11-11-2017 06:30
Stylo simple version to Gillette Themes Support 12 01-13-2016 15:23
Downloads General Chat 4 01-15-2015 07:58
Latest Downloads Panel [7.02.XX] Panels 6 10-10-2014 00:39
Atom-X8 for PHP-Fusion Version 8 - 2019 All rights reserved
Copyright © PHP-Fusion USA 2013
Proudly hosted in the USA
Default Timezone is GMT (-7:00)
Powered by PHP-Fusion Copyright © 2019 PHP-Fusion Inc
Released as free software without warranties under GNU Affero GPL v3.
Render time: 0.04 seconds - 42 Queries - Memory used: 955.02kB/1MB 5,508,193 unique visits