msowah
Forum Replies Created
-
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Plugin conflict@sc0ttkclark thanks will try it out and revert. I also wrote a fix and submitted a PR to the other plugin as well.
Forum: Plugins
In reply to: [Simple Local Avatars] Cannot update the avatar via REST apiHello @faisal03 ,
So a sample rest api call to post by sending?
media_id
?value in the?simple_local_avatar.
will look like? Because I believe a sample code will go a long way to assist other users who need this like myself.great plugin by the way.
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Plugin conflict@pdclark I have actually resolved it by creating a wrapper class extending the jwt-auth firebase class. I so just forked the plugin and submitted PR to jwt-auth plugin which will help avoid future conflicts should it happen again.
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Plugin conflict@pdclark by any chance any sample code to assist in how that would look like…got a little lost trying to do it
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Plugin conflict@sc0ttkclark any updates?
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Defaulting a field to UUID()Thanks worked out fine by return the wp_generate_uuid4() in the UUID function
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Defaulting a field to UUID()can just use the wp_generate_uuid4() instead of using a custom function
ok @haseeb0001 , will be on standby
sorry Figured out the problem was not from you but rather another plugin was causing a conflict with this plugin
Thank you so much for the awesome work on pods. I wanted to by the advanced relationship plugin only but am told I cant buy just one. I also really want to donate towards pods 3.0 hopefully before target is reached.
I backed up the pods config and reinstalled the pods. So I am thinking probably I messed up with something else, so the reinstallation of pods fixed it.
works now figured it out
heres my pod config
{ "@meta": { "version": "2.9.10.2", "build": 1671174710 }, "settings": { "types_only": "0", "watch_changed_fields": "0", "metadata_integration": "1", "metadata_override_get": "0", "session_auto_start": "0", "wisdom_opt_out": "1" }, "pods": [ { "name": "custom_post_comments", "id": 36, "label": "Comments", "description": "", "type": "pod", "storage": "table", "label_singular": "Comment", "public": "1", "show_ui": "1", "pod_index": "id", "_migrated_28": "1", "unique": "0", "required": "0", "hierarchical": "1", "pod_parent": "parent", "show_in_menu": "1", "ui_style": "post_type", "ui_actions_enabled": [ "add" ], "ui_fields_manage": [ "id", "custom_post_id", "comment", "author_id", "status", "date_created" ], "groups": [ { "name": "details", "id": 37, "label": "Details", "description": "", "weight": 0, "fields": [ { "name": "comment", "id": 38, "label": "Comment", "description": "", "weight": 0, "type": "paragraph", "required": "0", "sister_id": "-- Select One --", "unique": "0", "paragraph_allowed_html_tags": "strong em a ul ol li b i", "paragraph_max_length": "-1", "repeatable": "0", "repeatable_format": "default", "roles_allowed": "administrator" }, { "name": "custom_post_id", "id": 43, "label": "Custom post", "description": "", "weight": 1, "type": "pick", "pick_object": "post_type", "pick_val": "custom_post", "sister_id": "-- Select One --", "pick_table": "-- Select One --", "required": "0", "unique": "0", "pick_format_type": "single", "pick_format_single": "dropdown", "pick_format_multi": "list", "pick_display_format_multi": "default", "pick_display_format_separator": ", ", "pick_allow_add_new": "0", "pick_taggable": "0", "pick_show_icon": "1", "pick_show_edit_link": "1", "pick_show_view_link": "1", "pick_limit": "0", "pick_user_role": "Administrator", "pick_post_status": "publish", "pick_post_author": "0", "repeatable": "0", "repeatable_format": "default", "roles_allowed": "administrator" }, { "name": "author_id", "id": 41, "label": "Author", "description": "", "weight": 2, "type": "pick", "pick_object": "user", "pick_format_type": "single", "pick_format_single": "autocomplete", "default_value": "{@user.ID}", "sister_id": "-- Select One --", "pick_table": "-- Select One --", "required": "0", "unique": "0", "pick_format_multi": "list", "pick_display_format_multi": "default", "pick_display_format_separator": ", ", "pick_allow_add_new": "1", "pick_taggable": "0", "pick_show_icon": "1", "pick_show_edit_link": "1", "pick_show_view_link": "1", "pick_limit": "0", "pick_user_role": "Administrator", "pick_post_status": "publish", "pick_post_author": "0", "repeatable": "0", "repeatable_format": "default", "roles_allowed": "administrator" }, { "name": "status", "id": 44, "label": "Status", "description": "", "weight": 3, "type": "pick", "pick_object": "custom-simple", "sister_id": "-- Select One --", "pick_table": "-- Select One --", "required": "0", "unique": "0", "pick_format_type": "single", "pick_format_single": "dropdown", "pick_format_multi": "list", "pick_display_format_multi": "default", "pick_display_format_separator": ", ", "pick_allow_add_new": "1", "pick_taggable": "0", "pick_show_icon": "1", "pick_show_edit_link": "1", "pick_show_view_link": "1", "pick_limit": "0", "pick_user_role": "Administrator", "pick_post_status": "publish", "pick_post_author": "0", "repeatable": "0", "repeatable_format": "default", "roles_allowed": "administrator", "pick_custom": "active|Active\ninactive|Inactive\ndeleted|Deleted", "default_value": "active" }, { "name": "date_created", "id": 39, "label": "Date Created", "description": "", "weight": 4, "type": "datetime", "datetime_format": "ymd_slash", "datetime_time_type": "12", "datetime_time_format": "h_mm_ss_A", "sister_id": "-- Select One --", "required": "0", "unique": "0", "datetime_type": "format", "datetime_time_format_24": "hh_mm", "datetime_allow_empty": "1", "datetime_html5": "0", "repeatable": "0", "repeatable_format": "default", "roles_allowed": "administrator" } ] } ] } ] }
heres the code am using in my php
$comment_params = array( 'where'=>"custom_post.ID = $custom_post AND t.status = 'active'", 'page' => 1, 'limit' => 10, 'select' => 't.*,author_id.ID as user_id, author_id.user_login as username', ); $parp_comments = pods('custom_post_comments')->find($comment_params);
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Plugin conflictAwesome, Thank you so much @sc0ttkclark , I look forward to Pods 2.9.11 and hopefully it lands soon. Thank you again.
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Plugin conflictI guess I have no option but to wait for the next release even though its stalling work.
But to clarify so after the next planned release for Pods 2.9.11 pods will also be on v6.3 of firebase/php-jwt like JWT plugin right?