Jory Hogeveen
Forum Replies Created
-
Forum: Plugins
In reply to: [View Admin As] Filter users allowed to view as?Closing topic due to inactivity. You can re-open this topic if you still need help!
Cheers, Jory
Forum: Plugins
In reply to: [View Admin As] When resetting view, I need to reload againI have a patch release ready together with some other fixes.
There are some minor things I need to address before actually releasing and I hope to have some time for this asap.In the meantime you can find the changes here: https://github.com/JoryHogeveen/view-admin-as/tree/dev
Cheers! Jory
Forum: Plugins
In reply to: [View Admin As] Function _load_textdomain_just_in_time was called incorrectlyHi @netto
I have a patch release ready together with some other fixes.
There are some minor things I need to address before actually releasing and I hope to have some time for this asap.In the meantime you can find the changes here: https://github.com/JoryHogeveen/view-admin-as/tree/dev
Cheers! Jory
Forum: Plugins
In reply to: [View Admin As] Function _load_textdomain_just_in_time was called incorrectlyHi @netto
Thank you for reporting. I’m aware of this warning and am already working on a patch which you can expect soon as a maintenance release.
Cheers, Jory
Hi @wfpeter
We already use Application Passwords in Zapier so I was under the impression that XML-RPC and REST got mixed up in the block.
Though now I understand that Zapier actually still uses XML-RPC for their WordPress core connection through the first link you’ve posted. I was sure they didn’t so sorry about this post.I might solve it similarly as reCaptcha and only allow XML-RPC when Zapier tries to connect.
Thank you for the prompt reply, greatly appreciated.
Hi @grigorax
You can customize the output of a shortcode in any way you want.
It’s even possible to define a custom template within that shortcode.More info here:
Shortcode: https://docs.pods.io/displaying-pods/pods-shortcode/
Template magic tags: https://docs.pods.io/displaying-pods/magic-tags/using-magic-tags/
Creating a Pods template is recommended though it is possible to add a custom template through the shortcode or blocks. https://docs.pods.io/displaying-pods/pods-blocks/Through these options you can create your own templates and use the Pods fields any way you want. This will give you the flexibility to integrate the Pods output with the CSS and classes of your theme (or custom CSS).
Cheers, Jory
Forum: Plugins
In reply to: [Widget CSS Classes] Translation CreditHi @xontz
First of all, thank you for translating!
I’ve added you to the credits.I do like to add that since most translations are not kept up to date in the long run, I will eventually remove this list from the readme. This is pending a review from my end to check what translations are stull up to date.
Cheers! Jory
Hi @grigorax
CSS is markup language and not related to Pods. Pods only provides a method to create the structure of your content. The UI part can then be adjusted to suit your needs manually.
Every theme works very differently so what CSS is required will depend on your theme. A lot of themes still use Bootstrap for example which uses a grid system (v4: https://getbootstrap.com/docs/4.0/layout/grid/ or v5: https://getbootstrap.com/docs/5.3/layout/grid/#example)
You can also use generic CSS to create grids by following these guides: https://www.w3schools.com/css/css_grid.asp
W3C is a great resource to learn CSS.
Cheers, Jory
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Pods Templates are no longer workingHi @supadigital
Did you read our docs on the access rights? https://pods.io/2024/02/21/pods-3-1-feature-release-access-rights-revamp/
> https://docs.pods.io/displaying-pods/access-rights-in-pods/
> https://docs.pods.io/displaying-pods/access-rights-in-pods/access-rights-settings-in-pods/
It is basically a more fine-grained control of what is (and most important isn’t) allowed.
You can use the review page (under the Pods setting page) to review the current settings on your Pods.Going into more depth on your report. What exactly isn’t working anymore?
The quickest solution would probably be to full allow all Pods dynamic features. Either through the settings or through constants (See docs).
However, I would recommend taking the time to review these settings to make sure you have your security up to date.Cheers, Jory
Hi @jayamsgq
These are two separate PHP issues (a warning and a deprecation). Please also share a stack trace so we can validate where it’s coming from.
You will probably find more information in your server logs.
Cheers, Jory
Hi @witu
I think this is because en image caption is not
null
notfalse
but an empty string.Quickly made a patch to address this: https://github.com/pods-framework/pods/pull/7377
Could you test it and confirm whether it works for you or not?Cheers, Jory
Forum: Plugins
In reply to: [Deposits & Partial Payments for WooCommerce] Disable free when pro is activeIn that case I think my client did some other procedure. Thank you for the prompt reply, closing topic!
Cheers, Jory
WPML actually does copy everything, that part works great. However, WPML creates new posts for each translated object so the related language will have a different ID than the original.
Basically, if you have a main object with ID 1 and a relationship to ID 2, the translation would have ID 3 and it’s relationship could be ID 4. WPML then links ID 1 and 3 together and 2 and 4 as translations.I understand that this automation feels quite primary for your project but in reality it’s just a partial area for WPML integration. You are perfectly able to translate, however, the relationship conversion (note: not translation) is not done automatically.
This automatic conversion of post/attachment/object relationships is still in progress and will most likely be an addon for Pods. We are still figuring out what to do in certain occasions, for example:
What if the original post object relates to a relationship that isn’t translated yet? Should we auto-create it? Or should we not sync it? And if we shouldn’t sync it, what would happen if the user tries the save the translated object which doesn’t include the relationship? Will it sync back to the original post and remote the relationship on the original post as well?
As you can see, implementing such an automation can quickly result in bugs.Going back to the issue, since WPML should copy the relationship content, can you verify in the database whether it does copy the attachment ID’s or not? You might be able to configure WPML so that it will fallback to the original language and allows the use of that instead. Pods integration into WPML will auto-convert ID’s on display through WPML for it’s templates.
Cheers, Jory
Pods currently doesn’t include conditionals to show/hide fields based on existing post data. Your only option would be to manually handle this in PHP or JavaScript.
Cheers, Jory
I do not use WPML a lot but do have experience with it. From my knowledge WPML automatically handles media translations so it should do this by default.
However, since WPML does not have any context for custom fields it does not know it’s media or something else, it’s just raw data. Therefore it will not auto translate media for custom fields.
We are working on a multilingual toolkit for Pods which would add this context for custom media fields to WPML. For now you’ll need to select the images for each translation yourself. No need to re-upload images since the translation should still be available, it just won’t be synced automatically. Note that you do need to disable the meta sync in WPML for this to work.
Cheers, Jory