Yash Baldawa
Forum Replies Created
-
Hi @hopestylemixthemes,
I see we can upload the quiz image but that would display for all the questions. I am trying to upload images under the questions but that opens the file open dialog box directly instead of WordPress Media Library. As a suggestion, it should open a WordPress upload Media Library so that we can attach uploaded images directly.Also regarding the quiz question title, there should be some formatting options available to make question multi-line and add styles like Bold, italics and other.
Thanks!
Hi @dianastylemixthemes @annasupport,
I re-installed the plugin and still it gives the same issue. I tested this again and came to know later that it is not a problem of first quiz. It gives issue when the quiz have 12 questions then the modal displays as not passed. I think there is some issue with some thing, though the calculation seems to be showing 100%. I am also trying to debug the plugin and found that in the quiz.js file, the JS object gives me passed key as false for this quiz. Please replicate this issue on your end and help in this regard.Thanks in advance!
Hi @annasupport,
I am using the Masterstudy plugin version 2.6.4 and here is the screenshot of the issue (https://prnt.sc/15injgn ). However it works when I set passing grade less than 100%. Not sure why it behaves such when I set passing grade to 100%. Also it only affects the first quiz of the course and not other quizzes. I also refreshed the course ratings but no luck, still the same issue. I also deleted the quiz and added again and still it gives the same issue. Please help in this regard.Thanks in advance!
- This reply was modified 3 years, 9 months ago by Yash Baldawa.
- This reply was modified 3 years, 9 months ago by Yash Baldawa.
Hi @keraweb
How can I achieve such. Is there any option to disable the link on this plugin or I need to do some customization?Hi @mysticza,
Yes I roll backed the UM to the previous version and the options were available. Not checked the latest version (2.1.11), if this issue is resolved I would definitely update it.Thanks! ??
@mediawebster ,
Thanks for the help@mediawebster ,
Here is the link to the page https://fluede.online/janaindica/product-category/pray/Hi @champsupertramp,
Yes I migrated from UM 2.0.56 to the latest version and the UM updated the database and then the options were not available. So I rollbacked to the 2.0.56.Regards,
Yash BaldawaHi @cryptex_vinci,
Can view other member profile
is checked but still noview profile
link is available to the designated role from the back end. It was available in earlier release so I roll backed to2.0.56
and it is now available.Hi @augustus09,
Is the version fixed now as I also needed same feature. Currently LearnPress tracks only student usage time when we add a duration for the particular course. Waiting for the fix. btw credits to the plugin.Cheers!
Thanks in advance
Hey @oscargare,
I managed to fix the issue and it was related with the theme I was using. My WooCommerce Template was overridden and it was displaying_regular_price
meta instead ofget_price_html()
function and it simply shown the correct exchanged price as expected.Thanks for the kind reply ??
Forum: Plugins
In reply to: [Select and Multi-Select Field for Contact Form 7] PlaceholdersHey @ailiavmd ,
Sorry for the late reply. I noticed the issue and fix will be coming up in the next release. Regarding accented letters for which language are you trying to use?Hi @iqasim ,
Thanks for the feature. However, It would be better if you could provide this small feature on core version too as it most needed feature in any HRM solution. Thanks again! Cheers.@reinsz ,
I registered a metabox callback function on following file:
wp-hr-manager/modules/hrm/includes/functions-dashboard-widgets.php
function wphr_hr_dashboard_widget_birthday_callback() { wphr_admin_dash_metabox( __( '<i class="fa fa-birthday-cake"></i> Birthday Buddies', 'wphr' ), 'wphr_hr_dashboard_widget_birthday' ); wphr_admin_dash_metabox( __( '<i class="fa fa-user-circle-o"></i> Work Anniversary', 'wphr' ), 'wphr_hr_dashboard_widget_anniversary' ); wphr_admin_dash_metabox( __( '<i class="fa fa-paper-plane"></i> Who is out', 'wphr' ), 'wphr_hr_dashboard_widget_whoisout' ); }
Refer for the second function
Then on the same file I added the logic to the registered function:
function wphr_hr_dashboard_widget_anniversary() { $todays_anniversary = wphr_hr_get_todays_anniversary(); $upcoming_anniversary = wphr_hr_get_next_seven_days_anniversary(); ?> <?php if ( $todays_anniversary ) { ?> <h4><?php _e( 'Today\'s Work Anniversary', 'wphr' ); ?></h4> <ul class="wphr-list list-inline"> <?php foreach ( $todays_anniversary as $key => $user ) { $employee = new \WPHR\HR_MANAGER\HRM\Employee( intval( $user->user_id ) ); ?> <li><a href="<?php echo $employee->get_details_url(); ?>" class="wphr-tips" title="<?php echo $employee->get_full_name(); ?>"><?php echo $employee->get_avatar( 32 ); ?></a></li> <?php } ?> </ul> <?php } ?> <?php if ( $upcoming_anniversary ) { ?> <h4><?php _e( 'Upcoming Work Anniversary', 'wphr' ); ?></h4> <ul class="wphr-list list-two-side list-sep"> <?php foreach ( $upcoming_anniversary as $key => $user ): ?> <?php $employee = new \WPHR\HR_MANAGER\HRM\Employee( intval( $user->user_id ) ); ?> <li> <a href="<?php echo $employee->get_details_url(); ?>"><?php echo $employee->get_full_name(); ?></a> <span><?php echo wphr_format_date( $user->date_of_birth, 'M, d' ); ?></span> </li> <?php endforeach; ?> </ul> <?php } if ( ! $todays_anniversary && ! $upcoming_anniversary ) { _e( 'No one has work anniversary this week!', 'wphr' ); } }
and finally I have added a logic to query the user based on
hiring_date
DB column on filewp-hr-manager/modules/hrm/includes/functions-employee.php
/** * Get Todays Anniversary * * @since 0.1 * @since 1.1.14 Add where condition to remove terminated employees * * @return object collection of user_id */ function wphr_hr_get_todays_anniversary() { $db = new \WPHR\ORM\Eloquent\Database(); return wphr_array_to_object( \WPHR\HR_MANAGER\HRM\Models\Employee::select('user_id') ->where( $db->raw("DATE_FORMAT( <code>hiring_date</code>, '%m %d' )" ), \Carbon\Carbon::today()->format('m d') ) ->where( 'termination_date', '0000-00-00' ) ->get() ->toArray() ); } /** * Get next seven days Anniversary * * @since 0.1 * @since 1.1.14 Add where condition to remove terminated employees * * @return object user_id, date_of_birth */ function wphr_hr_get_next_seven_days_anniversary() { $db = new \WPHR\ORM\Eloquent\Database(); return wphr_array_to_object( \WPHR\HR_MANAGER\HRM\Models\Employee::select( array( 'user_id', 'date_of_birth' ) ) ->where( $db->raw("DATE_FORMAT( <code>hiring_date</code>, '%m %d' )" ), '>', \Carbon\Carbon::today()->format('m d') ) ->where( $db->raw("DATE_FORMAT( <code>hiring_date</code>, '%m %d' )" ), '<=', \Carbon\Carbon::tomorrow()->addWeek()->format('m d') ) ->where( 'termination_date', '0000-00-00' ) ->get() ->toArray() ); }
Hey @olmanz,
I received the same PHP notice and I simply fixed the issue by adding the following code.$set_id = isset($this->set_id) ? $this->set_id : false; $field_atts = array( 'id' => array( "um_field_{$set_id}_{$key}", ),
on line 4461.
Regards,
Yash- This reply was modified 5 years, 3 months ago by Yash Baldawa. Reason: Line Correct