WordPress.org

Ready to get started?Download WordPress

Forums

[ANN] Enhanced Views plugin (27 posts)

  1. ColdForged
    Member
    Posted 9 years ago #

    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 that include increased functionality, including:

    * Paging through posts with easy-to-use Next and Previous page links as well as links to individual page numbers.
    * Easily selectable number of posts per page.
    * Browsing by Category, Author, and Date.
    * Sorting by selectable columns.

    This version is an alpha version which does not replace the Pages functionality. That functionality will come in a follow-on release. If you want it, go get it.

  2. logista
    Member
    Posted 9 years ago #

    Woo hoo! Testing it already ;)

    erm... when I push "Next Page" or the page number, I get shunted to the Dashboard page.

    But "Browse by Category" works!

  3. ColdForged
    Member
    Posted 9 years ago #

    Which WordPress version are you on? And what does the URL for the link for "Next Page" look like when it doesn't work?

  4. logista
    Member
    Posted 9 years ago #

    I'm using 1.5 on a local install. The relevant part of the link is this:

    /wp-admin/edit.php?paged=3&showpostsoverride=15&orderby=date&order=DESC

  5. ColdForged
    Member
    Posted 9 years ago #

    Weird, looks fine. And that takes you to the dashboard? Does that URL stay in the address box?

  6. lawtai
    Member
    Posted 9 years ago #

    I just tried it out and I get the following errors at the bottom of my magage posts page.

    Warning: ev_posts_display(/home/lawtai/domains/taibros.net/public_html/wp-content/wp-config.php): failed to open stream: No such file or directory in /home/lawtai/domains/taibros.net/public_html/wp-content/plugins/enhanced-views/enhanced-views.php on line 296

    Fatal error: ev_posts_display(): Failed opening required '/home/lawtai/domains/taibros.net/public_html/wp-content/wp-config.php' (include_path='.:/usr/local/lib/php') in /home/lawtai/domains/taibros.net/public_html/wp-content/plugins/enhanced-views/enhanced-views.php on line 296

    I'm using Strayhorn and haven't made changes to core WP files.

  7. ColdForged
    Member
    Posted 9 years ago #

    Re-read the installation directions... you've installed the files in the wrong place.

  8. lawtai
    Member
    Posted 9 years ago #

    heh oops. Thanks!

  9. logista
    Member
    Posted 9 years ago #

    Does that URL stay in the address box?

    No, the URL doesn't stick. I even cut/pasted it to the address bar and it went to the Dashboard.

    Ah, but I have another clue: when I checked in Safari (I normally use Firefox), it worked ok.

    It *sounds* like the query is going in FF -- I hear some disk access noises -- just when it gets the result I get pushed back to the main Dashboard page.

    I checked also the "Paged Comment Editing" plug-in, and that works like I expected it to (Next Page = moving to the next page of comments).

  10. salparadi
    Member
    Posted 9 years ago #

    works perfectly for me. would it make sense to add a button to "show all" again rather than having to change all dropdowns back to the default?

    thanks for all your hardwork, this is a very useful function i've been looking for since i started using wordpress.

  11. ColdForged
    Member
    Posted 9 years ago #

    would it make sense to add a button to "show all" again rather than having to change all dropdowns back to the default?

    Yes, actually it would. Good suggestion, I'll revamp the dropdown usage for the next release.

    No, the URL doesn't stick. I even cut/pasted it to the address bar and it went to the Dashboard.

    Let's try something. Disable the plugin and go to the Manage Posts page. In the URL following "edit.php" put in "?paged=2" and press return. Where does that send you? If it sends you to the Dashboard, then that's what you've got to figure out... I use that same mechanism -- which should work -- in the plugin.

  12. logista
    Member
    Posted 9 years ago #

    Disable the plugin and go to the Manage Posts page. In the URL following "edit.php" put in "?paged=2" and press return. Where does that send you?

    Ok. I first checked that it was still not working. Then I disabled the plugin, added the ?paged=2 and got the next 15 posts.

    So then I re-loaded the plugin, and put ?paged=2 explicitly in the URL, and it worked. So then I pushed the link href and it didn't work...

    (some time passes)

    And THEN I looked at the front part of the URL after copying it. I'm working on a local install, remember? My path includes ~ -- but the Linked URL replaces the ~ with %7E

    It didn't show on the Status Bar of FF, but it did show when I copied/pasted the link.

    Ah ha!

  13. shadow
    Member
    Posted 9 years ago #

    I have it activated in the plugins, added the two other files to wp-content/enhanced-views but nothing new is showing in 'Manage'.

    Not sure what I am doing wrong?

  14. ColdForged
    Member
    Posted 9 years ago #

    shadow, make sure you have Javascript enabled.

  15. Lorelle
    Member
    Posted 9 years ago #

    ColdForged, you are AMAZING. Actually, I'd use a lot more adjectives before that, but they would all use a 4-letter prefix because I have no words for how incredible this plugin is. I'm still dancing!

    Now, I did run the latest version of One Click Install four times to install Enhanced View and every time it said it installed but the Plugin panel didn't find it, and I dug everywhere around my site and could find no file with that name, and yet One Click said it was installed and showed the file header information. Very strange. It even uninstalled it with the One Click Remove. But I hunted everywhere.

    Finally did the amazingly simple install with the two little graphic files, and it works like a dream. I'll be test driving it until it has callouses on it.

    Magic. Pure Magic. I honestly think this should be in the default install. Brilliant!

    Thankyouthankyouthankyouthankyouthankyouuuuuuuuuuuuuuuu

    Later
    It's not your plugin. I just updated three other plugins and none of those updates are showing up. It's the One Click Manager...I'll check there. Thanks!

  16. vkaryl
    Member
    Posted 9 years ago #

    Gonna try this tomorrow. Too late to start messin' tonight. Believe me everyone, there is truly NO REASON to use the "manager" - plugins etc. are super simple without....

  17. ColdForged
    Member
    Posted 9 years ago #

    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.

  18. philpeeps
    Member
    Posted 9 years ago #

    That would be perfect. A plugin to me is just adding files and activating, not dictating where the plugins have to be installed or even how many files have to be installed. The key thing is that core code is not changed. If you can do that, GO FOR IT! :)

  19. vkaryl
    Member
    Posted 9 years ago #

    Ditto philpeeps. I rather abhor js.... I will use it if it provides a particular functionality I can't get any other way, but if you can do this without it, PLEASE do so!

  20. logista
    Member
    Posted 9 years ago #

    Me three!

  21. lbessant

    Posted 9 years ago #

    Must have missed this when it was announced. Installed[1], activated, works nicely. Any enhancements would be gratefully accepted, and I'd be quite happy with files going in wp-admin.

    Nice work, really is an improvement to the interface. Thanks :-)

    [1] Small suggestion: have the images directory going in "plugins" rather than in "wp-content". I think this is tidier and makes it easier to keep track of where the support files for plugins live. It also makes it easier to extract the files from a zip into a folder whose contents can be uploaded in one operation.

  22. ColdForged
    Member
    Posted 9 years ago #

    have the images directory going in "plugins" rather than in "wp-content".

    I agree in spirit, but if I want to be One-Click install compatible with the WPPM this is the way it is.

    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? ;)

  23. vkaryl
    Member
    Posted 9 years ago #

    Thanks for the update. Just getting ready to mess with it now, I'll take it with the js and hope it gets sorted without it later. Thanks CF- you're a prince!

  24. vkaryl
    Member
    Posted 9 years ago #

    And that was probably the slickest install I ever did anywhere. Works first time OOB without one hitch, glitch, or idiocy. Thanks again!

  25. ColdForged
    Member
    Posted 9 years ago #

    Awesome news, that's what I like to hear on the weekend :).

  26. dandre
    Member
    Posted 9 years ago #

    Has anyone set up something like this plugin for use on the main page? I'm setting up a collaborative blog and I'd like viewers to be able to search by author and category simulataneously. The hack I'm using at the moment is just to include the authors as categories, but that only allows searching either for author or category.

    Is there a better way to search by author that's already out there?

    Thanks,

    =D

  27. Orin
    Member
    Posted 8 years ago #

    Anyone looking for this plugin should now refer to this page:

    http://dev.wp-plugins.org/browser/enhanced-views/trunk/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.