bradyjfrey
Forum Replies Created
-
Forum: Themes and Templates
In reply to: HTML 5 theme for WordPress, good idea?It’s a great idea – don’t listen to them;). It’s the future, and it’s fairly easy to make IE listen to the new tags such as header, section, footer, nav, etc with just a little bit of javascript. I’ve built https://bradyjfrey.com and https://doughahn.net on html5 – and just about every other site in my portfolio still under my control will be html5 in the next few months. My issues with doughhan.net (for those of you with ie6) is simply the CSS3 I want to use. That’s more of an issue I can’t get around!
So to answer some of the comments directly, html5 works in ie8 and under. You can use conditional comments to target them with simply javascript (and by simple, I mean extremely light), such as
<!--[if gte IE 6]> <script> document.createElement('header'); document.createElement('footer'); document.createElement('section'); document.createElement('aside'); document.createElement('nav'); document.createElement('article'); document.createElement('time'); document.createElement('mark'); </script> <![endif]-->
Can also be an external file. While I often don’t advocate javascript solutions, this is a simple one we haven’t had problems with on our marketing testing, and does the job.
Forum: Plugins
In reply to: Tantan Flickr CSSIn the template files there’s a photoalbum-styles.css – just empty the file out, save yourself the hassle of overriding code!
Neat trick though: if you ever want to override a specific element in a class or id, put the !important element after it:
background-color: black !important;
That takes precedence over all other css, best used at the bottom of your CSS file.
Forum: Fixing WordPress
In reply to: Iphone app not connectingsimilar to people above, this is the only way I could fix it:
https://bradyjfrey.com/blog/wordpress/xml-error-for-wordpress-iphone/Forum: Installing WordPress
In reply to: 2.7 upgrade – Redirect Loop errorJust had the same issue for me on https://ambermariebently.com, I had the following 3 plugins:
1) Filosofo’s remove dashboard
https://www.ilfilosofo.com/blog/2006/05/24/plugin-remove-the-wordpress-dashboard/
2) Role Manager (not updated still):
https://sourceforge.net/projects/role-manager
3) Filosofo’s database backup:
https://www.ads-software.com/extend/plugins/wp-db-backup/Might have been remove dashboard for me – regardless, I dumped that and role manager, and I could log in again. I have a feeling remove dashboard was trying to redirect to a sub page, and then that trying to send back.
Regardless, I recommend when you have these problems do two things:
1) Make sure the folder for Admin and it’s contents are set to 755, or rwxr-xr-x (everyone can read and execute, but only user can write)
2) copy your plugins locally, then delete them from the serverThe disable redirection is a bit of a funky hack, you could be covering a larger issue, like I had above.
Thanks everyone, I hope this helps you a bit!
Forum: Plugins
In reply to: Twitter Tools – Not AuthenticatingSame problem, I’ve abandoned the plugin.
Forum: Fixing WordPress
In reply to: media-upload.php errorNever tested westhost, but I wanted to note that you should probably avoid, even version 7, IE like the plague. There have always been intermitten issues with IE in just about any high end web software (if not an issue, for sure a downgraded experience us developers create on purpose to compensate for it’s weaknesses), have you tried using Firefox or Opera or Safari?
If you’re indeed having issues with relative path, do you have any experience with mysql? If so, you could command line in or use PHPMyAdmin on your server and go through the images paths to see where everything is pointing too. This is not an easy thing to do for a novice user, you maybe best suited to ask a friend with experience in this – someone you trust on your server.
Forum: Fixing WordPress
In reply to: kCFErrorDomainCFNetwork:302 ErrorI’ve seen this before with Leopard upgraded users, here’s another I found:
https://echofaith.com/blog/beware-of-kcferrordomaincfnetwork-error-302/I also have an issue accessing one of our hosts via https://speakeasy.net, and I see this as well.
Some groups are noting Safari just seems to be problematic:
https://www.flickr.com/groups/macintosh/discuss/72157605436544593/As a hybrid, all mac, Art & IT Director, I’d say a couple things:
1) Test it out in Firefox – if it works in the fox, then you know it’s just Safari
2) You can try and reset safari’s preferences – quit safari, and go dump this file:
Harddrive > Your user folder > Library > Preferences > com.apple.Safari.plistas well as the folder:
Harddrive > Your user folder > Library > Caches > SafariThat’ll delete some of the old preferences
If that doesn’t work, a good last ditch resort that seems to cure ills:
1) download the combo update from apple:
https://www.apple.com/support/downloads/macosx1053comboupdate.html2) Run this, restart your compuer
That can clean out any buggy installations and start you fresh.
I’ve never seen anyone lose data doing the above, but of course, I always vouche for a backup. You can email me at brady at bradyjfrey.com if you have any other questions, but I’ll keep an eye out for this. Again, seems like it’s a desktop issue more than a server issue, but worth testing before you try my adjustments.
Forum: Themes and Templates
In reply to: Reserve post order on a category.php pageHmmm, I’ll take a look at that, but here’s what I’m after – on this page, you’ll see the photos as posts, I want to put them in the reverse order – normally I’d apply a query to the loop, but doing so removes the individual category filter and shows ALL posts, just with that query. The site example:
https://jeanand.russjang.com/category/bride-preparation/Offending code:
<?php get_header(); ?> <h2>You are viewing the <strong>"<?php echo single_cat_title(); ?>"</strong> Gallery</h2> <?php get_sidebar(); ?> <dl id="sub_indexg"> <dt>Pick A Photo</dt> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <?php if ($post->image): ?> <dd><a href="<?php the_permalink(); ?>" title="View the full picture of '<?php the_title(); ?>'"> <?php if (!is_null($image = YapbImage::getInstanceFromDb($post->ID))): ?> <img src="<?php echo $image->getThumbnailHref(array('w=90')) ?>" width="90" alt="<?php the_title(); ?>" /> <?php endif ?></a></dd> <?php endif; ?> <?php endwhile; ?> </dl> <?php else : ?> <h2>Not Found</h2> Sorry, but you are looking for something that isn't here. <?php endif; ?> <?php get_footer(); ?>
Ignore the Photoblog only code, it’s not relevant in this context.
If I query:
<?php get_header(); ?> <h2>You are viewing the <strong>"<?php echo single_cat_title(); ?>"</strong> Gallery</h2> <?php get_sidebar(); ?> <dl id="sub_indexg"> <dt>Pick A Photo</dt> <?php query_posts('order=DESC'); ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <?php if ($post->image): ?> <dd><a href="<?php the_permalink(); ?>" title="View the full picture of '<?php the_title(); ?>'"> <?php if (!is_null($image = YapbImage::getInstanceFromDb($post->ID))): ?> <img src="<?php echo $image->getThumbnailHref(array('w=90')) ?>" width="90" alt="<?php the_title(); ?>" /> <?php endif ?></a></dd> <?php endif; ?> <?php endwhile; ?> </dl> <?php else : ?> <h2>Not Found</h2> Sorry, but you are looking for something that isn't here. <?php endif; ?> <?php get_footer(); ?>
I maybe calling that code wrong and it shouldn’t just be a simple loop query? This is a category.php page code, btw, same problem if I apply a query to the archive.php page though, which made me think I’m either using the wrong call or this isn’t currently possible. Thanks for the help:)
Forum: Fixing WordPress
In reply to: cache in 2.2.2 not starting?…and to note, I am not using any cache plugins, I simply mean the default with WP. WP-Cache wouldn’t fit for this site in question, it logs events in real time.
Forum: Fixing WordPress
In reply to: My posts are not postingThis SEEMS to have atleast delayed the auto save, but I’ll wait a bit longer throughout the day to see what happens. Even though this is a repeated issue, it seems wordpress is not too interested in adjusting it:
https://trac.www.ads-software.com/ticket/3380Both the user and the developer comments were inappropriate I’d say. Regardless the larger issue seems that autosave does not consistently work – in my environment it is saving security posts that don’t need to be saved. The idea of autsave is irrelevant for me then, so turning it off makes sense. But I’m customizing it, so wordpress doesn’t care too much for that.
Forum: Fixing WordPress
In reply to: My posts are not postingI have a similar problem… and it affects as worldwide blogging system for a security company (ouch). I’m looking at two things I’m going to try:
1) wp-includes/script-loader.php on line 35 change the value from ‘120’ to ‘9999’ and see if it extends it so far that it becomes a negligable problem
2) do the same for wp-admin/admin-functions.php on line 204 (though this seems to override an autosave after a true save)I’ve debated just removing the JS line for the autosave but I don’t know if that’ll cause larger issues. I’m going to try the above and pray it doesn’t cause a problem!
Forum: Fixing WordPress
In reply to: Email notifications to multiple admin usersJust a note, I figured this out, but it’s not light hacking, and only for comments as it pertained to my site (other admin notifications are in the same file, though, and are available in that file). This is not a dynamic method of allowing multiple authors to receive through the admin, it requires editing the file (an alternative to this would be to add an email forwarder as the receiving address, and control that to splinter to multiple, but that’s digression).
wp-includes/pluggable.php
line 399 is the culprit, specifically the first value, change it for multiple to something like follows
@wp_mail("[email protected],[email protected],[email protected]", $subject, $notify_message, $message_headers);
Forum: Fixing WordPress
In reply to: mod_rewrite to force www in a url?Thanks a bunch cduke250, that should do great, I appreciate it:)!
Forum: Fixing WordPress
In reply to: mod_rewrite to force www in a url?and/or
might do the trick, I’ll give it a test and post up if it’s successful later
Forum: Fixing WordPress
In reply to: mod_rewrite to force www in a url?Sure, but it’s not really answering my question:)
Because we have an SSL on the www domain, not a wildcard ssl, I need to have it all go www regardless of the access. The ecommerce engine I’ve worked into wordpress when I launch this, will need to make sure everyones on https://www.kamalaspa.com so that it comes up a valid and certified ssl. If someone types in https://kamalaspa.com the site would still run ssl, but since the cert is not wildcard, it will come up with a validation warning the user that it’s made for www not *.kamalaspa.com.
Wildcard certs are typically double if not more what a regular cert is, and it’s not a needed expense in this case.
So, I need the htaccess to forward in real time to avoid any issue with an invalid message to the user, and an insecure transaction.