anamostafa
Forum Replies Created
-
Forum: Plugins
In reply to: [LearnPress - WordPress LMS Plugin] Checkout Sign inThank you Brianvu for your feedback.
Actually I am using a premium theme from theme forest called Hub Theme
Forum: Plugins
In reply to: [LearnPress - WordPress LMS Plugin] Checkout Sign inThank you so much for your feedback
Can I force the user to login before he starts or purchases the course?
Appreciate your support
Forum: Plugins
In reply to: [LearnPress - WordPress LMS Plugin] Custom register field IDHi Brianuv,
I simply tried with the following with my function but I guess I missed something , considering that the user is just created and all “_lp_custom_register” array is still empty
// I Get the existing ‘_lp_custom_register’ meta value array
$register_fields_array = get_user_meta( $user_id, '_lp_custom_register', true );
//Then I modified the array key with my custom text$register_fields_array [7708364] = 'custom text';
// Finally I update the ‘_lp_custom_register’ meta with the modified array
update_user_meta( $user_id, '_lp_custom_register', $register_fields_array );
However, the field with key [7708364] is only updated with first letter “c”I really appreciate your help
- This reply was modified 2 months, 2 weeks ago by anamostafa.
Forum: Plugins
In reply to: [LearnPress - WordPress LMS Plugin] Custom register field IDYes exactly, I added a new Custom Register Fields?from LearnPress settings called “phone number” and it has appeared in users profile in wp admin
And I am using a custom registration form and force user to fill in his phone so want to store the number as user meta, that’s why I used update_user_meta function
Forum: Plugins
In reply to: [LearnPress - WordPress LMS Plugin] Action when course completeSure the semicolon?was already written
The error log show
{main} thrown in /home/themename/public_html/wp-content/themes/hub-child/functions.php
Is there any explanation for this?
Forum: Plugins
In reply to: [LearnPress - WordPress LMS Plugin] Action when course completeThank you for your reply
I used the following action in order to run my custom function but I got a “There has been a critical error on this website” when course completed
Appreciate your advice
add_action('learn-press/user-course-finished', 'my_custom_function', 10, 2)
function my_custom_function($course_id, $user_id, $course_item) {
// do something
}Forum: Plugins
In reply to: [Front End PM] fep_messages table doesn’t existI figure it out … It was my fault !!
For security reasons I’ve removed the table creation from database user privilege.It’s working fine now. Thank you so much.
Forum: Plugins
In reply to: [Front End PM] fep_messages table doesn’t existsorry, There is no tables start with fep_ at all .
Forum: Plugins
In reply to: [Front End PM] fep_messages table doesn’t existThank you for your fast reply.
No I am just using a single WordPress website.
There is on tables start with fep_ at all .Forum: Plugins
In reply to: [Gravity Forms - Update Post] taxonomy unchecked Not Savedit working for me but after changing the same value to false at line 411 for checkbox , thanks man Good Luck
Forum: Plugins
In reply to: [Gravity Forms - Update Post] taxonomy unchecked Not SavedHello Srumery
I saw that you have found the solution in the post
https://www.ads-software.com/support/topic/plugin-gravity-forms-update-post-not-working-with-drop-down-fields-and-custom-taxonomies?replies=15is every thing is working good now?