PDA

View Full Version : The WordPress Thread


drewprops
2005-12-28, 11:32
I went looking for information on the function get_sidebar() today and discovered that the Wordpress site has been made over in the theme "Butt Ugly"... and that the ubiquitous search bar has disappeared altogether, has anyone noticed this?? (hoping that this is temporary) I thought that it might be nice to have a persistent WordPress thread here since the app is set to go to 2.0 soon and I know that some of you are using WP.

Back to my original search... can anyone tell me if get_sidebar() is a function and if so, in which WP file it is originally defined.


EDIT: I'm asking about get_sidebar() because I don't see The Loop implemented in sidebar.php yet it is using elements like the_time() that are supposed to be used inside of The Loop.

chucker
2005-12-28, 12:09
If anything, such a thing would probably be implemented in your specific theme, not in WordPress as a whole, as a sidebar is a visual element.

The second result of a search (http://search.wordpress.org/get_sidebar), btw, points here (http://codex.wordpress.org/Customizing_Your_Sidebar).

drewprops
2005-12-28, 22:53
Thanks Chucker, what I'm trying to do is to figure out where the "get_sidebar()" call exists (if it is in fact a true function at all) because I want to see if "The Loop" is played in that function. I'm trying to make a standard "breadcrumbs" trail for a WP site and want to show the "month year" description of a monthly archive. I can't do "the_time()" without running "The Loop". I don't see "The Loop" being used within "sidebar.php" and yet they use "the_time()" and THAT is why I'm trying figure out what is happening.

Now, I've just been to a strip club and had a fair amount of beer... if any of this is incomprehensible then I can elaborate... in the morning you know, when I can think properly....

drewprops
2005-12-29, 00:18
also... I don't find the "search" ability from the wordpress.org site any longer, as if it has been removed. The interface to the WP docs has taken a drastic turn to the worse in recent days...

chucker
2005-12-29, 00:22
I'm not sure what you mean by that. I see a big Search field right on the front page. The same field also appears on the support page.

The only site that doesn't seem to have a search field is the Codex, which is currently kind of busted anyway.

Gargoyle
2005-12-29, 04:59
The get_sidebar() function exists in template-functions-general.php. It's only job is to load the sidebar.php template from your chosen theme (or the default theme if your theme does not have a sidebar.php).

I would also say that the call to this function should be outside "The Loop" otherwise you would have 1 sidebar for each post in your blog!

This same file also contains the_time() function.

drewprops
2005-12-29, 05:57
Yeah Chucker, I was actually referring to the search bar in the Codex, not the main site. I'm glad to know that the Codex is considered busted my more than just me, glad when it's back on track. I suppose that I need to start reading the updates on what's happening with WordPress...

Thanks for showing me where that function is defined Gargoyle. According to the Codex the_time() must be used within 'The Loop' and yet I cannot find where that is happening in the flow of the code. However, along the way I found that I should be using the call for single_month_title() which is exactly what I wanted because $m is defined (monthly archive).

JayReding
2005-12-30, 22:13
The get_sidebar() function exists in template-functions-general.php. It's only job is to load the sidebar.php template from your chosen theme (or the default theme if your theme does not have a sidebar.php).

I would also say that the call to this function should be outside "The Loop" otherwise you would have 1 sidebar for each post in your blog!

This same file also contains the_time() function.

Yup, get_sidebar() is a convenience function that just does a PHP include for the sidebar file in your theme directory.

drewprops
2005-12-31, 22:53
Well 2.0 went live today. I won't be an early adopter yet as I'm still spending five hours trying to get things to work (and eventually making them work by the way). Anyone else making the switch yet? I understand that there's some AJAX stuff with the new version...

Batman
2006-01-01, 21:34
Does anyone know if it is possible to alphabatize posts? I am interested in doing this for a certain project I am working on.

P.S. Atomicbartbeans - You can't tell them what it is either until the "public unveiling"

Edit : Wohoo! 300th Post :)

drewprops
2006-01-02, 22:23
If you can get the Codex to work for you try checking out this area:
http://codex.wordpress.org/Alphabetizing_Posts

drewprops
2006-01-03, 21:10
I seemingly have a possibly insurmountable doozy of a challenge now....
My hand-coded WordPress theme is the "single PHP file" solution in that I pass all the necessary user selections back to the same page as variables. As a result a link to a single article just redirects the browser back to the root folder with a numeric variable for the post ('p') following the forward slash ("/?p=2").

I know that there's a section on Using Permalinks (http://codex.wordpress.org/Using_Permalinks) but wanted to see if any of the PHP gurus here know for a fact that I can employ the stuff in this article to create "friendlier" permalinks? Yes, I know that there's an article at A List Apart on this too.... yes, I may read it before anybody replies... yes, I just wanted somebody to hold my hand... but there aren't any girl coders in here so just BACK OFF!! :p

chucker
2006-01-03, 21:13
I'm getting dizzy reading that post. :\

drewprops
2006-01-03, 21:19
Yeah, sorry... probably shouldn't have posted that at all.... I'm about to play with my Permalink structure and I posted before I experimented (something I try to keep to a minimum). I'm in my WordPress control panel now.... Options>Permalinks

Here goes SOMETHING~~~

drewprops
2006-01-03, 22:38
Oy. I don't think my host has mod_rewrite installed and I don't need it that badly!!

I see that the Codex is working again.

Majost
2006-01-03, 23:56
Shoot... sorry I'm late to the game here...

The way I typically find templates is with a simple grep command from the terminal. Just a grep -r 'function fn_name' /path/to/wordpress/dir/ returns the file it's in. I find it much quicker than looking through the codex or anything like that. Of course, if you have 10.4 you can do the same with spotlight (or so I would imagine).

As a word of warning on this little trick - don't try to go too deeply with this. It's so easy to reference functions this way that I find myself looking up functions within functions and so on. Trouble is, I can only remember about five levels of looking up stuff before I forget what I was originally trying to do! You can be looking up function calls all night long from one to the next and forgetting where you came from. (I read somewhere (here?) that the brain can only think about 6 or 7 things simultaneously - go beyond that and you start forgetting stuff)

It looks like you already found this out, but Permalinks do require mod_rewrite for an Apache server. I'm kinda surprised that your server doesn't support it - most do in my experience.

drewprops
2006-01-04, 09:26
After more tinkering I think that my host does in fact have mod_rewrite enabled. I need to tinker with my setup more, not sure that my VERY custom theme will do what I need with "pretty permalinks" enabled. I must say that I am appreciating the differences between WordPress and MovableType.

I'll wait to upgrade to v.2 after the first couple of point updates are released.

torifile
2006-01-24, 22:34
Well, I just installed wordpress 2 on my server. Well, not MY server, but the server my site is hosted on.

Anyway, I'm having trouble with uploading images. I was getting an error that said "unable to create directory".

After manually creating the directories needed, I've encountered "The uploaded file could not be moved to ."

I've searched high and low and it looks like the consensus is that safe mode is on on the server and that's causing problems. I'm not 100% that's what the problem is because I dug into the admin_functions.php file and it looks like it's dying when it tries to transfer the file from the temp directory to the permanent one. Maybe this is what safe mode on the server does (it's an IIS server, BTW. Gonna change that real quick.). Any ideas about how to get this working or are image uploads f'ed?

torifile
2006-01-25, 00:22
Ok. Much more poking around leads me to believe that it is a safe mode problem. PHP safe mode is on on the server and there seems to be a problem with the upload script - files that are uploaded don't have the same user/group as the directory their trying to be created in.

The upload function *should* work, but it gets stuck at the first step - when I upload the files using FTP they are created with one user/group and when the script tries to create the upload folders, they are created with another. I can't figure out how to change the user/group using Transmit. If I could, I might be able to figure this out. Anyone know?

usurp
2006-01-25, 05:00
I just finished working on my blog. upgraded to 2.0 and changed the theme. I stayed up till 2am yesterday night and spent the good part of today morning trying to edit the K2 template. I think i am nearly done..
www.248am.com

drewprops
2006-02-12, 21:00
I see that there's a WordPress plugin (http://www.arnebrachhold.de/2005/06/05/google-sitemaps-generator-v2-final) for building a Google Sitemap (http://www.google.com/webmasters/sitemaps/docs/en/about.html) and got to wondering... in this ever-changing world of climbing to the top of search-engines what's the value of participating in this program. I wonder how important it is to do one of these things if your site has been around for awhile and is frequently crawled by Google.

Edit: Hey Tori you should add a link to your site in your profile like Usurp has!

torifile
2006-02-12, 22:43
Hey Tori you should add a link to your site in your profile like Usurp has!
Not a bad idea. :)

drewprops
2006-02-18, 22:51
I've installed a few plugins recently, one of them is called "Popularity Contest". It allows you to weight hits to articles and then lists the most-viewed articles. I thought that this would be a neat way to pull dusty articles back out to the front page but it hasn't worked out that way because, so far, the stories that are listed in the list encourage visitors to click and read... which bumps up the score EVEN MORE for the articles on this "often viewed" list.

From what I can tell it will just be a trailing list of recently posted articles. Heck, some articles might have such ridiculously skewed numbers that they NEVER fall off the list.

drewprops
2006-02-23, 00:18
Does anyone know if you can make hotlinks in an article post use template tags? I like using pictures in my articles and have noticed (in unplanned user tests) that people often try to click those images to get to the rest of the article. I'd like to oblige them if I could....

torifile
2006-02-23, 00:22
Does anyone know if you can make hotlinks in an article post use template tags? I like using pictures in my articles and have noticed (in unplanned user tests) that people often try to click those images to get to the rest of the article. I'd like to oblige them if I could....
I don't know if you can do it automatically, but you could certainly wrap the image in <a> tags to have it link. It would be cool if you could. I'll see if I can find something.

