Owner: Andrew
Type: WPMU Plugin
Created: 2006-07-28 23:40:34
Last Modified: 2006-07-28 23:40:34
list-all-posts_0_0_2.zip (4031 download(s))
list-all-posts_0_0_1.zip (208 download(s))
This Plugin allows you to place a list of the latest posts wherever you wish. Please read the instructions located within the zip file.
As with my other plugins, if someone sends me the code for a new feature/bug fix i'll add it in and give that person credit.
Just email at andrew(a.t}idtstudios.com
Hello Andrew, Thanks for the wonderful plugin. I would like to make some suggestions to improve the helpful plugin with additional features. 1. Can there be an option to show or hide an arrow image (path to the arrow image located in the used theme director to be placed anew by the user) infront of the post title? 2. Options to show or hide the "Hello World" post which is created when a user sign up for a blog? 3. Option to show or hide the post content? This is all I could think of as of now. Regards.
Any ideas about how to make it display pictures as well? I would appreciate the feature!
Andrew - we were discussing this plugin here: http://koala.ilog.fr/twikiirc/bin/irclogger_log/wpmu?date=2006-09-16,Sat&sel=6#l2 - specifically that it links to blogs not to posts. Cori came up with an approach to fix it - can you validate that you agree with the approach? Thanks, M.
Thanks for the plugin and the hard work. I agree with the comment above about being able to display more than one post for each blog (configurable). What I'm going for is something like the blogs page at the Seattle PI ( http://blog.seattlepi.nwsource.com/ ), where I can list the most recently updated blogs and links to their 2 most recent posts (without post text, just titles). I'm trying to hack your plugin now to make that work, but who knows if I'll be able. . . Any help there?
Thanks for the plugin and the hard work. I agree with the comment above about being able to display more than one post for each blog (configurable). What I'm going for is something like the blogs page at the Seattle PI ( http://blog.seattlepi.nwsource.com/ ), where I can list the most recently updated blogs and links to their 2 most recent posts (without post text, just titles). I'm trying to hack your plugin now to make that work, but who knows if I'll be able. . . Any help there?
It's a great plugin. But I got a small bug when run it(it's easy to fix it). If a customized dabase prefix is used, for example"mu_",it will come up with wrong information.Would you put the prefix as an optional choice? And it's better to exclude the "hollow world" post from the array.
Post modified (edit post) will be define as a blog update. Even no new post/page in that blog. any idea ? not show the update blog list when User edit the post/page.
Andrew - I can't get this to work at all. I have two sub blogs that are subdomains, not subdirectories. They are both listed as public in their privacy options. I've tried putting the call in half a dozen different places on the page and have not had it return anything. Are there any other "gotchas" I may have overlooked?
2007-01-31 02:08:28 posted the blog is fetched by $order = "ORDER BY last_updated DESC"; even blogger edit or post in old date, it will define as last_updated in db.
This plugin only displays three posts from across my 20-ish blogs. All blogs now have the privacy setting turned on to make them private - does this affect this plugin?
I see - so it's the privacy setting (http://mu.wordpress.org/forums/topic.php?id=2009&replies=26). So here's my request - how can we modify this plugin to override that privacy setting? All of my network's blogs are private because the whole site is private right now. If I can't get this plugin to work, I don't know how I'll include latest posts on the home.php page. Thanks
Weymaster: If you are using geekgrrl's Profile Pic plugin, you can add these lines as lines 82, 83 and 84 (on an unmodded list-all-posts.php), and modify to taste. if (author_image_path($tmp_post_author_id, false) != "http://neuro.no/wp-content/avatars/default.jpg") { echo " src='" . author_image_path($tmp_post_author_id, false) . "' border='0' align='right' />"; }
Ok, that ended up just a tad horrible, for the code look here: http://cargo.lignu.no/list-all-posts-pic-hack.txt This does not output the default image, which is because in my case that'll just make for a whole lot of default pictures ending up on the main page. Also, I have no idea what happens if author_image_path() does not exist (as a result of not having the geekgrrl plugin).
The real reason I logged in to post here was if anyone has an idea for where to check if the post in question actually is the first post (default post) in the database? This can be done by just simply comparing the content of the post with the default post, but where in the plugin to do this? The reason for this is of course that I don't my main page filled up with "hello world"'s ![]()
Stian's site has disappeared. Any chance of an update to this plugin?
It looks like http://wpmudev.org/project/Most-recent-posts replaces this project.
And that one is updated by http://wpmudev.org/project/Most-recent-posts---updated what a mess.
I get this error all the time on my bluehost server. Any Idea why? I don't know anything about SQL server. ##################### WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE public = '1' ORDER BY last_updated DESC LIMIT 999' at line 1] SELECT blog_id, last_updated FROM WHERE public = '1' ORDER BY last_updated DESC LIMIT 999 WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] SELECT COUNT(*) FROM ##################### Thanks for any help.
At line 55 this plugin hits the database 3 times instead of once. The data could all be grabbed using a query like: SELECT post_content, post_title, post_author FROM blah
At line 55 this plugin hits the database 3 times instead of once. The data could all be grabbed using a query like: SELECT post_content, post_title, post_author FROM blah
You must be registered and logged in to post comments. Not registered? Click here to get your free account!