Forum Replies Created

Viewing 27 posts - 1 through 27 (of 27 total)
  • Author
  • in reply to: Adding post to menu, page turns grey #188737
     AshleyStewart
    Participant

    Come on guysssss. Really simple coding error. Turns out if the link has “meida” in it, it will change the display of the menu item lol.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Adding post to menu, page turns grey #188735
     AshleyStewart
    Participant

    Did you get a chance to connect and take a look?

    in reply to: Adding post to menu, page turns grey #188660
     AshleyStewart
    Participant
    This reply has been set as private.
    in reply to: Adding post to menu, page turns grey #188659
     AshleyStewart
    Participant
    This reply has been set as private.
    in reply to: Adding post to menu, page turns grey #188547
     AshleyStewart
    Participant

    Not exactly, can we set up a remote session?

    in reply to: Adding post to menu, page turns grey #188542
     AshleyStewart
    Participant

    Attachment

    Attachments:
    You must be logged in to view attached files.
    in reply to: Adding post to menu, page turns grey #188541
     AshleyStewart
    Participant

    Attached. It is the same as all the other menu tabs which is why it’s throwing me off. I enabled the advanced menu options, but no further information.

    in reply to: Adding post to menu, page turns grey #188521
     AshleyStewart
    Participant

    Please let me know if this is what you’re looking for. IF not, please let me know where to navigate to.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Adding post to menu, page turns grey #188212
     AshleyStewart
    Participant

    Do not see that as an option. I did update to the latest theme version and Latest WP version.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Adding post to menu, page turns grey #188068
     AshleyStewart
    Participant

    Thanks for getting back to me. I have attached the config, not sure if this will help you. It seems like only when I add that post to the menu, it displays weird in the menu offset and is grey.

    Attachments:
    You must be logged in to view attached files.
    in reply to: style issue with the groups #172039
     AshleyStewart
    Participant

    Yes, this is an issue across all browsers.

    in reply to: Sub-Menu after 5 not showing #170883
     AshleyStewart
    Participant

    Beautiful! Thank you

    in reply to: Sub-Menu after 5 not showing #170864
     AshleyStewart
    Participant

    Guys, we really need to get this figured out.
    We have a rollout date for our company next week and this is a major setback.

    in reply to: Groups not displaying correctly in IE11 #170704
     AshleyStewart
    Participant

    This site is a local website. Built on a Ubuntu server.

    in reply to: Sub-Menu after 5 not showing #170618
     AshleyStewart
    Participant

    Hi Radu –

    This is a local intranet. Would you like to setup a remote session?

    in reply to: Groups not displaying correctly in IE11 #170281
     AshleyStewart
    Participant

    Would it be the same process for this logo? Just change the id? It’s good in chrome but doing this in IE

    Attachments:
    You must be logged in to view attached files.
    in reply to: Groups not displaying correctly in IE11 #170278
     AshleyStewart
    Participant

    Great! That worked. Appreciate it!

    in reply to: Sub-Menu after 5 not showing #170274
     AshleyStewart
    Participant

    Okay, so rebuilt a new server. Still getting the issue with just the stock plugins. No colabpress, is there any other explanation for this?

    Attachments:
    You must be logged in to view attached files.
    in reply to: Sub-Menu after 5 not showing #170180
     AshleyStewart
    Participant

    Correct I did deactivate and delete the plugin did not seem to fix the issue.

    I will try a re-install, in the meantime, I enabled the logs and reinstalled and activated the plugin. Attached the logs, if you could look through it and try to find where the issue is going I would appreciate it.

    Thank you

    Attachments:
    You must be logged in to view attached files.
    in reply to: Sub-Menu after 5 not showing #170175
     AshleyStewart
    Participant

    Thanks for the information.

    I can do that the problem is this is our company intranet website and there has been a lot of changes made to it. Do you think there is any other way of fixing this issue?

    in reply to: Sub-Menu after 5 not showing #170077
     AshleyStewart
    Participant

    Attached is the php-error file, I navigated the menu, as well as removing it from the menu and re-adding it. Please let me know if you need anything else.

    Thanks

    Attachments:
    You must be logged in to view attached files.
    in reply to: Sub-Menu after 5 not showing #170070
     AshleyStewart
    Participant

    Which Guide?

    in reply to: Sub-Menu after 5 not showing #169964
     AshleyStewart
    Participant

    Not sure if this is what you’re looking for.

    /*!
    * rtMedia JavaScript Library
    * @package rtMedia
    */

    function apply_rtMagnificPopup(a){jQuery(“document”).ready(function(b){var c=””;c=”undefined”==typeof rtmedia_load_more?”Loading media”:rtmedia_load_more,”undefined”!=typeof rtmedia_lightbox_enabled&&”1″==rtmedia_lightbox_enabled&&(b(“.activity-item .rtmedia-activity-container .rtmedia-list-item > a”).siblings(“p”).children(“a”).length>0&&b(“.activity-item .rtmedia-activity-container .rtmedia-list-item > a”).siblings(“p”).children(“a”).addClass(“no-popup”),rtMagnificPopup=jQuery(a).magnificPopup({delegate:”a:not(.no-popup, .mejs-time-slider, .mejs-volume-slider, .mejs-horizontal-volume-slider)”,type:”ajax”,tLoading:c+” #%curr%…”,mainClass:”mfp-img-mobile”,preload:[1,3],closeOnBgClick:!0,gallery:{enabled:!0,navigateByImgClick:!0,arrowMarkup:””,preload:[0,1]},image:{tError:’The image #%curr% could not be loaded.’,titleSrc:function(a){return a.el.attr(“title”)+”<small>by Marsel Van Oosten</small>”}},callbacks:{ajaxContentAdded:function(){a=jQuery.magnificPopup.instance,1===jQuery(a.items).size()&&jQuery(“.mfp-arrow”).remove();var a=jQuery.magnificPopup.instance,c=a.currItem.el,d=c.parent();if(d.is(“li”)||(d=d.parent()),(d.is(“:nth-last-child(2)”)||d.is(“:last-child”))&&d.find(“a”).hasClass(“rtmedia-list-item-a”)){d.next();”block”==jQuery(“#rtMedia-galary-next”).css(“display”)&&jQuery(“#rtMedia-galary-next”).click()}var e=a.items.length;if(a.index==e-1&&!d.is(“:last-child”))return void c.click();var f={};”undefined”!=typeof _wpmejsSettings&&(f.pluginPath=_wpmejsSettings.pluginPath);var g=jQuery(“.rtmedia-container .rtmedia-single-meta”).height(),h=!1;void 0!==a&&void 0!==a.probablyMobile&&1==a.probablyMobile&&(h=!0),b(“.mfp-content .rtmedia-single-media .wp-audio-shortcode,.mfp-content .rtmedia-single-media .wp-video-shortcode,.mfp-content .rtmedia-single-media .bp_media_content video”).attr(“autoplay”,!0),h&&b(“.mfp-content .rtmedia-single-media .wp-video-shortcode,.mfp-content .rtmedia-single-media .bp_media_content video”).attr(“muted”,!1),b(“.mfp-content .rtmedia-single-media .wp-audio-shortcode,.mfp-content .rtmedia-single-media .wp-video-shortcode,.mfp-content .rtmedia-single-media .bp_media_content video”).mediaelementplayer({defaultVideoWidth:480,hideVolumeOnTouchDevices:!1,features:[“playpause”,”progress”,”current”,”volume”,”fullscreen”],defaultVideoHeight:270,alwaysShowControls:h,enableAutosize:!0,clickToPlayPause:!0,videoHeight:-1,success:function(a,c){a.addEventListener(“loadeddata”,function(c){var d=b(a).height(),e=b(window).height(),f=jQuery(“div.rtm-ltb-action-container”).height(),f=f+50,h=g-f;d>e&&jQuery(“.rtmedia-container #rtmedia-single-media-container .mejs-container”).attr(“style”,”height:”+h+”px !important; transition:0.2s”)},!1),h&&b(a).hasClass(“wp-video-shortcode”)?jQuery(“body”).on(“touchstart”,”.mejs-overlay-button”,function(b){a.paused?a.play():a.pause()}):a.play()}}),b(“.mfp-content .mejs-audio .mejs-controls”).css(“position”,”relative”),rtMediaHook.call(“rtmedia_js_popup_after_content_added”,[]),”undefined”!=typeof bp&&void 0!==bp.mentions&&void 0!==bp.mentions.users&&(b(“#atwho-container #atwho-ground-comment_content”).remove(),b(“#comment_content”).bp_mentions(bp.mentions.users)),rtmedia_reset_video_and_audio_for_popup(),apply_rtMagnificPopup(“.rtmedia-list-media.rtm-gallery-list, .rtmedia-activity-container ul.rtmedia-list, #bp-media-list,.bp-media-sc-list, li.media.album_updated ul,ul.bp-media-list-media, li.activity-item div.activity-content div.activity-inner div.bp_media_content, .rtm-bbp-container, ul.rtm-comment-container”)},close:function(a){rtmedia_single_page_popup_close()},BeforeChange:function(a){}}})),jQuery(document).ajaxComplete(function(){jQuery(“[id^=imgedit-leaving]”).filter(function(){var a=jQuery(this).text();jQuery(this).text(a.replace(“OK”,”Save”))})})})}function rtmedia_init_action_dropdown(a){var b,c;jQuery(a+” .click-nav > span,”+a+” .click-nav > div”).toggleClass(“no-js js”),jQuery(a+” .click-nav .js ul”).hide(),jQuery(a+” .click-nav .clicker”).click(function(a){b=jQuery(“#rtm-media-options .click-nav .clicker”).next(“ul”),c=jQuery(this).next(“ul”),jQuery.each(b,function(a,b){jQuery(b).html()!=c.html()&&jQuery(b).hide()}),jQuery(c).toggle(),a.stopPropagation()})}function bp_media_create_element(a){return!1}function rtmedia_version_compare(a,b){if(typeof a+typeof b!=”stringstring”)return!1;for(var c=a.split(“.”),d=b.split(“.”),e=0,f=Math.max(c.length,d.length);e<f;e++){if(c[e]&&!d[e]&&parseInt(c[e])>0||parseInt(c[e])>parseInt(d[e]))return!0;if(d[e]&&!c[e]&&parseInt(d[e])>0||parseInt(c[e])<parseInt(d[e]))return!1}return!0}function rtm_is_element_exist(a){return jQuery(a).length>0}function rtm_masonry_reload(a){setTimeout(function(){a.masonry(“reload”)},250)}function rtm_search_media_text_validation(){“”===jQuery(“#media_search_input”).val()?jQuery(“#media_search”).css(“cursor”,”not-allowed”):jQuery(“#media_search”).css(“cursor”,”pointer”)}function rtmediaGetParameterByName(a){a=a.replace(/[\[]/,”\\[“).replace(/[\]]/,”\\]”);var b=new RegExp(“[\\?&]”+a+”=([^&#]*)”),c=b.exec(location.search);return null==c?””:decodeURIComponent(c[1].replace(/\+/g,” “))}function rtmedia_single_media_alert_message(a,b){var c=”rtmedia-success”;”warning”==b&&(c=”rtmedia-warning”),jQuery(“.rtmedia-single-media .rtmedia-media”).css(“opacity”,”0.2″),jQuery(“.rtmedia-single-media .rtmedia-media”).after(“

    <span class='”+c+”‘>”+a+” </span>

    “),setTimeout(function(){jQuery(“.rtmedia-single-media .rtmedia-media”).css(“opacity”,”1″),jQuery(“.rtmedia-message-container”).remove()},3e3),jQuery(“.rtmedia-message-container”).click(function(){jQuery(“.rtmedia-single-media .rtmedia-media”).css(“opacity”,”1″),jQuery(“.rtmedia-message-container”).remove()})}function rtmedia_gallery_action_alert_message(a,b){var c=”rtmedia-success”;”warning”==b&&(c=”rtmedia-warning”);jQuery(“body”).append(‘

    ‘),jQuery(“.rtmedia-gallery-alert-container”).append(“

    “),setTimeout(function(){jQuery(“.rtmedia-gallery-alert-container”).remove()},3e3),jQuery(“.rtmedia-gallery-message-box”).click(function(){jQuery(“.rtmedia-gallery-alert-container”).remove()})}function rtmedia_activity_masonry(){jQuery(“#activity-stream .rtmedia-activity-container .rtmedia-list”).masonry({itemSelector:”.rtmedia-list-item”,gutter:7});var a=0,b=setInterval(function(){a+=1,5===a&&clearInterval(b),jQuery.each(jQuery(“.rtmedia-activity-container .rtmedia-list.masonry .rtmedia-item-title”),function(a,b){jQuery(b).width(jQuery(b).siblings(“.rtmedia-item-thumbnail”).children(“img”).width())}),rtm_masonry_reload(jQuery(“#activity-stream .rtmedia-activity-container .rtmedia-list”))},1e3)}!function(a){“function”==typeof define&&define.amd?define([“jquery”],a):a(“object”==typeof exports?require(“jquery”):window.jQuery||window.Zepto)}(function(a){var b,c,d,e,f,g,h=function(){},i=!!window.jQuery,j=a(window),k=function(a,c){b.ev.on(“mfp”+a+”.mfp”,c)},l=function(b,c,d,e){var f=document.createElement(“div”);return f.className=”mfp-“+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},m=function(c,d){b.ev.triggerHandler(“mfp”+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},n=function(c){return c===g&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace(“%title%”,b.st.tClose)),g=c),b.currTemplate.closeBtn},o=function(){a.magnificPopup.instance||(b=new h,b.init(),a.magnificPopup.instance=b)},p=function(){var a=document.createElement(“p”).style,b=[“ms”,”O”,”Moz”,”Webkit”];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+”Transition”in a)return!0;return!1};h.prototype={constructor:h,init:function(){var c=navigator.appVersion;b.isIE7=-1!==c.indexOf(“MSIE 7.”),b.isIE8=-1!==c.indexOf(“MSIE 8.”),b.isLowIE=b.isIE7||b.isIE8,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=p(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document),b.popupsCache={}},open:function(c){var e;if(!1===c.isObj){b.items=c.items.toArray(),b.index=0;var g,h=c.items;for(e=0;e<h.length;e++)if(g=h[e],g.parsed&&(g=g.el[0]),g===c.el[0]){b.index=e;break}}else b.items=a.isArray(c.items)?c.items:[c.items],b.index=c.index||0;if(b.isOpen)return void b.updateItemHTML();b.types=[],f=””,c.mainEl&&c.mainEl.length?b.ev=c.mainEl.eq(0):b.ev=d,c.key?(b.popupsCache[c.key]||(b.popupsCache[c.key]={}),b.currTemplate=b.popupsCache[c.key]):b.currTemplate={},b.st=a.extend(!0,{},a.magnificPopup.defaults,c),b.fixedContentPos=”auto”===b.st.fixedContentPos?!b.probablyMobile:b.st.fixedContentPos,b.st.modal&&(b.st.closeOnContentClick=!1,b.st.closeOnBgClick=!1,b.st.showCloseBtn=!1,b.st.enableEscapeKey=!1),b.bgOverlay||(b.bgOverlay=l(“bg”).on(“click.mfp”,function(){b.close()}),b.wrap=l(“wrap”).attr(“tabindex”,-1).on(“click.mfp”,function(a){b._checkIfClose(a.target)&&b.close()}),b.container=l(“container”,b.wrap)),b.contentContainer=l(“content”),b.st.preloader&&(b.preloader=l(“preloader”,b.container,b.st.tLoading));var i=a.magnificPopup.modules;for(e=0;e<i.length;e++){var o=i[e];o=o.charAt(0).toUpperCase()+o.slice(1),b[“init”+o].call(b)}m(“BeforeOpen”),b.st.showCloseBtn&&(b.st.closeBtnInside?(k(“MarkupParse”,function(a,b,c,d){c.close_replaceWith=n(d.type)}),f+=” mfp-close-btn-in”):b.wrap.append(n())),b.st.alignTop&&(f+=” mfp-align-top”),b.fixedContentPos?b.wrap.css({overflow:b.st.overflowY,overflowX:”hidden”,overflowY:b.st.overflowY}):b.wrap.css({top:j.scrollTop(),position:”absolute”}),(!1===b.st.fixedBgPos||”auto”===b.st.fixedBgPos&&!b.fixedContentPos)&&b.bgOverlay.css({height:d.height(),position:”absolute”}),b.st.enableEscapeKey&&d.on(“keyup.mfp”,function(a){27===a.keyCode&&b.close()}),j.on(“resize.mfp”,function(){b.updateSize()}),b.st.closeOnContentClick||(f+=” mfp-auto-cursor”),f&&b.wrap.addClass(f);var p=b.wH=j.height(),q={};if(b.fixedContentPos&&b._hasScrollBar(p)){var r=b._getScrollbarSize();r&&(q.marginRight=r)}b.fixedContentPos&&(b.isIE7?a(“body, html”).css(“overflow”,”hidden”):q.overflow=”hidden”);var s=b.st.mainClass;return b.isIE7&&(s+=” mfp-ie7″),s&&b._addClassToMFP(s),b.updateItemHTML(),m(“BuildControls”),a(“html”).css(q),b.bgOverlay.add(b.wrap).prependTo(b.st.prependTo||a(document.body)),b._lastFocusedEl=document.activeElement,setTimeout(function(){b.content?(b._addClassToMFP(“mfp-ready”),b._setFocus()):b.bgOverlay.addClass(“mfp-ready”),d.on(“focusin.mfp”,b._onFocusIn)},16),b.isOpen=!0,b.updateSize(p),m(“Open”),c},close:function(){b.isOpen&&(m(“BeforeClose”),b.isOpen=!1,b.st.removalDelay&&!b.isLowIE&&b.supportsTransition?(b._addClassToMFP(“mfp-removing”),setTimeout(function(){b._close()},b.st.removalDelay)):b._close())},_close:function(){m(“Close”);var c=”mfp-removing mfp-ready “;if(b.bgOverlay.detach(),b.wrap.detach(),b.container.empty(),b.st.mainClass&&(c+=b.st.mainClass+” “),b._removeClassFromMFP(c),b.fixedContentPos){var e={marginRight:””};b.isIE7?a(“body, html”).css(“overflow”,””):e.overflow=””,a(“html”).css(e)}d.off(“keyup.mfp focusin.mfp”),b.ev.off(“.mfp”),b.wrap.attr(“class”,”mfp-wrap”).removeAttr(“style”),b.bgOverlay.attr(“class”,”mfp-bg”),b.container.attr(“class”,”mfp-container”),!b.st.showCloseBtn||b.st.closeBtnInside&&!0!==b.currTemplate[b.currItem.type]||b.currTemplate.closeBtn&&b.currTemplate.closeBtn.detach(),b._lastFocusedEl&&a(b._lastFocusedEl).focus(),b.currItem=null,b.content=null,b.currTemplate=null,b.prevHeight=0,m(“AfterClose”)},updateSize:function(a){if(b.isIOS){var c=document.documentElement.clientWidth/window.innerWidth,d=window.innerHeight*c;b.wrap.css(“height”,d),b.wH=d}else b.wH=a||j.height();b.fixedContentPos||b.wrap.css(“height”,b.wH),m(“Resize”)},updateItemHTML:function(){var c=b.items[b.index];b.contentContainer.detach(),b.content&&b.content.detach(),c.parsed||(c=b.parseEl(b.index));var d=c.type;if(m(“BeforeChange”,[b.currItem?b.currItem.type:””,d]),b.currItem=c,!b.currTemplate[d]){var f=!!b.st[d]&&b.st[d].markup;m(“FirstMarkupParse”,f),b.currTemplate[d]=!f||a(f)}e&&e!==c.type&&b.container.removeClass(“mfp-“+e+”-holder”);var g=b[“get”+d.charAt(0).toUpperCase()+d.slice(1)](c,b.currTemplate[d]);b.appendContent(g,d),c.preloaded=!0,m(“Change”,c),e=c.type,b.container.prepend(b.contentContainer),m(“AfterChange”)},appendContent:function(a,c){b.content=a,a?b.st.showCloseBtn&&b.st.closeBtnInside&&!0===b.currTemplate[c]?b.content.find(“.mfp-close”).length||b.content.append(n()):b.content=a:b.content=””,m(“BeforeAppend”),b.container.addClass(“mfp-“+c+”-holder”),b.contentContainer.append(b.content)},parseEl:function(c){var d,e=b.items[c];if(e.tagName?e={el:a(e)}:(d=e.type,e={data:e,src:e.src}),e.el){for(var f=b.types,g=0;g<f.length;g++)if(e.el.hasClass(“mfp-“+f[g])){d=f[g];break}e.src=e.el.attr(“data-mfp-src”),e.src||(e.src=e.el.attr(“href”))}return e.type=d||b.st.type||”inline”,e.index=c,e.parsed=!0,b.items[c]=e,m(“ElementParse”,e),b.items[c]},addGroup:function(a,c){var d=function(d){d.mfpEl=this,b._openClick(d,a,c)};c||(c={});var e=”click.magnificPopup”;c.mainEl=a,c.items?(c.isObj=!0,a.off(e).on(e,d)):(c.isObj=!1,c.delegate?a.off(e).on(e,c.delegate,d):(c.items=a,a.off(e).on(e,d)))},_openClick:function(c,d,e){if((void 0!==e.midClick?e.midClick:a.magnificPopup.defaults.midClick)||2!==c.which&&!c.ctrlKey&&!c.metaKey){var f=void 0!==e.disableOn?e.disableOn:a.magnificPopup.defaults.disableOn;if(f)if(a.isFunction(f)){if(!f.call(b))return!0}else if(j.width()<f)return!0;c.type&&(c.preventDefault(),b.isOpen&&c.stopPropagation()),e.el=a(c.mfpEl),e.delegate&&(e.items=d.find(e.delegate)),b.open(e)}},updateStatus:function(a,d){if(b.preloader){c!==a&&b.container.removeClass(“mfp-s-“+c),d||”loading”!==a||(d=b.st.tLoading);var e={status:a,text:d};m(“UpdateStatus”,e),a=e.status,d=e.text,b.preloader.html(d),b.preloader.find(“a”).on(“click”,function(a){a.stopImmediatePropagation()}),b.container.addClass(“mfp-s-“+a),c=a}},_checkIfClose:function(c){if(!a(c).hasClass(“mfp-prevent-close”)){var d=b.st.closeOnContentClick,e=b.st.closeOnBgClick;if(d&&e)return!0;if(!b.content||a(c).hasClass(“mfp-close”)||b.preloader&&c===b.preloader[0])return!0;if(c===b.content[0]||a.contains(b.content[0],c)){if(d)return!0}else if(e&&a.contains(document,c))return!0;return!1}},_addClassToMFP:function(a){b.bgOverlay.addClass(a),b.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),b.wrap.removeClass(a)},_hasScrollBar:function(a){return(b.isIE7?d.height():document.body.scrollHeight)>(a||j.height())},_setFocus:function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).focus()},_onFocusIn:function(c){if(c.target!==b.wrap[0]&&!a.contains(b.wrap[0],c.target))return b._setFocus(),!1},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),m(“MarkupParse”,[b,c,d]),a.each(c,function(a,c){if(void 0===c||!1===c)return!0;if(e=a.split(“_”),e.length>1){var d=b.find(“.mfp-“+e[0]);if(d.length>0){var f=e[1];”replaceWith”===f?d[0]!==c[0]&&d.replaceWith(c):”img”===f?d.is(“img”)?d.attr(“src”,c):d.replaceWith(‘‘):d.attr(e[1],c)}}else b.find(“.mfp-“+a).html(c)})},_getScrollbarSize:function(){if(void 0===b.scrollbarSize){var a=document.createElement(“div”);a.style.cssText=”width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;”,document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={instance:null,proto:h.prototype,modules:[],open:function(b,c){return o(),b=b?a.extend(!0,{},b):{},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:””,preloader:!0,focus:””,closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:”auto”,fixedBgPos:”auto”,overflowY:”auto”,closeMarkup:'<button title=”%title%” type=”button” class=”mfp-close”>×</button>’,tClose:”Close (Esc)”,tLoading:”Loading…”}},a.fn.magnificPopup=function(c){o();var d=a(this);if(“string”==typeof c)if(“open”===c){var e,f=i?d.data(“magnificPopup”):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else c=a.extend(!0,{},c),i?d.data(“magnificPopup”,c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var q,r,s,t=function(){s&&(r.after(s.addClass(q)).detach(),s=null)};a.magnificPopup.registerModule(“inline”,{options:{hiddenClass:”hide”,markup:””,tNotFound:”Content not found”},proto:{initInline:function(){b.types.push(“inline”),k(“Close.inline”,function(){t()})},getInline:function(c,d){if(t(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(r||(q=e.hiddenClass,r=l(q),q=”mfp-“+q),s=f.after(r).detach().removeClass(q)),b.updateStatus(“ready”)}else b.updateStatus(“error”,e.tNotFound),f=a(“

    “);return c.inlineElement=f,f}return b.updateStatus(“ready”),b._parseMarkup(d,{},c),d}}});var u,v=function(){u&&a(document.body).removeClass(u)},w=function(){v(),b.req&&b.req.abort()};a.magnificPopup.registerModule(“ajax”,{options:{settings:null,cursor:”mfp-ajax-cur”,tError:’The content could not be loaded.’},proto:{initAjax:function(){b.types.push(“ajax”),u=b.st.ajax.cursor,k(“Close.ajax”,w),k(“BeforeChange.ajax”,w)},getAjax:function(c){u&&a(document.body).addClass(u),b.updateStatus(“loading”);var d=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};m(“ParseAjax”,g),b.appendContent(a(g.data),”ajax”),c.finished=!0,v(),b._setFocus(),setTimeout(function(){b.wrap.addClass(“mfp-ready”)},16),b.updateStatus(“ready”),m(“AjaxContentAdded”)},error:function(){v(),c.finished=c.loadError=!0,b.updateStatus(“error”,b.st.ajax.tError.replace(“%url%”,c.src))}},b.st.ajax.settings);return b.req=a.ajax(d),””}}});var x,y=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||””}return””};a.magnificPopup.registerModule(“image”,{options:{markup:’

    <figure>

    <figcaption>

    </figcaption></figure>

    ‘,cursor:”mfp-zoom-out-cur”,titleSrc:”title”,verticalFit:!0,tError:’The image could not be loaded.’},proto:{initImage:function(){var c=b.st.image,d=”.image”;b.types.push(“image”),k(“Open”+d,function(){“image”===b.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),k(“Close”+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),j.off(“resize.mfp”)}),k(“Resize”+d,b.resizeImage),b.isLowIE&&k(“AfterChange”,b.resizeImage)},resizeImage:function(){var a=b.currItem;if(a&&a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css(“padding-top”),10)+parseInt(a.img.css(“padding-bottom”),10)),a.img.css(“max-height”,b.wH-c)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,x&&clearInterval(x),a.isCheckingImgSize=!1,m(“ImageHasSize”,a),a.imgHidden&&(b.content&&b.content.removeClass(“mfp-loading”),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){x&&clearInterval(x),x=setInterval(function(){if(d.naturalWidth>0)return void b._onImageHasSize(a);c>200&&clearInterval(x),c++,3===c?e(10):40===c?e(50):100===c&&e(500)},f)};e(1)},getImage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(“.mfploader”),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus(“ready”)),c.hasSize=!0,c.loaded=!0,m(“ImageLoadComplete”)):(e++,e<200?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(“.mfploader”),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus(“error”,h.tError.replace(“%url%”,c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(“.mfp-img”);if(i.length){var j=document.createElement(“img”);j.className=”mfp-img”,c.el&&c.el.find(“img”).length&&(j.alt=c.el.find(“img”).attr(“alt”)),c.img=a(j).on(“load.mfploader”,f).on(“error.mfploader”,g),j.src=c.src,i.is(“img”)&&(c.img=c.img.clone()),j=c.img[0],j.naturalWidth>0?c.hasSize=!0:j.width||(c.hasSize=!1)}return b._parseMarkup(d,{title:y(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(x&&clearInterval(x),c.loadError?(d.addClass(“mfp-loading”),b.updateStatus(“error”,h.tError.replace(“%url%”,c.src))):(d.removeClass(“mfp-loading”),b.updateStatus(“ready”)),d):(b.updateStatus(“loading”),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass(“mfp-loading”),b.findImageSize(c)),d)}}});var z,A=function(){return void 0===z&&(z=void 0!==document.createElement(“p”).style.MozTransform),z};a.magnificPopup.registerModule(“zoom”,{options:{enabled:!1,easing:”ease-in-out”,duration:300,opener:function(a){return a.is(“img”)?a:a.find(“img”)}},proto:{initZoom:function(){var a,c=b.st.zoom,d=”.zoom”;if(c.enabled&&b.supportsTransition){var e,f,g=c.duration,h=function(a){var b=a.clone().removeAttr(“style”).removeAttr(“class”).addClass(“mfp-animated-image”),d=”all “+c.duration/1e3+”s “+c.easing,e={position:”fixed”,zIndex:9999,left:0,top:0,”-webkit-backface-visibility”:”hidden”},f=”transition”;return e[“-webkit-“+f]=e[“-moz-“+f]=e[“-o-“+f]=e[f]=d,b.css(e),b},i=function(){b.content.css(“visibility”,”visible”)};k(“BuildControls”+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.content.css(“visibility”,”hidden”),!(a=b._getItemToZoom()))return void i();f=h(a),f.css(b._getOffset()),b.wrap.append(f),e=setTimeout(function(){f.css(b._getOffset(!0)),e=setTimeout(function(){i(),setTimeout(function(){f.remove(),a=f=null,m(“ZoomAnimationEnded”)},16)},g)},16)}}),k(“BeforeClose”+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.st.removalDelay=g,!a){if(!(a=b._getItemToZoom()))return;f=h(a)}f.css(b._getOffset(!0)),b.wrap.append(f),b.content.css(“visibility”,”hidden”),setTimeout(function(){f.css(b._getOffset())},16)}}),k(“Close”+d,function(){b._allowZoom()&&(i(),f&&f.remove(),a=null)})}},_allowZoom:function(){return”image”===b.currItem.type},_getItemToZoom:function(){return!!b.currItem.hasSize&&b.currItem.img},_getOffset:function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css(“padding-top”),10),g=parseInt(d.css(“padding-bottom”),10);e.top-=a(window).scrollTop()-f;var h={width:d.width(),height:(i?d.innerHeight():d[0].offsetHeight)-g-f};return A()?h[“-moz-transform”]=h.transform=”translate(“+e.left+”px,”+e.top+”px)”:(h.left=e.left,h.top=e.top),h}}});var B=function(a){if(b.currTemplate.iframe){var c=b.currTemplate.iframe.find(“iframe”);c.length&&(a||(c[0].src=”//about:blank”),b.isIE8&&c.css(“display”,a?”block”:”none”))}};a.magnificPopup.registerModule(“iframe”,{options:{markup:’

    <iframe class=”mfp-iframe” src=”//about:blank” frameborder=”0″ allowfullscreen></iframe>

    ‘,srcAction:”iframe_src”,patterns:{youtube:{index:”youtube.com”,id:”v=”,src:”//www.youtube.com/embed/%id%?autoplay=1″},vimeo:{index:”vimeo.com/”,id:”/”,src:”//player.vimeo.com/video/%id%?autoplay=1″},gmaps:{index:”//maps.google.”,src:”%id%&output=embed”}}},proto:{initIframe:function(){b.types.push(“iframe”),k(“BeforeChange”,function(a,b,c){b!==c&&(“iframe”===b?B():”iframe”===c&&B(!0))}),k(“Close.iframe”,function(){B()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){if(e.indexOf(this.index)>-1)return this.id&&(e=”string”==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace(“%id%”,e),!1});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus(“ready”),d}}});var C=function(a){var c=b.items.length;return a>c-1?a-c:a<0?c+a:a},D=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule(“gallery”,{options:{enabled:!1,arrowMarkup:'<button title=”%title%” type=”button” class=”mfp-arrow mfp-arrow-%dir%”></button>’,preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:”Previous (Left arrow key)”,tNext:”Next (Right arrow key)”,tCounter:”%curr% of %total%”},proto:{initGallery:function(){var c=b.st.gallery,e=”.mfp-gallery”,g=Boolean(a.fn.mfpFastClick);if(b.direction=!0,!c||!c.enabled)return!1;f+=” mfp-gallery”,k(“Open”+e,function(){c.navigateByImgClick&&b.wrap.on(“click”+e,”.mfp-img”,function(){if(b.items.length>1)return b.next(),!1}),d.on(“keydown”+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),k(“UpdateStatus”+e,function(a,c){c.text&&(c.text=D(c.text,b.currItem.index,b.items.length))}),k(“MarkupParse”+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?D(c.tCounter,f.index,g):””}),k(“BuildControls”+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,”left”)).addClass(“mfp-prevent-close”),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,”right”)).addClass(“mfp-prevent-close”),h=g?”mfpFastClick”:”click”;e[h](function(){b.prev()}),f[h](function(){b.next()}),b.isIE7&&(l(“b”,e[0],!1,!0),l(“a”,e[0],!1,!0),l(“b”,f[0],!1,!0),l(“a”,f[0],!1,!0)),b.container.append(e.add(f))}}),k(“Change”+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),k(“Close”+e,function(){d.off(e),b.wrap.off(“click”+e),b.arrowLeft&&g&&b.arrowLeft.add(b.arrowRight).destroyMfpFastClick(),b.arrowRight=b.arrowLeft=null})},next:function(){b.direction=!0,b.index=C(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=C(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=C(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),m(“LazyLoad”,d),”image”===d.type&&(d.img=a(‘‘).on(“load.mfploader”,function(){d.hasSize=!0}).on(“error.mfploader”,function(){d.hasSize=!0,d.loadError=!0,m(“LazyLoadError”,d)}).attr(“src”,d.src)),d.preloaded=!0}}}});a.magnificPopup.registerModule(“retina”,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return”@2x”+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(k(“ImageHasSize.retina”,function(a,b){b.img.css({“max-width”:b.img[0].naturalWidth/c,width:”100%”})}),k(“ElementParse.retina”,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),function(){var b=”ontouchstart”in window,c=function(){j.off(“touchmove”+d+” touchend”+d)},d=”.mfpFastClick”;a.fn.mfpFastClick=function(e){return a(this).each(function(){var f,g=a(this);if(b){var h,i,k,l,m,n;g.on(“touchstart”+d,function(a){l=!1,n=1,m=a.originalEvent?a.originalEvent.touches[0]:a.touches[0],i=m.clientX,k=m.clientY,j.on(“touchmove”+d,function(a){m=a.originalEvent?a.originalEvent.touches:a.touches,n=m.length,m=m[0],(Math.abs(m.clientX-i)>10||Math.abs(m.clientY-k)>10)&&(l=!0,c())}).on(“touchend”+d,function(a){c(),l||n>1||(f=!0,a.preventDefault(),clearTimeout(h),h=setTimeout(function(){f=!1},1e3),e())})})}g.on(“click”+d,function(){f||e()})})},a.fn.destroyMfpFastClick=function(){a(this).off(“touchstart”+d+” click”+d),b&&j.off(“touchmove”+d+” touchend”+d)}}(),o()}),”function”!=typeof Object.create&&(Object.create=function(a){function b(){}return b.prototype=a,new b}),function(a,b,c,d){var e={init:function(b,c){var d=this;d.elem=c,d.$elem=a(c),d.options=a.extend({},a.fn.rtTab.options,b),d.rtTabs()},rtTabs:function(){var c=this,d=c.options.activeTab;if(c.$elem.find(“li:nth-child(“+d+”)”).addClass(“active”),c.rtTabContent(activeTabContent=”yes”),c.rtClick(),!0==(“false”!==c.$elem.attr(“data-hash”))){var e=b.location.hash;e&&c.$elem.find(“li”).find(‘a[href=”‘+e+'”]’).trigger(“click”),a(b).on(“hashchange”,function(){var a=b.location.hash;c.$elem.find(“li”).find(‘a[href=”‘+a+'”]’).trigger(“click”)})}},rtClick:function(){var c=this,d=c.$elem.find(“li”);d.find(“a”).on(“click”,function(e){e.preventDefault(),d.removeClass(“active”),c.rtTabContent(),a(this).parent().addClass(“active”);var f=a(this).attr(“href”);if(a(f).removeClass(“hide”),1==(“false”!==c.$elem.attr(“data-hash”))){var g=a(b).scrollTop();location.hash=a(this).attr(“href”),a(b).scrollTop(g)}”function”==typeof c.options.onComplete&&c.options.onComplete.apply(c.elem,arguments)})},rtTabContent:function(b){this.$elem.find(“li”).find(“a”).each(function(){var c=a(this),d=c.attr(“href”);”yes”===b?c.parent().hasClass(“active”)||a(d).addClass(“hide”):a(d).addClass(“hide”)})}};a.fn.rtTab=function(b){return this.each(function(){var c=Object.create(e);c.init(b,this),a.data(this,”rtTab”,c)})},a.fn.rtTab.options={activeTab:1,onComplete:null}}(jQuery,window,document);var rtMagnificPopup,rtm_masonry_container,comment_media=!1,rtMediaHook={hooks:[],is_break:!1,register:function(a,b){void 0===rtMediaHook.hooks[a]&&(rtMediaHook.hooks[a]=[]),rtMediaHook.hooks[a].push(b)},call:function(a,arguments){if(void 0!==rtMediaHook.hooks[a])for(i=0;i<rtMediaHook.hooks[a].length;++i)if(1!=rtMediaHook.hooks[a][i](arguments))return rtMediaHook.is_break=!0,!1;return!0}};jQuery(“document”).ready(function(a){function b(){if(jQuery(“#rtmedia-media-view-form”).length>0){var a=jQuery(“#rtmedia-media-view-form”).attr(“action”);jQuery.post(a,{},function(a){})}}function c(){var a=jQuery.magnificPopup.instance;jQuery(“.mfp-arrow-right”).on(“click”,function(b){a.next()}),jQuery(“.mfp-arrow-left”).on(“click”,function(b){a.prev()}),jQuery(“.mfp-content .rtmedia-media”).swipe({swipeLeft:function(b,c,d,e,f){a.next()},swipeRight:function(b,c,d,e,f){a.prev()},threshold:0})}function d(){jQuery(“.mfp-arrow-right”).hide(),jQuery(“.mfp-arrow-left”).hide(),jQuery(document).unbind(“keydown”)}function e(){rtmedia_disable_popup_navigation(“#comment_content”)}function f(){jQuery(“.rtmedia-container”).on(“click”,”.rtmedia-delete-media”,function(a){a.preventDefault(),confirm(rtmedia_media_delete_confirmation)&&jQuery(this).closest(“form”).submit()})}jQuery(“.rtmedia-uploader-div”).css({opacity:”1″,display:”block”,visibility:”visible”}),jQuery(” #whats-new-options “).css({opacity:”1”}),void 0!==a.fn.rtTab&&a(“.rtm-tabs”).rtTab(),jQuery(“.rtmedia-modal-link”).length>0&&a(“.rtmedia-modal-link”).magnificPopup({type:”inline”,midClick:!0,closeBtnInside:!0}),a(“#rt_media_comment_form”).submit(function(b){return””!=a.trim(a(“#comment_content”).val())||(0==jQuery(“#rtmedia-single-media-container”).length?rtmedia_gallery_action_alert_message(rtmedia_empty_comment_msg,”warning”):rtmedia_single_media_alert_message(rtmedia_empty_comment_msg,”warning”),!1)}),a(“li.rtmedia-list-item p a”).each(function(b){a(this).addClass(“no-popup”)}),a(“li.rtmedia-list-item p a”).each(function(b){a(this).addClass(“no-popup”)}),”undefined”!=typeof rtmedia_lightbox_enabled&&”1″==rtmedia_lightbox_enabled&&apply_rtMagnificPopup(“.rtmedia-list-media.rtm-gallery-list, .rtmedia-activity-container ul.rtmedia-list, #bp-media-list,.bp-media-sc-list, li.media.album_updated ul,ul.bp-media-list-media, li.activity-item div.activity-content div.activity-inner div.bp_media_content, .rtm-bbp-container, ul.rtm-comment-container”),jQuery.ajaxPrefilter(function(a,b,c){try{if(null==b.data||void 0===b.data||void 0===b.data.action)return!0}catch(a){return!0}if(“activity_get_older_updates”==b.data.action){var d=b.success
    ;a.success=function(a){d(a),apply_rtMagnificPopup(“.rtmedia-activity-container ul.rtmedia-list, #bp-media-list, .bp-media-sc-list, li.media.album_updated ul,ul.bp-media-list-media, li.activity-item div.activity-content div.activity-inner div.bp_media_content”),rtMediaHook.call(“rtmedia_js_after_activity_added”,[])}}else if(“get_single_activity_content”==b.data.action){var d=b.success;a.success=function(a){d(a),setTimeout(function(){apply_rtMagnificPopup(“.rtmedia-activity-container ul.rtmedia-list, #bp-media-list, .bp-media-sc-list, li.media.album_updated ul,ul.bp-media-list-media, li.activity-item div.activity-content div.activity-inner div.bp_media_content”),jQuery(“ul.activity-list li.rtmedia_update:first-child .wp-audio-shortcode, ul.activity-list li.rtmedia_update:first-child .wp-video-shortcode”).mediaelementplayer({defaultVideoWidth:480,defaultVideoHeight:270})},900)}}}),jQuery.ajaxPrefilter(function(a,b,c){try{if(null==b.data||void 0===b.data||void 0===b.data.action)return!0}catch(a){return!0}if(“activity_get_older_updates”==b.data.action){var d=b.success;a.success=function(a){d(a),apply_rtMagnificPopup(“.rtmedia-activity-container ul.rtmedia-list, #bp-media-list, .bp-media-sc-list, li.media.album_updated ul,ul.bp-media-list-media, li.activity-item div.activity-content div.activity-inner div.bp_media_content”),jQuery(“ul.activity-list li.rtmedia_update div.rtmedia-item-thumbnail > audio.wp-audio-shortcode, ul.activity-list li.rtmedia_update div.rtmedia-item-thumbnail > video.wp-video-shortcode”).mediaelementplayer({defaultVideoWidth:480,defaultVideoHeight:270}),setTimeout(function(){rtmedia_activity_stream_comment_media()},900),rtMediaHook.call(“rtmedia_js_after_activity_added”,[])}}}),jQuery(“.rtmedia-container”).on(“click”,”.select-all”,function(a){jQuery(this).toggleClass(“unselect-all”).toggleClass(“select-all”),jQuery(this).attr(“title”,rtmedia_unselect_all_visible),jQuery(“.rtmedia-list input”).each(function(){jQuery(this).prop(“checked”,!0)}),jQuery(“.rtmedia-list-item”).addClass(“bulk-selected”)}),jQuery(“.rtmedia-container”).on(“click”,”.unselect-all”,function(a){jQuery(this).toggleClass(“select-all”).toggleClass(“unselect-all”),jQuery(this).attr(“title”,rtmedia_select_all_visible),jQuery(“.rtmedia-list input”).each(function(){jQuery(this).prop(“checked”,!1)}),jQuery(“.rtmedia-list-item”).removeClass(“bulk-selected”)}),jQuery(“.rtmedia-container”).on(“click”,”.rtmedia-move”,function(a){jQuery(“.rtmedia-delete-container”).slideUp(),jQuery(“.rtmedia-move-container”).slideToggle()}),jQuery(“#rtmedia-create-album-modal”).on(“click”,”#rtmedia_create_new_album”,function(b){if($albumname=jQuery(“<span/>”).text(jQuery.trim(jQuery(“#rtmedia_album_name”).val())).html(),$album_description=jQuery(“#rtmedia_album_description”),$context=jQuery.trim(jQuery(“#rtmedia_album_context”).val()),$context_id=jQuery.trim(jQuery(“#rtmedia_album_context_id”).val()),$privacy=jQuery.trim(jQuery(“#rtmedia_select_album_privacy”).val()),$create_album_nonce=jQuery.trim(jQuery(“#rtmedia_create_album_nonce”).val()),””!=$albumname){var c={action:”rtmedia_create_album”,name:$albumname,description:$album_description.val(),context:$context,context_id:$context_id,create_album_nonce:$create_album_nonce};””!==$privacy&&(c.privacy=$privacy),a(“#rtmedia_create_new_album”).attr(“disabled”,”disabled”);var d=a(“#rtmedia_create_new_album”).html();a(“#rtmedia_create_new_album”).prepend(““),jQuery.post(rtmedia_ajax_url,c,function(b){if(void 0!==b.album){b=jQuery.trim(b.album);var c=!0;$album_description.val(“”),a(“#rtmedia_album_name”).focus(),jQuery(“.rtmedia-user-album-list”).each(function(){if(jQuery(this).children(“optgroup”).each(function(){if(jQuery(this).attr(“value”)===$context)return c=!1,void jQuery(this).append(‘<option value=”‘+b+'”>’+$albumname+”</option>”)}),c){var a=$context.charAt(0).toUpperCase()+$context.slice(1)+” “+rtmedia_main_js_strings.rtmedia_albums,d='<optgroup value=”‘+$context+'” label=”‘+a+'”><option value=”‘+b+'”>’+$albumname+”</option></optgroup>”;jQuery(this).append(d)}}),jQuery(‘select.rtmedia-user-album-list option[value=”‘+b+'”]’).prop(“selected”,!0),jQuery(“.rtmedia-create-new-album-container”).slideToggle(),jQuery(“#rtmedia_album_name”).val(“”),jQuery(“#rtmedia-create-album-modal”).append(“

    <b>”+$albumname+”</b>”+rtmedia_album_created_msg+”

    “),setTimeout(function(){jQuery(“.rtmedia-create-album-alert”).remove()},4e3),setTimeout(function(){galleryObj.reloadView(),jQuery(“.close-reveal-modal”).click()},2e3)}else void 0!==b.error?rtmedia_gallery_action_alert_message(b.error,”warning”):rtmedia_gallery_action_alert_message(rtmedia_something_wrong_msg,”warning”);a(“#rtmedia_create_new_album”).removeAttr(“disabled”),a(“#rtmedia_create_new_album”).html(d)})}else rtmedia_gallery_action_alert_message(rtmedia_empty_album_name_msg,”warning”)}),jQuery(“.rtmedia-container”).on(“click”,”.rtmedia-delete-selected”,function(a){jQuery(“.rtmedia-list :checkbox:checked”).length>0?confirm(rtmedia_selected_media_delete_confirmation)&&jQuery(this).closest(“form”).attr(“action”,”../../../”+rtmedia_media_slug+”/delete”).submit():rtmedia_gallery_action_alert_message(rtmedia_no_media_selected,”warning”)}),jQuery(“.rtmedia-container”).on(“click”,”.rtmedia-move-selected”,function(a){jQuery(“.rtmedia-list :checkbox:checked”).length>0?confirm(rtmedia_selected_media_move_confirmation)&&jQuery(this).closest(“form”).attr(“action”,””).submit():rtmedia_gallery_action_alert_message(rtmedia_no_media_selected,”warning”)}),jQuery(“#buddypress”).on(“change”,”.rtm-activity-privacy-opt”,function(){var a=jQuery(this).attr(“id”);a=a.split(“-“),a=a[a.length-1];var b=this;data={activity_id:a,privacy:jQuery(this).val(),nonce:jQuery(“#rtmedia_activity_privacy_nonce”).val(),action:”rtm_change_activity_privacy”},jQuery.post(ajaxurl,data,function(a){var c=””,d=””;”true”==a?(c=rtmedia_main_js_strings.privacy_update_success,d=”success”):(c=rtmedia_main_js_strings.privacy_update_error,d=”fail”),jQuery(b).after(‘<p class=”rtm-ac-privacy-updated ‘+d+'”>’+c+”</p>”),setTimeout(function(){jQuery(b).siblings(“.rtm-ac-privacy-updated”).remove()},2e3)})}),jQuery(“.media_search_input”).on(“keyup”,function(){rtm_search_media_text_validation()}),b(),rtMediaHook.register(“rtmedia_js_popup_after_content_added”,function(){b(),f(),mfp=jQuery.magnificPopup.instance,jQuery(mfp.items).size()>1&&0==comment_media?c():d(),e(),rtmedia_disable_popup_navigation_comment_media_focus();var g=a(window).height();jQuery(“.rtm-lightbox-container .mejs-video”).css({height:.8*g,”over-flow”:”hidden”}),jQuery(“.mfp-content .rtmedia-media”).css({“max-height”:.87*g,”over-flow”:”hidden”}),rtmedia_init_action_dropdown(“.rtm-lightbox-container .rtmedia-actions”),jQuery(“.rtmedia-comment-link”).on(“click”,function(a){a.preventDefault(),jQuery(“#comment_content”).focus()}),jQuery(“.rtm-more”).shorten({showChars:130});var h=a(“.rtm-gallery-title”),i=””;””!=(i=a.isEmptyObject(h)?a(“#subnav.item-list-tabs li.selected “).html():h.html())&&a(“.rtm-ltb-gallery-title .ltb-title”).html(i);var j=a(“#subnav.item-list-tabs li.selected span”).html();return a(“li.total”).html(j),!0});var g=jQuery(“#drag-drop-area”),h=jQuery(“#whats-new”);g.html();jQuery(“#rtmedia-upload-container”).after(“

    “+rtmedia_drop_media_msg+”

    “),”undefined”!=typeof rtmedia_bp_enable_activity&&”1″==rtmedia_bp_enable_activity&&jQuery(“#whats-new-textarea”).append(“

    “+rtmedia_drop_media_msg+”

    “),jQuery(document).on(“dragover”,function(a){a.preventDefault(),a.target!=this&&(jQuery(“#rtm-media-gallery-uploader”).show(),”undefined”!=typeof rtmedia_bp_enable_activity&&”1″==rtmedia_bp_enable_activity&&h.addClass(“rtm-drag-drop-active”),g.addClass(“rtm-drag-drop-active”),jQuery(“#rtm-drop-files-title”).show())}).on(“dragleave”,function(a){if(a.preventDefault(),0!=a.originalEvent.pageX&&0!=a.originalEvent.pageY)return!1;”undefined”!=typeof rtmedia_bp_enable_activity&&”1″==rtmedia_bp_enable_activity&&(h.removeClass(“rtm-drag-drop-active”),h.removeAttr(“style”)),g.removeClass(“rtm-drag-drop-active”),jQuery(“#rtm-drop-files-title”).hide()}).on(“drop”,function(a){a.preventDefault(),jQuery(“.bp-suggestions”).focus(),”undefined”!=typeof rtmedia_bp_enable_activity&&”1″==rtmedia_bp_enable_activity&&(h.removeClass(“rtm-drag-drop-active”),h.removeAttr(“style”)),g.removeClass(“rtm-drag-drop-active”),jQuery(“#rtm-drop-files-title”).hide()}),jQuery(“.rtmedia-container”).on(“click”,”.rtmedia-delete-album”,function(a){a.preventDefault(),confirm(rtmedia_album_delete_confirmation)&&jQuery(this).closest(“form”).submit()}),jQuery(“.rtmedia-container”).on(“click”,”.rtmedia-delete-media”,function(a){a.preventDefault(),confirm(rtmedia_media_delete_confirmation)&&jQuery(this).closest(“form”).submit()}),rtmedia_init_action_dropdown(“”),a(document).click(function(){a(“.click-nav ul”).is(“:visible”)&&a(“.click-nav ul”,this).hide()}),jQuery(“.rtmedia-comment-link”).on(“click”,function(a){a.preventDefault(),jQuery(“#comment_content”).focus()}),jQuery(“.rtm-more”).length>0&&a(“.rtm-more”).shorten({showChars:200}),”undefined”!=typeof rtmedia_masonry_layout&&”true”==rtmedia_masonry_layout&&”undefined”!=typeof rtmedia_masonry_layout_activity&&”true”==rtmedia_masonry_layout_activity&&rtmedia_activity_masonry(),jQuery(document).ajaxComplete(function(a,b,c){var d=new URLSearchParams(c.data);”post_update”!=d.get(“action”)&&”get_single_activity_content”!=d.get(“action”)&&”activity_get_older_updates”!=d.get(“action”)||”undefined”==typeof rtmedia_masonry_layout||”true”!=rtmedia_masonry_layout||”undefined”==typeof rtmedia_masonry_layout_activity||”true”!=rtmedia_masonry_layout_activity||rtmedia_activity_masonry()}),”undefined”!=typeof rtmedia_masonry_layout&&”true”==rtmedia_masonry_layout&&0==jQuery(“.rtmedia-container .rtmedia-list.rtm-no-masonry”).length&&(rtm_masonry_container=jQuery(“.rtmedia-container .rtmedia-list”),rtm_masonry_container.masonry({itemSelector:”.rtmedia-list-item”}),setInterval(function(){jQuery.each(jQuery(“.rtmedia-list.masonry .rtmedia-item-title”),function(a,b){jQuery(b).width(jQuery(b).siblings(“.rtmedia-item-thumbnail”).children(“img”).width())}),rtm_masonry_reload(rtm_masonry_container)},1e3),jQuery.each(jQuery(“.rtmedia-list.masonry .rtmedia-item-title”),function(a,b){jQuery(b).width(jQuery(b).siblings(“.rtmedia-item-thumbnail”).children(“img”).width())})),jQuery(“.rtm-uploader-tabs”).length>0&&jQuery(“.rtm-uploader-tabs li”).click(function(a){jQuery(this).hasClass(“active”)||(jQuery(this).siblings().removeClass(“active”),jQuery(this).parents(“.rtm-uploader-tabs”).siblings().hide(),class_name=jQuery(this).attr(“class”),jQuery(this).parents(“.rtm-uploader-tabs”).siblings(‘[data-id=”‘+class_name+'”]’).show(),jQuery(this).addClass(“active”),”rtm-upload-tab”!=class_name?jQuery(“div.moxie-shim”).hide():jQuery(“div.moxie-shim”).show())}),jQuery(“.rtmedia-container”).on(“click”,”.rtm-delete-media”,function(a){a.preventDefault();var b=”Are you sure you want to delete this media?”;if(“undefined”!=typeof rtmedia_media_delete_confirmation&&(b=rtmedia_media_delete_confirmation),confirm(b)){var c=jQuery(this).closest(“li”),d=jQuery(“#rtmedia_media_delete_nonce”).val(),e={action:”delete_uploaded_media”,nonce:d,media_id:c.attr(“id”)};jQuery.ajax({url:ajaxurl,type:”post”,data:e,success:function(a){“1″==a?(rtmedia_gallery_action_alert_message(rtmedia_main_js_strings.file_delete_success,”success”),c.remove(),”undefined”!=typeof rtmedia_masonry_layout&&”true”==rtmedia_masonry_layout&&0==jQuery(“.rtmedia-container .rtmedia-list.rtm-no-masonry”).length&&rtm_masonry_reload(rtm_masonry_container)):rtmedia_gallery_action_alert_message(rtmedia_file_not_deleted,”warning”)}})}})}),function(a){a.fn.shorten=function(b){“use strict”;var c={showChars:100,minHideChars:10,ellipsesText:”…”,moreText:rtmedia_read_more,lessText:rtmedia__show_less,onLess:function(){},onMore:function(){},errMsg:null,force:!1};return b&&a.extend(c,b),!(a(this).data(“jquery.shorten”)&&!c.force)&&(a(this).data(“jquery.shorten”,!0),a(document).off(“click”,”.morelink”),a(document).on({click:function(){var b=a(this);return b.hasClass(“less”)?(b.removeClass(“less”),b.html(c.moreText),b.parent().prev().hide(0,function(){b.parent().prev().prev().show()}).hide(0,function(){c.onLess()})):(b.addClass(“less”),b.html(c.lessText),b.parent().prev().show(0,function(){b.parent().prev().prev().hide()}).show(0,function(){c.onMore()})),!1}},”.morelink”),this.each(function(){var b=a(this),d=b.html();if(b.text().length>c.showChars+c.minHideChars){var e=d.substr(0,c.showChars);if(e.indexOf(“<“)>=0){for(var f=!1,g=””,h=0,i=[],k=null,l=0,m=0;m<=c.showChars;l++)if(“<“!=d[l]||f||(f=!0,k=d.substring(l+1,d.indexOf(“>”,l)),”/”==k[0]?k!=”/”+i[0]?c.errMsg=”ERROR en HTML: the top of the stack should be the tag that closes”:i.shift():”br”!=k.toLowerCase()&&i.unshift(k)),f&&”>”==d[l]&&(f=!1),f)g+=d.charAt(l);else if(m++,h<=c.showChars)g+=d.charAt(l),h++;else if(i.length>0){for(j=0;j<i.length;j++)g+=”</”+i[j]+”>”;break}e=a(“<div/>”).html(g+'<span class=”ellip”>’+c.ellipsesText+”</span>”).html()}else e+=c.ellipsesText;var n=’

    ‘+e+’
    ‘+d+’

    <span>‘+c.moreText+”</span>”;b.html(n),b.find(“.allcontent”).hide(),a(“.shortcontent p:last”,b).css(“margin-bottom”,0)}}))}}(jQuery),window.onload=function(){“undefined”!=typeof rtmedia_masonry_layout&&”true”==rtmedia_masonry_layout&&0==jQuery(“.rtmedia-container .rtmedia-list.rtm-no-masonry”).length&&rtm_masonry_reload(rtm_masonry_container),rtm_search_media_text_validation(),check_condition(“search”)&&jQuery(“#media_search_remove”).show()};

    in reply to: Sub-Menu after 5 not showing #169468
     AshleyStewart
    Participant

    Hello –

    Thanks for getting back to me.

    Disabled all plugins, deleted style.css, functions.php cleared cache same issue.

    When I do change the theme all of the menu items seem to appear. Not getting any error message,

     AshleyStewart
    Participant

    Thanks for the reply. Not really sure how to go about doing this. I went into Visual composer, went to shortcode mapper and added [kleo_bp_activity_page]. Then went to the page and added the shortcode but doesn’t display.

     AshleyStewart
    Participant

    Hey Laura, thanks for the reply. With this shortcode, it displays the activity feed but does not give the option to update the status.

    Thanks for the help.

     AshleyStewart
    Participant

    Nevermind, figured it out. You need to add to add “Wigitised sidebar” and you can access the factory wordpress widgets.

    Please note the non-cancelation. Thank yo

Viewing 27 posts - 1 through 27 (of 27 total)

Log in with your credentials

Forgot your details?