torifile
2006-02-23, 00:31
I'm sure you've already seen this (http://codex.wordpress.org/Customizing_the_Read_More), but in case you haven't...

I'm thinking that you can use the custom keys/value settings. Here are my thoughts: In template-functions-post.php add this:


?php the_content('Read More...<img src="<?php echo $hotlink ?>"
alt="read more" title="Read More..." />'); ?


In the custom fields, have the key be hotlink and the value be the name of your image. I've got NO idea if this would work, but it could. :shrugs:

edit: my php statement may be off. :\ It's always trial and error with this stuff for me.

drewprops
2006-02-23, 14:40
Great link although it doesn't help with my specific issue... HOWEVER it does show how to stop WP from leaping to the "more" anchor tag when people follow an excerpt to an individual post (a fix which I'll implement tonight).

I don't see an easy fix for making article photos into links to the articles which they belong.
I am currently hand-coding the IMG markup within the body of each entry, so the images are part of each post, not a regularly recurring decorative graphic that can be specified by the_content() tag. Also, the only time that you would need for the image to work as a hotlink is when it's in an excerpt, as on an archive page. When it's on an individual entry page it should not be a hotlink because you're already looking at the full article by that time.

Since the image code is always different from article to article I don't see a way to make the image link to the full article. I tried wrapping the photo with an anchor tag with a wordpress PHP call inside that doesn't work... I suspect that it has something to do the post being written out within The Loop, not being parsed by The Loop.

Still, it would be neat.

torifile
2006-02-23, 15:56
I don't see an easy fix for making article photos into links to the articles which they belong.
I am currently hand-coding the IMG markup within the body of each entry, so the images are part of each post, not a regularly recurring decorative graphic that can be specified by the_content() tag.
Have you tried using the php variable in the img code I posted and using the custom field settings? I'd try it, but my computer is php-less until the UB version of the php installer comes out. I could try to build it myself, but I haven't got the time.

drewprops
2006-02-23, 16:41
Oh wait, the custom key is in the "Write" pane of the the admin section? I'll look into that tonight.....

torifile
2006-02-23, 17:20
Oh wait, the custom key is in the "Write" pane of the the admin section? I'll look into that tonight.....
Yeah. Sorry I didn't specify. Down below the attachments section.

Thinking more about this, I bet writing a function that does this wouldn't be too hard. You could have a simple "if" statement in the template-functions-post.php file that checks to see if something like "hotlinkimg" isset and execute your custom "more" code. If not, have it continue as before. Should actually be relatively trivial (at least conceptually).

drewprops
2006-02-23, 20:40
Oooh, just had a thought.
If I specify the code you suggest in my template-functions-post.php:

<?php the_content('Read More...<img src="<?php echo $hotlink ?>"
alt="read more" title="Read More..." />'); ?>


And assuming that the inner PHP works, it would have to be used in EVERY post... in otherwords...

What if I don't want to post a photo in an article? I'd still have to post a key value that points to a transparent spacer image in EVERY post just to prevent a missing image from displaying. Still, I haven't played with all the little things in my WRITE panel,

And why don't I see the Quicktag markup bar like everyone else does? Hrmmm.

torifile
2006-02-23, 22:43
Oooh, just had a thought.
If I specify the code you suggest in my template-functions-post.php:

<?php the_content('Read More...<img src="<?php echo $hotlink ?>"
alt="read more" title="Read More..." />'); ?>


And assuming that the inner PHP works, it would have to be used in EVERY post... in otherwords...

What if I don't want to post a photo in an article? I'd still have to post a key value that points to a transparent spacer image in EVERY post just to prevent a missing image from displaying. Still, I haven't played with all the little things in my WRITE panel,

I don't think it will UNLESS you add a custom field. When the post is processed, php will check to see if $hotlinkimage is set. If so, it'll go through that part of the logic. If not, it'll just skip it.


And why don't I see the Quicktag markup bar like everyone else does? Hrmmm.
Use something other than Safari. I only see it in FF.

torifile
2006-02-23, 22:48
Something like this ought to work. Again, my php skillz are lacking, so it might be syntaxtically correct.

if (isset($hotlinkimg)) {
<?php the_content('Read More...<img src="<?php echo $hotlink ?>"
alt="read more" title="Read More..." />'); ?>
}
else {
<?php the_content('Read More...' ) ?>
}

Wickers
2006-02-23, 23:01
I know it's a force of habbit for some of you, but there's BB code for php.

(php) code here (/php)
switch ( and ) with [ and ] of course.

Unless you people don't like using that feature? I personally love syntax highlighting.


if (isset($hotlinkimg)) {
<?php the_content('Read More...<img src="<?php echo $hotlink ?>"
alt="read more" title="Read More..." />'); ?>
}
else {
<?php the_content('Read More...' ) ?>
}

torifile
2006-02-23, 23:07
I know it's a force of habbit for some of you, but there's BB code for php.

(php) code here (/php)
switch ( and ) with [ and ] of course.

Unless you people don't like using that feature? I personally love syntax highlighting.


if (isset($hotlinkimg)) {
<?php the_content('Read More...<img src="<?php echo $hotlink ?>"
alt="read more" title="Read More..." />'); ?>
}
else {
<?php the_content('Read More...' ) ?>
}

Thanks. I didn't even realize we had special php tags. :)

drewprops
2006-02-23, 23:10
Got to this late, too tired to try it tonight and can't do it from work... will try it later this w/e.

I taught myself PHP writing everything in PHP so it was weird getting used to the intermittent pockets of PHP you see in WordPress. Your code should be like this:


<?php
if (isset($hotlink)) {
the_content('Read More...<img src="$hotlink"
alt="read more" title="Read More..." />');
}else{
the_content('Read More...' );
}
?>


But I'd have to experiment with it to be sure.... look forward to trying it out. I've already made so many neat tweaks to the site that I wish I could've waited to roll it out to my friends until now, but that's like waiting for the faster/cheaper computer to finally arrive.

drewprops
2006-02-26, 12:24
Well Tori, I went and looked into Using Custom Fields (http://codex.wordpress.org/Using_Custom_Fields) in WordPress and it seems to be a rich area waiting for someone to leverage it to their advantage.. now, I don't think that it's as easy as just citing the $key in your code though. Apparently, WP creates a new mySQL table to store meta data for each post using custom fields. Read that link for more OR.....

Check out the Get Custom Field Values (http://www.coffee2code.com/archives/2004/06/30/plugin-get-custom/) plugin which MAY solve my desire to make an image work as a link to the full post.

I did some experimenting today and got pretty close!!
First, I created a new custom field whose KEY was named "articleImage".
I picked a post with a picture in it and assigned a value to the articleImage key (the value was the remainder of the filepath and the name of the image I wanted to use ("2006/image.jpg").

Then I inserted the following code into the ARCHIVES portion of my code for The Loop:


<?php // BEGIN TRIAL CODE FOR INSERTING HYPERLINK PICTURE INTO ARTICLE PREVIEW ?>
<?php if(get_post_custom_values('articleImage')){
foreach(get_post_custom_values('articleImage') as $value) { ?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
<img class="featureImage" src="graphics/article_photos/<?php echo $value; ?>" alt="<?php the_title(); ?>" />
</a>
<?php } ?>
<?php } ?>
<?php //END TRIAL CODE FOR INSERTING HYPERLINK PICTURE INTO ARTICLE PREVIEW ?>


I inserted that code just before this code:


<div class="entry">
<!--insert code listed above into this space-->
<?php the_content('Read entire article &raquo;'); ?>
</div>


And it works!!
The image displays, it works as a hotlink to the main article and looks terrific!!!!!!!

HOWEVER...

The problem I've discovered is that when the_content() spools out my article text it wraps my article text with paragraph tags <p></p>. So, regardless of the CSS that I apply to the image, it can't be "wrapped" by the article text (as it currently is in my default skin) because it's not INSIDE of the paragraph with the post's text.

Take a look at the test post in question (the one about "Turner Developing New Dr. Who Series?"):
http://www.drewprops.com/?m=200507

See how the picture isn't wrapped?

If I knew where WP spools out the article text, wrapping it in paragraph tags, I could insert the above code into that function but I'm not sure I want to go mushing around in the functions...

Any of this make sense?

torifile
2006-02-26, 15:51
Yeah, I see what you're talking about. :\ But you're getting there. I'm sure it can be done. :)

drewprops
2006-02-28, 22:38
Found it.
Vaam Yob has a plugin called "self_image" (http://rane.hasitsown.com/blog/plink/technical/24/wordpress-plugin-link-to-self-self_img) that does exactly what I need! All I have to do is wrap the image with specific comment tags like so:


<!--self_img--><img src="graphics/image.jpg"/><!--/self_img-->


Very easy!

torifile
2006-02-28, 22:47
Found it.
Vaam Yob has a plugin called "self_image" (http://rane.hasitsown.com/blog/plink/technical/24/wordpress-plugin-link-to-self-self_img) that does exactly what I need! All I have to do is wrap the image with specific comment tags like so:


<!--self_img--><img src="graphics/image.jpg"/><!--/self_img-->


Very easy!
Sweet. My only big complaint with wordpress is the codex, honestly. There needs to be an easier way to find things like this. When I was first setting up my site, I had to use google to search for wordpress questions - more often than not the answer was right on wordpress.org, but their search engine couldn't find it. :no:

drewprops
2006-04-13, 20:27
I am, in fact, having a terrible time with The Codex.

I'm working on an update to my pirate site, which I've made over completely with WordPress. I have another user that I'd like to enable as an "author" and to have one page be able to load with his posts, but I don't know how to write a page that is coupled with a single author (other than myself, the be-all "everything" of the WP site).

So you probably can't tell that I have stripper perfume all over me, or that I've had several large bottles of Asahi and several small bottle of Miller Lite, but I have.

And the Codex sucks for finding things that I'm looking for, like specifying specific authors with WP code.

Man, stripper perfume really hangs with you.

Majost
2006-04-13, 21:08
What are you trying to do? Load a page with just a certain author's posts?

Would the author archive view work for that? It's just www.yoursite.com/author/username/ if you use permalinks or probably www.yoursite.com/?author=username if you don't.

There are ways around getting the big AUTHOR ARCHIVE FOR USERNAME. They're a little more indepth, but I did it, and would be able to tell you how.

drewprops
2006-04-14, 07:57
That's exactly what I'm trying to do, load a page with a certain author's posts. Using the author archive is dead easy! But now that I've studied this some I realize that I want to limit the categories to which a certain author is allowed to post, I just want them to be able to post in a single category and right now they have the ability to post to all open categories.

I see an easy solution: since I have to approve all posts by authors before their posts go "live" I can reassign the author's selected category before publishing their post, but I'm now curious as to whether I can "turn off" categories for authors before they even begin typing.

Majost
2006-04-14, 10:27
Glad to hear. That was easy :)

As far as limiting authors to certain categories, that would take hacking the write page in some crazy way... or creating/finding a plugin that does it. I wouldn't know where to begin, that's for sure!

drewprops
2006-04-15, 22:42
Turns out that there's a Plugin called (interestingly enough) "Limit Categories".
Picked up v.1.5.2 at http://www.asymptomatic.net/

drewprops
2006-04-19, 22:14
Akismet.
A marvelous plug-in that helps you catch comment spam.
The only trick is, you have to go sign up for a wordpress.com account to get your API key, which you can then run off and use with your self-installation. It seems so wasteful to sign up for a WP account that you're never going to use, even more so when you've just brought a second WP website online and want to use Akismet with that second site. My dilemma is whether to try using the same key from the first installation or to go and sign up for a second wordpress.com account that I'll never, ever log into again just for a key....

Any thoughts out there? I didn't see this in the FAQ on the official Akismet site.... :(

Majost
2006-04-19, 23:32
Hmm... I *think* I'm running multiple blogs with the same API. It's been a while since I've set them all up. I really don't think they care... it's just a way of tracking users, isn't it?

drewprops
2006-05-03, 21:49
How important is Technorati to making a website seen?

Do any of you WordPress users have a plug-in installed to create Technorati tags for individual articles? I'd like to add tags to my posts like I've done with Flickr. I need something simple and this thing called "SimpleTags (http://www.broobles.com/scripts/simpletags/)" looks like the ticket.

Any thoughts on Tags and such?

torifile
2006-05-03, 22:04
I use marsedit to post and you can define your technorati tags there. I don't like that you can't automatically a specific style to your tags without adding the code yourself but it's on their wish list for the next update.

drewprops
2006-05-04, 19:31
Man, I can't get over your new screen name.... hehehe
Oh, and I say Shut The F*** Up Tori whenever I hit CTRL-S ~!~!!!!

torifile
2006-05-04, 22:31
Man, I can't get over your new screen name.... hehehe
Oh, and I say Shut The F*** Up Tori whenever I hit CTRL-S ~!~!!!!
I have a tough time logging in - I always forget to use this new name. I'm going to ask them to change it. I get confused when I look for my previous posts. :lol: STFU torifile!

:)

Jason
2006-05-11, 14:19
I've been having trouble with Safari reading my site in RSS.
Therefore, I backed up my Database and made a complete new install.
However, clicking on the RSS badge still results in the following error:

http://jasonnewton.net/wordpress_rss_error.png

I haven't even reinstalled my database yet. Why is this error coming up?
The site itself is here: http://www.jasonnewton.net/

Any help/suggestions greatly appreciated.

Kind Regards

Jason
2006-06-04, 16:31
I recently installed the Flickr Plugin Falbum and think it is great.
I'm just using a standard Kubrick layout but for some reason the layout beneath the photos in the sidebar is screwed on Firefox. It is ok on IE and Safari.

http://www.jasonnewton.net/flickr_error.png

No matter what I place below it, the next set of links in <li>some link</li> drifts off the page.
What really bothers me is that the following <li>some link</li> section is ok.
The page is also XHTML compliant.

I guess this is a css issue but where to start?

chucker
2006-06-04, 16:47
I recently installed the Flickr Plugin Falbum and think it is great.
I'm just using a standard Kubrick layout but for some reason the layout beneath the photos in the sidebar is screwed on Firefox. It is ok on IE and Safari.

http://www.jasonnewton.net/flickr_error.png

No matter what I place below it, the next set of links in <li>some link</li> drifts off the page.
What really bothers me is that the following <li>some link</li> section is ok.
The page is also XHTML compliant.

I guess this is a css issue but where to start?

Phew. That took a while to figure out.

The problem is with your float: left; statement in the falbum-thumbnail class, which you apply to every single Flickr image. This will make the del.icio.us list (or whatever other <li> is next) try and shift to the right of the last thumbnail.

Give the last thumbnail a different class, like: <div class="falbum-thumbnail-last">, and in this class, simply leave out the float: left; line, like:
.falbum-thumbnail {
float: left;
background: url('images/shadow.gif') no-repeat bottom right;
margin: 5px 0px 0px 6px;
padding: 0px 0px 0px 0px;
}

.falbum-thumbnail-last {
background: url('images/shadow.gif') no-repeat bottom right;
margin: 5px 0px 0px 6px;
padding: 0px 0px 0px 0px;
}

Jason
2006-06-04, 17:47
Well, the CSS is easy enough but the <DIV> classes that are written in are a little more difficult. How do I tell PHP to create a new <div>

$output .= "<div class='falbum-thumbnail'>";
}

$thumbnail = FALBUM_FLICKR_URL_IMAGE."/{$server}/{$photo_id}_{$secret}_".$size.".jpg"; // Build URL to thumbnail

if ($tags != '') {
$output .= "<a href='".$this->create_url("tags/$tags/page/$page/photo/$photo_link/")."'>";
} else {
$output .= "<a href='".$this->create_url("show/recent/page/$page/photo/$photo_link/")."'>";
}

$output .= "<img src='$thumbnail' alt=\"".htmlentities($photo_title)."\" title=\"".htmlentities($photo_title)."\" class='falbum-recent-thumbnail' />";
$output .= "</a>\n";
if ($style == 0) {
$output .= "</li>\n";
} else {
$output .= "</div>\n";
}
}

:err:

chucker
2006-06-04, 17:51
Ah, yeah, that's a little more complicated. Where do you specify how many thumbnails get displayed?

Jason
2006-06-04, 17:56
This is what is called in my Sidebar.

<?php echo $falbum->show_random(4,'',1,'s');?>

chucker
2006-06-04, 18:01
So it's gotta have some internal iterator somewhere. Only where?

Let's try something:

After
$output .= "<div class='falbum-thumbnail'>";
, try adding
$falbum_iterate_test++;
$output .= "<!-- ".$falbum_iterate_test." -->";

Now, when you run it, for each thumnbail, you should get a part that looks like <!-- number -->, where number should go from 1 to 4. If it's always 1, this is not gonna work.

Jason
2006-06-04, 18:11
This is what I now get:

<li><div class='falbum-random'>
<div class='falbum-thumbnail'><!-- 1 --><a href='/wp-content/plugins/falbum/wp/album.php?show=recent&amp;page=1&amp;photo=159916815'><img src='http://static.flickr.com/59/159916815_eaa13d39ae_s.jpg' alt="L1000631" title="L1000631" class='falbum-recent-thumbnail' /></a>
</div>
<div class='falbum-thumbnail'><!-- 2 --><a href='/wp-content/plugins/falbum/wp/album.php?show=recent&amp;page=2&amp;photo=160279723'><img src='http://static.flickr.com/53/160279723_5bfc6839bf_s.jpg' alt="L1000563" title="L1000563" class='falbum-recent-thumbnail' /></a>
</div>
<div class='falbum-thumbnail'><!-- 3 --><a href='/wp-content/plugins/falbum/wp/album.php?show=recent&amp;page=2&amp;photo=160267420'><img src='http://static.flickr.com/45/160267420_ef99881419_s.jpg' alt="L1000517" title="L1000517" class='falbum-recent-thumbnail' /></a>
</div>
<div class='falbum-thumbnail'><!-- 4 --><a href='/wp-content/plugins/falbum/wp/album.php?show=recent&amp;page=1&amp;photo=159950463'><img src='http://static.flickr.com/71/159950463_0794939920_s.jpg' alt="L1000669" title="L1000669" class='falbum-recent-thumbnail' /></a>
</div>
</div>
</li>

chucker
2006-06-04, 18:14
Good! That's what I wanted.

Now, move the line
$falbum_iterate_test++;
above
$output .= "<div class='falbum-thumbnail'>";
(instead of below).

Then, replace the line
$output .= "<div class='falbum-thumbnail'>";
with the following:
if ($falbum_iterate_test < 4)
{$output .= "<div class='falbum-thumbnail'>";}
else
{$output .= "<div class='falbum-thumbnail-last'>";}


And remove the line
$output .= "<!-- ".$falbum_iterate_test." -->";

Jason
2006-06-04, 18:21
Ok, now I have this:

<li><div class='falbum-random'>
<div class='falbum-thumbnail'><a href='/wp-content/plugins/falbum/wp/album.php?show=recent&amp;page=2&amp;photo=160279722'><img src='http://static.flickr.com/76/160279722_9559704eaf_s.jpg' alt="L1000531" title="L1000531" class='falbum-recent-thumbnail' /></a>
</div>
<div class='falbum-thumbnail'><a href='/wp-content/plugins/falbum/wp/album.php?show=recent&amp;page=1&amp;photo=159962885'><img src='http://static.flickr.com/58/159962885_2d298cba2f_s.jpg' alt="L1000719" title="L1000719" class='falbum-recent-thumbnail' /></a>
</div>
<div class='falbum-thumbnail'><a href='/wp-content/plugins/falbum/wp/album.php?show=recent&amp;page=2&amp;photo=159909502'><img src='http://static.flickr.com/71/159909502_7b84add4d8_s.jpg' alt="L1000627" title="L1000627" class='falbum-recent-thumbnail' /></a>
</div>
<div class='falbum-thumbnail-last'><a href='/wp-content/plugins/falbum/wp/album.php?show=recent&amp;page=2&amp;photo=160267421'><img src='http://static.flickr.com/45/160267421_6e3f8cb9e4_s.jpg' alt="L1000522" title="L1000522" class='falbum-recent-thumbnail' /></a>
</div>
</div>
</li>

So now I just alter the CSS?

chucker
2006-06-04, 18:23
Yeah :) That should do the trick. Notice that this solution won't work properly if you ever decide to change the amount of thumbnails. In that case, just change the "< 4" around.

Jason
2006-06-04, 18:31
Well it seems to have stopped the links below from floating out but there is something weird when I look at it in either Safari or Firefox.

http://www.jasonnewton.net/Picture%203.png

Jason
2006-06-04, 18:33
Here is my CSS with the amendment you mentioned.

/* ----------- Thumbnails -------------*/

.falbum-tn-border-s {
float: left;
width: 95px;
height: 95px;
}

.falbum-tn-border-t {
float: left;
width: 120px;
height: 125px;
}

.falbum-tn-border-m {
float: left;
width: 260px;
height: 260px;
}

.falbum-thumbnail {
float: left;
<?php if ($falbum_display_dropshadows == '-ds') { ?>
background: url('images/shadow.gif') no-repeat bottom right;
margin: 5px 0px 0px 6px;
padding: 0px 0px 0px 0px;
<?php } else { ?>
background-color: #fff;
border: 1px solid #a9a9a9;
padding: 4px;
<?php } ?>
}

.falbum-thumbnail-last {
background: url('images/shadow.gif') no-repeat bottom right;
margin: 5px 0px 0px 6px;
padding: 0px 0px 0px 0px;
}

.falbum-thumbnail img {
<?php if ($falbum_display_dropshadows == '-ds') { ?>
background-color: #fff;
border: 1px solid #a9a9a9;
display: block;
margin: -5px 5px 5px -5px;
padding: 4px;
position: relative;
<?php } ?>
}

.falbum-thumbnail img:hover {
background-color: #ccd;
}

.falbum-editable{
color: #000;
background-color: #ffffd3;
}

Jason
2006-06-04, 19:02
Chucker,

I'd really like to thankyou for helping me out here, and even though it still doesn't look right it was good of to you help.

I know that these plug-ins are free, but I really wish the developers would test them out. I mean this is just using a simple Kubrick Theme with no modifications.

Anyway, as I said, Thanks for your time. Much appreciated.

chucker
2006-06-05, 04:19
Sorry man; had to get some sleep. I can try and look into it later.

HoshNasi
2006-06-09, 01:10
Glad I found this thread. I can code multi-thread apps all day. Yet wordpress and web dev justs beats my ass.

I'm having a problem adding a third bar to a blog. We need it for ads. Are there good options out there?

Also I have seen WP blogs where each one is kind signed with a nice little orange RSS tag. I would like to add this, anyone know how?

Thanks guys!

torifile
2006-06-09, 09:33
You've got a couple of options. One, and the easier of the 2, is to find a theme that has 3 columns. The other is to change the css of your current theme to have a 3rd column.

That little RSS tag is just an image with a link to the RSS feed, probably.

Jason
2006-06-30, 14:11
Could anyone please take a look at my blog. For weeks now, everything has been fine but now the RSS Feed will not validate. Could anyone please tell me where I should begin looking in order to track down the error?

http://www.jasonnewton.net/

Regards

Jason
2006-06-30, 14:39
I ran a check on the feed and the result is below. Can anyone explain what is wrong?

http://rss.scripting.com/?url=http%3A%2F%2Fwww.jasonnewton.net%2F%3Ffeed%3D rss2

chucker
2006-06-30, 14:44
ataraxy:~ chucker$ curl http://www.jasonnewton.net/?feed=rss2

<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.2" -->
<rss version="2.0"

The first line is empty and mustn't be. Must be a problem in your PHP code. header.php, probably.

Jason
2006-06-30, 15:02
Here is the start of my header.

http://www.jasonnewton.net/header.png

chucker
2006-06-30, 15:27
Right, so it can't be that file. ;) Sorry, mate. I'll see if I can find where the file is actually loaded.

Jason
2006-06-30, 15:48
Here is the file that fails validation.

http://feedvalidator.org/check.cgi?url=http%3a%2f%2fwww.jasonnewton.net%2f% 3ffeed%3drss2

Jason
2006-06-30, 16:02
And here is the actual file as I have it saved.

http://www.jasonnewton.net/rss_error_again.png

torifile
2006-07-19, 08:27
Hmm. I'm working on a new wordpress site and it was going fine. I had just started editing the template files, with my fav combo of SEE and Transmit, and I saved some changes. Now my site is unreachable. :confused: I don't know what the problem is. FTP still works, pinging works but I can't get to the site through a web browser at all... www.durhamdbt.com .

Any ideas about what could cause this? All I did was delete the text "Comments are off for this post." Thinking that broke it somehow (there's no way it should have), I undid my changes. No luck. :confused: Any help/troubleshooting would be appreciated. Thx.

edit: Nevermind. That was very strange...

chucker
2006-07-19, 08:49
Your site takes a while to load, but does so without error.

Majost
2006-07-19, 19:30
Sometimes, if my connection hasn't been refreshed recently, Transmit will send an empty file to the server and stall. I just reconnect, resave my files in SEE and they upload completely. I don't know if that's what your issue was, or if it's a server-side thing in my case, but take it as you will. I always double-check the file size if something goes awry.

torifile
2006-07-19, 20:57
Sometimes, if my connection hasn't been refreshed recently, Transmit will send an empty file to the server and stall. I just reconnect, resave my files in SEE and they upload completely. I don't know if that's what your issue was, or if it's a server-side thing in my case, but take it as you will. I always double-check the file size if something goes awry.
I thought that might be the problem but I checked file sizes. I even closed and reopened a copy from the server to be sure and it was fine. Besides, the file I was editing wasn't critical, just comments.php. I suppose it's possible that the webserver had problems while the server server was fine. No clue. But it seems to work now.

BTW, dreamhost's pages are pretty slow in general. But you can't beat their packages. I don't need really fast speeds for my sites and they make life a ton easier by including all the installers I'll ever need and unlimited domain hosting.

mooty
2006-07-29, 05:21
Anyone else find that if you add a post to your blog and then delete it, it still appears on your RSS feed? Can anyone check mine in the link below to confirm the welcome Wordpress post is still on the RSS feed ?

I guess if you do, I should just remove it from the database..

torifile
2006-08-02, 20:59
Somewhat involved question coming your way:

I want to open up my site to asking me questions but there are some hoops I'd like people to jump through before doing it. Sort of like agreeing to our ToS here. Is there a way to do this? And have a captcha or whatever to verify it's not a bot?

This is just an idea I'm kicking around but it'd be cool if I could do it.

mooty
2006-08-03, 04:58
Yeah very possible, however, do you have any PHP skills ?

torifile
2006-08-03, 13:14
Yeah very possible, however, do you have any PHP skills ?
I know enough php to do a thing or two. Nothing too skillful, but it's passable.

drewprops
2006-08-03, 19:02
I made a captcha of my own for the previous incarnation of my website.

The way that it worked was that you had to go through TWO pass screens to get to me.

The first time through I grabbed the Universal time (I think it's an integer?) with PHP and stuck it into a variable. There, I marked when they came into the site. The visitor then had something like 30 seconds to read the story and answer a question based on the story.

After submitting their answer the code would grab the Universal time again and compare it to the first time marker. If they took too long they were rejected.

If they made it THAT far successfully I would show one of X number of graphic images of little monsters with their names made in crazy fonts. You had to type in the monster's name (traditional captcha) to go any farther.

Only a few people had the time or patience to bother me.

It was great!

drewprops
2006-08-06, 23:44
The current discussion of captchas and such made me curious so I went and tried to find a nice compact WP2.x plug-in email form but only found one that looked worthwhile. Is there an especially popular plug-in for handling emails from WP?

torifile
2006-08-07, 00:09
This forum requires that you wait 60 seconds between posts. Please try again in 10 seconds.
:grumble:

I just use the one called wp-contact-form. I don't remember where I found it but it seems more than adequate for me.

In lieu of a captcha, I'm thinking of password protecting my posting page and having that password "hidden" in an <a title="password"> so they have to read over the text and hover long enough to see the password. We'll see if that's a viable option.

drewprops
2006-11-24, 23:47
Tori, I did in fact start using that plug-in - forgot to thank you.

NOW....
I've been looking into adding "tools" for letting people do rapid bookmarking of articles in the de.licio.us and ma.gnolia (and I guess DIGG) book marker thingies. Anybody else tried these?

I know that Tori is a DIGGer so here's one for DIGG (http://opensolaris.biz/archives/diggclick/)....

What do you think?

torifile
2006-11-25, 00:05
Tori, I did in fact start using that plug-in - forgot to thank you.

NOW....
I've been looking into adding "tools" for letting people do rapid bookmarking of articles in the de.licio.us and ma.gnolia (and I guess DIGG) book marker thingies. Anybody else tried these?

I know that Tori is a DIGGer so here's one for DIGG (http://opensolaris.biz/archives/diggclick/)....

What do you think?
I don't use it but I've seen it around. I'm going to try it now that my steve's remote clickr site is being used. (I don't know how many sites I've started and quit using over the years.)

drewprops
2006-11-25, 00:09
Yeah, I just added it - going to try it out.

torifile
2006-11-25, 00:10
I don't use it but I've seen it around. I'm going to try it now that my steve's remote clickr site is being used. (I don't know how many sites I've started and quit using over the years.)
I just installed it and realized that one of the options could be dangerous - the "notify admins when someone diggs a story". At first I thought it was for when a story was submitted but it's every time it gets dugg from the page. That could clog my inbox pretty quickly.

drewprops
2006-11-25, 00:31
I don't think that any of my articles has ever (will ever) be Dugg, not worried about that I guess...

Just a few minutes ago I found a tool that lets you build a string of links to social bookmarking sites (http://www.ifeedreaders.com/social-creator/). This is the sort of thing you'd stick into The Loop for individual posts. Not a plug-in, but not bad... y'think?

Edit: I do have a couple of articles that get some good traffic, don't think that they've been Dugg though.

chucker
2006-11-25, 04:26
NOW....
I've been looking into adding "tools" for letting people do rapid bookmarking of articles in the de.licio.us and ma.gnolia (and I guess DIGG) book marker thingies. Anybody else tried these?[..]
What do you think?

Ahem. (http://www.37signals.com/svn/posts/93-its-the-content-not-the-icons)

drewprops
2006-11-25, 10:22
hehehe, I knew that thing made me feel all dirty inside.... hence chastened I return to non-digg-it-osity ;)
The person that comments about the "NASCARness" of the icons is dead-on. My desire to stay in the swing of things sometimes leads into bad fashion decisions...

torifile
2006-11-25, 10:49
Ahem. (http://www.37signals.com/svn/posts/93-its-the-content-not-the-icons)
That's a very shortsighted article. I'm driving to atlanta now surfing on my e61 and copying and pasting links is tedious. It'd be super easy to just click one of those 'digg this' links to post an article. Or if I used something like del.icio.us for bookmarking. People like the person who wrote that article and those who agreed with it without reservation annoy me. It's the 'I don't agree with it so it's stupid and pointless and tacky' attitude. :no:

drewprops
2006-11-25, 10:52
If you were going to provide that service it might be smarter to simply provide links to the top X services. It would look less offensive if you went into Photoshop and "colorized" all the logos you're using to a standard monochromatic tone to lessen their visual interference with your page layout.

What would be the tops? Digg, de.licio.us, Fark?

Wait.

You're driving AND you're surfing? Is your real name Hiro Protagonist?

chucker
2006-11-25, 10:53
That's a very shortsighted article. I'm driving to atlanta now surfing on my e61 and copying and pasting links is tedious. It'd be super easy to just click one of those 'digg this' links to post an article.

And it would be super-easy, as well, for you to have a bookmarklet, letting you do it on any page.

It's the 'I don't agree with it so it's stupid and pointless and tacky' attitude. :no:

Authors who put such links on their pages tend to do so (not necessarily, but quite commonly) in an effort to boost their Internet dick. Their page views, their comments, their ego, you name it. If a page is worth reading, it will be linked to on digg, reddit, del.icio.us, ma.gnolia and whathaveyou, regardless of whether there's over a dozen silly picture links.

That said, it is, of course, also a matter of moderation and subtlety. A text link or two (say, one to del.icio.us, another to digg) can be quite bearable, especially compared to a whole bunch of flashy graphical icons.

torifile
2006-11-25, 11:24
Well I'm not actually driving I'm riding shotgun. But, yes, my name IS Hiro Protaganist. What a bad ass....

Chucker: bookmarklet? Do those work on a wap browser? (I'm not using one but many do surf using wap) The further you get from standards the less accessible you get.

And the 'if it's worthwhile it'd be posted already' argument is also flawed. What if I use delicious just for me? For example, I'd like to save links for later when I'm not on my phone.

I could see the argument for using just text links but that doesn't address the accusation that people are trying to increase rankings, etc. It just makes things that are supposed to be make your life, as a user, easier less likely to be seen.

When it comes down to it, it's a matter of style. Some people (like drew) have it. Some (like me) don't. Let's not throw the baby out with the bath water. As a personal note, I appreciate when I see the icons to share an article like they do it on the wapo. I think it's tasteful and useable.

drewprops
2006-12-28, 19:21
What do you guys consider to be the "optimum" installation of WordPress? At the root level?

drewprops
2007-01-01, 22:11
Oy, I answered my own question....

Converting a "side" website of mine to a WordPress website and decided to install wordpress in a directory called "wordpress" at the root level of the site then create a line in my .htaccess file that redirects site visitors to the index page of the WordPress directory since it's the be-all and end-all of the site (for now).... here's where I got the information (http://blog.dreamhosters.com/forum/troubleshooting/45808-How-to-redirect-root-directory.htm).

I like this better because the root level of the site isn't falling over with WordPress clutter... the things you learn as you go along....

PKIDelirium
2007-03-13, 13:09
Bump.

Daylight savings is giving me crap. According to my host all server times have been set correctly, yet apparently WordPress is going to need a patch to make it work right. With the time zone set correctly, posts get timestamped an hour behind. :\

Anyone else noticing this? Until I find a fix, I've just been setting the timestamp forward an hour manually on each post.

PKIDelirium
2007-03-13, 14:53
Aha!

http://kimmo.suominen.com/sw/timezone/

Automatic time adjuster plugin. Just activate it and it will set the time zone correctly based on either the server time (If you live in the same time zone as the server) or by a time zone you specify.

turtle
2007-03-29, 22:55
Hello to all those who actually read the Programmers Nook. Until now I have avoided this forum because I know very little about programming. So I decided to take on the task of moving from .Mac to another host and in the process set up a WordPress Blog instead of iWeb on .Mac. Ok, so I'm still using iWeb for now for the photo pages because I don't know a good alternative to this, feel free to offer up suggestions if they come to mind.

Anyway, on to my very simple question that I can't find the answer to. I need to add some links to my photo pages and other non-blog type of HTML based pages in my sidebar below the "Pages" title in the sidebar. (A link to my blog is in my sig.) So I open up my theme's "sidebar.php" and look for the link there. Instead of a link I find
<!--
<li><h2>Author</h2>
<p>Brief author overview.</p>
</li>
-->

<?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>

<li><h2>Recent Entries</h2>
<ul>
<?php query_posts("showposts=10"); ?>
<?php while (have_posts()) : the_post(); ?>
<li><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></li>
<?php endwhile; ?>
</ul>
</li>


I'm not worried about bringing the Author overview to life so I don't mind it commented out, but the "Pages" title leads me nowhere. I looked in my blog root dir and can't find a file named "wp_list*" so I don't know what to edit. Can someone help this guy out please? If I'm right, the "Pages" title looks for something that isn't theme specific so if I change themes the information will follow, but the problem is I don't know there it's pulling the information from. :\

If it helps, I'm looking to add a link to my photo page which is /blogroot/photopages/index.html

Side note: Which will the browsers page display first if both are present in a directory, index.html or index.php? Any others in the hierarchy I should know about?

drewprops
2007-03-29, 23:05
Oh you're doing like me and making it too hard... It's **so** much easier to go into your "dashboard"... the management area for your WP blog and go to the LINKS menu item and learn how that works. You can just make your links in there.

I *highly* recommend getting a free (or Pro) Flickr account. You can add code for your Flickr account into your sidebar and have people go over to Flickr to look at your photos. I'd post more now but it's late and I have to hit the hay.

Congrats on moving to WordPress, it's great.

turtle
2007-03-30, 00:43
Thanks Drew. It's called Blogroll on mine and I was looking for "links". Seems all I had to do was make a category called "Personal Links" and it did just what I wanted it to do. I hadn't ever heard of a "Blogroll" before. Maybe I could start adding people to mine now. :\ Though I did have to move the location in the sidebar. I didn't like where it was in the list. Thanks again. :)

So now I need a cool 404 page. I don't like to standard one. Anyone care to donate a much cooler one that I can play with? :)

turtle
2007-04-07, 10:38
How can I add video to my blog similar to the way it shows on YouTube? As in, there is a preview much like an image but they can click play since the video will always be in QT format anyway.

chucker
2007-04-07, 10:53
http://lists.evolt.org/archive/Week-of-Mon-20050307/170363.html
http://digitalmedia.oreilly.com/pub/a/oreilly/digitalmedia/2006/09/29/two-slick-quicktime-tricks.html?page=2
http://developer.apple.com/quicktime/quicktimeintro/tools/embed.html
http://www.apple.com/quicktime/tutorials/embed.html

Don't be so lazy. :)

turtle
2007-04-07, 14:25
...

Don't be so lazy. :)

:grumble:

I didn't look for the word "EMBED" because I didn't know that's what I should be looking for. I was looking for "movie", "video", etc. And I was only looking for a plug-in because I thought it would be how I would put one in. Thanks for the links either way. :grumble:

;)

chucker
2007-04-07, 14:30
:grumble:

:lol:

Thanks for the links either way.

You're very welcome. :)

turtle
2007-04-07, 16:01
Will I have to put the first line into each post I want to make with an embedded .MOV? This works for by blog post as you can see here (http://tonysphoto.kellyinternationalinc.com/2007/04/07/its-snowing/), I would rather that be in the main code though. Then I wouldn't have to remember it every time I post a video clip.


<script src="http://www.kellyinternationalinc.com/AC_QuickTime.js" language="JavaScript" type="text/javascript"></script>

<div id="movieplayer" style="display:none" align="center">
<script language="JavaScript" type="text/javascript">
<!-- Hide script from sad old browsers
QT_WriteOBJECT_XHTML('/pics/snow070407.mov',
'320', '256', '');
// -->
</script>
</div>

<div id="trigger" style="display:block" align="center">
<a href="/pics/snow070407.mov" target="_blank" onclick="javascript:document.getElementById('movieplayer'). style.display='block';document.getElementById('tri gger').style.display='none';return
false"><img src="/pics/snow070407.png" alt="Click to Play" width="320" height="256" border="0" /></a>
</div>


Any feedback on my code since I don't really know what I actually did other than copy and paste?

chucker
2007-04-07, 16:03
Will I have to put the first line into each post I want to make with an embedded .MOV?

No. Place it somewhere in a template that gets loaded, such as header.php. The browser only needs to know to load the JavaScript at all; it doesn't need to load it multiple times for one and the same page (and it shouldn't, either).

turtle
2007-04-07, 16:39
Seems I shouldn't put it anywhere. I removed it from my post and put it in header.php and it messed my whole site up. So now it isn't in my post nor anywhere else and yet it works fine. So it would seem WP has JS built in.

drewprops
2007-04-07, 19:21
Should it matter though? If your script is unique it should work on its own, right? Or is this a globals situation, where the variables could be muxed?

turtle
2007-04-07, 19:52
I have no idea. I used the link to O'Reilly that chucker posted and figured out the last one worked best for me (calculated guess. ;)) and so I went with it. I then changed the file locations in the example ot my locations and cut and pasted into my blog post. I did a screen capture to get my placeholder image.

The QT.js linked to was also because O'Reilly's site said to put it there. I can make a good Lemming sometimes. :D I really don't know what I actually did, but it worked and I'm happy. :) Maybe chucker can enlighten us as to why it works?

drewprops
2007-04-15, 05:32
So I updated one of my extracurricular sites to WordPress v2.1.3 this weekend and was taking a look through the list of plugins that have been updated to be compatible with the new update. Check it out:

http://codex.wordpress.org/Plugins/Plugin_Compatibility/2.1

I found myself marveling at the number of absolutely bizarre plugins that people have made and realizing how smart it probably is to run as few as you can so that your future upgrade ability isn't hamstrung by developers who are slow to update their plugins.

jdcfsu
2007-04-19, 14:31
I'm pulling out my hair here. I am trying to have a conditional is_home statement along with a conditional query_posts statement. The problem is I'm querying posts first and after that, WP seems to give up and forget about the is_home statement. I'm working on my sidebar and you can see what I'm attempting to do in the code below. I know the problem lies with query_posts because with it removed everything works as it should; also when the query_posts is inside is_home it all functions properly. I've been staring at this for a few hours trying to figure out how to make it work so hopefully some fresh eyes will help. Any suggestions would be great, thanks guys.

<div id="sidebar">
<ul id="events">
<?php query_posts('cat=3'); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); $firstpost = $post->ID; ?>
<li id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" title="Read <?php the_title(); ?>"><?php the_title(); ?></a></li>
<?php endwhile; else: endif; ?>
</ul>
<?php /* If this is the frontpage */ if ( is_home() ) { ?>
<div id="about">
<p>brief about us blerb</p>
</div>
<?php } ?>
<p>test</p>
</div>

drewprops
2007-05-01, 20:51
This is the third time I've come by and looked at your code.... just wanted you to know you hadn't been ignored.... it's just that I don't know enough about the overall structure of WordPress' code to know what's happening. From your descriptions it sounds as if the is_home() function can't be run from the inside of The Loop, because that's what you're in right there, my friend.... unless I'm way out in left field.

The thing to know about The Loop is that it is SERIOUS VOODOO.... but again, I haven't sat down to try to diagram out the shape of WordPress..... anyway, sorry that none of us can answer your question.... :(

jdcfsu
2007-05-01, 21:03
The thing to know about The Loop is that it is SERIOUS VOODOO.... but again, I haven't sat down to try to diagram out the shape of WordPress..... anyway, sorry that none of us can answer your question.... :(

Hey, it's cool. Evidently no one on the WordPress support forums can figure it out either. The Loop is some serious voodoo. I just rearranged the div's. I guess it's not the end of the world. Thanks for check it out though.

drewprops
2007-05-01, 22:04
No worries, some of mine have gone unanswered too... there are some serious whiz kids around here but they can't figure out everything.

I demand that they can't.... my ego can't handle the truth.

.

jdcfsu
2007-05-03, 14:04
Here's one that should be easier, when I click on "Older Posts" on my homepage I am taken to /page/2/ but the posts don't actually get older. I've included my index page for good measure. Gracsis.

<?php get_header(); ?>
<div id="content">
<?php query_posts('cat=-14'); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" class="page">
<div class="post">
<div class="comment-bubble"><p><?php comments_popup_link('0', '1', '%'); ?></p></div>
<h1><a href="<?php the_permalink() ?>" title="Read <?php the_title(); ?>"><?php the_title(); ?></a></h1>
<img src="<?php bloginfo('template_directory'); ?>/images/layout/authors/<?php the_author_login(); ?>.png" alt="Posted by <?php the_author(); ?>" align="left" class="author" />
<?php the_content(); ?>
<h3><?php comments_popup_link('Be the first to leave a comment.', 'Add a comment.', 'Read the % comments and add your own.'); ?><br />
Posted <?php the_time('F jS, Y'); ?> in <?php the_category(', ') ?><?php edit_post_link('Edit', ' [', ']'); ?></h3>
</div>
</div>
<?php endwhile; ?>
<div id="page-nav">
<div class="older"><?php next_posts_link('&nbsp;') ?></div>
<div class="newer"><?php previous_posts_link('&nbsp;') ?></div>
</div>
<?php else: endif; ?>
<?php get_footer(); ?>

drewprops
2007-05-04, 08:35
Really busy right now but it looks like that's because your OLDER link is pointing to your NEWER posts and your NEWER link is pointing at your OLDER posts..... try swapping the PHP calls....


I personally just discovered that I borked the stylesheet of my own blog last night AND that the permissions on my themes are CHMODed to allow me to work on them remotely.... so my sidebar will be puke green all day today. Doesn't really matter..... but it's annoying.

jdcfsu
2007-05-04, 10:10
Really busy right now but it looks like that's because your OLDER link is pointing to your NEWER posts and your NEWER link is pointing at your OLDER posts..... try swapping the PHP calls....

I'm not really sure the reasoning, but that's the way WordPress has developed their navigational links. I guess it's that the "next" page in the series (ie 2 < 3) is the further back in time you're going.

I personally just discovered that I borked the stylesheet of my own blog last night AND that the permissions on my themes are CHMODed to allow me to work on them remotely.... so my sidebar will be puke green all day today. Doesn't really matter..... but it's annoying.

Haha. I love working on my stuff late and night and then when I wake up I realize I really messed something up. That's the fun about being a web designer I guess.

turtle
2007-06-03, 01:27
Anyone here use the "Post by email" method? I created a POP account to try this and it doesn't work. I might be missing something, but I verified my settings with Mail.app and there is still no love from WordPress. Any ideas? I'm still running 2.1.3.

turtle
2007-06-04, 20:45
So I take it no one has a clue about the post by email method and why mine isn't working? Is there more information I can give that would help?

jdcfsu
2007-06-04, 20:54
I've never tired the feature. Sorry turtle.

I assume you've made sure that WP is monitoring the right port for your mail server?

drewprops
2007-06-04, 21:00
Ahhh... I'm too scared to turn that feature on!!!
Sorry :(

PKIDelirium
2007-06-04, 21:04
I've never even tried, but whenever I get a better phone that does email (hopefully this fall) I'll probably enable it and set up a Moblog category.

(I'm still on 2.1.2 :()

turtle
2007-06-04, 21:37
I've never tired the feature. Sorry turtle.

I assume you've made sure that WP is monitoring the right port for your mail server?

Yeah, port 110. I know it's right because I created an account in Mail.app to check it so I would know if spam is sent there somehow. Mail sees it. I verified my settings in WP to Mail. :confused:

Ahhh... I'm too scared to turn that feature on!!!
Sorry :(

Well, at least you know your scared and not afraid to say it. :D

I've never even tried, but whenever I get a better phone that does email (hopefully this fall) I'll probably enable it and set up a Moblog category.

(I'm still on 2.1.2 :()

I have a WM6 phone right now and that's why I'm interested in running this feature.

Well, I think I'll upgrade to 2.2 tonight or tomorrow and see if it works then. I'll let you guys know if I make any progress.

BTW, Drew, I really like PodPress. Great tip, even though I haven't posted with it yet. :D

drewprops
2007-06-04, 21:47
Yeah, I really need to put some bread in Mr. Kuykendall's jar..... great plug-in!

turtle
2007-06-05, 01:20
What's a Cron-Job?
Post via Email

You can post from an email client! To set this up go to your "Writing" options screen and fill in the connection details for your secret POP3 account. Then you need to set up wp-mail.php to execute periodically to check the mailbox for new posts. You can do it with Cron-jobs, or if your host doesn't support it you can look into the various website-monitoring services, and make them check your wp-mail.php URL.

Posting is easy: Any email sent to the address you specify will be posted, with the subject as the title. It is best to keep the address dicrete. The script will delete emails that are successfully posted.

chucker
2007-06-05, 03:46
cron is a scheduler in Unix. You tell it times/intervals at which to have something executed, e.g. every Monday at 9 AM.

turtle
2007-06-05, 10:57
There's a wp-cron.php file in my WP root. Is this where I would tell it to check my email? If so, how do I do this?
<?php
ignore_user_abort(true);
define('DOING_CRON', TRUE);
require_once('wp-config.php');

if ( $_GET['check'] != md5(DB_PASS . '187425') )
exit;

if ( get_option('doing_cron') > time() )
exit;

update_option('doing_cron', time() + 30);

$crons = _get_cron_array();
$keys = array_keys($crons);
if (!is_array($crons) || $keys[0] > time())
return;
foreach ($crons as $timestamp => $cronhooks) {
if ($timestamp > time()) break;
foreach ($cronhooks as $hook => $keys) {
foreach ($keys as $key => $args) {
$schedule = $args['schedule'];
if ($schedule != false) {
$new_args = array($timestamp, $schedule, $hook, $args['args']);
call_user_func_array('wp_reschedule_event', $new_args);
}
wp_unschedule_event($timestamp, $hook, $args['args']);
do_action_ref_array($hook, $args['args']);
}
}
}

update_option('doing_cron', 0);

?>

drewprops
2007-07-10, 09:44
I could have sworn that the Links/Blogroll control panel gave you the ability to assign IDs to every URL in your blogroll so you could sort them... but that's not the case. Does anybody have an idea how to specifically and explicitly manage the order in which your links to other sites are presented?

EDIT: the only solution I see is to use the rating system, which goes from 1-9. Howevery, the Docs don't explain which end of the scale is considered "better" and if you have more than 8 or 9 links in any particular Blogroll category you lose the ability to control which link goes before the other.


.

turtle
2007-07-10, 09:54
I haven't yet, that's why I don't use them much either.

jdcfsu
2007-07-10, 11:46
Yeah, the only way I've ever been able to sort links is alpha by category. Though, I remember seeing a plugin featured on the dashboard thing a little while back that gave you expanded link management. Unfortunately I can't remember the name but it was on that Weblog Tools Collection site.

turtle
2007-07-13, 18:46
Any ideas as to why my album art isn't being uploaded into iTunes for a podcast I'm running? It looks good in podPress as thought it is there, but yet iTunes only has the generic image of the purple guy.

drewprops
2007-07-17, 13:57
Dan Kuykendall was doing a 1-year thing with his forums and has since restarted them over on Yahoo groups, which is absolutely pitiful. But, if you go join up over there you'll find that there are RAFTS of podcasters who are having problems getting their feeds to validate.... and I'm among that group.

Two minutes ago I went to look at Feedburner.com and am SERIOUSLY going to go read up on that tonight. I'd like to have a discussion of that site/method... which of our forums is the appropriate location to do that? If I can just have Feedburner handle the feed and PodPress handle the installation of the video in my posts I'll be happy.

Alternately, if you're only delivering video, you *could* insert YouTube video code into you posts.... ugly, but you don't have to bear the brunt of the server load....

Anyway, is this best discussed in another thread? Want to start it?

turtle
2007-08-13, 21:14
Anyone else upgrade to 2.2.2? I have with no issues at all, I'm just wondering who else upgrades all the time. I'm actually surprised that most don't upgrade. Anyway, I guess it was released 9 days ago.

PKIDelirium
2007-08-13, 21:27
<-- Still on 2.1.2

jdcfsu
2007-08-13, 21:45
I run two WordPress run sites and just updated them both today. I was surprised that this update didn't require the usual one click upgrade. It must have just been a clean up of the code.

turtle
2007-08-13, 23:20
I run two WordPress run sites and just updated them both today. I was surprised that this update didn't require the usual one click upgrade. It must have just been a clean up of the code.

Yeah, That kinda freaked me out too because I went to the upgrade URL and it told me I didn't need it. Then I went to view my site and it was borked! :eek:

Come to find out I needed to re-activate my Theme Switcher plugin since I coded it into the themes. There were a few other things I needed to tidy up too. No issues once I re-activated my plugins though.

drewprops
2007-08-14, 11:41
I have.... um.... three? Four??
They're all at different levels.
Each new one that I set up and maintain teaches me things to take back to the other WP installations.... good cross-pollination happening there....

turtle
2007-09-03, 23:29
So how hard is it to move my WP blog to another folder on my host? I have a secondary domain name and want to move my blog from tonysphoto.old.com to tonysphoto.new.com. I know little about SQL but it seems like all I'd need to do is copy the folders on the server and change an address here or there. Has anyone done this before?

PKIDelirium
2007-09-03, 23:37
Database wise it's fine.

Just move the wordpress files to the new folder and make sure you update all the URLs and file paths in the admin panel.

jdcfsu
2007-09-04, 06:26
Or, really, all you have to do is move the index file and have it point to where everything is stored. Just make sure you complete the settings in the general options and follow these instructions: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

jdcfsu
2007-09-26, 14:31
Anyone know a good newsletter type plugin? I'm looking for something that sends update notices or copies the blog post to subscribers upon posting by a specific author or to a specific category.

drewprops
2008-03-18, 22:24
Hey, I just noticed that WordPress v2.5 is due out sometime soon... check out the interface and the feature set! (http://wordpress.org/development/2008/03/25-sneak-peek/)

jdcfsu
2008-03-18, 22:34
Saw they let RC1 out last night. The feature set looks pretty nice -- auto-updating plugins sounds pretty nice. I'm glad they are updating the interface as it's the single thing I loathe about WP.

noleli2
2008-03-18, 22:58
Thanks for the update. I didn't see anything about whether or not they're using the new (Safari-compatible) version of TinyMCE. Anybody heard anything about that?

PKIDelirium
2008-03-18, 23:28
http://www.7graus.com/tech/wordpress/leopress/

I'm using this theme now, it's awesome. I just upgraded mine to the latest 2.3.3, I tend to let upgrades slip a bit, I was on 2.3.1

drewprops
2008-03-19, 00:01
Very cool theme!!

I recently upgraded to 2.3.3 and am busy doing heavy customizations to an off the shelf theme called springLoaded. I was hoping to install a theme switching plug-in, to allow users to pick their own themes, but it's looking like there may not be one available right now... :(

jdcfsu
2008-03-19, 08:14
Thanks for the update. I didn't see anything about whether or not they're using the new (Safari-compatible) version of TinyMCE. Anybody heard anything about that?

I have not seen that anywhere. I'm hoping they do, but would also think that'd be a huge "feature" as it's a chief complaint in their message boards.

jdcfsu
2008-03-30, 22:12
2.5 is now officially out, and according to their annoucement post:
Friendlier visual post editor — I’m not sure how to articulate this improvement except to say “it doesn’t mess with your code anymore.” We’re now using version 3.0 of TinyMCE, which means better compatibility with Safari, and we’ve paid particular attention this release to its integration and interaction with complex HTML. It also now has a “no-distractions” mode which is like Writeroom for your browser.
Well there you go. I'll install it tomorrow but it is good news.

turtle
2008-03-30, 22:54
Looks like time to upgrade my blog. :) Thanks for the heads up.

drewprops
2008-03-30, 23:40
And I thought that going to 2.3.3 was a big move!!

2.5 looks *very* nice!!
I'll wait about two weeks to let all the big bugs to manifest themselves but I'm going to read up on it in the meantime. G'head, install it and share your upgrade experience with us!

jdcfsu
2008-03-31, 09:39
This update is pretty impressive. The new layout is very easy on the eyes and not only does the visual editor work in Safari, but you can now update, install, and re-activate plugins by clicking one button. Very cool stuff.I'd recommend an upgrade if you have a WP blog.

They also added the ability to manage tags, which is good, but it's not yet perfect. It's a step in the right direction though.

Wyatt
2008-03-31, 09:47
Holy crap, that's a big update. I'm looking forward to upgrading later this week.

How is the upgrade process? I'm not even running 2.3.3... should I upgrade to that first, then go to 2.5? I have the 2.3.3 archive (for my local test server), so that wouldn't be too big of a deal (just a pain in the ass).

Are there any changes to the plugin API? I'm in the middle of writing a new plugin, and I'm not looking forward to rewriting it. It's less than 100 lines of code right now, but I still don't want to redo it.

jdcfsu
2008-03-31, 09:55
How is the upgrade process? I'm not even running 2.3.3... should I upgrade to that first, then go to 2.5? I have the 2.3.3 archive (for my local test server), so that wouldn't be too big of a deal (just a pain in the ass).

The upgrade process is pretty smooth, as usual. Once the upgrade it's uploaded, you get logged out because it does do a database upgrade. Log back in and it's done.

Are there any changes to the plugin API? I'm in the middle of writing a new plugin, and I'm not looking forward to rewriting it. It's less than 100 lines of code right now, but I still don't want to redo it.

I didn't look too closely at the developer upgrade notes, but I do remember a few changes to cookies and an addition of the automatic upgrade thing for plugins. I don't think it should change things too much for you but I'm not too sure on that. What is the plugin that you're cooking up?

drewprops
2008-03-31, 10:11
It looks fabulous compared to the old version.

Hey, here's a question/comment about WP's interface that's always bothered me (look way back in this thread)....

When I go to a site like Engadget I see the main page full of posts and there's always a picture in those excerpts. When I click the picture my browser takes me to the full article, same as if I'd clicked the "continue reading" link at the end of post excerpt.

So, why is it that when I upload a photo to WordPress it doesn't give me the option to have MY photo act as a link to the single article? I mean, look at the small number of options they currently give you in WP 2.3.3:

http://homepage.mac.com/drewprops/applenova/WP_imagewizard.png

As a result, I'm using the plug-in called "Self Image" to achieve the ability to have a photo act as a link to the full article... which means that I have to type the HTML link to that image in my post... kind of breaks the mood when you just want to write.

Can somebody check and see if this behavior has been enhanced in v2.5?
Is there something fundamentally wrong with what I'm doing? Or is there a better plug-in?

jdcfsu
2008-03-31, 11:12
It doesn't seem like they've added that ability, though they have greatly enhanced the upload feature. I've seen a means of editing your theme with a special call that you then use the custom tag field to point to your image... but it's also a pretty tedious. It would be a nice feature to include in a forthcoming update.

jdcfsu
2008-04-02, 17:29
Anyone know any good plugins that let you pull information from a Facebook profile to be displayed on a WordPress? I know there is StatusPress, which works nicely to display Facebook Status, but I'm looking for something that could place the profile image, maybe even pull other information that will get updated automatically should it be updated in Facebook.

turtle
2008-04-02, 18:11
Yeah, I'm looking for some good plugins too. I actually was looking for a weather plugin, maybe a few others if they jump out at me.

noleli2
2008-04-02, 21:04
Anyone know any good plugins that let you pull information from a Facebook profile to be displayed on a WordPress? I know there is StatusPress, which works nicely to display Facebook Status, but I'm looking for something that could place the profile image, maybe even pull other information that will get updated automatically should it be updated in Facebook.

Why don't you use a Facebook badge (http://www.facebook.com/badges.php)? (There's a link all the way at the bottom of your profile page.) That's what I'm using on my (super-boring) blog (http://noahliebman.com/about/).

jdcfsu
2008-04-02, 21:41
Why don't you use a Facebook badge (http://www.facebook.com/badges.php)? (There's a link all the way at the bottom of your profile page.) That's what I'm using on my (super-boring) blog (http://noahliebman.com/about/).

I was hoping for something a little more integrated. Right now, with Status Press, the status sits nicely on top of my sidebar. I've got a small "about me" below that and I would like to be able to link the picture to my Facebook profile picture at the very least. The badge is a nice start, but it's too Facebook-y... if that makes sense.

drewprops
2008-04-13, 14:43
Anybody here update to 2.5 yet? I just did it for one of my sites and am looking for a good Contact plugin (with Captcha) to use.

chucker
2008-04-13, 14:47
I'm still waiting. I wouldn't benefit much from the interface improvements, given that I almost exclusively use external editors (TextMate and/or MarsEdit), nor from theming changes or additions, given that I wrote mine from scratch anyway and prefer to keep it simple. I wouldn't even care about performance, thanks to WP-Cache…

So, I'll eventually update, but unless they discover a significant security issue with 2.3.3, it's not on top of my list of things to do™.

turtle
2008-04-13, 16:15
I updated mine. Only a few bugs to work out after the update too. There are even a few of my themes that I had to ditch. :\

jdcfsu
2008-04-13, 20:23
So, I'll eventually update, but unless they discover a significant security issue with 2.3.3, it's not on top of my list of things to do™.

You might want to read this: http://technorati.com/weblog/2008/04/424.html

Evidently there is something significant with 2.3.3 as Technorati has decided to no longer index some of them for security reasons.

drewprops
2008-04-14, 00:20
BOOOOSH!!!

Chucker's been out-Chucker'ed
:lol:

Well, I'll look through the Contact forms again tomorrow to see if I see any with Captcha for 2.5 - that's the only outstanding thing I'm missing.

PKIDelirium
2008-05-27, 12:28
I'm about to move my Wordpress between hosting accounts. Is there anything special I need to do, or is it as simple as moving the files and the database?

jdcfsu
2008-05-27, 16:38
I've not done it but it should be as simple as that. However, I'd install it fresh on the new server and import the database to be safe. Just back up everything a few times and you should be good.

turtle
2008-05-27, 16:52
I don't see why it'd be anything special. Just make sure you update the info for the site in your options.

Kraetos
2008-07-30, 13:34
This one's a quickie:

How do I keep from hardcoding image srcs in my themes? I seem to recall there's a function that echos the path of the wp directory, which means you can just call that function, and then tack the rest of the path on. Anyone know the name of this function?

I found a plugin that does the same thing but I very vividly remember there's a function built in that does this.

Anyone? Thanks. :D

jdcfsu
2008-07-30, 16:05
Anything in styles.css doesn't need this, as it defaults to where it needs to be, but this is what you're looking for:

<?php bloginfo('template_directory'); ?>

Kraetos
2008-07-31, 09:56
Anything in styles.css doesn't need this, as it defaults to where it needs to be, but this is what you're looking for:

<?php bloginfo('template_directory'); ?>

Yes yes that was exactly what I was looking for, thanks! :D

jdcfsu
2008-10-16, 16:11
Anyone know how to replicate Gruber's "linked list" in Wordpress? IE, having linked to articles have the RSS link to the original rather than the location on my site?

turtle
2008-12-21, 00:08
I just upgraded to 2.7 for both of my blogs and really like the layout on this version for the Dashboard/Admin page. Anyone else upgrade yet? I haven't had any issue with the upgrade either. Copied over the zip contents minus the wp-content folder and ran the DB update. Done and all's well. :)

drewprops
2008-12-21, 10:05
I haven't had the time to upgrade yet, but I'm REALLY interested in the new admin interface. Can you elaborate on your favorite parts and your no-so-favorite parts?

PKIDelirium
2008-12-21, 13:58
I just realized I'm still running 2.3.3. Epic fail, I should do something about that...

jdcfsu
2008-12-21, 21:26
I haven't had the time to upgrade yet, but I'm REALLY interested in the new admin interface. Can you elaborate on your favorite parts and your no-so-favorite parts?

Best part of 2.7 is that it automatically updates the core WP files in the same manor it updated the plugins previous -- simply click a link and it does all the work for you. No more downloading and uploading files anymore. Also, the plugin interface has a search feature so you can search through the plugin library, find what you want, and automatically download and install it. Again, no uploading needed. Basically once you have 2.7 installed you don't have to FTP in unless you want to mess with your theme. Granted, there has been plugins to do all of these things previously, but now it's all built into the system and it all works quite nicely.

The only gripe I can see so far is then when the side toolbar is collapsed (which looks nice IMO), there aren't any number badges to alert for plugins that need updating. Just a little UI gripe.

turtle
2008-12-21, 21:58
What he said.

I'd do a screen capture but I'm sure there is one available for you at WP's site. I like the way everything is compacted yet expandable. It really takes on the appearance of a standalone application rather than a web-based one. Very intuitive and easy to use IMHO.

drewprops
2008-12-22, 15:58
I went and found the latest post about it here:

http://wordpress.org/development/2008/12/coltrane/

And I have to say WOAH!!!!

This sounds like WordPress is approaching a slightly wider "consumer" status with 2.7...... pretty excited about it, though I'd like to wait until it goes Golden before upgrading. Sounds like it'll be soon, no?

noleli2
2008-12-22, 16:00
I think it has gone Golden.

Besides, you can update your WP installation right from the control panel now! :)

turtle
2008-12-22, 19:07
Yeah, quit putting it off Drew. Take the plunge. You won't regret it. Trust us. :D

drewprops
2008-12-22, 20:32
Uuuuhhhhhhhhhh..... I've come to resist being an early adopter. I'd rather wait and see if your websites asplode first.... though it does look pretty yummy.

jdcfsu
2008-12-22, 21:14
Uuuuhhhhhhhhhh..... I've come to resist being an early adopter. I'd rather wait and see if your websites asplode first.... though it does look pretty yummy.

It went gold two weeks ago now and had two public release candidates prior to that. I started with RC1 and haven't had any issues since. Like any WP update, there are no issues with the update at all. Go get it. You won't regret it.

drewprops
2008-12-22, 23:48
Okay well damn.
I do want to upgrade... let's see if I have time over the holidays~

Jasoco
2008-12-26, 01:51
My website didn't asplode. I upgraded and it went quite smoothly. No problems at all. Was awesome. And the changes are amazing.

turtle
2008-12-28, 22:31
I'm looking for a method to export my iCal events into a calendar for one of my blogs. Is there an easy way to do this with WordPress? It'd make posting my work schedule for my family easier.

drewprops
2008-12-28, 23:11
What about using a Google calendar? You can set it up to automatically import your iCal events, and it's much easy to insert into a page, from what I understand (have never done it myself).

jdcfsu
2008-12-28, 23:38
I don't know of any off hand, but I'm sure there is a plugin that will do what you're looking for. It might be a full calender plugin that allows for iCal/CalDev import.

ezkcdude
2009-01-01, 11:09
It went gold two weeks ago now and had two public release candidates prior to that. I started with RC1 and haven't had any issues since. Like any WP update, there are no issues with the update at all. Go get it. You won't regret it.

I'm working on it right now, and it's crashing again and again. I'm just trying to upload mp3 files. Argh.

mactoids
2009-01-03, 23:05
Just upgraded to Wordpress 2.7 today. I had been putting off the move to 2.7 to be sure most all bugs would be worked out. As far as the backend, Coltrane is going to take a little more getting used to than previous versions - but it's nice. I'm really looking forward to being able to upgrade to future versions of WP right from the admin. Woohoo, that will be sweet.

turtle
2009-01-03, 23:50
I still haven't found a good calendar plug-in. Anyone know of one they can link to? Sorry if I keep passing over it.

Oh, still no issues Drew. I think it's safe for you to make the jump. :)

mactoids
2009-01-17, 14:12
Hi turtle2472. I haven't used any of these plugins myself, so I can't recommend them - but you might want to browse to see if any fit your needs.

iCal Events
http://wordpress.org/extend/plugins/ical-events/

ICS Calendar
http://wordpress.org/extend/plugins/wordpress-ics-importer/

Upcoming Events
http://wordpress.org/extend/plugins/upcoming-events/

There are probably many more out there.

drewprops
2009-01-17, 23:20
I've started jumping.... two sites over, one to go. I like the interface and like that there are fewer exploits. The exploits that the bad guys use are seriously nefarious.


...

turtle
2009-01-18, 02:00
...
ICS Calendar
http://wordpress.org/extend/plugins/wordpress-ics-importer/
...

This is the one I ended up going with. I also removed all my theme options and now only have one. I've added a few other features and made it more for my family to keep track of me better. I don't have any changes on my blog in my signature here changed yet. Not sure what changes I'm gonna make on this one yet either. Thanks for the link though, it worked great for my needs. :)

PKIDelirium
2009-01-18, 03:25
Would it be safe to go straight from 2.3.X to the latest?

turtle
2009-01-18, 12:45
That's what I did for one of my blogs so I'm sure you'll be safe to update without issue.

mactoids
2009-01-24, 12:14
This is the one I ended up going with ... Thanks for the link though, it worked great for my needs. :)
I'm glad one of those plugins worked out for you.

Would it be safe to go straight from 2.3.X to the latest?
Just make sure you check compatibility for the plugins you use. WordPress provides a list of plugins (http://codex.wordpress.org/Plugins/Plugin_Compatibility/2.7) that have been tested for compatibility with version 2.7.

jdcfsu
2009-01-24, 13:46
I'm glad one of those plugins worked out for you.


Just make sure you check compatibility for the plugins you use. WordPress provides a list of plugins (http://codex.wordpress.org/Plugins/Plugin_Compatibility/2.7) that have been tested for compatibility with version 2.7.

I've noticed that just about all plugins compatible with some form of 2.x work fine with 2.7. I'm running at least one that is only tested with 2.6.x and it's running fine.

Jerman
2009-01-24, 14:15
I gotta say it is becoming more and more tempting for me to move my blog over to WordPress. I wrote the blog engine for my site, but have never gotten around to coding a proper back-end. After making a good user authentication system, I stopped and did not finish my editor, etc.

I've also been eyeing WordPress due to the iPhone app, etc, and am thinking it's just about time to make the transition, but am still unsure... I am no professional programmer, so I figure WordPress would be much better on the security front. Plus the already built commenting system would be quite nice, a plethora of plugins, etc.

So here are a couple of the concerns I do have...

1) On every blog post I make, I also have a "location" field that must be filled out. At least in my searching I didn't find if this was possible/easy to add to WordPress.

2) Integration. The main page of my website lists upcoming shows (pulled from a MySQL table), updates, and also blog entries. I don't wish to transition over to WordPress for my main page as well, instead would rather pull the latest entries. I suppose I would skin WordPress on my dedicated blog page, which would work just fine.

3) If I use WordPress and skin it, I won't be able to integrate it as tightly into my design. I am working on a new menu bar of sorts that has a flash player for listening to my songs. I would love if the music did not stop to go to different pages. I could of course use frames, or an inline frame, but I doubt that is the best solution. Was planning on using AJAX. I wonder if there would be a good way to handle that...

So I suppose my biggest issue is integration into my existing site. Any thoughts from someone who has dealt with this? At this point I think it makes much more sense to use a standard program maintained by several accomplished developers instead of the bug-ridden code I seem to produce. Thoughts?

jdcfsu
2009-01-24, 14:26
So here are a couple of the concerns I do have...

1) On every blog post I make, I also have a "location" field that must be filled out. At least in my searching I didn't find if this was possible/easy to add to WordPress.

I'm not really sure what you mean by location field -- something like where the post was written that then shows up in the byline or something like that? You can do this a few different ways, depending on how you want to use it. If it's only a few, set locations then one option would be to set categories for each of the locations and then file the post as such. Another would be to use tags to do the same. If that's not flexible enough for you, then I'd use the "custom filed" option. I'm not very familiar with how they work, but it might be exactly what you're looking for. I believe there is a way to use your custom field to have it display in your templates as well.

2) Integration. The main page of my website lists upcoming shows (pulled from a MySQL table), updates, and also blog entries. I don't wish to transition over to WordPress for my main page as well, instead would rather pull the latest entries. I suppose I would skin WordPress on my dedicated blog page, which would work just fine.

You can do that, create a page and then have the new posts pulled over, but you can also create a static page (that really isn't all that static) and set it as your default WP page -- it's an option in the settings.

3) If I use WordPress and skin it, I won't be able to integrate it as tightly into my design. I am working on a new menu bar of sorts that has a flash player for listening to my songs. I would love if the music did not stop to go to different pages. I could of course use frames, or an inline frame, but I doubt that is the best solution. Was planning on using AJAX. I wonder if there would be a good way to handle that...

I wouldn't use iFrames at all. The WP template engine is extremely flexible and you can make it do whatever you want. I'd stop trying to figure out how to merge the two -- your existing site and a WP driven site -- and start looking at how to make WP do what you want it to. I've been using WP for every site I create for years now, even non-blog driven sites. It makes security, updates, and usability so much easier. If you can write HTML then you can make the WP templates do what you want them to.

If you're unsure of it at first, I'd set WP up in a folder on your root (yoursite.com/wordpress/) as a sort of testing server. Write your templates and then get it displaying just what you want it to do and then, when it's ready, go into the settings and follow the directions to move the index.php to your root and make it go live.

Jerman
2009-01-24, 14:33
jdcfsu - Thanks a bunch for the tips! The custom field option sounds perfect for my needs. I have setup a few WP installations over the years, but never got into them too much, as they were a favor for a couple of my buddies.

I'll certainly be reading up on this stuff over the next several days. It'll also be fun creating the migration script to pull my posts into WordPress. (As I use a unix timestamp, etc). It should help me get back into the swing of things programming. :)

Another little question... Do you guys use a plugin, like one for Gallery to manage media and images with WordPress or do you just use the default upload feature?

As it stands on my blog, I upload a photo and use GD to resize down to couple different sizes, as my main site can only handle smaller content. Then when you visit the blog page, it resizes to a max of 640x640, and it also copies over a full resolution image so I have the original. I wonder how WordPress will handle that...

I know I am definitely asking it to do a lot of things, but I want a solution that won't require a huge rewrite on my end. :) Thanks for the tips!

***Edit/Addition***
I'll certainly be setting up a test server for this when the time is right, as I am also overhauling the look of the site. When it's done, zip it all up, and unzip via ssh.

It's frustrating about the music player, because I will also be (and currently do) using PhpBB for a small forum, and possibly Coppermine or Gallery (As mentioned above) for photo and multimedia management. To make the top bar work across every page without the music stopping, etc... It's an interesting concept to me. I may end up just doing the "click here to launch the player" thing, but that has never appealed much to me...

jdcfsu
2009-02-04, 22:29
Does anyone use the SEO plugin?

I'm thinking I have something set weird because I'm getting a lot of visitors from Google being led to tag archives. For example someone searching for "iphoto gps" found my tag archive for "iphoto" and not the actual post talking about iPhoto and GPS devices.

Anyone know how to set that so something like that doesn't happen? I'd not be happy if I clicked a search result that took me to, essentially, a search results page on the site.

PKIDelirium
2009-06-03, 17:25
*Digs thread up*

So uh, I'm still on 2.3.3 I suck. :(

Can I just upgrade straight to the latest stable, or do I need to do it in steps?

Also, does the current one still have the ability to import from LiveJournal exported XML, or do I need to do that before I upgrade?

jdcfsu
2009-06-03, 18:00
I'm on the current version and it does still have LiveJournal exported XML as an import option. As for the upgrade itself, you should be fine. You'll probably have to update the database itself, but it's part of the installer.

Partial
2009-06-18, 19:03
Would it be easy to make a site similar to fmylife.com using wordpress? The goal is to have something with as little work as possible.

Jasoco
2009-06-18, 19:55
Oh, definitely.

Partial
2009-07-06, 23:37
Another idea - This is something I posted on another forum so forgive if it doesn't read well.

I'm working on a site with a homepage of content and a very active forum.

The forum structure and UI is nice and the best way the communicate by far. The best way to make a home page is to have ample user generated content and having these quick hitting "blogs" is a great way to draw traffic.

Think of Digg, with a headline (which would be the title of the thread), it's summary(which would the content of the first post in the forum), it's rating, which can be done in the forum or on the homepage, and then of course the comments which when clicking "view comment (or whatever)" will redirect to the forum post.

This would be freaking awesome, but I don't know of any OOTB software that does this. Do you? Any drupal or wordpress experts out there?




Basically, I'm looking for the best of both worlds. I want to essentially extract the first post content from whatever forum software I settle on (probably something open source, whichever one has the nicest UI to compliment ignore list and ratings) and a home page that displays this content in a blog-esque view. Is this doable? How would I accomplish this?

Torifile's site, http://www.durhamdbt.com/blogs/dr-b is a really good example of what I'm looking from a homepage perspective. Then, when they click read more, or "read comments(or whatever)", they get redirected to a forum post on the topic.

Any suggestions for software? Can WordPress do all of this? Is there a better option?

drewprops
2009-10-28, 20:53
Obviously, no clue.... and this reply comes 3 months too late, I'm sure.

I'm just trying to figure out if it's okay that my table collations are written in latin1_swedish_ci --- really freakin' me out. Seriously... is that okay?



...

Moogs
2012-10-05, 09:53
Will I get publicly shamed for bumping a thread this old, and asking:

"Anyone here use and feel good about paying for Akismet, on account of it working as advertised... or is it to easy for spammers to work around in this here day of modern technology?"

:D

(In fact, both of my recent threads, one on verifying a WP site via PHP and Google and one on Cloudflare... should be merged into this thread. Because it's all WordPress so don't taze me bros!"