ubersoft
Forum Replies Created
-
Forum: Alpha/Beta/RC
In reply to: Is there someplace that lists new features in WP 2.1?Thanks for all the info! Maybe I’ll be brave enough to put it in a test sandbox on my laptop…
Forum: Fixing WordPress
In reply to: Adding a custom field generates error message.So… anyone have any thoughts as to why this is happening?
Forum: Fixing WordPress
In reply to: Adding a custom field generates error message.OK, here’s a little background. I’m using WordPress to publish three webcomics on different publication schedules. Each webcomic has its own category (1, 2, 3) and each webcomic archive simply shows all the articles available for each category.
What I’m doing is using a custom field called “Storyline” so that in the future I can further group articles in each category by story arc. That’s not in place yet, but the ideas is that someday I will modify my archives so that someone can see all the storylines in category one, then click on a storyline and view an archive of just that set of comics.
What this means is that there are multiple articles in each category with the same custom field (“Storyline”) containing the same value (the name of the storyline). This has never been a problem in the past.
Usually what has happened:
1. I will create the comic article (title, upload image, select category, set publication time).
2. I will select the Storyline custom field, type in the name of the storyline, and add the field to the article.
3. The article, with the added custom field, will be saved as a draft. I then have to click on the draft and publish it.
4. Voila.
This is what happened last night:
1. I created the comic article as above.
2. I selected the custom field, typed in the name of the storyline, and tried to add the field to the article.
3. WordPress displayed the error message listed above.
I hope that answers your question. If not I’ll give it another shot. 🙂
Forum: Plugins
In reply to: in_category() questionAh… OK, I see what you mean! Thanks! 🙂
Forum: Plugins
In reply to: in_category() questionIt works (I was testing it last night and it worked fine) but I decided not to use it because it’s a pain to modify all three of them when I want to make a change.
I’m using WordPress to publish my webcomics — one that is published M-F, one occasionally, and one very rarely. All three have their own archives, and since I also post site news on the site I want to be able to keep browsing through all that content completely separate, and give the webcomics more sophisticated navigation tools than the news posts have.
So here are the categories:
1 – News
2 – Help Desk
3 – Kernel Panic (not yet moved over to the site, so at the moment this is just a dummy category)
4 – Old Skool WebcomicAt the moment I’m doing this:
<?php if ( in_category(1)) : ?>
(news-specific navigation tools)
<?php else : ?>
(webcomic-specific navigation tools)
<?php endif; ?>
The thing is, though, I can’t guarantee that I won’t have other post categories in the future, so I really need to make the webcomic navigation tools the focus of the code. The way I’m doing it now, WordPress assumes that anything that is not in category 1 should get the webcomic-specific navigation tools, and if the content of the site should expand in the future that may not be a good assumption to make.
Forum: Fixing WordPress
In reply to: Counter-intuitive archive navigation for webcomic — how can I fix?Argh. I was afraid of that.
Forum: Fixing WordPress
In reply to: query_posts questionAnother problem I’ve found is that when I have two loops running on the index page, it’s not possible to use posts_nav_link — you can set it up, but accessing past pages continues to show the front page data you’ve established in both loops with query_posts…
… tricky.
Forum: Fixing WordPress
In reply to: wp 2.02, posts_nav_link, and 404 errorsOK, so from what I’ve been able to figure out, to use a conditional tag, you declare the condition, and then nested in that condition is whatever you ant to happen if the condition is true.
the problem is, these tags seem limited to looking at the page you are on (actual data) rather than pages you *could* access (potential data). What I need to do is set up the following:
– WordPress checks whether or not there are any more articles in the specific archive than are being displayed on the page.
– if there are (if it is “true”) then posts_nav_link or whatever appropriate tag is used
– if not, it is empty
This should be along the lines of
if (is_tagihaventfiguredoutyet())
{
posts_nav_link ('','previous','');
}if (is_othertagihaventfiguredoutyet())
{
posts_nav_link ('','','next');
}So all I need to do is figure out what tagihaventfiguredoutyet and othertagihaventfiguredoutyet are :)
Assuming they exist. They might not exist.
Forum: Fixing WordPress
In reply to: wp 2.02, posts_nav_link, and 404 errorsOh man, how did I miss this feature???
I think I’m going to have dedicate my site to you, Handy. Thanks. 🙂
Forum: Fixing WordPress
In reply to: wp 2.02, posts_nav_link, and 404 errorsI’m still trying to figure this out and haven’t had any luck. Is it a problem with using permalinks?
Forum: Fixing WordPress
In reply to: Setting WP to “Show at most 1 days” doesn’t work???So… nevermind. The problem was not actually the problem I thought it was, but was instead something else.
The “Display no more than one days worth of posts” setting actually seems to work just fine… when the Adhesive plugin is turned off. I thought Adhesive was working as intended despite the warnings from you guys, but I guess I should have listened to you more closely. 🙂 When Adhesive was active, it insisted on showing all of the posts over three days on the main page. With Adhesive turned *off*… all of the posts were immediately sorted into their respective days.
So now I need to find the code that reverses the post sort order and I’m good to go!
Thanks for everyone’s help, though. This fool’s errand has taught me more valuable stuff about WordPress than every single thing I’ve tried to set up that worked correctly. 😀
Forum: Fixing WordPress
In reply to: Setting WP to “Show at most 1 days” doesn’t work???Here’s the problem I’m having now… 🙂
In order to view an archive page, you have to click on an archive link. You create the archive link with the get_archives or wp_get_archives tag. For example:
<?php wp_get_archives('type=daily&limit=7'); ?>
Would create a list of links that would let you view up to 7 days back in the archives. Clicking on the link feeds some kind of variable to the archives page, which allows it to filter out all the other posts.
So what I need to know is, what is that variable that is sent to the archives page, and can I declare it on my main page? If I can, then the loop should display only a day’s worth of posts at a time.
I’m looking through this site as best I can (using google and yahoo) but I haven’t quite found what I’m looking for yet.
Forum: Fixing WordPress
In reply to: Setting WP to “Show at most 1 days” doesn’t work???Thanks for the extra advice.
I used google to search through these forums and I ran across a mention of the Custom Query String plugin, but it seems restricted to the archives only.
For what it’s worth, Adhesive works just fine on my site so far, and I’m running 2.0.2
Forum: Fixing WordPress
In reply to: Setting WP to “Show at most 1 days” doesn’t work???OK, so it appears that my site already can browse by day… if I’m going through the archives. When I click the daily archive link on my front page the result is exactly the effect I’m looking for.
So the question becomes, is there a way to take that specific archive setup and put it on the main page?
So far I haven’t had luck, but at least I have something to work with.
Forum: Fixing WordPress
In reply to: Setting WP to “Show at most 1 days” doesn’t work???OK, so just as some background information… I’m using this for a webcomic site. The idea is that the comic will always be at the top of the page, but I’ll be able to add other posts during the day as necessary, each with their own timestamp. I’m using Adhesive so I can tag the comic posts as “sticky”, so they’ll always be the first post someone sees.
The next part is to make sure that all posts are divided by day. That way posts_nav_link can be used as the primary source of navigation (and I think it’ll work even if you’re browsing by category, so I can have multiple archives on the same site).
So what I need to do, if I understand the link above and your comment, is to add an extra php-if statement between when the loop is first called out and the php code that actually formats the articles?