Quote:
Originally Posted by RED_LINE
i see that code you told me
(ORDER BY au.issue_time) at line 1304
PHP Code:
// [START HACK='Yet Another Award System' AUTHOR='HacNho'] // Obtain list of awards for current user $alluserawards = $DB_site->query(" SELECT a.*, au.*, post.userid, post.postid FROM " . TABLE_PREFIX . "post AS post INNER JOIN " . TABLE_PREFIX . "award_user AS au ON (au.userid=post.userid) INNER JOIN " . TABLE_PREFIX . "award AS a ON (a.award_id=au.award_id) WHERE post.postid IN (" . $cache_postids . ") GROUP BY au.issue_id ORDER BY au.issue_time "); while( $ua = $DB_site->fetch_array($alluserawards)) { $userawardscache[$ua['userid']][$ua['issue_id']] = $ua; } $DB_site->free_result($alluserawards); // [END HACK='Yet Another Award System' AUTHOR='HacNho']
thanx for help mtha :nervous:
|
What version of YAAS are you using? did you upgrade to the last version? Since your pasted code is different from the one in my instruction, I think you DID NOT make the correct changes to your files file.
PLEASE download the NEW zip file and follow instruction there for upgrade, and re-edit ALL files.