View Single Post
Old January 26th, 2006, 11:29 PM   #3 (permalink)
volarium
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 56
I am by NO MEANS an expert, so take my advice for what it's worth, but this is how I did it.

You need to make this edit in the following four files:
index.php
showphoto.php
showgallery.php
showmembers.php

Find this:
Quote:
$queryz = ppmysql_query("SELECT cat,id,title,rating FROM {$Globals['pp_db_prefix']}photos ORDER BY rating DESC,views DESC LIMIT {$Globals['mostpoppal']}", $link);
Replace with this:
Quote:
$queryz = ppmysql_query("SELECT user,userid,COUNT(*) AS pcount FROM {$Globals['pp_db_prefix']}photos WHERE user NOT LIKE 'username' GROUP BY user ORDER BY pcount DESC LIMIT {$Globals['numtoppal']}", $link);
Replace username with the username you want to exclude.

You can see mine here: http://vfrworld.com/photos

Good luck!
Michael
volarium is offline   Reply With Quote