Tagged: x
-
AuthorPosts
-
April 11, 2016 at 8:18 am #876391
mathijs84ParticipantThanks Rad,
I will check that with my client for the first one.
In the meanwhile, i need 1 more script added please.
On this page: http://www.streamads.work-planning.com/producten/inboard-video/
This is the script:
<script type="text/javascript"> window._ttf = window._ttf || []; _ttf.push({ pid : 50069 ,lang : "en" ,slot : '#top .masthead .x-breadcrumb-wrap' ,format : "inboard" ,components : { skip: {delay : 0}} ,mutable : true ,css : "padding: 10.5px 0px;" }); (function (d) { var js, s = d.getElementsByTagName('script')[0]; js = d.createElement('script'); js.async = true; js.src = '//cdn.teads.tv/media/format.js'; s.parentNode.insertBefore(js, s); })(window.document); </script>April 11, 2016 at 12:24 pm #876836
JadeModeratorHi there,
Thanks for the details.
I have added the script to the page you have specified.
Hope this helps.
April 12, 2016 at 2:55 am #877826
mathijs84ParticipantGreat guys,
We now have the scripts running on al three pages.
Is it possible to put them at a set location.
We prefer the location in the screenshot: http://prntscr.com/ar822qSo that go’s for the 3 pages:
http://www.streamads.work-planning.com/producten/inarticle-video/
http://www.streamads.work-planning.com/producten/inboard-video/
http://www.streamads.work-planning.com/producten/innative/?ean-test-native=true&ean-pid-only=24201April 12, 2016 at 9:08 am #878347
JackKeymasterHi there,
Thanks for writing back, before modifying the position of the script.
I’ve checked your site and you actually have a couple of issues including a jQuery issue and a Cross Origin issue, you can find out more about the cross origin issue here: https://community.theme.co/kb/solutions-to-potential-setup-issues-font-awesome/
I’d recommend resolving these before continuing, as the issues could prevent Cornerstone and theme from functioning correctly. I’ve attached a screenshot of the issue.
It’s possible of your scripts isn’t correctly using jQuery no conflict wrappers, as jQuery is returning as not defined.
Thank you!
April 12, 2016 at 9:21 am #878366
mathijs84ParticipantHi Jack,
Sorry but i am not sure what the issues are and how to solve them 🙁
I followed the instructions about the cross origin issue and changed the htacces file as described.
Is that ok this way and do we need to take further actions??April 12, 2016 at 10:10 pm #879291
ChristianModeratorThis could be resolved by your hosting provider as they have control over server settings. For more details on cross-origin resource sharing, please see http://enable-cors.org/.
Thanks.
April 13, 2016 at 3:05 am #879561
mathijs84ParticipantAlright, i contacted support and there response is this:
Thank you for contacting with the Technical Support Team of SiteGround.
Cross Origin is already enabled on our servers and may be managed via the .htaccess file of your website.
If you need to add custom management to it, you should consult with your theme developer on the rules that you should add on your end in the file.
Should you need future assistance or information, feel welcome to contact us back at any time.
April 13, 2016 at 8:44 am #880014
JackKeymasterHi there,
Thanks for writing back! I’ve checked the site and I don’t see the cross-origin anymore, but I still see the jQuery error which is actually breaking the whole page (screenshot attached).
Can you post the contents of this script cdn.teads.tv/media/format.js on somewhere like Pastebin as I believe it could be conflicting with the other JS on your page.
Thank you!
April 13, 2016 at 9:49 am #880125
mathijs84ParticipantHi we don’t see the jQuery error on our end.
In what browser are you viewing it ?
April 13, 2016 at 7:22 pm #881156
Rue NelModeratorHello There,
I am another support here checking on this topic. I am checking this page:
http://www.streamads.work-planning.com/producten/inarticle-video/Since you are using SiteGround, could you please disable the supercacher in your hosting panel? The SuperCacher is developed by SiteGround exclusively for their customers. It increases the number of hits a site can handle and boosts the website loading speed. The SuperCacher includes 4 different caching options for maximum optimization of your websites. You can access the tool by clicking on the SuperCacher icon in your cPanel.
For more information about this, please check it out here: https://www.siteground.com/tutorials/supercacher/supercacher_intro.htm
Hope this helps.
April 14, 2016 at 12:26 am #881475
mathijs84ParticipantSupercacher disabled. I still don’t see the site breaking. But how can we resolve the issue please
April 14, 2016 at 3:55 am #881801
JackKeymasterHi there,
Thanks for your reply! Has the Supercacher cache also been cleared? Attached is a screenshot of what I see in Firefox, but I also get the same in Chrome. Are you viewing logged in or logged out?
Try following this article for the font-awesome issue https://community.theme.co/kb/solutions-to-potential-setup-issues-font-awesome/
For the jQuery error, can you try disabling all plugins apart from Cornerstone please?
Thank you!
April 14, 2016 at 4:12 am #881820
mathijs84ParticipantI don’t see an attachment?
It has been cleared and i tried it logged in as well as logged out!!I already followed these steps: https://community.theme.co/kb/solutions-to-potential-setup-issues-font-awesome/
April 14, 2016 at 10:44 am #882475
JackKeymasterHi mathijs84,
Sorry, should be attached now, I’ve asked Rad to check this as well, as unfortunately the whole site appears broken to me because of the jQuery error.
April 14, 2016 at 5:57 pm #883226
RadModeratorHi Mathijs84 and Jack
I checked, I don’t see javascript error on my end, but I do still seeing the cross-domain issues.
Cross domain issues are related to the embed code that just added. It’s understandable because you can’t just put code to your site from somewhere. Your site will vulnerable if your browser will allow it by default. Though, you can always add rules to your site’s htaccess to allow it. Please add this to your site’s .htaccess
<FilesMatch "\.(ttf|otf|eot|woff)$"> <IfModule mod_headers.c> SetEnvIf Origin "http(s)?://(www\.)?(public.slidesharecdn.com|slideshare.net|cdn.teads.tv)$" AccessControlAllowOrigin=$0 Header add Access-Control-Allow-Origin %{AccessControlAllowOrigin}e env=AccessControlAllowOrigin </IfModule> </FilesMatch>As for moving the ads or embed within text content, that’s possible but maybe faulty. The ads are dynamically generated by the added code. Moving it while rendering may cause issues especially that loading time depends on each visitor’s connectivity. How about just turn the code into shortcodes, then manually place the shortcode to the content like you wish to achieve?
Thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-856864 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
