Restricting add listing to business owner or 'listing champion'
This topic contains 5 replies, has 3 voices, and was last updated by Paolo 9 years, 1 month ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: Add Listing, fields, user type
-
AuthorPosts
-
October 15, 2015 at 11:19 am #56966
Hello,
I have the subscription package with most addons, including buddypress integration. For most of my CPTs I have both Free (limited info) and Premium (more info + photos) listing packages.
Currently any registered user can add listings for all CPTs and price packages.
I would like to move to having only myself and selected ‘listing champions’ able to add listings for enterprises/events etc for which they are not the Business Owner/Associate – and am wondering my options for setting this up, and what would be the best way.
One way I could conceive is to set up a wordpress user type who is able to continue adding listings once ‘no’ has been answered to ‘Are you the Business Owner/Administrator’ – with normal registered users stopped at that point – either forcibly stopped by disallowing listing submission (removing subsequent listing entry fields) or by putting up a message that says they cannot submit listings on behalf of others.
Alternatively – and what I started playing with – was adding a radio field after ‘Are you the business owner/associate’ that asks ‘Are you a Listing Champion’? (and having policies/recruitment criteria for ‘Listing Champions’. Going this route, I would like to be able to have the second question only appear if ‘no’ was answered to the first. If ‘no’ was then answered to the second question (i.e., they are neither the Business owner nor a ‘Listing Champion’), they are not to add listings on behalf of others – with either subsequent fields being hidden and submission disallowed, or with a message that they are not able to submit a listing on behalf of others (new listings are draft until I agree them). I thought I had previously seen some sort of dependent field filter, whereby if a particular response is given to a listing field then another field appears – but I cannot see this option now? This functionality would allow me to explore this second solution.
What might I be able to do in terms of the alternative solutions with current geodirectory functions?
Thanks,
AdrianOctober 15, 2015 at 11:41 am #56970Hi Adrian, what will stop people pretending they are the business owner just to get past your question?
Maybe you can create pricing packages?
Call the package “Tick this if not the owner” and that goes to a really basic submission form with only title and description.
Another package called “Tick this if this is your business” goes to the full form.
And another one could be “Tick this if you are a champion and are adding a listing”.I cannot think of any other way of doing it …maybe somebody else does.
October 15, 2015 at 3:59 pm #57020Hi Guust,
“what will stop people pretending they are the business owner just to get past your question?”
Well, if they do that I would hope to pick them when I check submitted listings before they go live – manually if necessary,i.e. looking up the business and contacting them through official contact channels. Persistent offenders will have accounts deleted/ ip addresses blocked.
Your suggestion about naming packages is worth thinking about – although as a rule I have 2 or three packages to choose from for each CPT and their names are already quite wordy!
I would be keen to hear if anyone has done this type of thing with an different wordpress user type – or has an idea of how to do it.
Similarly, I am sure that I came across an option to have fields included on listing forms dependent on answers to preceding field question (but can’t find it now) – and would like to hear from anyone who does something similar.
October 15, 2015 at 6:21 pm #57042Hi,
the only quick solution I see for this is to use something like s2member, create 2 different members types and assign the listing champion type manually to the users you want.
Than restrict the add listing page for any other users.
The way you are trying to take would require an extensive customization. Not somthing simple we can guide you doing.
Thanks
October 15, 2015 at 6:44 pm #57043Hi Paolo,
I’ll maybe have a go to s2member at some point in the future – looks like one too many new plugins to get my head around at the moment, so will probably go with explicit instructions as well as checking draft listing submissions.
Tell me though, am I imagining that I was able to have a listing field appear dependent on the answer to a previous field – eg, adding a text field if ‘other’ is selected from a list?
Thanks,
AdrianOctober 15, 2015 at 6:50 pm #57045Hi,
GeoDirectory doesn’t provide conditional fields. Never did.
Sorry about that.
Thanks
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket