Ruben Garcia
Forum Replies Created
-
Hi @kidders
Simply you need to pass the post ID of your points type and as post type, set it to points_type, in this way GamiPress will load its information
Hope it helps!
Hi @kidders
Sorry for not being so explicit, the gamipress_insert_user_earning() function expects 3 parameters:
gamipress_insert_user_earning( $user_id = 0, $data = array(), $meta = array() )The array I mentioned is the one in the 2nd parameter
Hi @kidders
Actually we do not have a website with developer docs since the code is already documented
Check the function’s doc block and its code, in the $data parameter, it expects an array with this key value pairs:
'title' => '',
'user_id' => $user_id,
'post_id' => 0,
'post_type' => '',
'points' => 0,
'points_type' => '',
'date' => date( 'Y-m-d H:i:s', current_time( 'timestamp' ) ),- This reply was modified 5 months, 2 weeks ago by Ruben Garcia.
Hi @kidders
This happening because you are not providing the title to the insert earnings function
Hope it helps
Hi @kidders
I would be more than happy to assist you today!
Simply you need to use the gamipress_insert_user_earning() function after award points to the user to register a new custom user earning with the text of your choice
Hope it helps!
Hi @sandexma
This is the forum for support questions, seems you are looking to write a review, right?
Then you need to open it here: https://wordpress.org/support/plugin/gamipress/reviews/
Note that WordPress team is on holidays and they disabled reviews for a few days to take a break
best regards
Hi @jbmora90
Thank you very much for your review!
We really appreciate it. If you have any further questions, do not hesitate to contact us.
Buenas @webavante
Un placer poder ayudarte, hemos realizado pruebas y si es cierto que algo raro pasa en esta acción creando esa duplicidad que mencionas.
Estamos investigandola, pero como has abierto un ticket, dejo este tema del foro marcado como resuelto ya que continuamos por ahí y daremos con la solución (probablemente solamente sea actualizar las funciones acorde a las nueva version de LearnPress, esperemos…).
Un saludo
Hi @macmanx
I’m Ruben, CEO at GamiPress & AutomatorWPWe do not know why Sucuri stills working with those files since they are not in the main directory where the plugin file should be placed
We reported it several times to Sucuri to do not check files in subfolders as the main one, other security plugins already fixed it but seems that Sucuri is still working on this fix yet…The suggestion is mainly to allow an easy integration with other plugins and let them work with specific fields
We are not able to release the integration with your plugin until this feature gets added and I think is a simple addition that would open lots of possibilities since your plugin will get integrated with more plugins
I would be more than happy to assist you today.
Actually AutomatorWP is able to update and detect when a user meta field gets updated, even with filters to run actions conditionally based on the user field value, all those options are available in the WordPress integration:
With support to meta values with arrays (multiples values in the same field) for tags:
And to display or manage custom fields on your site you have free plugins like ACF or Meta Box with years of development improving the management of custom fields (for users and posts), both plugins supported by AutomatorWP too:
So actually you are already able to perform all of the plugin you mention in AutomatorWP for free without the unique difference that you need to install a free plugin of your choice to manage those fields (and in the future we will include more integrations with custom fields plugins)
hope it helps!
Hola @onav
¡Muchas gracias por tu valoración!
Si tienes cualquier pregunta, no dudes en contactar con nosotros, nuestro equipo estará encantado de ayudarte.
Hi @xemanuelex
I would be more than happy to assist you today.
Actually GamiPress does not offers a way to make this but since GamiPress is extremely extensible, through a custom development this will be completely possible.
We do not offer support for customizations like that since our main focus is the development and maintenance of GamiPress, AutomatorWP and all official add-ons.
Anyway, any WordPress custom development agency or freelancer can handle it for you.
If you do not know one, we recommend checking our list of trusted experts that can estimate any type of job for you here: https://gamipress.com/customizations/
Hope it helps!
Hi @mister_r
Are you able to save other settings or this one is the unique one that does not get stored?
Also, yous scripts are starting after the theme gets activated, this is commonly late for plugins, so the best would be to add the snippets related to register the role and modify GamiPress in a custom plugin or using Code Snippets
Best regards
Hi @jonroc804
Thank you very much for your review! We really appreciate it.
If you have any further questions, do not hesitate to contact us.