Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   New Versions, & Updating (http://forum.bytesforall.com/forumdisplay.php?f=12)
-   -   [SOLVED] Serious bug in 3.4.5.1 perhaps? (http://forum.bytesforall.com/showthread.php?t=5348)

paulae Jan 16, 2010 04:10 PM

[SOLVED] Serious bug in 3.4.5.1 perhaps?
 
I've just upgraded from 3.4.4 to 3.4.5.1. I love the support for the new Wordpress 2.9 Post Thumbnail feature.

However, when I try to change the default post thumbail size from 150px to 100px (height and width) and change the CSS to apply a 1px border, 2 things happen: the size change does not save, and I lose my settings for Configure Excerpts. I had it set for only excerpts on all of the options, and I had a custom "continue reading" bit of code set up. That defaulted to the original.

I've tried this 3 times, and the same thing happens. Am I the only one?

http://www.larchmontgazette.com/

chiara7 Jan 16, 2010 04:25 PM

The same happens for me...

paulae Jan 16, 2010 04:33 PM

OK, glad to know it's not just me and my set-up!

I should add that I was using Firefox 3.5.7 on a Mac when this was happening. Haven't tried it with another browser.

johndh Jan 17, 2010 11:08 AM

Same bug observed here. Currently using post thumbs with no border. Using IE ver(not sure) and FF 3.5.6 win xp.

site hosted on:
i686 Linux 2.6.24.5-grsec
Apache version 1.3.41 (Unix)
PERL version 5.8.8
PHP version 5.2.11
MySQL version 5.0.67-community

Anyone know of a workaround?

juggledad Jan 19, 2010 09:29 AM

Haven't played with the thumbnails yet, can someone post how they are adding and changing their thumbnails? Then I'll take a look

paulae Jan 19, 2010 10:42 AM

Create a new post. Add an image from your hard drive. After it's uploaded, you'll see Use as Thumbnail down next to Insert into post. Save changes and publish as usual.

If you then use the AT Options/Post thumbnails to try to change the dimensions, the dimension change doesn't save, and for me, the posts on the front page become full and not excerpts. And my custom "continue readings" defaults back to the [...]

johndh Jan 21, 2010 10:54 AM

Quote:

Originally Posted by juggledad (Post 23277)
Haven't played with the thumbnails yet, can someone post how they are adding and changing their thumbnails? Then I'll take a look

Certainly, my fix is to put this into the Add HTML/CSS inserts:

#middle .attachment-post-thumbnail
{border: 1px solid #000;}

that fixes it for me, otherwise I am just adding the thumbnail from the options on the right hand side of the administrator screen when I'm adding a post. In fact I haven't made a new post since, just thumbs for existing posts. I'll find out tonight when I make a new post.

Cheers

John

juggledad Jan 21, 2010 11:06 AM

I've actually recreated this problem, but am having a devil of a time tracking it back, looks like I'm going to but Flynn about it (FLYNNNNNNN!!)

johndh Jan 22, 2010 10:38 AM

juggledad

Thought I should add, that I still haven't checked if my css fix remains in place with a new post, it should do.

I think its probably something buried in how the script is written, but I cannot comment further as I'm a thicko when it comes to php.

Thanks for your efforts in trying to bottom this one out, it's all very much appreciated.

John

johndh Jan 24, 2010 11:41 AM

I can confirm that my css ditty stays intact with new posts.

carmine olivo Jan 24, 2010 08:13 PM

Same (bug?) for me.
In my database aren't created the $shortname."_post_thumbnail_[*]" attributes such as bfa_ata_post_thumbnail_css

Frac Feb 4, 2010 11:10 AM

I haven't heard a single comment about this broken functionality. It's so easy to reproduce, so I'm assuming nobody can adjust the settings for the main new feature added with this release. Am I wrong? Are we in the minority?

I'd love to use this feature, but the default (and stuck) setting of 150x150 for the excerpt picture is just too big for my layout.

paulae Feb 4, 2010 11:48 AM

Same here. I want to set the dimensions to 100x100px.

johndh Feb 5, 2010 09:58 AM

paulae, Frac,

I just tried to use the Post Thumbnail CSS in the Post Thumbnails panel, that doesn't work either. It sets excerpts to full post, and when you set excerpts, the css is set to default.

If you put the css below into the "Add HTML/CSS Inserts" panel, then you should get something near to what you want whilst we wait for a fix. If you don't want the border, remove the first line "border: 1px solid #000;"

#middle .attachment-post-thumbnail
{border: 1px solid #000;
width: 100px;
height: 100px;}

I'd be grateful for feedback if this works for you or not.

Cheers

John

Frac Feb 5, 2010 08:40 PM

Yes, that worked! Thanks.

I may just leave it that way even if it's fixed. The Atahualpa upgrade trashes all the custom images, icons, and templates, custom 404.php type pages, and such that I add. It's going to be a pain to have to re-add them all just for this fix...

Cheers,
Al

Frac Feb 5, 2010 08:48 PM

And now that they're working, I believe I've discovered an unrelated bug.

Even if you have your thumbnail set to fixed aspect ratio (so it's cropped to 150x150), and select "thumbnail" when activating "use as post thumbnail", it will use a different image. I think it's using the small image, but not picking up the fixed aspect ratio. The small image may not be square. It ends up looking horrible when resized to 100x100, unfortunately.

This means either saving a specific square image, or living with the distorted one.

Ah, well.

paulae Feb 6, 2010 06:06 AM

Frac, upgrading does NOT trash your custom page templates, icons, images. They still exist in the old Atahualpa folder. You just need to copy them into the same locations in the new theme folder via FTP.

It would good if Flynn at some point figures out a way for all of these custom items to be housed in a WP folder like uploads, where they'll be "stable" and not need to be continually reinserted into the theme folders after an upgrade.

Frac Feb 6, 2010 10:18 AM

When I upgraded through the WP-Admin control panel, I got no "old Atahualpa folder". It just trashed the existing one completely, modifications included, without warning.

Luckily I'm one of the few that actually does do a backup before such things and was able to retrieve all my work from there.

paulae Feb 6, 2010 11:04 AM

Ah. I've never done an auto-upgrade of the theme. I just download the new version, unzip it, and upload the unzipped folder, making sure I renamed it something different from the old one. Then I copy into it any custom templates, icons and images (and remove the default header images that came with the theme). Now I can activate the new theme from the dashboard. If anything is wrong, I can quickly switch back to the last working version until I figure out what's wrong.

And don't you have copies of your custom files on your hard drive too? You shouldn't have to do a database rollback to get those.

juggledad Feb 6, 2010 11:07 AM

see post #10 in http://forum.bytesforall.com/showthread.php?t=5341

Burn Feb 9, 2010 05:48 PM

Can we get back to the thumbnails problem?
Code:

#middle .attachment-post-thumbnail
{border: 1px solid #000;
width: 100px;
height: 100px;}

Does this fix the problem once and for all?

johndh Feb 10, 2010 01:51 PM

Quote:

Originally Posted by Burn (Post 25238)
Can we get back to the thumbnails problem?
Code:

#middle .attachment-post-thumbnail
{border: 1px solid #000;
width: 100px;
height: 100px;}

Does this fix the problem once and for all?

No. I'm not part of the Bytes For All team. I'm just another user. I wrote this bit of css to fix my own posts, and decided to share it with others having the same problems.

One thing I have noticed with thumb size, is that if you leave the default 150 x 150, the thumbs will size to the longest side. When my 100 x 100 is input, it will always come out square. The reason I say No, this is not a once and for fix, is because it is overriding or correcting an error somewhere else in the code. It is that error that need to be corrected for a permanent fix.

Think of it as a band-aid, easily removed when the guys have managed to solve the real cause.

Hope that helps ;)

Burn Feb 11, 2010 04:08 AM

I'll give it a try ;)
if the picture chosen aint square though, I guess it wont crop it but deform it right?

johndh Feb 11, 2010 01:13 PM

Correct. I wished I had the time to dig into the code, but, alas, my dogs, laying hens, and sheep wont allow me the luxury.

Flynn Feb 11, 2010 07:40 PM

The post thumbnail size and custom excerpts issues should be solved in 3.4.6, see http://wordpress.bytesforall.com/?p=87


All times are GMT -6. The time now is 05:39 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.