yourbudweiser
Forum Replies Created
-
I see now where this is possible by editing the Checkout form and adding the User Login block.
Forum: Plugins
In reply to: [Admin Columns for ACF Fields] Admin columns in User listUnfortunately columns on the User admin page is not displaying with Version 0.3.2.
- This reply was modified 1 year, 3 months ago by yourbudweiser.
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] Old Backups Not Getting Removed“Delete local backup” was not checked.
One of the issues is that when using pagination, only the results from the current page are displayed on the map. For example, if a search returns 100 results and shows 20 results per page, users only see 20 locations on the map at a time, instead of all 100. This is causing confusion for our clients. Is it possible to display all results on the map regardless of pagination?
I am using the GD > Loop widget in an Elementor Page. After reviewing my issue, it looks like the I just need to disable pagination on the Search page.
Can I show all search results on the Search page when using the GD Loop widget?
Forum: Plugins
In reply to: [WP User Manager - User Profile Builder & Membership] Disable PagintionSetting the option to a lesser value will disable the pagination. Setting the option with a larger value will disable the pagination.
What do you mean by setting a lesser value? It seems that the only way to disable pagination is to set that number super high.
Forum: Plugins
In reply to: [WP User Manager - User Profile Builder & Membership] Disable PagintionThe Member Directory for a single role.
Forum: Plugins
In reply to: [Client Portal - Private user pages and login] Private Page SlugThe private page slug should be consistent.
A simple change to the plugin code from
$display_name = ($user->display_name) ? ($user->display_name) : ($user->user_login);to
$display_name = ($user->user_login) ? ($user->user_login) : ($user->display_name);will set the private page slug to use the username and since they are always unique, we’ll never use the display_name.
Surely this can be done without modifying the plugin code?
I know that the custom code will be overwritten if/when the plugin is updated but this is necessary for my requirements. I’ll have to disable updates for the plugin.
This is still an issue 2 months later and now it is affecting another website where I am using these plugins.
For future reference, place in functions.php:
/**
* Remove Awarded Certificate leading 0
*/
function my_llms_certificate_sequential_id_format( $format ) {
$format = array(
'length' => 0,
'character' => ' ',
'type' => STR_PAD_LEFT,
);
return $format;
}
add_filter( 'llms_certificate_sequential_id_format', 'my_llms_certificate_sequential_id_format' );Forum: Plugins
In reply to: [LifterLMS - WP LMS for eLearning, Online Courses, & Quizzes] Final QuizFor future reference, this code works.
// Change the button text for lessons containing 'Final Exam' in the title
function custom_llms_quiz_button_text( $text, $quiz_id, $lesson ) {
// Get the lesson post object using the lesson ID
$lesson_post = get_post( $lesson->ID );
// Check if the lesson title contains 'Final Exam' (case insensitive)
if ( stripos( $lesson_post->post_title, 'Final Exam' ) !== false ) {
// Change the button text
if ( 'Take Quiz' === $text ) {
return __( 'Take Final Exam', 'lifterlms' );
} elseif ( 'Start Quiz' === $text ) {
return __( 'Start Final Exam', 'lifterlms' );
}
}
// Return the original text if no changes are made
return $text;
}
add_filter( 'lifterlms_start_quiz_button_text', 'custom_llms_quiz_button_text', 10, 3 );
// Function to change the button text for the 'Start Quiz' button
function custom_llms_begin_quiz_button_text( $text, $quiz, $lesson ) {
// Get the lesson post object using the lesson ID
$lesson_post = get_post( $lesson->ID );
// Check if the lesson title contains 'Final Exam' (case insensitive)
if ( stripos( $lesson_post->post_title, 'Final Exam' ) !== false ) {
// Change the button text
if ( 'Start Quiz' === $text ) {
return __( 'Start Final Exam', 'lifterlms' );
}
}
// Return the original text if no changes are made
return $text;
}
add_filter( 'lifterlms_begin_quiz_button_text', 'custom_llms_begin_quiz_button_text', 10, 3 );Forum: Plugins
In reply to: [LifterLMS - WP LMS for eLearning, Online Courses, & Quizzes] Final QuizAlthough the lesson is called “Final Exam” the buttons still say “Take Quiz” and “Start Quiz”. I would like to change the button text to “Take Final Exam” and “Start Fina Exam”, respectively.
I saw the video on YouTube to change to change the button text but I am not using the block editor. Is there a filter or some other method I can use to change the button text on a specifi lesson rather than installing a plugin?
Shortcode I am using:
[wppb-login lostpassword_url="https://www.site.com/recover-password" logout_redirect_url="https://www.site.com"][client-portal]This also occurs without using single-private-page.php. I just enter the shortcode into the text editor, the error appears. Apparently, when I am logged in (as admin) the client portal is trying to load the content for the logged in user (admin) and this is where the issue is.
Sorry, the content area was not found in your page. You must call “the_content” function in the current template, in order for Elementor to work on this page.
Forum: Plugins
In reply to: [LifterLMS - WP LMS for eLearning, Online Courses, & Quizzes] Login RedirectOk, that makes sense, thanks.