The Enhanced Views Plugin

IMPORTANT NOTE FOR WORDPRESS 2.0 USERS: This plugin doesn’t work under WordPress 2.0. I honestly do not know that it ever will, but I won’t say “never.” As you can tell, I haven’t upgraded to 2.0 myself. When and if that happens and I reach the same point of frustration with the limitations of the post viewing interface in that version, I may have the impetus to update it. Sorry for any inconvenience.

New functionality

At long last, it’s finally ready for an initial release. Announcing the Enhanced Views plugin for WordPress. This plugin replaces the original Posts functionality in the WordPress administration interface with a new version that include increased functionality, including:

If you want it, go get it.

March 29, 2005 • Posted in: Plugins

129 Responses to “The Enhanced Views Plugin”

  1. 1

    dvg (7 comments) - March 29th, 2005

    Hey there! I’m very excited because this looks like an awesome plugin. I installed it manually … but it doesn’t seem to have done anything. My “Manage” page is the same still … could there be a bug? (I’m pretty handy with this stuff, written a few personal plugins and installed several others …)

  2. 2

    pdx (1 comments) - March 29th, 2005

    the column titles (IDWhenTitleCategoriesCommentsAuthor) are messed up in opera, they are all grouped together, like i showed above in the brackets and are impossible to read/use that way. otherwise a nice plugin.

  3. 3

    Denis de Bernardy (2 comments) - March 29th, 2005

    Sorry to bother you with an irrelevant comments, but you’ve what seems to be a major bug on your site:

    http://www.coldforged.org/sandbox/image-headlines-plugin-for-wordpress-15/

  4. 4

    Christopher (8 comments) - March 29th, 2005

    I’ve managed to install this plugin correctly on one of my blogs and I seemed to have installed it correctly on another but nothing happens on the second. Do you know if any other plugins might conflict with it? Super cool plugin by the way.. this should be how it is in the next major release!

  5. 5

    Mads Jensen (1 comments) - March 29th, 2005

    Thanks, working fine on wp 1.5 strayhorn. I look forward to the pages manager.

    Cheers

  6. 6

    oso (10 comments) - March 29th, 2005

    Hmm, I just tried installing it with one-click and the plugin is activated, but nothing happened.

  7. 7

    Christopher (8 comments) - March 29th, 2005

    I tried both the one click and the regular install..

  8. 8

    Carla (8 comments) - March 29th, 2005

    Punk rock! Thank you. :)

  9. 9

    Dave M. (5 comments) - March 29th, 2005

    I’m afraid I’m going to have to agree with OSO on this one. I installed the plugin, put the PNG’s in the correct folder in wp-content/enhanced-views, activated the plugin, and went to manage only to find the same manage page that I have always seen.

    Using WP 1.5 (2005-02-21 build), if that is any help. :)

  10. 10

    Eileen (1 comments) - March 30th, 2005

    I’m having the same problem as OSO. I’ve installed it on 2 blogs running WP 1.5 and nothing seems to be happening. I would really love to be able to use your plugin. Thanks.

  11. 11

    metoo (1 comments) - March 30th, 2005

    There is a weird effect. Once i view the Posts page, at first the original “Last 15 Posts” comes up for just a second then it dissapears and the new Posts page appears. Weird.

    Here is a feature request:

    Can you auto-select the current author from the author list? So that all authors view their own posts by default unless changed? Currently its set to “show all”.

    thank you for a this great plugin!

  12. 12

    MrHappyGoLucky (28 comments) - March 30th, 2005

    You are a God among men. I have been wanting to go through my posts and update categories and titleless posts for quite awhile now. This actually makes it possible.

    Many thanks for your time spent on it.

  13. 13

    Paul (9 comments) - March 30th, 2005

    Awesome! I saw this, installed it — it worked great right away. I then went, “Oh nuts, I wish this worked for comments too,” decided to do a little search on your site and lo-and-behold, there was a plugin for that too. PLUS, another one to create the cool “Asides” and “Currently Reading” type posts.

    Thanks for some awesome plugins — oh, and about half a day where I ignored the work I was supposed to be doing!

  14. 14

    Tyler (5 comments) - March 30th, 2005

    I’m not seeing anything either. Installed using zip/tar on a heavily abused 1.5 and a fresh 1.5.1 29th nightly. Deactived all plugins on both installs and still nothing. Hope it’s something simple ’cause I can’t wait to use it!

  15. 15

    Graeme (1 comments) - March 31st, 2005

    Thanks, great plugin.

    I have one minor usability issue. I selected a particular category. it worked OK. In order to then see all posts by an author I had to first select “All categories”, then click “show by category) then select the author and click “show by author”. A single “Show” button would save a click and page load each time.

    More importantly, please replace the pages functionality as well. Manage pages needs this functionality much worse than manage posts does. WPs pages work very well apart from this so it really would make a big difference.

  16. 16

    ColdForged (971 comments) - March 31st, 2005

    All of you guys that have nothing showing up, make certain that you have Javascript enabled on your browsers. In order to replace the Posts functionality, I had to use Javascript stuff to insert the new stuff in.

  17. 17

    Dave M. (5 comments) - March 31st, 2005

    Yep, Javascript is running on my browser. However, you got me thinking and I checked in IE as well. It’s not showing up there either. I use a similar comment preview plugin that uses Javascript and it’s working fine.

  18. 18

    dvg (7 comments) - March 31st, 2005

    Hey there, Yep, I have JS running no problem on plenty of other things as far as I can tell. I’m using an audioscrobbler plug-in that prints using CDATA and JavaScript to my main page and that seems to be working fine …

  19. 19

    ColdForged (971 comments) - March 31st, 2005

    Okay, that’s officially odd. Could you look at the page source and see if there’s anything following the “spreadfirefox” link in the footer? Any Javascript? If not, what’s the URL in the address bar when this occurs?

    Thanks for helping me track this down.

  20. 20

    McLusky (2 comments) - April 1st, 2005

    The plug-in worked for about twenty minutes (and a glorious twenty minutes it was) but suddenly stopped- I haven’t been able to get it working again. Weirdness.

    Thanks for working on this- it’s truly indispensible, hope it’s something simple.

  21. 21

    Dave M. (5 comments) - April 1st, 2005

    There is a huge amount of Javascript there starting with: // Create the hidden elements that symantically change what we’re doing // with the “search” and “month” elements.

  22. 22

    ColdForged (971 comments) - April 1st, 2005

    Dave, do you get Javascript errors? Which browser is this on? I was hoping you wouldn’t say you had Javascript in the page, that would be more easily explainable :( .

  23. 23

    ColdForged (971 comments) - April 1st, 2005

    Sorry to bother you with an irrelevant comments, but you’ve what seems to be a major bug on your site

    Denis, that’s my sandbox, my own private play area. It’s not supposed to be spidered and hence not supposed to show up in searches. How’d you wind up there?

  24. 24

    ColdForged (971 comments) - April 1st, 2005

    There is a weird effect. Once i view the Posts page, at first the original “Last 15 Posts” comes up for just a second then it dissapears and the new Posts page appears. Weird.

    Yes, that’s an unfortunate consequence of how I override the “Posts” functionality. It’s done with Javascript after the fact, so that “Last 15 Posts” thing will stay up until the Javascript can come along and change it later. If your page is not fast loading, you’ll see little things like that.

  25. 25

    dvg (7 comments) - April 1st, 2005

    Mr. Forged, No. :0( There’s no JS after the FireFox blurb at the bottom of the page. But I know I have 1.5, and I know I have JS enabled … Is it b/c I’m using IE?

    (PS: I am trying to “subscribe to comments” on this thread, but it doesn’t ever seem to notify me.)

  26. 26

    ColdForged (971 comments) - April 1st, 2005

    Mr. Forged, No. :0( There’s no JS after the FireFox blurb at the bottom of the page. But I know I have 1.5, and I know I have JS enabled … Is it b/c I’m using IE?

    Well, that’s at least more expected :) . First, make sure the plugin is, in fact, installed and active in your Plugins page. Next, I’ll likely test a new method of determining the proper page to enable the Javascript, as the current method may have problems in certain environments.

    (PS: I am trying to “subscribe to comments” on this thread, but it doesn’t ever seem to notify me.)

    The first comment you made and tried to subscribe with had an email address with a “NOSPAM” in the middle of it, so the notification failed to get out of my mail server.

  27. 27

    ColdForged (971 comments) - April 1st, 2005

    A repost from the WordPress support forums:

    A query for you people interested in this functionality:

    I’m limited in a lot of ways by making this plugin strictly a plugin. I have to pull a lot of Javascript magic that, frankly, breaks in various mysterious ways in many environments. There’s been talk that “this is the way it should work in the core WordPress code” and I somewhat agree, but I’ve never gotten a definitive answer on how best to introduce functionality into the code base. The first time I asked was when I had my “paged comment editing” idea and the only response I got was from someone who recommended I make a plugin out of it and the rest fell into place.

    So, I’ve been making these enhancements into plugins. In this case it’s less than optimum: I have to use Javascript which has limitations, I’m hampered by the core code’s dependence on the real loop for generating the post list so I can’t control all possibilities (e.g. order by post ID), by the time the plugin has a go at the query it’s all done, so if you’ve, for instance, paged past the end of something in a query I have to have an ugly “refresh to get posts” link instead of being able to correct it beforehand, etc.

    Here’s my query: would there be interest in a version of the “plugin” that did more, did it better (read: without Javascript), but did it slightly outside the scope of a plugin? Meaning, you’d have to add a file to the wp-admin hierarchy. Note, disabling the plugin and getting back to the core installation would still be a matter of deactivating the plugin, the core files still wouldn’t change. This would merely be adding one to the list.

  28. 28

    Tyler (5 comments) - April 1st, 2005

    I tried this plugin on my backup server and it works (1.5.1 nightly). So on Dreamhost no go but Modhost works fine. I guess that makes it a PHP/server config issue vs a browser issue? I’m running both hosts as CGI. I’m still looking into differences between the two – is there anything specific you’d like me to check?

    Regarding your plugin vs hack, you’re right that most of this should be in the core (for usability). I suggest wp-hackers take some time to try and define what is considered core vs plugin functionality.

  29. 29

    Lorelle (9 comments) - April 1st, 2005

    I, personally, think that WordPress should work like this totally, without javascripts. The flash of the annoying old “15 posts” screen is something I can live with, but it would be nice if I could totally replace the manage screen in the admin. I’m in favor of a little extra work to get this right. As it stands now, I’ve got mods in the admin for enlarging the size of the excerpt and editing textareas as they are way too small for my needs, and a few other mods.

    What’s one more.

    Yes, I’d love a version of this with the extra steps to avoid the javascript. It’s totally lovely!

  30. 30

    Brent (3 comments) - April 1st, 2005

    I’ve had the same problem with activating the plugin and not seeing any change. I took a look at the errors that I was getting in the JavaScript console and found out that it was choking because I have some apostrophes in my category names. Taking out the apostrophes made things work.

    As a side note, I wouldn’t mind adding another file to the wp-admin directory either.

  31. 31

    dvg (7 comments) - April 1st, 2005

    Forger, Yes! Absolutely! I’m not afraid to screw with the WP core.

    (PS: Yes, I realized that about my NOSPAM email, but I edited my preferences so that you have a valid email address but still no dice…)

  32. 32

    ColdForged (971 comments) - April 1st, 2005

    Alright guys, work has started on the “new” version. Lorelle, expect to get your requested “sort by ID” this time around.

    dvg, did you get this notification?

  33. 33

    Tyler (5 comments) - April 1st, 2005

    I got the plugin working on Dreamhost by disabling mod security. When mod security was running the JS wasn’t being written to the page (there was nothing in my footer).

  34. 34

    ColdForged (971 comments) - April 1st, 2005

    Taking out the apostrophes made things work.

    Nice find, Brent. I’ve already modified the code to handle that case better. That will see the light of day when the new version comes out.

    I got the plugin working on Dreamhost by disabling mod security.

    Wow. Just wow, Tyler. Can’t say I expected interaction with mod_security. Nice track.

    Overall looks like the non-Javascript version should supercede this version, except perhaps for those that don’t want to add things to wp-admin.

  35. 35

    Dave M. (5 comments) - April 2nd, 2005

    Wow! Brent’s catch was what was causing my problem too! I have one category with an apostrophe in it and that was causing the problem.

    I wasn’t seeing Javascript errors due to a toolbar I use in Firefox “Web Developer Toolbar”. It intercepts the Javascript error and displays a small Icon to indicate the error. I didn’t notice this until someone mentioned that they were getting JS errors.

    From now on, I promise I’ll pay more attention to that icon when things don’t work!

    Looking forward to using this!

  36. 36

    ColdForged (971 comments) - April 2nd, 2005

    As an update to the “how would you feel about an enhanced version that requires a file in wp-admin” I just wanted to say that I’m punting on it. It’s simply not possible to only add a file to replace the “Manage Posts” functionality because it is a parent menu. All of the files that are submenus would have to change as well.

    So where does that leave us? The plugin will obviously exist. I may update it depending on need and further feature development. What I will also do is simply write a complete replacement file for the base edit.php. I’ll then submit it for possible inclusion into the code base and leave it up to Matt and Ryan whether it gets in or not. I figure that’s the only way to get a truly clean install. Less glory that way, but this is open source development, isn’t it? ;)

  37. 37

    oso (10 comments) - April 3rd, 2005

    I’m with Dreamhost too so that must be the problem. I’d have no problem with an extra wp-admin file. This layout/functionality should really be the wordpress default – I hope the WP team is taking note. Great work as always.

  38. 38

    mdawaffe (3 comments) - April 4th, 2005

    Not sure if you got my last email (maybe… two weeks ago?). Didn’t realize you’d released an alpha. I assume you’ve addslashes’d the appropriate bits to fix the apostrophe borking.

    One small bug: Selecting a category shows -1 posts per page (where I get the “Current page exceeds number of pages for this query.” error, but everything still works). Subsequently selecting All Categories still shows -1 posts per page (with the same error). It should go back to the default 15.

    Nice work! Looks good and works great!

  39. 39

    McLusky (2 comments) - April 4th, 2005

    It was the apostrophe in a category for me too- great catch!

    Thanks for this plug-in- it’s killer!

  40. 40

    Tyler (5 comments) - April 4th, 2005

    In the function EV_posts_determine_page (line ~240) the preg_match appears to fail when mod_security is on. That’s using $_SERVER['SCRIPT_NAME']. When I change it to $_SERVER['REQUEST_URI'] everything works.

    So that’s that, I just don’t know why that’s that :-) I’ll email Dreamhost to see if mod_security is doing something to SCRIPT_NAME.

  41. 41

    ColdForged (971 comments) - April 5th, 2005

    Thanks, Tyler, I was likely going to switch over to REQUEST_URI anyway, this’ll just put me over the top.

    Not sure if you got my last email…

    I did, but got caught in a time crunch with my folks moving so I didn’t want to hold people up who were calling for the functionality :| . Sorry, man.

    Thanks for the bug reports and suggestions guys. I’m working hard on the WordPress core files contribution right now trying to get it ready for submission before the 1.5.1 update, otherwise it’ll be forever before it sees distribution. I’ll get an update out for these bugs as reported ASAP.

  42. 42

    Jenna (3 comments) - April 5th, 2005

    How do I disable mod security? (I’m on Dreamhost too.)

  43. 43

    MrHappyGoLucky (28 comments) - April 6th, 2005

    I think adding

    SecFilterEngine Off

    to your .htaccess will disable mod_security.

  44. 44

    Jenna (3 comments) - April 6th, 2005

    Which directory would I put the htaccess file in?

  45. 45

    mdawaffe (3 comments) - April 9th, 2005

    ColdForged, No worries. Hope the folks are well. Good luck with the core ;)

  46. 46

    Michael (3 comments) - April 9th, 2005

    Hi! First of I’d like to say that I love the plugin! But there’s something that is bothering me. Well, at your screenshot the “Browse by …” blocks are lined properly and the “Page … Previous Next” links are formatted correctly but when I installed the plugin on my site it looked weird. You can see how it looks here.

  47. 47

    ColdForged (971 comments) - April 9th, 2005

    Yeah, it looks goofy in IE right now. I haven’t figured out why, yet. Hopefully I can track it before the next release. Thanks for the info.

  48. 48

    John Calendo (1 comments) - April 13th, 2005

    Thank you for this superb and necessary plugin. We have been using it on the Nightcharm blog now since — I think I got it the day you put it up, right after Easter. Never had a problem with it and it makes my life worth living again! Especially as we have several contributing bloggers that we feature.

    Best … John Calendo at http://www.nightcharm.com.
    (Warning This is a Not Safe For Work site: Nightcharm is an adult gay site that features male nudity and issues of interest to gay men.)

  49. 49

    Daisyhead (1 comments) - April 13th, 2005

    I just installed this plugin and it wasn’t working. Read through the comments and saw the one mentioning apostrophe’s in the category name. I had one. I removed it, reloaded and now the plugin appears to be working great!

    Thanks so much for this! I have been waiting forevever for something like this to help me organize my categories. You’re my hero! ;-)

  50. 50

    Mark Fleming (2 comments) - April 18th, 2005

    Your writeup on this plug in states “At long last, it’s finally ready for an initial release. Announcing the Enhanced Views plugin for WordPress. This plugin replaces the original Posts and Pages functionality in the WordPress administration interface with new versions”

    But, it does not replace the “Pages” functionality as you state. It only works on my “Posts” page. Is it supposed to work for “Pages” as it says?

  51. 51

    ColdForged (971 comments) - April 18th, 2005

    Double-check the final paragraph of the write-up, Mark:

    This version is an alpha version which does not replace the Pages functionality. That functionality will come in a follow-on release.

    That said, I am working on a submission back to the core WordPress code to add an enhanced version of this enhanced view code, so continuing development of the plugin hasn’t been a priority. I had a reasonable version of the pages functionality going, but the hierarchical nature of the Pages makes it a little uglier than I’d like.

  52. 52

    Lorelle (9 comments) - April 19th, 2005

    My hero, eternally. This is the most brilliant plugin/utility/tool – you are a life saver. My admin time is now down by 80-90% from what it was before this. F%#$*^ brilliant. Honestly.

    Ah, but a little spot in the ointment. When using the search, it works great, though if it is displaying a specific category, the search is confined to that category, which is doubly great. Love it. Problem arrives when I delete the search term then change the category, it reinputs the search term and displays only the search results within that new category. If I’m hunting for “xyz” across categories, this is great. Because I deleted the search term, the search box is empty. When I changed the category and clicked “show”, this is not good. I have to search for nothing and then change the category to clear the search, or delete the search terms off the end of the URL.

    No biggy, but a buggy all the same.

    But don’t let this discourage you. I absolutely mean every one of my fanatically thrilled shouts to the world about how awesome this is. I would be/was lost without it. Thank you so much!

  53. 53

    ColdForged (971 comments) - April 20th, 2005

    See this post for an update, Lorelle. Thanks for the kind words!

  54. 54

    Mark Fleming (2 comments) - April 20th, 2005

    How does the default WP Manage Pages page differ from the default WP Manage Posts page? On my Manage Pages page I already have 28 pages and unlike the Manage Posts page they are all there–nothing has been truncated off the page. Does anyone know if it just keeps listing them forever?

  55. 55

    ColdForged (971 comments) - April 20th, 2005

    Oh yes, they keep going, and going, and going… That’s the primary impetus to provide some kind of paging functionality for the Manage Pages interface.

  56. 56

    nicholasjcoleman (1 comments) - May 8th, 2005

    I made the modification suggested by Tyler (post 40) and it works fine for me now.

  57. 57

    Sadalwantar (1 comments) - May 15th, 2005

    i have the same problem like others here, active plugin but all seems to be the same as before. nothing changed. :-(

  58. 58

    ben (6 comments) - May 18th, 2005

    Thank You… This helped so much!

  59. 59

    ben (6 comments) - May 19th, 2005

    Hello, I am having an issue, though very randomly and rarely. It actually happened on a user edit page after updating a user profile.

    I got this error. Warning: Division by zero in /home/benstraw/public_html/wp/wp-content/plugins/enhanced-views.php on line 332

    I didn’t look at the code there but I thought you might like to know.

  60. 60

    ColdForged (971 comments) - May 19th, 2005

    ben said: Warning: Division by zero in /…/public_html/wp/wp-content/plugins/enhanced-views.php on line 332

    Thanks for the heads up, Ben. Plugged that one. If you’d like to make yours stop displaying that error, change line 237 to be:

    [code lang="php"]if( ( preg_match('#\/edit.php#i', $_SERVER['SCRIPT_NAME']) ) && !isset($_GET['page']) ) {[/code]

  61. 61

    clint (5 comments) - May 19th, 2005

    been using this for about a month now and have to give you a HEARTY thanks, its made my wp life MUCH better, that in addition to restyling the admin css :P

  62. 62

    Edwin (2 comments) - May 23rd, 2005

    Thanks for this plug-in. Was looking for something like this for a long time.

  63. 63

    Edwin (2 comments) - May 23rd, 2005

    Thanks for this plugin. Have been looking for something like this for ages. Now all I need is a check-box before or after each post so I can mass-delete items.

  64. 64

    ColdForged (971 comments) - May 23rd, 2005

    Edwin said: Now all I need is a check-box before or after each post so I can mass-delete items.

    Note that if you switch to “Mass Edit Mode” you’re given a checkbox before each post so you can mass-delete :) .

  65. 65

    John (19 comments) - May 25th, 2005

    When I Click on a drop down menu (category/menu/author) it returns this value to me:

    WordPress database error:</strong> [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 '-1' at line 1] SELECT * FROM wp_posts LEFT JOIN wp_post2cat ON (wp_posts.ID = wp_post2cat.post_id) WHERE 1=1 AND (category_id = 2) AND (post_status = "publish" OR post_author = 1 AND post_status != 'draft' AND post_status != 'static') GROUP BY wp_posts.ID ORDER BY post_date DESC LIMIT 3, -1

    I only have your plugin enabled (disabled all others) and have not touched the core code of WordPress, what could be at fault?

    I have noticed that if I take showpostsoverride out of the query string it works perfectly, if that above line in the query string tries to hold a value whether its a – value (-1) or a = value (15) it will not show any posts even if there are posts in a certain category, by an author, or in a current month.

    Have you had this problem before? Hope its fixable!

  66. 66

    ColdForged (971 comments) - May 27th, 2005

    John said: Have you had this problem before? Hope its fixable!

    I hadn’t noticed it until you mentioned it, to be honest. Nice track down and thanks for the detailed information you provided. I’ve released a new version this morning that should correct this issue and perhaps help some of you who have the “blank page” problem.

    Thanks again.

  67. 67

    HardinComp (2 comments) - May 27th, 2005

    I updated my WP installation to version 1.5.1, but now if I do a filter on a specific category I get no results and “-1″ showing up in the Show box. If I deactivate the plugin I can get all the posts for a given month, but I really do need to be able to filter by the category, which is why I installed your most excellent plugin.

    I’m not seeing John’s error message, but I suspect it may be a similar bug.

  68. 68

    HardinComp (2 comments) - May 27th, 2005

    And of course right after posting I fired up the WP Plugin Manager, checked for updates, and found you had fixed the problem. Damn you’re fast! ;)

  69. 69

    ColdForged (971 comments) - May 27th, 2005

    HardinComp said: Damn you’re fast!

    I do try. Glad it helped you!

  70. 70

    John (19 comments) - May 27th, 2005

    Awesome, thank you for the quick fix :)

    I am also wondering how I would go about listing other table header fields for sorting ascending or descending as the ones you currently have highlighted to do so are (when/title/author) would it be a tricky task? I’m a rather nosey person and I like to know how much functionality a code has and what potential it could be.

    Again, awesome fix and I love the little improvement on the comment when someone makes a comment it says “Welcome back %name%” and with the ability to open/close a box to change name, email and site url…. how did you achieve this and was it via a plugin or just javascript and a remember me function?

    Again with the curiousity huh? :)

  71. 71

    ColdForged (971 comments) - May 27th, 2005

    John asked: I am also wondering how I would go about listing other table header fields for sorting ascending or descending as the ones you currently have highlighted to do so are (when/title/author) would it be a tricky task?

    Actually it would be impossible to sort any of the other columns as the plugin is currently written. In the core code version of the code that I’ve been working on it’s possible to sort by ID, but not the rest.

    how did you achieve this and was it via a plugin or just javascript and a remember me function?

    Mostly JS and intelligent use of WordPress variables. You can see my comment template here which should give you an idea.

  72. 72

    John (19 comments) - May 28th, 2005

    Does wordpress function files have the javascript you used in question or did you need to write your own for the particular usage of hiding the commenters information and were any additional wordpress plugins used to achieve such a feat?

    Thanks for showing me your source file, thats inspired me quite a bit, guess it will take me some time to figure out what the function calls and variables of wordpress are and what they do huh? lol.

  73. 73

    Aja (3 comments) - May 31st, 2005

    Hi. Is there any way to fix the “browse by author” box to show only the user’s name who is currently logged in? Thanks.

  74. 74

    ColdForged (971 comments) - May 31st, 2005

    John asked: Does wordpress function files have the javascript you used in question or did you need to write your own for the particular usage of hiding the commenters information and were any additional wordpress plugins used to achieve such a feat?

    No, WordPress doesn’t include the Javascript necessary, but it’s available right here. There’s other stuff in there but the relevant code is in there at the top.

    Aja asked: Is there any way to fix the “browse by author” box to show only the user’s name who is currently logged in?

    Sure. Edit the enhanced-views.php file, go down to line 308 which looks like this:

    [code lang="php"]$author = $wp_query->get('author');[/code]

    Change it to be this:

    [code lang="php"]$author = $user_ID;[/code]

  75. 75

    Aja (3 comments) - May 31st, 2005

    Thanks!

  76. 76

    Aja (3 comments) - June 2nd, 2005

    Hi. I just upgraded to WP 1.5.1.2 and even though the plugin is activated, the browse by author, category, and date fields are no longer displaying. Is there an easy way for me to fix this? Thanks.

  77. 77

    ColdForged (971 comments) - June 3rd, 2005

    aja asked: Is there an easy way for me to fix this?

    Don’t know, first I’ve heard of it and I’m running 1.5.1.2. I guess make sure you’re running the latest version of the plugin (released 5/27/05).

  78. 78

    // aenonfiredesign | preparation for perfection™ - June 9th, 2005

    [...] Oh, almost forgot, one fantastic addition to the wp admin usability experience is Nicks Enhanced View Plugin. I’ve been using this for a while now and it [...]

  79. 79

    dherren (4 comments) - July 10th, 2005

    This is simply not working for me. WP 1.5.1.3, the plug-in in the correct folder and activated, and the pngs in the correct folder. Going to the admin interface for posts shows the normal 1.5.1.3 admin interface with none of the features shown in the screen capture above.

    What additional info can I provide?

  80. 80

    jafer (3 comments) - July 20th, 2005

    Thanks for this plugin – it’s working perfectly for me. It also gets around that issue with WP where you could only see about 15 of the total # of posts. woohoo

  81. 81

    tylerwillis (2 comments) - July 21st, 2005

    Great plugin, I installed without a hitch.

    I do need to reiterate what PDX said way up there in comment #2 – it doesn’t work in Opera. I know Opera isn’t quite as popular as IE or Firefox (I tried both of those and the plugin looks ok in IE, perfect in Firefox), but it would be lovely if there was any easy way to fix it so that it would work nicely in Opera.

  82. 82

    ColdForged (971 comments) - July 21st, 2005

    dherren said: This is simply not working for me.

    Sorry, totally forgot to respond to you. What browser? Do you have Javascript enabled?

    tylerwillis said: but it would be lovely if there was any easy way to fix it so that it would work nicely in Opera.

    Well, if I ever get bored maybe I’ll look into it :) .

  83. 83

    dherren (4 comments) - July 21st, 2005

    Well, it looks like I’ve got multiple strikes against me… I’m running Opera and I had apostrophes in then names of half a dozen categories. Perhaps a readme file in the tar ball would be a good idea….

    After changing the names of the categories, and switching to OmniWeb, things appear to be working. Oddly, they also appear to be working insofar as I have investigate in Opera now…

  84. 84

    dherren (4 comments) - July 21st, 2005

    I take it back…it’s not actually working in Opera…too bad, Opera is so much faster and renders content almost as beautifully as OmniWeb. I use FF, etc. only for testing because UI widgets and text look so ugly in them compared to OmniWeb and Opera…

  85. 85

    dherren (4 comments) - July 21st, 2005

    Sorry for the flood today…it’s just that I actually have a few minutes to work on this…

    In the interests of completeness, this also doesn’t work fully in iCab 3.0.

    -david–I use the little guy browsers–herren… ;-)

  86. 86

    ColdForged (971 comments) - July 22nd, 2005

    dherren said: I had apostrophes in then names of half a dozen categories.

    Ack. I forgot about that problem. I need to investigate that as well. Thanks for the reminder!

  87. 87

    Nathan (8 comments) - July 22nd, 2005

    Huh. I installed and activated the pluggin in WP (1.5.1.3) and nothing happened. Viewing in Firefox 1.0.5 Mac. Odd. Nice idea though.

  88. 88

    ColdForged (971 comments) - July 22nd, 2005

    Nathan said: I installed and activated the pluggin in WP (1.5.1.3) and nothing happened.

    I’ll be releasing an update that may address this. Do you have any categories with apostrophes by any chance?

  89. 89

    Nathan (8 comments) - July 22nd, 2005

    Yes, there is one category with an apostrophe.

  90. 90

    ColdForged (971 comments) - July 22nd, 2005

    Nathan said: Yes, there is one category with an apostrophe.

    And if you temporarily rename that category to not have an apostrophe, does the plugin function? (You can switch it back quickly after this test.)

  91. 91

    Nathan (8 comments) - July 22nd, 2005

    Ah! Yes, it does. That’s unfortunate — is there a work around other than removing the apostrophe?

  92. 92

    ColdForged (971 comments) - July 22nd, 2005

    dherren said: I take it back…it’s not actually working in Opera

    Hmm. I downloaded Opera and it appears to be working for me. I was going to investigate getting it working for Opera before the next release, but I don’t see an issue. Well, the titles above the columns aren’t displaying perfectly, but I don’t know that I have the patience to deal with it :) .

  93. 93

    ColdForged (971 comments) - July 22nd, 2005

    Nathan said: Ah! Yes, it does. That’s unfortunate — is there a work around other than removing the apostrophe?

    Absolutely… wait a few minutes for the release I’m about to stick up there :) . Thanks for the feedback!

  94. 94

    Nathan (8 comments) - July 22nd, 2005

    LOL. Quick work! …when do I get the bill? :p

  95. 95

    ColdForged (971 comments) - July 22nd, 2005

    Snag it guys.

  96. 96

    Nathan (8 comments) - July 22nd, 2005

    Fixed! Thank you.

  97. 97

    clint (5 comments) - July 22nd, 2005

    hmm the plugin file still says version 0.2 is it actually 0.3?

  98. 98

    ColdForged (971 comments) - July 22nd, 2005

    clint said: hmm the plugin file still says version 0.2 is it actually 0.3?

    Interesting, both the zipfile and tarball have the 0.3 version. Where’d you download from?

  99. 99

    William (8 comments) - October 14th, 2005

    Cool. It works great with the fix !

  100. 100

    Gamma (5 comments) - October 19th, 2005

    The ‘manage’ page does not change, except that this error message appears on the bottom of the page about ten seconds after the page loads. Fatal error: Allowed memory size of 12582912 bytes exhausted (tried to allocate 35 bytes) in /home/httpd/vhosts/wrybread.com/httpdocs/gammablog/wp-includes/functions.php on line 1116

    Fatal error: Allowed memory size of 12582912 bytes exhausted (tried to allocate 21 bytes) in Unknown on line 0

  101. 101

    ColdForged (971 comments) - October 20th, 2005

    Gamma said: Fatal error: Allowed memory size of 12582912 bytes exhausted

    Is this for the photo blog that you have as your author URL here? If so, I have a feeling that the problem is that you have a large number of categories and the plugin is simply running out of PHP memory trying to construct the category dropdown. Let me see what I can do to free up some memory. I might have to release a new version for you.

  102. 102

    ColdForged (971 comments) - October 20th, 2005

    New version, Version 0.4, has been released. Give it a shot and see if it helps with your memory limitations.

  103. 103

    Gamma (5 comments) - October 20th, 2005

    Very cool, thanks I’ll give it a shot. Yeah I had a similar error message when I first upgraded to 1.5. I finally found some help that involved adding a line (@iniset(“memorylimit”,’12M’);)to the config file that increased the memory limit. And yes my blog is huge.

  104. 104

    Gamma (5 comments) - October 20th, 2005

    Version 4 looks like it is working but I had to change that line in the config file to (@iniset(”memorylimit”,’16M’);) before it would.

  105. 105

    Gamma (5 comments) - October 21st, 2005

    ColdForged, do you know if there is any drawback to setting the memory limit that high? If not why do they set it so low by default?

    The plugin is working great. I was really surprised that the edit by categories function was missing in 1.5, glad to have it back.

  106. 106

    ColdForged (971 comments) - October 21st, 2005

    Gamma said: ColdForged, do you know if there is any drawback to setting the memory limit that high? If not why do they set it so low by default?

    Not really, especially not to support the management interface which is used sparingly in relation to your actual blog hits. As soon as the page is done rendering that memory is released anyway, so it’s not like you’re taking up massive server resources and holding them indefinitely either.

    In terms of why it’s set low, I guess it’s set to account for the majority of uses. If you have a high memory limit with, for instance, a rampant, poorly programmed script that does a lot of recursion or something it will take longer for it to run its course than if it ran out of memory quicker.

    That’s the first time I’ve seen a memory problem in that management interface. I basically modified the plugin to free some resources a bit sooner rather than the previous method. Since you still had to bump up the memory allocation I assume WordPress is using quite a bit of memory leaving not a whole lot for my use by the time my plugin runs, but at least it helped you some. Glad you got it running.

  107. 107

    onat (1 comments) - October 26th, 2005

    Great plugin! Uploaded, activated and works like a charm. Now it’s easier to edit posts of the same category.

    Thank you.

  108. 108

    brrt (1 comments) - October 28th, 2005

    thanks for this plug-in. Will you make this working for the “pages” too? Except only the posts. I happen to have 400+ pages, and way less posts…

  109. 109

    ColdForged (971 comments) - October 28th, 2005

    brrt said: Will you make this working for the “pages” too?

    Please see this comment.

  110. 110

    J.T. Grimes (1 comments) - November 1st, 2005

    Thanks for this — it’s amazingly super awesome and is just what I needed. I was about to write a new edit page which restricts on category, but now I don’t have to.

  111. 111

    ovidiu (2 comments) - November 26th, 2005

    Hello,

    I have been using your plugin for quite a while, now trying to get wpmu up and running, I realized your plugin won’t work with wordpressmu.

    any chance to get it working?

    regards Ovidiu

  112. 112

    ColdForged (971 comments) - November 28th, 2005

    ovidiu said: I have been using your plugin for quite a while, now trying to get wpmu up and running, I realized your plugin won’t work with wordpressmu.

    any chance to get it working?

    Likely not as I don’t work in wpmu. You could certainly see if someone in the wpmu support forums felt like giving it a shot.

  113. 113

    Elisabeth (1 comments) - January 8th, 2006

    is there going to be a version of enhaced views for wp 2.0?

  114. 114

    Kevin (8 comments) - January 26th, 2006

    Love the enhanced view plugin. But just upgraded to, and doesn’t seem to work with, WP 2.0.

    Any suggestions? Thanks KAM

  115. 115

    ColdForged (971 comments) - January 26th, 2006

    Elisabeth said: is there going to be a version of enhaced views for wp 2.0?

    Kevin said: But just upgraded to, and doesn’t seem to work with, WP 2.0.

    Not in the foreseeable future, unfortunately. Never say never, but I have no plans to diddle with WP 2.0 at this point.

  116. 116

    stilgar (2 comments) - January 27th, 2006

    Hi, thanks for this great plugin. I made some small changes to it to make it work with WordPress 2.0. If you want I can send it to you, or I can put it on my site if you don’t want to maintain it, but I’d prefer to have your permission first.

    C’ya, stilgar

  117. 117

    simon b (1 comments) - January 28th, 2006

    hi

    i too am very keen for this plug-in to run on wp2.0, as i have a blog with about 250 posts in 12 categories, so this would make life so much easier!

    maybe stilgar’s version could be offered alongside your original one?

    cheers simon

  118. 118

    ColdForged (971 comments) - January 28th, 2006

    stilgar said: Hi, thanks for this great plugin. I made some small changes to it to make it work with WordPress 2.0. If you want I can send it to you, or I can put it on my site if you don’t want to maintain it, but I’d prefer to have your permission first.

    That’s excellent, stilgar. Feel free to host it. If you want to post back with a link, I’ll link to it in this post.

  119. 119

    robs (1 comments) - February 1st, 2006

    This plugin change the page wp-admin/edit.php; it insert in the layout some new functionality (show category , etc…).

    But it replace all the file or insert in the original file this new functionality?

    For example if I want only remove the original functionality ‘Show Month’ what is the minimal code for to do this?

    This because I want in the menu Write>Post (post.php) remove some functionality in the right box; I want to have only 2 links; thanks

  120. 120

    bearded (1 comments) - February 2nd, 2006

    Will you please give some tips for a little modification in Enhanced View. It is nice the Month wise selection, but I need date wise. Can suggest some additional code in your script?

  121. 121

    stilgar (2 comments) - February 16th, 2006

    Sorry for the delay, so many things need to be done at the same time… But here it is: http://mvdkwast.free.fr/stilglog/index.php/wordpress-plugins/enhanced-post-views/

    This version makes the enhanced views plugin work with WordPress 2.0. I also made some small modifications so it can be extended using plugins.

    Kevin: The version I sent to you had some problems with Internet Explorer. They are fixed now.

  122. 122

    Brendan Loy (4 comments) - March 9th, 2006

    I’m running WP 1.5.2 and am having the same problem as the people above who said that an earlier verison of your plugin simply wasn’t doing or displaying anything at all — it’s activated, but I still get the regular edit interface. I read every comment above, I tried eliminating apostrophes from my category names, but I can’t figure out what to do and it’s still not working. Any ideas?

  123. 123

    Brendan Loy (4 comments) - March 9th, 2006

    P.S. I am using version 0.4 of your plugin, and Safari 2.0.3.

  124. 124

    Brendan Loy (4 comments) - March 9th, 2006

    I’m running WP 1.5.2 and am having the same problem as the people above who said that an earlier verison of your plugin simply wasn’t doing or displaying anything at all — it’s activated, but I still get the regular edit interface. I read every comment above, I tried eliminating apostrophes from my category names, but I can’t figure out what to do and it’s still not working. I am using version 0.4 of your plugin, and the problem exists in both Safari 2.0.3 and Firefox 1.5.0.1.

  125. 125

    Brendan Loy (4 comments) - March 9th, 2006

    P.S. Please e-mail bloy[at]nd.edu instead of the above address if you want to respond my e-mail. My brendanloy.com addresses are being a bit wonky right now.

  126. 126

    Brian Bonner (1 comments) - May 24th, 2006

    Strange, since moving to a new host, the plug-in no longer works. It doesn’t display the new boxes like it is supposed to do, and when I do a search I get:

    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 '-1' at line 19] SELECT posts.*, CASE WHEN posts.posttitle REGEXP ‘china’ THEN 1 ELSE 0 END AS keywordintitle, MATCH ( posts.posttitle, posts.postcontent ) AGAINST ( ‘china’ ) AS mysqlscore FROM wpposts as posts WHERE posts.postdategmt <= ’2006-05-24 19:16:00′ AND ( posts.postpassword = ” ) AND ( posts.poststatus = ‘static’ OR posts.poststatus = ‘publish’ ) AND ( posts.posttitle REGEXP ‘china’ OR posts.postcontent REGEXP ‘china’ ) ORDER BY keywordintitle DESC, mysqlscore DESC, posts.postdate DESC LIMIT 0, -1

    WordPress 2.0.2

  127. 127

    Alan T (1 comments) - June 16th, 2006

    i can’t get to your wp2.0 patched version, but i managed to patch it myself enough to work, so for other visitors:

    find “function EVdropdownauthors(“, modify the $users line in there to:

    $users = $wpdb->getresults( “SELECT * FROM $wpdb->users ORDER BY usernicename”);

    notice nicEname. a few lines later you need to change nicKname to nicEname again in the line starting $return_string

    that’s enough to work, though with some display oddities. I’ve also find in safari that you get text fields that are meant to be invisible. search for “type = “hidden”" and add extra lines like this:

    hiddenAuthor.type = "hidden";
    hiddenAuthor.style.display = "none"; // extra line
    

    i’ve only done it on “hiddenAuthor” and “hiddenCat”

  128. 128

    Andreas (1 comments) - June 27th, 2006

    Hi, sorry to post a comment to this posting, but the plugin-page for Customizable Post Listings doesn’t exist anymore.

    I’m very interested in your modification to exclude one category from the post listing. Could you please send me your modification or give me a link where I can download this?

    Thank you very much

    kind regards from Vienna

    Andreas.

  129. 129

    Brandon Moreno (1 comments) - October 3rd, 2006

    I agree with AlanT. It is a VERY simple fix. Simply replace all instances of “nickname” with “nicename” (Why they changed this I’ll never know… bug?) and everything seems to work. Yes, there are some weird display oddities, but they are minor and the increased functionality is completely worth it.

Leave a Reply

Comments links could be nofollow free.