Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #7170
    Rudolph Smits
    Participant

    Sorry, this is not a new topic but I cannot find a previous anymore. ;-(

    When I load a preview the album shows less then a second and then it disappears. The solution was to change something in script.js. I tried to find the folder mentioned but I did not find it. My theme is Weaver.
    Someone recommended to find the real cause and stop/start other plugins to find that cause. I did so with the plugins I can miss but it did not solve the probleme.
    I am a new time user. I made an album and a gallery. The code on a testpage: [gmedia id=2].

    So could you please advise me what to do when using theme Weaver?

    Thanks
    Rudolph Smits, Netherlands

    #7171
    Rattus
    Keymaster

    I need a link to the gallery page, so I can see what happens.

    #7172
    Rudolph Smits
    Participant

    Rattus

    I made a testpage just to learn first how to manage GMedia-facilities.
    It is http://www.magoster.com/gmedia-gallery/.
    I will delete this page later.

    I hope you can help me!

    Regards
    Rudolph Smits

    #7173
    Rattus
    Keymaster

    Uncaught TypeError: Cannot read property ‘msie’ of undefined ($.browser.msie)
    Some of your plugins or theme uses jQuery plugin called:
    “jQuery Cycle Plugin Transition Definitions”

    This plugin is outdated and uses function deprecated in jQuery built in the latest version of WordPress. JS error prevent Gmedia Gallery to work properly.

    Try add to some of your theme’s js files code below:

    jQuery.browser = {};
    (function () {
        jQuery.browser.msie = false;
        jQuery.browser.version = 0;
        if (navigator.userAgent.match(/MSIE ([0-9]+)\./)) {
            jQuery.browser.msie = true;
            jQuery.browser.version = RegExp.$1;
        }
    })();

    Reference:

    The jQuery.browser() method has been deprecated since jQuery 1.3 and is removed in 1.9
    $.browser on jQuery 1.9.x for legacy IE detection

    #7174
    Rudolph Smits
    Participant

    Wow, this is becoming pretty difficult. This outdated version have to come from somewhere. In my header is have this code:
    <!– Start Scripts for jQuery –>
    <script src=”https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js”></script&gt;
    Is this possibly to old?

    An other JQuery-load is in the booking-form for a date picker.
    // jQuery javascript
    echo ‘<script language=”JavaScript” type=”text/javascript” src=”http://vakantiehuisverhuur.eu/jquery-ui-1/development-bundle/jquery-1.6.2.min.js”></script>&#8217;;
    // –> jQueryUI core
    echo ‘<script language=”JavaScript” type=”text/javascript” src=”http://vakantiehuisverhuur.eu/jquery-ui-1/development-bundle/ui/jquery.ui.core.js”></script>&#8217;;

    Don’t get confused by other site name; magoster.nl has the same,
    So I use versions that can be overdue. Do you have an opinion about that.

    Thanks by the way for your help.I appreciate that!

    Regards
    Rudolph Smits

    #7175
    Rattus
    Keymaster

    Themes and plugins should load built in WordPress jQuery and should never load it from third parties, because different plugins could load different versions of the same library which can call JS conflict error.
    I can’t tell you from where is the outdated script because you use Autoptimize plugin which cache all JS in one file.

    #7176
    Rudolph Smits
    Participant

    Rattus, I think you are helping me to a very important finding. There is an error in my sites the troubles me more often.
    http://www.magoster.com is very much a test site. What I learn there I use in three other sites.

    I have deactivated Autoptimize. Could you help me one more time?

    #7177
    Rattus
    Keymaster

    The problem is in ‘/wp-content/themes/weaver-ii-pro/js/weaverjslib.min.js’ file.
    Try edit it and paste at the very top of file the code I’ve posted before (https://codeasily.com/community/topic/albums-disappears-after-loading/#post-7173)

    #7178
    Rudolph Smits
    Participant

    Rattus, magician, it works!

    Thanks a lot. I can now spend my time on learning more about GMedia. And I will certainly do so this weekend. So thanks again for your help and patience!

    Rudolph Smits
    Netherlands

    #7179
    Rattus
    Keymaster

    Don’t forget to rate Gmedia Gallery: http://wordpress.org/support/view/plugin-reviews/grand-media

    #7180
    Rudolph Smits
    Participant

    Rattus, I will surely do so.
    But I will first get to know more about GMedia. That will take a little time.

Viewing 11 posts - 1 through 11 (of 11 total)
  • The forum ‘Modules’ is closed to new topics and replies.
Forum closed. Use forum at Wordpress.org: Gmedia Support Forum