RafaelDeJongh
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Seasonal] Menu->SubmenusThanks in advance for doing so, and I’m glad I could be of assistance π
- This reply was modified 9 years, 7 months ago by RafaelDeJongh.
- This reply was modified 9 years, 7 months ago by RafaelDeJongh.
Forum: Plugins
In reply to: [Contact Form 7] ajax-loader.gif –> Font-Awesome (fa-refresh)Any thoughts on this?
Forum: Themes and Templates
In reply to: [Seasonal] Menu->SubmenusYep everything is fine now, thanks for the support!
Website in question: http://healingworkz.nl/
Adding the following CSS code on line 100 to the inlinestyle.php in the inc folder, made the hover for current link also function properly:
.site-navigation li.current_page_item > a:first-of-type, .primary-navigation li.current-menu-item > a:first-of-type, .current_page_parent, .current-menu-ancestor.current-menu-parent.current_page_parent.current_page_ancestor > a,- This reply was modified 9 years, 7 months ago by RafaelDeJongh.
Forum: Themes and Templates
In reply to: [Seasonal] Menu->SubmenusDear Shaped Pixel,
Thanks for the information, I hoped that there was an easier way to get around this but after looking through the code it was obvious this was not the case. Therefore I’ve added a workaround for this which replaces the :after arrow down with an actual DOM element that can be clicked via JS and then also removing the preventDefault so the main link is actual clickable.
$navMenu.find('.menu-item-has-children > a').after('<i class="fa fa-angle-down hchildren" aria-hidden="true"></i>'); $navMenu.find('.hchildren').on( 'click', function(e) {...});I guess this will do for now, I might need to look into the css a bit more regarding how to properly set the current link color for the menu as now when the main page is clicked all of the sub pages have the same current color.
Either way thanks for the fast response!
On a sidenote I find the option to make the sidebar smaller or larger a very nice addition, however it is a shame that the mediaqueries are not relative to this size, making it so that if you have a smaller than the default size (let’s take 25 for example), the menu items/title gets overlapped by the main body if the viewport is smaller than 1360px and then only activates the media queries at a default size of 922px. Which in general of course is editable but it would be a great addition to see that this size of the sidebar is relative to the media query activation.
Either it’s quite a lovely theme you made, keep up the good work!
- This reply was modified 9 years, 7 months ago by RafaelDeJongh.
Forum: Plugins
In reply to: [BulletProof Security] Marmoset Viewer 403 ErrorSo the Cloudflare Thumbnail problem was caused by the .mview file being parsed as a Content-Type: text/plain which had some problems with the Cloudflare Service as it is actually binary data.
So they suggested me to configuring the Apache origin to serve .mview files with the content-type of application/octet-stream.
After setting that custom type and cleared the cache the thumbnails started working!
So yea so far so good and most if not all problems are currently solved!
Forum: Plugins
In reply to: [Marmoset Viewer] 403 Forbidden Error Page using the plugin BPSSo the Cloudflare Thumbnail problem was caused by the .mview file being parsed as a Content-Type: text/plain which had some problems with the Cloudflare Service as it is actually binary data.
So they suggested me to configuring the Apache origin to serve .mview files with the content-type of application/octet-stream.
After setting that custom type and cleared the cache the thumbnails started working!
So yea so far so good and most if not all problems are currently solved!
Forum: Plugins
In reply to: [Marmoset Viewer] 403 Forbidden Error Page using the plugin BPSAll my sites are using Cloudflare pretty much for the reason of having a proper yet free Content Delivery Network.
And yea sure, I’ve added you to skype π Thanks in advance.
Oh that’s a shame but thanks for the confirmation and a possible alternative!
Forum: Plugins
In reply to: [Marmoset Viewer] 403 Forbidden Error Page using the plugin BPSYea BPS is one of the more stricter and also more secure security plugins out there for WordPress, I’ve had various problems in the past with hackers on other sides even with other security plugins so I tend to not try out any different security plugins anymore to be honest.
That said with further testing I’ve noticed the thumbnail not showing is caused by Cloudflare actually. Whenever their service was paused everything worked fine but if it was turned on the thumbs stopped working.
I indeed assume this has to do with the media queries not being parsed properly with Cloudflare, but why or how this is happening I’m unsure about.
Regarding the data-attribute, as far as I know you don’t need to change the main src, this could be pointed to just be the main php file. The additional data attributes like data-width=”100%” for example, these could be alongside the src attribute and be used to define certain elements. It’s just a thought though, I’m sure this plugin would work for most people if they’re not using BPS/Cloudflare :p
Forum: Plugins
In reply to: [Marmoset Viewer] 403 Forbidden Error Page using the plugin BPSI did various tests with cloudflare regarding the thumb showing/now showing and indeed as I expected it has something to do with this.
I think it has something to do with the query string but I’m not 100% sure so I’ll be contacting their support center for further information.
That said BPS wise everything seems in order now!
Forum: Plugins
In reply to: [BulletProof Security] Marmoset Viewer 403 ErrorWell the thing is that it’s not an image, it’s an interactive fully PBR 3D model viewer. So 10-30-50MB is expected as for each texture which is mostly around 2-4K in resolution there are 4 required maps (Albedo, Normal, Spec & Gloss) so 3MB for the actual file is quite low actually and I mostly gotten every mview file on my site to max 10MB to reduce loading times.
The actual file doesn’t directly load on page load (if it doesn’t auto start that is) and then only the thumb is downloaded which shouldn’t be more than a couple kb’s to be honest.
That said however the blurred image from the first image is correct, this is how the marmoset viewer handles the thumbnail previews to give a somewhat of a look of the model you’re going to see when it’s finished loading.
Whilst not the most required thing in the world it would really finish it off as I’m used to from the Marmoset Viewer and how it embeds normally in websites.
That said it does seem that it is related to Cloudflare as when Cloudflare is enabled the thumb do not load, whilst if I Pause the website then it does seem to work. This also correspondents with the time frame of when I edited the htaccess as I also then paused the CDN to have a direct effect on the htaccess file!
I guess I’ll have to contact cloudflare support for this issue!
Either way thanks a bunch for all the help, I do think everything is in order BPS wise π
I did made some suggestions to the author of the Marmoset plugin to avoid the use of query strings as that’s pretty much the reason that we’re having so much trouble it seem as normally embedding the Iframe from another source in the page works without any problems!
Thank you again for all the help!
Forum: Plugins
In reply to: [Marmoset Viewer] 403 Forbidden Error Page using the plugin BPSAddition to the query string as that’s pretty much the cause of all these problems, I rather suggest to put the autostart/height/width/transparency and the actual URL in data-attributes rather than the query string to not only avoid caching problems with CDN and Cache Plugins but also of course avoid these kind of problems with security plugins like BPS.
That would be really nice to actually have, in case you feel like it I could always take a crack at the code if you allow me to modify/contribute to it via Github or alike?
Let me know what you think!
Forum: Plugins
In reply to: [Marmoset Viewer] 403 Forbidden Error Page using the plugin BPSOkay so further information it was indeed by another part of the code where the author also gave me a bypass to try out which seems to solve that error code as well.
1. Copy the modified REQUEST METHODS FILTERED htaccess code below to this BPS Root Custom Code text box: CUSTOM CODE REQUEST METHODS FILTERED.
2. Click the Save Root Custom Code button.
3. Go to the BPS Security Modes page and click the Root Folder BulletProof Mode Activate button.# REQUEST METHODS FILTERED # If you want to allow HEAD Requests use BPS Custom Code and copy # this entire REQUEST METHODS FILTERED section of code to this BPS Custom Code # text box: CUSTOM CODE REQUEST METHODS FILTERED. # See the CUSTOM CODE REQUEST METHODS FILTERED help text for additional steps. RewriteCond %{REQUEST_METHOD} ^(TRACE|DELETE|TRACK|DEBUG) [NC] RewriteRule ^(.*)$ - [F] # RewriteCond %{REQUEST_METHOD} ^(HEAD) [NC] # RewriteRule ^(.*)$ /wp-content/plugins/bulletproof-security/405.php [L]That said however, the thumbnails are acting quite strangely as from time to time they seem to work for like a minute or two and then after that period they stop working all together. No error codes or alike but that sure is strange. I’m not sure if this is related to BPS either and more thinking about my CDN Cloudflare, but I’m not too sure about that one either.
Did you had any problems with that? Mainly I think it has something to do with the way it’s loaded and uses query strings.
Forum: Plugins
In reply to: [BulletProof Security] Marmoset Viewer 403 ErrorOh alrighty I see, and what about the other part of the fix/code? I am using cloudflare if that changes anything.
Additionally I must say though that even with the bypass sometimes the thumbnails do not want to load.
While they should look like this and where it does work with removing the code completely: https://ctrlv.cz/shots/2016/08/16/qOp7.png
And this is with the bypass after a certain time: https://ctrlv.cz/shots/2016/08/16/kyEn.png
Hard Clearing Cache at the time the thumbs still load, but after like 10 minutes and refreshing then, the thumbs do not want to load anymore.
No errors however, but that’s just something I find strange which I’ll also mention to the author.
Edit: This actually might have something to do with Cloudflare now that I mentioned it before and started thinking on how CDN’s don’t really like to work with query strings! I’ll look into it.
Either way thanks a bunch for all the help!
Forum: Plugins
In reply to: [BulletProof Security] Marmoset Viewer 403 ErrorYea because I’m working with W3TC, the first thing I tried was to clear my cache completely, however this hadn’t any effect as even on browsers where I never opened said link the error also occurred.
I always try to see if there’s something I can do on my own to contribute to any findings/fixes that I’m able to do, if I can’t fix it then I reach out to the developers for further information.
That said I tried your bypass and the error got resolved! Yay!!!
So I guess the error code is solved as well and it might be interesting to add this part as well to the main topic you made for it (http://forum.ait-pro.com/forums/topic/marmoset-viewer-403-error/)
On another note, the things we’re now overriding, can’t any be harmful for potential hackers? Or what exactly do these two bypasses do?
Thanks for all the help you gave me and for the further information in advance!
Best regards,
RafaΓ«l De Jongh