hi, I found the bug which makes this plugin showing only matching secondary groups
./library/PosterOfMonth/Model/PosterOfMonth.php line 240
PHP:return 'AND (user.user_group_id IN ("'. $this->_getDb()->quote($options->ls_group_allowed) . '") OR (' . implode(' OR ', $groupConds) . '))';
should be
PHP:return 'AND (user.user_group_id IN ('. $this->_getDb()->quote($options->ls_group_allowed) . ') OR (' . implode(' OR ', $groupConds) . '))';
remove double quote (") in IN statement solve this issue.
Are the posters being displayed on the 'members/topposters' page?Just installed this, but its not displaying ?????
Nice Addon, but I've found one 'bug'.
I excluded the usergroups Administrators and Moderators from this addon. But since all staff members are also a member of the 'Member' Group, one of our Admins has received the title now.
Could you make it so if a player is member of atleast one excluded group, he does not get involved in the Top Poster process?
Best regards
Ferity
There is no way to change the time frame.Is there a way to keep me off the list? Also, is there a way to change the time frame?
I might add this feature, but haven't given it a thought yet.I have this problem also
I might add this feature, but haven't given it a thought yet.
I've replied to your PM with the solution.Its not exactly a new feature. Its a feature that is suppose to already be there and isn't working as it should. It shouldn't be hard, just have a setting to exclude usergroups.
I've replied to your PM with the solution.
- Bug fix in SQL query introduced in 2.0.0
- Removed the Allowed user groups completely and added the ability to exclude certain user groups from entering the leaderboard.
- Code optimizations.
We use essential cookies to make this site work, and optional cookies to enhance your experience.