Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ Justin
I was able to import the entire file, but, only after I limited the batch to 20 rows at a time. The import seems to be slow on your webhost. About 1 per second instead of 3–5 a second I would expect.
The speed really is not the issue, but a contributing factor…
The php max execution seems to be set to unlimited so import speed should not matter, but, it seems, the web host is “hard” limiting this to somewhere between 60 and a 100 seconds. My best guess because my local gateway times out after just 60 seconds so I never did get to see the error you did. Assuming 1 import per send leads me to the 100 second guess.
Two things you can check…
- The PHP error log. Something relevant could be recorded there.
- The browser’s console Network requests. Each import batch shows up as a request to admin-ajax.php. After you receive the javascript error, if you navigate to the Network tab look for the last a call to admin-ajax and click it and then click the response tab. That will display the actual message that fail to be parsed as json resulting in the javascript error. NOTE: There could be several admin-ajax.php calls send by the WP heartbeat which come after the call for the batch import so the last call may not be the correct one. You can tell which ones these are because they only take about a half second.
Now of course there are duplicates in the db… I image you plan on simply deleting them so you can import with the image URL, correct?
Hope this helps!
05/17/2017 at 2:37 pm in reply to: Separate Profile Templates for Organization and Individuals #423293Steven Zahm
Keymaster@ Mitch
You can use the single entry template option which will use a different template based on the entry type when viewing the single entry page.
Hope this helps!
Steven Zahm
Keymaster@ Mitch
Are you using a template which support pagination? The templates which come with Connections do not.
Steven Zahm
Keymaster@ Wesley
Ok, the database structure was not up to date. I manually force the update and now addresses should save correctly. Please check the 123 Bruiloftdj.nl entry to make sure it is still correct. I used it for a quick test.
Hope this helps!
Steven Zahm
Keymaster@ Michael
There is no built in way to link and individual to an organization. Interestingly, I did do a custom job just recently that dod some pseudo linking…
The way it worked…
You enter your orgs and when you enter the individuals the org field for the individual because a drop down of the previous entered orgs instead of a free text input.
For display, on org entries the template would query for individuals with an exact match org field name. The opposite was done if the entry was done.
This worked great even though the pages were now a bit more query heavy. This custom code could be made into a more generic addon using a Content Block to display the “linked” entries so custom templates would not be required. Either way, I do provide custom developed solution if you are interested. Let me know.
Steven Zahm
Keymaster@ Carolin
Is one of those two pages set as the directory home page? The search widget will only search the page set as the directory home page.
Steven Zahm
Keymaster@ Wesley
Do you happen to know which version you upgraded from? If you can give me a temp WP admin account I can take a look. The details can be posted here as a private reply.
Steven Zahm
Keymaster@ Justin
Can you disable WP_DEBUG? After you do this, are there any other javascript errors shown in the browser console?
If you can supply me, as a private reply, the CSV file, a WP admin account and the field mapping, I’ll take a look.
At this point I believe there is another plugin or theme causing either a fatal javascript error or causing a PHP error/notice to be output which is correcting the expected json reply.
Steven Zahm
Keymaster@ Justin
I’ve added this to my feature request list.
Steven Zahm
Keymaster@ LindaK
When publishing a post or page you can use the WordPress Visibility feature. Click the Edit Visibility link in the WordPress Page/Post Publish metabox and change it to Private.
Only logged in users will be able to view those pages/posts. Alternatively, you could try a lightweight plugin like Restrict Content. If I remember correctly it has a shortcode in which you can place the content that should be restricted and an option o display a login form if the user is not logged in. It’ll be the same user login as Connections users since it is the WP user that is validated.
Hope this helps!
-
AuthorPosts
