alains
Forum Replies Created
-
Forum: Your WordPress
In reply to: Request for Critique on New SiteNice work!
Only thing that’s somehow out is the search field & button just hanging there and lack of separation between sections in the right side menu.
Forum: Your WordPress
In reply to: critique please :)On the sponsers page (and the boats, calendar I guess?), do you think I should left align the tables instead or centering?
I ment left align the table (not the content of the table).
now it looks something like this :
---------------------------
xxxxxxxxxxxxxxxxxxxxxx
xxxxxx
,,,,,,,,,,|table|
,,,,,,,,,,|x|x|x|
,,,,,,,,,,|x|x|x|
,,,,,,,,,,|x|x|x|
,,,,,,,,,,|x|x|x|
---------------------------
this way will be much better:
—————————
xxxxxxxxxxxxxxxxxxxxxx
xxxxxx
|table|
|x|x|x|
|x|x|x|
|x|x|x|
|x|x|x|
—————————Forum: Plugins
In reply to: Last 5 posts in Categoryhttp://www.coffee2code.com/archives/2004/08/27/plugin-customizable-post-listings/
and guess what? Just searching in wp forum with your post title gave me an answer.
Forum: Your WordPress
In reply to: critique please :)Why not use the right-side bar in subpagess too?
In my case with a big monitor resolution I am against fluid layout as I get wide lines of text which are hard to read.
On sponsors page you have text aligned to left and than a table aligned to center. It looks ugly on biger resolutions as I have to “rescan” the content when moving from text to content.
All in all: nice clean layout.
But hey…just my point of view.Forum: Installing WordPress
In reply to: I’ll start with an apology…1. In future use better topic title …don’t make users think what will they get following the link.
2. You can include wordpress functionality directly by adding this code in the first line of not_a_wordpress_page.php:
<?php
require('./yourblog/wp-blog-header.php');
?>Forum: Installing WordPress
In reply to: Problems with wp-config.phpYou have to make a new MySQL database with name “mywordpress” then create & assign a user “sampleuser” to it.
Then you should edit the wp-config.php:
DB_NAME mywordpress
DB_USER sampleuser
DB_PASSWORD asigned_password
DB_HOST localhostJust an example.
Forum: Installing WordPress
In reply to: Permalinks causing 404 pagesI am so happy that I will uppercase:
PERMALINKS WORKING!!!Ok. To make it short:
Last thing that I’ve tried was actually undoing my third point(mentioned in previous post):
overwriting clasess.php & functions-post.php posted in another tread .
I’ve overwritten those file again with fresh 2.05 files…updated permalinks and voila’.Hope that this will help someone else as I really want that everyone can use this fantastic tool.
Forum: Fixing WordPress
In reply to: Filtering Posts with Multiple CategoriesI know that “drill down” is somehowe working correctly with UTW (Ultimate Tag Warrior) plugin with combining tags.
Hope that this will help U a bit.
Forum: Fixing WordPress
In reply to: I screwed up my header. Now I have two. Looks awfulTry to disable the plugin and reload the page.
Forum: Fixing WordPress
In reply to: I screwed up my header. Now I have two. Looks awfulHi!
As I see you have code that is supposed to be in BODY of document in HEAD tag.
First try disabling the plugin & reload.
Forum: Installing WordPress
In reply to: Permalinks causing 404 pagesHello folks!
After two weeks of magnificent time in learning & setting up WP localy I’ve uploaded my blog to server and guess what?
Permalinks not working. 🙁
Using 2.05
I’ve tried:
- checking & updating httpd.config mentioned in codex & restarting Apache
- different absolute or relative paths in .htaccess
- overwriting clasess.php & functions-post.php posted in another tread
- using /index.php/ in permalink structure
- changing vars.php according to some other post
- not using %category% or %postname% (this one is really a pain in the ass… without those values is like not using permalinks at all)
- several .htaccess files prior to 2.0
Local XAMP:
Apache 2
PHP 4.43Remote:
Apache 1.337
PHP 4.43Interesting thing is that categories are working…only posts are not working.
I really love the features that WP has and now I understand why so many people are having problems with permalinks & some getting back to 1.5. Without this feature I’ll have to look for another software…and I really don’t want this to happen.
Can someone give me maybe a magical hint?
Forum: Themes and Templates
In reply to: linking images to postsJust want to thank you for this awesome plugin. Currently on my “TOP 5 WP plugins” chart.
Really great!
Forum: Fixing WordPress
In reply to: Click to activate swfHi!
You are using a normal OBJECT and EMBED.
Instead you should put something like this:
<div id="flashcontent">
This text is replaced by the Flash movie.
</div><script type="text/javascript">
var so = new SWFObject("movie.swf", "mymovie", "200", "100", "7", "#336699");
so.write("flashcontent");
</script>and put a link to Flash object script in head of your document:
<script type="text/javascript" src="swfobject.js"></script>
Forum: Fixing WordPress
In reply to: Thumbnail size – width priorityOk WP folks…I’ve figured it out after many tests.
This solution is for everyone that wants all thumbs be max. xxx width… no matter if image is 2:10 in proportion.
Replace my 120 value with width of your choice.
Her we go:
In inline-uploading.php comment out this:
if ( $imagedata['width'] * $imagedata['height'] < 4 * 1024 * 1024 ) {
if ( $imagedata['width'] > 120 && $imagedata['width'] >=$imagedata['height'] * 0.2 )
$thumb = wp_create_thumbnail($file, 120);
elseif ( $imagedata['height'] > 150 )
$thumb = wp_create_thumbnail($file, 150);if ( @file_exists($thumb) ) {
$newdata = $imagedata;
$newdata['thumb'] = basename($thumb);
update_post_meta($id, '_wp_attachment_metadata', $newdata,$imagedata);
} else {
$error = $thumb;
}
}and replace it with:
if ( $imagedata['width'] * $imagedata['height'] < 4 * 1024 * 1024 )
{
if ( $imagedata['width'] > 120 )
$thumb = wp_create_thumbnail($file, 120);if ( @file_exists($thumb) )
{
$newdata = $imagedata;
$newdata['thumb'] = basename($thumb);
update_post_meta($id, '_wp_attachment_metadata',$newdata, $imagedata);
}
else { $error = $thumb; }
}then go to admin-functions.php and comment out this portion of code:
if ($image_attr[0] > $image_attr[1]) {
$image_width = $image_attr[0];
$image_height = $image_attr[1];
$image_new_width = $max_side;$image_ratio = $image_width / $image_new_width;
$image_new_height = $image_height / $image_ratio;
//width is > height
} else {
$image_width = $image_attr[0];
$image_height = $image_attr[1];
$image_new_height = $max_side;$image_ratio = $image_height / $image_new_height;
$image_new_width = $image_width / $image_ratio;
//height > width
}add this instead:
$image_width = $image_attr[0];
$image_height = $image_attr[1];
$image_new_width = $max_side;$image_ratio = $image_width / $image_new_width;
$image_new_height = $image_height / $image_ratio;That’s it. Now all thumbnails will follow the 120 max width rule. Just replace 120 with width of your choice.
I think that this post can be marked as resolved 🙂
It’s really interesting that finding a solution to this problem was really a pain in the ass. I was able to find solutions and help on this forum to more obscure problems.
Thmubs up for integrating thumbnail handling in next release of WP – the greatest tool that web ever seen.
Forum: Fixing WordPress
In reply to: Disappearing sentencesThis is a known rendering bug in IE.
Apply the following code to problematic class or id in css:.example { position: relative; }