sasteffl
Forum Replies Created
-
Forum: Plugins
In reply to: [Check and Enable GZIP compression] Gzip keeps disablingHi there Sujay, thanks for answering!
I tried this update in the CSS Stylesheet and it doesn’t appear to be working:
#snippet-box { width: 99% !important; }
background: #F0F0F0;
background: linear-gradient(top, #FFF 50%, #E7E7E7 100%);
background: -o-linear-gradient(top, #FFF 50%, #E7E7E7 100%);
background: -moz-linear-gradient(top, #FFF 50%, #E7E7E7 100%);
background: -webkit-linear-gradient(top, #FFF 50%, #E7E7E7 100%);
background: -ms-linear-gradient(top, #FFF 50%, #E7E7E7 100%);
border: 1px solid #ACACAC;
font-family:inherit;
font-size: 13px;
padding: 0;
margin: 0 0 15px 0;
float: left;
width: 99% !important;
clear: both;bump?
Forum: Fixing WordPress
In reply to: Re-occuring 500 Internal Server ErrorHey Andyzoot,
Thanks for the response, but unfortunately it’s still happening. Today it happened again immediately after I updated my plugins on wordpress. I’m on the phone with Hostgator for going on an hour and they still haven’t found it… (not sure why they don’t have notes from the previous 10 times I’ve called).
This makes me think it might be somewhere in my rewrite code?
Forum: Fixing WordPress
In reply to: Re-occuring 500 Internal Server ErrorAre there specific plugins that we’re aware of may be causing the issue? Here’s an email response from the HostGator Rep:
We found some bad code in your .htaccess file that was causing this issue. We had to clear your .htaccess file and replace it with a normal basic WordPress set of rules. Once this was done your site started loading normally again.
Please let us know if we can help you with anything else.
Thank you,
B. Michael L
HostGator.com LLC
https://support.hostgator.comHello,
Thank you for contacting HostGator. Currently the only rules in the .htaccess file are the default WordPress rewrites. If you add and activate plugins in WordPress or add services like gomobi, or create rewrites the .htaccess file will be modified. It could be possible that any of those items could cause the error to come back. We would need to know what the last thing you did before the 500 errors happened to be able to figure out what caused the changes to break the .htaccess.
If you have any questions or concerns, please don’t hesitate to contact us. We are more than happy to assist.
Cheers,
Sean H.
Linux Systems Administrator
cPanel Certified Technician
HostGator.com LLC
https://support.hostgator.comForum: Fixing WordPress
In reply to: Re-occuring 500 Internal Server ErrorMy first instinct is always to Google and YouTube search for a solution, unfortunately for this instance the solution doesn’t appear to be within my skillset…
The site has crashed again today and it seems to happen anytime I make a change to my plugins, which is REALLY frustrating. I’m going to contact Hostgator again and spend an hour getting it up without a permanent solution so if anyone knows how to explain a fix to this to a five year old please respond! ??
Forum: Fixing WordPress
In reply to: Re-occuring 500 Internal Server ErrorUpdate: Hostgator says there is something going on in the htcaccess file and mentioned “GoMobi” as a reason for the error?
My contract is up in May and I was unaware of any stability. What is going on with Hostgator and how difficult is it to switch hosts?
Forum: Themes and Templates
In reply to: [Suffusion] Mobile/Tablet displaying on PC?I tried making those changes and it brought my website down with a 500 server error. Had to call Hostgator and work with them for an hour to get it back up lol.
Any other suggestions?
Forum: Themes and Templates
In reply to: [Suffusion] Mobile/Tablet displaying on PC?Hey mbrsolution,
I am using the W3 cache plugin and have set the cache reset time to 9 months time. The responsive layout in suffusion is checked (Enable Responsive Layouts = Yes).
To my knowledge I have not installed a responsive plugin.
Thanks for your help in advance, I really appreciate the support people such as yourself provide to novices like me. It’s people like you who make WordPress the greatest platform in the world!
-Sam
Forum: Fixing WordPress
In reply to: WordPress Update changing site layouts?Awesome, thanks for the link!
Noob question… how do I go about cleaning up those errors and are the things I need to delete in red or should I bet deleting the entire line?
I’ll also try the support forum on suffusion.
Best,
-Sam
Forum: Fixing WordPress
In reply to: WordPress Update changing site layouts?I tried the deactivation trick and revisted the page. The problem still persists, but I did find at the bottom a hyperlink that said “View Full Webpage”. Which makes me think the page is set to mobile/tablet view somehow?
Forum: Fixing WordPress
In reply to: WordPress Update changing site layouts?@kmessinger The entire site layout is in green and looks very similar to the landing page. However, when clicking into certain recipes, the layout turns to blue and looks extremely simple and frankly ugly.
I have screenshots but there’s no way for me to upload them here that I can find?
You’re welcome, but thank you for doing all of this for us novice web-users who you make look good!
So upon the next plugin update the flashing error will automatically update then and I can mark this off my list of To-Dos? ??
Hey there,
I’m experiencing the same issue (picture flashing on and off with “Pin It” buttons) it sounds like you were but it appears the latest updates to this removed the solution you provided.
I’ve tried adding the stop(1,1) code to every area I found “mouse” and “function” in the .js script but to no avail (see below).
Any other suggestions?
(function($){ $(document).ready( function() { var o = { pageUrl : document.URL, pageTitle : document.title, pageDescription : $('meta[name="description"]').attr('content'), siteTitle : jpibfi_options.site_title, imageSelector : jpibfi_options.image_selector, disabledClasses : jpibfi_options.disabled_classes, enabledClasses : jpibfi_options.enabled_classes, descriptionOption : jpibfi_options.description_option, usePostUrl : jpibfi_options.use_post_url == "1", minImageHeight : jpibfi_options.min_image_height, minImageWidth : jpibfi_options.min_image_width } var discriminatorClasses = o.disabledClasses.split(';'); var allowedClasses = o.enabledClasses.split(';'); $('.jpibfi').closest('div').addClass('jpibfi_container'); $(o.imageSelector).each(function (i) { var e = $(this); //check if the image has a discriminator class, if has, then return if ( discriminatorClasses[0].length > 0 ) { for (var index in discriminatorClasses) { if (e.hasClass(discriminatorClasses[index])) return; } } //check allowed classes if ( allowedClasses[0].length > 0 ) { var hasAllowedClass = false; for (var z = 0; ( z < allowedClasses.length ) && !hasAllowedClass; z++ ) hasAllowedClass = e.hasClass(allowedClasses[z]); if (!hasAllowedClass) return; } //to identify the image when loaded e.attr('data-indexer', i); }); function jpibfiAddElements() { $("img[data-indexer]").each(function () { var $image = $(this); if ( this.clientWidth < o.minImageWidth || this.clientHeight < o.minImageHeight ) { $image.removeAttr( 'data-indexer' ); return; } var bookmarkUrl = ""; if ( o.usePostUrl ) { var $inputWithUrl = $image.closest("div.jpibfi_container").children("input.jpibfi").first(); if ($inputWithUrl.length != 0) bookmarkUrl = $inputWithUrl.attr("data-jpibfi-url"); } if ( bookmarkUrl.length == 0 ) bookmarkUrl = o.pageUrl; var bookmarkDescription; switch (o.descriptionOption) { case '3': bookmarkDescription = $image.attr('title') ? $image.attr('title') : $image.attr('alt'); break; case '2': bookmarkDescription = o.pageDescription; break; case '4': bookmarkDescription = o.siteTitle; break; } if ( !bookmarkDescription ) bookmarkDescription = o.pageTitle; var indexer = $image.attr("data-indexer"), bookmark = 'https://pinterest.com/pin/create/bookmarklet/?url=' + encodeURI(bookmarkUrl) + '&is_video=' + encodeURI('false') + '&description=' + encodeURIComponent(bookmarkDescription); $image.after('<div class="pinit-overlay" data-indexer= "' + indexer + '"><a href="' + bookmark + '">Pin It</a></div>'); $('.pinit-overlay[data-indexer="' + indexer + '"]') .css({ height: this.clientHeight + 'px', width: this.clientWidth + 'px' }); }); $('.pinit-button').click( function () { var index = $(this).attr("data-indexer"); var $image = $('img[data-indexer="' + index+ '"]'); var imageUrl = $(this).attr('href') + "&media=" + encodeURI ( $image.data('media') ? $image.data('media') : $image[0].src ); window.open(imageUrl, 'Pinterest', 'width=632,height=253,status=0,toolbar=0,menubar=0,location=1,scrollbars=1'); return false; }); $('img[data-indexer]').mouseenter( function (). Stop(1,1). { var indexer = $(this).attr("data-indexer"); var position = $(this).offset(); $("div[data-indexer='" + indexer + "']") .show() .offset({ left: position.left, top: position.top }); }); //events work quite differently on IE8 than on more modern browsers, therefore (unfortunately) this piece of code is required var isIE8 = typeof jpibfi_is_ie8 !== "undefined" && jpibfi_is_ie8; if ( !isIE8 ) { //for modern browsers, we can simply hide the div on mouseleave event an everything is alright $('div[data-indexer]').mouseleave(function (). stop(1,1). { $(this).hide(); } ); } else { //on IE8, we need to follow events on the image and the Pin it button //sets 100ms timeout, after which the overlay hides function setHideTimeout(currentObject) { var idx = $(currentObject).attr('data-indexer'); var $div = $("div[data-indexer='" + idx + "']"); var timeoutId = setTimeout(function(){ $div.hide(); }, 100 ); $div.data('timeoutId', timeoutId); } //cancels overlay hiding function clearHideTimeout(currentObject). stop(1,1). { var idx = $(currentObject).attr('data-indexer'); var $div = $("div[data-indexer='" + idx + "']"); clearTimeout($div.data('timeoutId')); } //we need to watch carefully the image and the pinit button $('img[data-indexer]').hover( function (). stop(1,1). { clearHideTimeout(this); }, function(). stop(1,1). { setHideTimeout(this); } ); $('.pinit-button').hover( function (). stop(1,1) { clearHideTimeout(this); }, function(). stop(1,1). { setHideTimeout(this); } ); } } function jpibfiRemoveElements() { $("div.pinit-overlay").remove(); } $(window).load( jpibfiAddElements ); $(window).resize ( function() { jpibfiRemoveElements(); jpibfiAddElements(); }); }) })(jQuery);
[Please use the code buttons when posting code]
Forum: Fixing WordPress
In reply to: Font showing up differently on mobile and Apple devices?Thanks for the quick answer. Do you have a suggestion as to which font would be most universal for sans serif. I’m guessing a Times New Roman or something along those lines is widely accepted, but is a serif font.