pdlr
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Extra style in captions after 3.1 upgradeThis is indeed what was causing the problem. I guess the upgrade overwrote the change I don’t remember making. Thank you very much for your help!
Forum: Installing WordPress
In reply to: A WebHost With Flash Media Uploaderreally, just anyone who is using the flash media uploader successfully: who is your web host?
thank you very much for any info! = )
Forum: Installing WordPress
In reply to: A WebHost With Flash Media Uploaderyes, i’m not sure about it either. thanks for your reply! = )
who is your web host?
Forum: Themes and Templates
In reply to: get_post_metais this even possible?
Forum: Installing WordPress
In reply to: “Error 404” on future posts (but not in firefox)the whole piece of code looks like this:
// Check post status to determine if post should be displayed. if ( !empty($this->posts) && $this->is_single ) { $status = get_post_status($this->posts[0]); if ( ('publish' != $status) && ('static' != $status) ) { if ( ! (isset($user_ID) && ('' != intval($user_ID))) ) { // User must be logged in to view unpublished posts. $this->posts = array(); } else { if ('draft' == $status) { // User must have edit permissions on the draft to preview. if (! current_user_can('edit_post', $this->posts[0]->ID)) { $this->posts = array(); } else { $this->is_preview = true; $this->posts[0]->post_date = current_time('mysql'); } } else { if (! current_user_can('read_post', $this->posts[0]->ID)) $this->posts = array(); } } } else { if (mysql2date('U', $this->posts[0]->post_date_gmt) > mysql2date('U', $now)) { //it's future dated $this->is_preview = true; if (!current_user_can('edit_post', $this->posts[0]->ID)) { $this->posts = array ( ); } } } }the first comment line says “Check post status to determine if post should be displayed.” so i think this is it but i am not a programmer. any help?
Forum: Installing WordPress
In reply to: “Error 404” on future posts (but not in firefox)the reason i could not see the post in the other two browsers was because i was not logged in on them. since, i have found the following code in the $get_posts() function.
if (mysql2date('U', $this->posts[0]->post_date_gmt) > mysql2date('U', $now)) { //it's future dated $this->is_preview = true; if (!current_user_can('edit_post', $this->posts[0]->ID)) { $this->posts = array ( ); }I think this is the line that makes future posts visible/invisible. can anyone help edit this?
Forum: Installing WordPress
In reply to: “Error 404” on future posts (but not in firefox)Ok, so far I have found out that future posts can only be seen by logged in users.
the weird thing is that i can see a category page (archive.php) with future posts (including content) on a browser i’m not logged in on.
but i can not see that future content as single.php. yet the code on these two templates is almost identical.this is an authentication issue, i think.i have searched for an answer, but to no avail.
any suggestions from anyone?
Forum: Fixing WordPress
In reply to: Show Posts With Future DatesI will upgrade in the next week or two, just need to patch this for the next few days. But this works just fine. Thanks for your help, mfields.
Forum: Fixing WordPress
In reply to: Show Posts With Future DatesOK! = )
In the code above,
$where .= " AND post_date_gmt <= '$now'";should be deleted. This will allow for future posts to be displayed in wordpress 2.0.2
Forum: Fixing WordPress
In reply to: Show Posts With Future Datesok, in wp-includes/classes.php line 588:
//only select past-dated posts, except if a logged in user is viewing a single: then, if they //can edit the post, we let them through if ($pagenow != 'post.php' && $pagenow != 'edit.php' && !($this->is_single && $user_ID)) { $where .= " AND post_date_gmt <= '$now'"; $distinct = 'DISTINCT'; }Does this have anything to do with it? How can it be changed?
Forum: Fixing WordPress
In reply to: Show Posts With Future Datesmfields, i noticed that is an if loop for attachment pages. where is that code? i don’t seed it in my archive page.
Forum: Fixing WordPress
In reply to: Show Posts With Future DatesI currently have this right before the loop on the archive.php template:
<?php if (is_category()) { $posts = query_posts($query_string . ‘&post_status=future,publish&orderby=date&showposts=-1’); } ?>
Past date categories are working but future date calendar catagory is still showing “Error 404 – Not Found”
I’ll keep messing with this and post the results if I get it right.
Thanks for your help, Mfields
Forum: Themes and Templates
In reply to: Resizing Thumbnails With CSSThanks, i ended up messing with the variables within the function that creates thumbnails while uploading so that thumbnails are always the same height regardless of width. You can see an example at the bottom of the page here:
http://alphadilettante.com/2007/12/31/manichaus-christmas-art-sale/
This is what I needed.
It’s really good to download the whole site to your HD and have dreamweaver do a source code search like, in this example, “thumbnail” and just figure it out.
Forum: Plugins
In reply to: Upload Multiple FilesThe problem with FTP is that the users that will posting on the site are not very computer-familiar. I think FTP would be a bit too advanced for them. Also, how would thumbnails be handled in that situation? Automatic thumbnail creation is a must in my situation.
There are a few plugins that I found through some searching on here and on google, but none of them worked with WP 2.3.1
Thanks for your suggestion, though.
Forum: Plugins
In reply to: css for IMG within postsThank you. This solved the problem.
.entry is also an option. I think it includes only the content of the post and not the title and date.
I am building on the kubrik theme.