someguy03
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WordPress Permalinks on NGINXIn your /etc/nginx/sites-available/*configfile*
Forum: Fixing WordPress
In reply to: HTTP Error on Media Upload (WP 3.9)We were getting “HTTP error.” and switched to the less fancy WordPress browser uploader (/wp-admin/media-new.php?browser-uploader) and got this more detailed error: Nginx: 413 Request Entity Too Large
On our AWS instance using NGINX, we had to adjust “client_max_body_size”. in /etc/nginx/nginx.conf
The default “client_max_body_size” on NGINX is 1MB.
We added:
client_max_body_size 10m;
and restarted NGINX.Forum: Plugins
In reply to: [LeagueManager] LeagueManager 3.8.5 Changes InfoHi LaMonthe, Just wanted to say thank you for all your work on this plugin. I do WP development for a very large sports site and we were originally looking to implement LeagueManager, but we decided against it because it was no longer being developed. Now that I see it is being updated, we will probably implement it ASAP.
Thank you!
Forum: Plugins
In reply to: [Captcha] Comment Form disappears when activating pluginI am having this problem as well. I just emailed the developer regarding this.
Forum: Fixing WordPress
In reply to: Javascript Scroll bar in postAh, that worked, thank you! I moved the rest of the javascript into the header. That fixed the javascript but the formatting was still getting messed up by the random line and paragraph breaks all over the HTML as well as you mentioned above.. so I got the Text Control Plugin
This allowed me to set the post to “no formatting” and removed the code WordPress was inserting.
Why does WordPress insert hidden HTML even when you are using the HTML tab?
Forum: Fixing WordPress
In reply to: Javascript Scroll bar in postWoops, the file on the server didn’t have a capital S.
I fixed that, but the javascript still does not work.
Thanks for helping, hopefully I can get this solved.
Forum: Fixing WordPress
In reply to: Javascript Scroll bar in postSorry, I was doing some experiments while you were looking at it:
https://kylefoleydesign.com/rbfgroup/css/jsScroller.js
https://kylefoleydesign.com/rbfgroup/css/jsScrollbar.jsForum: Fixing WordPress
In reply to: Javascript Scroll bar in postHere’s the test page:
Forum: Fixing WordPress
In reply to: Javascript Scroll bar in postNo, it is not working. The Firebug console just says:
syntax error
[Break on this error] var scrollbar = null;</p>\nHere’s the code I have for the post. For testing purposes I extracted it right from that example I posted earlier:
<style type="text/css"> .Scroller-Container { } .Scrollbar-Up { position: absolute; width: 10px; height: 10px; background-color: #CCC; font-size: 0px; } .Scrollbar-Track { width: 10px; height: 160px; position: absolute; top: 20px; background-color: #EEE; } .Scrollbar-Handle { position: absolute; width: 10px; height: 30px; background-color: #CCC; } .Scrollbar-Down { position: absolute; top: 190px; width: 10px; height: 10px; background-color: #CCC; font-size: 0px; } #Scrollbar-Container { position: absolute; top: 50px; left: 460px; } #Container { position: absolute; top: 50px; left: 50px; width: 400px; height: 200px; background-color: #EEE; } #News, #About, #Extra { position: absolute; top: 10px; overflow: hidden; width: 400px; height: 180px; display: none; } #News {display: block;} p { margin: 0; padding: 0px 20px 10px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; text-indent: 20px; color: #777; } #Navigation { position: absolute; top: 30px; left: 75px; } #Navigation a { margin: 5px 2px 0 0; padding: 0 5px; height: 20px; background-color: #E4E4E4; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #AAA; text-decoration: none; display: block; float: left; letter-spacing: 1px; } #Navigation a:hover { margin-top: 0px; height: 25px; } #Navigation a.current { margin-top: 0px; height: 25px; background-color: #EEE; color: #777; } </style> <script type="text/javascript"> var scroller = null; var scrollbar = null; window.onload = function () { scroller = new jsScroller(document.getElementById("News"), 400, 180); scrollbar = new jsScrollbar (document.getElementById("Scrollbar-Container"), scroller, true, scrollbarEvent); } function scrollbarEvent (o, type) { if (type == "mousedown") { if (o.className == "Scrollbar-Track") o.style.backgroundColor = "#E3E3E3"; else o.style.backgroundColor = "#BBB"; } else { if (o.className == "Scrollbar-Track") o.style.backgroundColor = "#EEE"; else o.style.backgroundColor = "#CCC"; } } function swapIt(o) { o.blur(); if (o.className == "current") return false; var list = document.getElementById("Navigation").getElementsByTagName("a"); for (var i = 0; i < list.length; i++) { if (list[i].className == "current") { list[i].className = ""; document.getElementById(list[i].title).y = -scroller._y; } if (list[i].title == o.title) o.className = "current"; } list = document.getElementById("Container").childNodes; for (var i = 0; i < list.length; i++) { if (list[i].tagName == "DIV") list[i].style.display = "none"; } var top = document.getElementById(o.title); top.style.display = "block"; scrollbar.swapContent(top); if (top.y) scrollbar.scrollTo(0, top.y); return false; } </script> <div id="Navigation"> <a href="#" onclick="return swapIt(this)" title="News" class="current">news</a> <a href="#" onclick="return swapIt(this)" title="About">about</a> <a href="#" onclick="return swapIt(this)" title="Extra">extra</a> </div> <div id="Container"> <div id="News"> <div class="Scroller-Container"> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec iaculis, ante et congue feugiat, elit wisi commodo metus, ut commodo ligula enim ac justo. Pellentesque id ligula. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Phasellus vitae mi a elit dictum volutpat. Pellentesque nec arcu. Etiam blandit. Phasellus egestas dolor ut lacus. Sed enim justo, sagittis ut, condimentum non, ullamcorper eu, neque. In hac habitasse platea dictumst. Integer ipsum risus, sagittis ac, imperdiet ac, interdum sed, libero. Praesent commodo. Mauris congue, urna eget hendrerit elementum, dolor ligula ultrices neque, in elementum ante erat et elit.</p> <p>Vivamus vehicula. Integer cursus massa et nisl. Morbi pretium sem eget risus. Vestibulum nec est. Donec feugiat purus et ligula. Quisque semper. Sed eu ante. Curabitur suscipit porttitor libero. Nam eros leo, sollicitudin eget, tincidunt vitae, facilisis a, dui. Proin neque. Aliquam erat volutpat. Pellentesque felis.</p> <p>Aliquam consequat. Proin feugiat ultricies dui. Suspendisse mollis dui nec nunc. Nam tristique, ante vitae imperdiet vestibulum, elit nulla rhoncus nisl, vitae tincidunt dolor dui eu mi. In hac habitasse platea dictumst. Nunc blandit dolor vel mauris. Proin wisi. Nam pharetra ultrices tellus. Sed arcu. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam ultricies semper wisi. Sed nisl. Donec blandit. Nunc vitae urna sed nisl mattis ornare.</p> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec iaculis, ante et congue feugiat, elit wisi commodo metus, ut commodo ligula enim ac justo. Pellentesque id ligula. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Phasellus vitae mi a elit dictum volutpat. Pellentesque nec arcu. Etiam blandit. Phasellus egestas dolor ut lacus. Sed enim justo, sagittis ut, condimentum non, ullamcorper eu, neque. In hac habitasse platea dictumst. Integer ipsum risus, sagittis ac, imperdiet ac, interdum sed, libero. Praesent commodo. Mauris congue, urna eget hendrerit elementum, dolor ligula ultrices neque, in elementum ante erat et elit.</p> <p>Vivamus vehicula. Integer cursus massa et nisl. Morbi pretium sem eget risus. Vestibulum nec est. Donec feugiat purus et ligula. Quisque semper. Sed eu ante. Curabitur suscipit porttitor libero. Nam eros leo, sollicitudin eget, tincidunt vitae, facilisis a, dui. Proin neque. Aliquam erat volutpat. Pellentesque felis.</p> <p>Aliquam consequat. Proin feugiat ultricies dui. Suspendisse mollis dui nec nunc. Nam tristique, ante vitae imperdiet vestibulum, elit nulla rhoncus nisl, vitae tincidunt dolor dui eu mi. In hac habitasse platea dictumst. Nunc blandit dolor vel mauris. Proin wisi. Nam pharetra ultrices tellus. Sed arcu. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam ultricies semper wisi. Sed nisl. Donec blandit. Nunc vitae urna sed nisl mattis ornare.</p> </div> </div> <div id="About"> <div class="Scroller-Container"> <p>Aliquam consequat. Proin feugiat ultricies dui. Suspendisse mollis dui nec nunc. Nam tristique, ante vitae imperdiet vestibulum, elit nulla rhoncus nisl, vitae tincidunt dolor dui eu mi. In hac habitasse platea dictumst. Nunc blandit dolor vel mauris. Proin wisi. Nam pharetra ultrices tellus. Sed arcu. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam ultricies semper wisi. Sed nisl. Donec blandit. Nunc vitae urna sed nisl mattis ornare.</p> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec iaculis, ante et congue feugiat, elit wisi commodo metus, ut commodo ligula enim ac justo. Pellentesque id ligula. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Phasellus vitae mi a elit dictum volutpat. Pellentesque nec arcu. Etiam blandit. Phasellus egestas dolor ut lacus. Sed enim justo, sagittis ut, condimentum non, ullamcorper eu, neque. In hac habitasse platea dictumst. Integer ipsum risus, sagittis ac, imperdiet ac, interdum sed, libero. Praesent commodo. Mauris congue, urna eget hendrerit elementum, dolor ligula ultrices neque, in elementum ante erat et elit.</p> <p>Vivamus vehicula. Integer cursus massa et nisl. Morbi pretium sem eget risus. Vestibulum nec est. Donec feugiat purus et ligula. Quisque semper. Sed eu ante. Curabitur suscipit porttitor libero. Nam eros leo, sollicitudin eget, tincidunt vitae, facilisis a, dui. Proin neque. Aliquam erat volutpat. Pellentesque felis.</p> </div> </div> <div id="Extra"> <div class="Scroller-Container"> <p>Vivamus vehicula. Integer cursus massa et nisl. Morbi pretium sem eget risus. Vestibulum nec est. Donec feugiat purus et ligula. Quisque semper. Sed eu ante. Curabitur suscipit porttitor libero. Nam eros leo, sollicitudin eget, tincidunt vitae, facilisis a, dui. Proin neque. Aliquam erat volutpat. Pellentesque felis.</p> </div> </div> </div> <div id="Scrollbar-Container"> <div class="Scrollbar-Up"></div> <div class="Scrollbar-Down"></div> <div class="Scrollbar-Track"> <div class="Scrollbar-Handle"></div> </div> </div>
Forum: Fixing WordPress
In reply to: Javascript Scroll bar in postThanks for the help, here’s a portion of my header, is this correct?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="https://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript" src="https://kylefoleydesign.com/rbfgroup/css/jsScrollbar.js"></script> <script type="text/javascript" src="https://kylefoleydesign.com/rbfgroup/css/jsscroller.js"></script> <title><?php bloginfo('name'); ?>: <?php bloginfo('description'); ?> <?php wp_title(); ?></title>
Forum: Themes and Templates
In reply to: Header drop-down menuI saw your post on the developers website and his response. For those of you wondering:
It seems the version of the theme available on WordPress.com is newer than the version available for www.remarpro.com. The new www.remarpro.com version with menus hasn’t been approved yet.