Skip Navigation

[Resolved] agents or users

This support ticket is created 4 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 6 replies, has 2 voices.

Last updated by johnM-22 4 years, 7 months ago.

Assisted by: Minesh.

Author
Posts
#1572659

Tell us what you are trying to do?
I'm trying to follow the documentation to set up agents for my properties (real estate site), but when setting up Add Listing and Edit Listing forms, the documentation points to setting up those things for WP Users, not CPT Agents.
So I'm confused if I should make a custom post type for my Agents, or whether the agents will be WP Users.

Is there any documentation that you are following?
https://toolset.com/learn/how-to-build-a-real-estate-website-on-wordpress/
https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/

Is there a similar example that we can see?
the demo site
I am just looking to get it set up without PHP. So I'm not looking for complicated setup. Just the basic Toolset Real Estate Site, where agents can add listings, edit listings, etc. It just all seems so complicated.

What is the link to your site? acretill.com

#1572991

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

With Real Estate site - the Agents are configured as the custom post type.

I suggest if you want to know how the Real Estate site works, you should try to subscribe to our free test platform www-discover-wp.com that will allow you to create as many test sites as you want using our readily available reference site and one of them is Real Estate site.
=> https://discover-wp.com/site-types/bootstrap-estate-layouts

In addition to that, you can also download and install any of our reference site to your server as well using the Framework Installer plugin:
=> https://toolset.com/documentation/user-guides/export-import/using-framework-installer-to-install-reference-sites/

This will allow you to play with our real estate reference sites and help you to know how the structure is built and understand how everything is setup using Toolset.

#1573105

Okay, thank you! I set up the reference site on my own server, and I see that it doesn't appear the adding new listings is connected to a WP User.

Also, it doesn't look like there is any ability to "Edit Listing" via a form on the Real Estate Reference site. Can you confirm?

#1573149

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Okay, thank you! I set up the reference site on my own server, and I see that it doesn't appear the adding new listings is connected to a WP User.
==>
Yes, the listing is connected to Agents not WP User.

Also, it doesn't look like there is any ability to "Edit Listing" via a form on the Real Estate Reference site. Can you confirm?
==>
Yes, I confirm that there is no Edit form available. But you can easily create a Edit form. You just need to create a new form and set its Form Type to "Edit existing content"
- https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-editing/

#1573163

Thank you for the reply.

I did try that already, and the form displayed an error because it couldn't connect me to the listing I had created.

I think I will look at the Toolset Directory site, as that has register, login, and add/edit your own listings. Perhaps I can use that set up and re-name the "Listings" as "Land" for my real estate site.

#1573239

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I did try that already, and the form displayed an error because it couldn't connect me to the listing I had created.
==>
I do not know yet how you are trying to display the edit form for your existing entry.

I think I will look at the Toolset Directory site, as that has register, login, and add/edit your own listings. Perhaps I can use that set up and re-name the "Listings" as "Land" for my real estate site.
==>
Yes, you are free to create as many tetst sites as you want and take the reference from it. You many also check he membership site as well.

#1573639

My issue is resolved now. Thank you!

At your suggestion, I set up a reference site, but for the Toolset Directory site. I saw how the pages were set up for add new listing, edit listing, and my listings.

Also, I found how to build a conditional login/account page here: https://toolset.com/documentation/user-guides/front-end-forms/building-the-my-account-page/

And I was able to finally pull in the post author information into the real estate posts, from here: https://toolset.com/documentation/user-guides/views/views-shortcodes/#wpv-post-author.

Code I used on my Real Estate Content Template was:

<div class="owner-details">
  <h3>Contact Owner</h3>
  <p>Name: [wpv-post-author format="meta" meta="first_name"] [wpv-post-author format="meta" meta="last_name"]</p>
  <p>Phone: [types usermeta='contact_phone' user_is_author='true'][/types]</p>
  <p>Email: [types usermeta='contact_email' user_is_author='true'][/types]</p>
</div>