Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter
Support for Vanilla Forums Cloud product

In this Discussion

Follow Us


Registration Broken / Birthday Year

edited December 2009 in Questions
It seems that the latest version of Vanilla has introduced a bug that results in the year not being listed on the registation forum. Because it isn't listed, it means that no new user can register. Take a look at the registration form here:

http://forum.wbpsystems.com/entry/

Comments

  • LincolnLincoln Community Instigator Vanilla Staff
    Merde. Unintended consequence of a bug fix I submitted to allow single-year date ranges. I didn't realize Vanilla was using that as default behavior in places like the registration form.

    I've fixed it in my branch and sent a pull request so it should be in master soon. Egg on my face; sorry about that.

    Sr Developer at Vanilla Forums [GitHub, Twitter]

  • LincolnLincoln Community Instigator Vanilla Staff
    edited December 2009
    @tazz_ben If you need to fix it in your copy faster:

    /library/core/class.form.php line 108 change from:
    if ($StartYear > $EndYear) {
    to:
    if ($YearRange === FALSE || $StartYear > $EndYear) {

    Sr Developer at Vanilla Forums [GitHub, Twitter]

  • Thanks, that fixed it.
Sign In or Register to comment.