Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Randomize and Limit options do not work

brainolutionbrainolution ✭✭
edited April 2012 in Vanilla 2.0 - 2.8

The Randomize and Limit options on this plugin do not work. It shows all the users in the forum irrespective of the Limit value and the list is not randomized.

Has anybody faced the same issue, and managed to resolve it?

Thanks

Tagged:

Answers

  • Options

    Am I the only one facing problems with this plugin?

  • Options

    Have you check js problem?

  • Options

    Thank you guys.

    @Chanux - that link solved half the problem (randomize) and I solved the other half (limit) by adding this:

    ->Limit($Limit)

    Thanks again

  • Options

    Dang... and here I am all excited to share my brilliant fix for the plugin, and of course it's already been solved.

    To sum it up, the full-on query should be:

             $this->Users = $SQL
                        ->Select($Select)
                    ->From($From)
                    ->Join('UserRole r','u.UserID = r.UserID')
                    ->Where($Where)
                    ->OrderBy($Order)
                    ->Limit($Limit)
                    ->Get();
    

    Can we somehow incorporate this into a 0.6 release?

  • Options
    hbfhbf wiki guy? MVP
    edited May 2012

    @underdog how do we maintain plugins when the original authors havent been around for a good long while?

  • Options

    Thank you for the question. Indeed, that's a problem.

    All I can think is of some solutions, nothing in detail:

    • Create a project on github so you can receive bug reports or use your own github account
    • Create your own version of the plugin and attach it to a discussion topic
    • Have someone add the new version to the current plugin page (tricky, I think)

    There was an error rendering this rich post.

Sign In or Register to comment.