Add listing page queries

This topic contains 38 replies, has 3 voices, and was last updated by  Kiran 5 years, 5 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #508283

    Alex Rollin
    Moderator
    Post count: 27815

    They are definitely users. I just added a listing and received an email to set my password.

    #508284

    iinz
    Lifetime Member
    Post count: 59

    Thanks Alex. Appreciate your fast response.

    The problem seems to be with validation.

    Name & email id are required fields but accepts even single character.

    if user does not enter proper email id, the listing still gets submitted and appears in the database but user is NOT created.

    I noticed the same validation issue in Address field. User can simply write single character without selecting auto address completer and still page accepts the listing.

    #508396

    iinz
    Lifetime Member
    Post count: 59

    I could not find where to set validation for email and name on add-listing page where user provides these two fields and prior registration is not required.

    #508507

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    the developers are checking into validation on the fields for name and email for posting without logging in.

    The address field is free text. What kind of validation are you thinking about for that field?

    #508543

    iinz
    Lifetime Member
    Post count: 59

    Thanks Alex.

    In address field if user do not select the address from drop down, there is no validation. I would prefer to have at least text length.

    #508608

    Alex Rollin
    Moderator
    Post count: 27815

    OK, I have taken that up as a suggestion and the developers will discuss if this is something they can work on in the near term.

    #508872

    Kiran
    Moderator
    Post count: 7069

    Hi suvadel,

    I have tried to add listing without logging with name & email. It successfully added the listing and i also get email to activate user & reset password link.

    Please provide admin credentials to look into more.

    Kiran

    #508888

    iinz
    Lifetime Member
    Post count: 59

    Hi Kiran,

    The issue is different.

    Try adding listing with single character in name and single character in email. Still you shall be able to add a listing. In this case User shall not be created and only listing shall be added. Admin would not know who entered this listing.

    I want user to enter proper name (length & name validation) and proper email (email validation)

    #508931

    Kiran
    Moderator
    Post count: 7069

    Hi suvadel,

    WordPress allows new user with even 1 characters in name. We have created task to validate user from our side. It will be in future release.

    https://github.com/AyeCode/geodirectory/issues/930

    Kiran

    #509030

    iinz
    Lifetime Member
    Post count: 59

    Thanks Kiran & Alex,

    In the mean time if you guys can think of any work around. Please let me know.

    #509061

    Kiran
    Moderator
    Post count: 7069

    Hi There,

    Register user is now validated during post submit. It will be in next release of v2.0.0.68.
    Path available at here https://github.com/AyeCode/geodirectory/pull/933/commits/089d966ef0db15f53db04ed50f9053735ed4b2c5

    Kiran

    #509062

    iinz
    Lifetime Member
    Post count: 59

    You guys are amazing! Thank you.

    #515733

    iinz
    Lifetime Member
    Post count: 59

    Hi

    I updated WPGeoDirectory to the latest where I was expecting Name & Email to have validation when user add business listing without login. The validations is working fine. Thanks.

    BUT listing is NOT getting added. It shows error “You don not have the privileges to perform this action”. I tried in two different browsers and got same error.

    #515734

    iinz
    Lifetime Member
    Post count: 59
    This reply has been marked as private.
    #515761

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    you have set the Reset and Forgot password pages to the same page. They should be different pages.

    I see the error you mention. I cannot think of any setting in GD or UsersWP that would cause that, so I recommend disabling Non-GD and non-UWP plugins to find which is causing the issue.

Viewing 15 posts - 16 through 30 (of 39 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount