John
Forum Replies Created
-
Forum: Plugins
In reply to: [OG — Better Share on Social Media] Adding a filter for “image” meta name.Thank you, Marcin.
That is a nice update ??
Forum: Plugins
In reply to: [OG — Better Share on Social Media] Adding a filter for “image” meta name.Thank you, Marcin.
Forum: Plugins
In reply to: [OG — Better Share on Social Media] Adding a filter for “image” meta name.Could you add the filter, please?
Done, thank you.
It works perfectly, I didn’t see that, thanks for your time.
Thank you for sharing the information. I have attempted it, but no luck.
Warning: Undefined array key "ids" in /home/john/www/wordpress/wp-content/plugins/mycred/includes/classes/class.query-log.php on line 329
Warning: Undefined array key "my_point" in /home/john/www/wordpress/wp-content/plugins/mycred/includes/classes/class.query-log.php on line 1787
<strong>Fatal error</strong>: Uncaught Error: Call to a member function format_creds() on null in /home/john/www/wordpress/wp-content/plugins/mycred/includes/classes/class.query-log.php:1787 Stack trace: #0 /home/john/www/wordpress/wp-content/plugins/mycred/includes/classes/class.query-log.php(1645): myCRED_Query_Log->get_the_entry() #1 /home/john/www/wordpress/wp-content/plugins/mycred/includes/classes/class.query-log.php(1524): myCRED_Query_Log->get_display()
I am aware that the
$mycred_types
variable returns an array of all available point types. However, thectype
parameter only accepts a string for a specific type. This implies that we cannot display logs for all point types simultaneously. I’m uncertain if my explanation is clear. For instance, I have two types:default_type
andcustom_type
. At this moment, my goal is to retrieve all logs associated with these types without depending on the selection field via the GET method.Thank you.
- This reply was modified 1 year, 3 months ago by John.
I’ve integrated the plugin into my premium theme, complete with a custom user dashboard. The context is that my customers are interested in creating additional point types beyond the default. We have a table displaying all available logs. However, as you’re already aware, the class doesn’t currently support retrieving logs for all point types simultaneously, this is not good, for instance https://nimb.ws/EszA2u
Currently, we’ve implemented a selection field that enables users to query logs using the ‘ctype’ parameter. However, it might be a better approach to avoid assigning a default type for the ‘ctype’ parameter within the ‘parse_args’ function of the myCRED_Query_Log class or to allow accepting an array with multiple types. This would enhance the class’s flexibility.
I hope you understand what I mean.
- This reply was modified 1 year, 3 months ago by John.
Thanks for your reply, I have resolved it, maybe it was my mistake.
Is there a way to display logs for all point types using the
myCRED_Query_Log
class? Currently, it only retrieves logs for a single specific point type based on thectype
parameter. It would be beneficial if the ‘ctype’ parameter could accept an array of point types instead of just a single type.Thanks.
Hi,
My version is 8.0.30 and I also tried with 8.1, I guess the issue is the plugin calls
sha1
with an empty array param while the function only accepts a string.Thank you.
Thank you for your response, although it didn’t resolve the issue, manually deleting the database using wpdb can be risky, I wanted to suggest that it would be great if you could consider adding bulk action checkboxes in a future update. This feature would greatly enhance the functionality and usability of the plugin.
That’s great, thank you so much ??
Thank you so much.
Thanks for your fast reply, I think you should put a filter hook there and I can work on my theme to make them work together perfectly, this would save us a lot, please, just a simple hook ??
Thank you.
Thank you, can’t wait for the next update.
Cheers.