Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • THE PROBLEM IS THE LEARNPRESS PLUGIN – QUIZZES ARE BROKEN

    They have failed to upgrade javascript. Javascript was modified to close a security hole in the ‘.ready’ functionality. The last upgrade of WordPress broke Learnpress Quizzes because it will not tolerate the use of that function. Installing the jquery migrate plugin will usually fix SOME of the problems (I’ve posted how to fix the CSS). But it will decrease the performance of your site by 500%.

    The quiz software – particularly the interface – is very poorly designed. The company is not commenting on its fix strategy – or even if they understand the problem.

    At present learnpress will not function.

    (From a User: No. These features are available in Canvas and Blackboard. The wordpress LMS’s are weak. Moodle is the next step up. And Canvas(simple) and blackboard (Deep) are the primary venues. We use WP/LP only because of our low volume. )

    I have no idea how they screwed up that form but here is how to fix (hack) a workaround:

    Navigation to Admin Dashboard > Appearance > Theme Editor > Styles.css

    Add this css block, and save.

    /* fix the bug in the lesson presentation that prevents scrolling */
    #learn-press-content-item .content-item-scrollable, #learn-press-course-curriculum.course-curriculum {
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: 120px;
    }

    EXPLANATION
    The design of this form is about as stupid as you can imagine, using fixed positions rather than a simple float or table layout. In the fixed positioning there is a div that’s apparently supposed to scroll without any css attached to it.

    The css above does the following:
    – increases the size of the div to match the viewport.
    – adds 120px so that there is always room to scroll.
    – Sets overflow-y (vertical) to auto.

    Now if we can just figure out why THE QUIZ DOESN”T SAVE ANSWERS SO EVERY QUESTION APPERS SKIPPED, AND EVERYONE FAILS NO MATTER WHAT that would be nice. Too. -cheers. ??

    Having the same problem. I’ve read elswhere it’s because of caching, but turning off cache has no impact.

    The product is defective and unusable for any purpose as long as this bug exists – and bug repots go back over seven years, so they are ignoring the problem.

    This is a severe bug and it’s causing me a lot of customer problems.

    • This reply was modified 4 years, 2 months ago by curtd59.
    Thread Starter curtd59

    (@curtd59)

    UPDATE : to force the capitalization of the first word:

    CHANGE THIS LINE

    if(in_arrayi($word, $lowerCaseWords)){

    TO THIS

    if(in_arrayi($word, $lowerCaseWords) && (countCycles > 1)){

    This will force the capitalization of the first letter in every title. even if it is in lower case word list.

    This should be enabled as an option in the config menu that lets you set
    Always Capitalize First Letter of Titles

    Thanks. Looking forward to it.

    Henrik,

    We need an additional field type that stores the attachment ID of images, not the URL.

    We would like

    1) The edit-page ui custom field box to display the image id and a custom image size thumbnail, say of only 50×50 or so pixels so that the user knows which image he is referring to.

    2) A new ‘More Fields’ cover-function that calls wp_get_attachment_image( $my_attachment_id, $my_desired_image_size) so that the image can be embedded in the template. (Like we can accomplish with meta(‘my_field_name’);)

    3) We would also like to see the drop-down file list populate by default on page load.

    Can we hire you for this? We can probably code it on our end, but then it would fork the code base, and it seems like a feature others would want.

    As in any commercial engagement, we’re short on time.

    Thanks.

    curtd at ascentium dot com

    Thread Starter curtd59

    (@curtd59)

    Actually, these four events are all that’s needed.

    before_title
    after_title
    after_permalink
    after_content

    Again, this is a pretty easy fix for a long standing issue.

    Thread Starter curtd59

    (@curtd59)

    Thread Starter curtd59

    (@curtd59)

    Honestly, after troubling with this for so long I’m thrilled with finally having a solution.

    MODERATORS:
    If this topic needs to be moved to another section of the forums, please do.
    But please do not delete this content.
    Thanks.

    Thread Starter curtd59

    (@curtd59)

    UPDATE:
    I have implemented and testing this functionality, and it works flawlessly to produce exceptionally attractive and easy to understand edit page templates for custom post types.

    SUGGESTED EVENTS
    before_title
    after_title
    before_permalink
    after_permalink
    before_content
    after_content

    The existing locations “Normal”, “Advanced” and “Side” need to retain their existing border styles (formatting). However, the new locations above should be displayed without their existing border css styles (formatting).

    EDITS TO edit-form-advanced.php

    <?php
    /* HACK TO GET NEW METABOX EVENT HERE */
    do_meta_boxes($post_type, 'after_title', $post); 
    
    ?>

    EDITS TO template.php

    foreach ( array('high', 'sorted', 'core', 'default', 'low') as $priority ) {
    			if ( isset($wp_meta_boxes[$page][$context][$priority]) ) {
    				foreach ( (array) $wp_meta_boxes[$page][$context][$priority] as $box ) {
    					if ( false == $box || ! $box['title'] )
    						continue;
    					$i++;
    					$style = '';
    					$hidden_class = in_array($box['id'], $hidden) ? ' hide-if-js' : '';
    
    					/*  HACK FOR METABOX STYLING - start */
    					$boxborderclass =  (($context == 'before_title') || ($context == 'after_title') || ($context == 'before_permalink') || ($context == 'after_permalink') || ($context == 'before_content') || ($context == 'after_content') ) ? 'custompostbox' : 'postbox';
    
    					echo '<div id="' . $box['id'] . '" class="' . $boxborderclass . ' ' . postbox_classes($box['id'], $page) . $hidden_class . '" ' . '>' . "\n";
    
    					/*  HACK FOR METABOX STYLING - end */
    
     //					echo '<div id="' . $box['id'] . '" class="postbox ' . postbox_classes($box['id'], $page) . $hidden_class . '" ' . '>' . "\n";
    
    					echo '<div class="handlediv" title="' . __('Click to toggle') . '"><br /></div>';
    					echo "<h3 class='hndle'><span>{$box['title']}</span></h3>\n";
    					echo '<div class="inside">' . "\n";
    					call_user_func($box['callback'], $object, $box);
    					echo "</div>\n";
    					echo "</div>\n";
    				}
    			}
    		}

    UNDONE
    style css without the borders using the ‘postbox’ class.

    I have *NOT* reported this fix to the author.

    BUG REPORT
    Quote-rotator

    BUG FIX
    FILE: quote-rotator-management.class.php
    FUNCTION: function displayManagementPage()

    THIS LINE:

    echo "\t\t\t<form name=\"EditQuotesForm\" method=\"post\" action=\"?page=quote-rotator.php\">\n";

    SHOULD BE CHANGED TO:


    echo "\t\t\t<form name=\"EditQuotesForm\" method=\"post\" action=\"?page=quote-rotator/quote-rotator.php\">\n";

    THIS FIXES THE BUG

    I am having the same problem still. Any solution yet?

    SOLUTION TO DISPLAYING SOCIABLE ICONS HORIZONTALLY

    Problem: How to show Sociable icons horizontally
    keywords: display show sociable horizontal bookmarks icons

    1) The IMG Image tag requires ‘display inline;’ added to it.
    ——

    .sociable img {
            display inline;

    ——

    2) All other .display properties convert to ‘inline’.

    Note: this should be THE DEFAULT. The use of lists in the Sociable stylesheet makes no freaking sense at all. It’s almost impossible to find a site with vertical entries. the purpose of lists is to create vertical entries. When combined with an image tag, this makes it highly probable that sites will display the bookmarks vertically.

    You can edit the sociable php by searching for

    <li> and </li>and
    <ul> and </ul>

    and simply deleting those characters, but unless you alter the IMG property of the stylesheet in many cases, depending upon your style hierarchy, you will still end up with vertically listed images.

    Again, the code should be changed to display these icons horizontally by default, not as a list.

Viewing 15 replies - 1 through 15 (of 16 total)