• Resolved Mark

    (@markob17)


    Hi Greg,

    Wondering if it is possible to make Email not a required field? Instead I want to link the users name (e.g., Bob Advertiser) to their profile. If I have to edit the code I am good with that even if it will break during an update, as I will just make the change manually during each update. (At least until your contact form and buddypress add-ons come out!)

    I’m trying to get this working better with a Buddypress community and I don’t want to expose member email addresses. If I can prevent Email from being a required field I can then simply hide the field via css. I’m having a hard time figuring out how to do this first step.

    From there I am planning on linking the users name to their Buddypress profile which should be pretty easy as I’ve done this before. This way email addresses aren’t required and people can instead click on the posters name to visit their members profile and then use the Buddypress built-in email feature to inquire about an advert.

    Regards,

    Mark

    https://wordpress.org/plugins/wpadverts/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi, hmm you can use ‘adverts_load_template’ filter ( http://wpadverts.com/documentation/child-themes-and-templates/ ) to load some custom file instead of wpadverts/templates/single.php, this would allow you to replace the default contact box with your own, without loosing this changes on update.

    Thread Starter Mark

    (@markob17)

    Thanks Greg, this is really awesome! Pretty sure this is exactly what I need to accomplish what I want. I didn’t realize there were so many ways to tweak your plugin. Great stuff. I hope it really takes off and makes you lots of money. So far I like what it offers and will likely be purchasing your Geo add-on soon.

    I am going to work on replacing the default contact box with a “message button” that links to the Buddypress message interface later today using your instructions.

    Early this morning I experimented with things (pieced together code snippets I found online) and was able to add a Buddypress message button that pulls the post authors name, redirects to the message interface and inputs it there. Did so on a standard post for testing but pretty sure this is going to work on a custom WPAdvert template. Will let you know if it works or if I have any questions. Appreciate your help and quick response to my questions.

    Best Regards,

    mark

    Plugin Author Greg Winiarski

    (@gwin)

    Ok, thanks the code snippets will be great as the BP integration is something users often ask about, so i think this will be valuable to users browsing this forum.

    P.S. I will reply to your email tomorrow i did not really had time to do it today.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Is it possible to disable email required field?’ is closed to new replies.