Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 8.1.4
- This topic has 2 replies, 2 voices, and was last updated 12 years ago by
Bob C.
-
AuthorPosts
-
10/08/2014 at 4:09 pm #306420
Bob C
GuestGood day,
We’ve been tasked with building a couple of business directories for existing WP sites. In the past we wrote a custom plugin that looks at an external MySQL table and if it sees something new, it imports that record into WP (currently wp_users & wp_usermeta). In looking over your product, it appears you use your own tables for the directories. Can I assume that we can modify the plugin we wrote to write to your tables? This is a dynamic thing, someone may update their record in an external db – that db does a lot more and must be the source. So when a record is changed or added in the external db, the script would update the connection tables if possible. If this can be done, is there documentation on the tables (names, required fields, etc.)?
Also, we have clients that may want 2 completely looking directories on the same site, say one for businesses in the area (public) and one for business owners (private) to contact each other. Can multiple directories reside on the same site?
Thanks!
Bob10/09/2014 at 7:14 pm #306669Steven Zahm
Keymaster@ Bob
Sure, you can probably somewhat easily modify your plugin to write to Connections tables. This file has functions you’d have to use. They abstract away most of the details. These few functions are probably the two you’d need:
- Add
- Update
- Both of the above use this function.
As for as separate directories … yes, that is possible by using categories to separate them.
Hope that helps!
10/10/2014 at 2:06 pm #306760Bob C
GuestThanks!!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
