Giter Site home page Giter Site logo

codepress / admin-columns Goto Github PK

View Code? Open in Web Editor NEW
67.0 10.0 26.0 27.73 MB

Admin Columns allows you to manage and organize columns in the posts, users, comments, and media lists tables in the WordPress admin panel. Transform the WordPress admin screens into beautiful, clear overviews.

Home Page: http://www.admincolumns.com

License: GNU General Public License v3.0

PHP 60.19% JavaScript 18.29% Shell 0.07% TypeScript 9.62% SCSS 8.98% Nunjucks 0.07% Svelte 2.70% CSS 0.08%
php wordpress wp-admin columns

admin-columns's People

Contributors

davidmosterd avatar dgstefan avatar engelen avatar fmarier avatar matzeeable avatar pedro-mendonca avatar tobiasschutter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

admin-columns's Issues

Slider

Sometimes setting the width with the slider can become a bit annoying when you’re aiming for a specific value (e.g 16). If we had a textfield along with the slider it would make things more easier for people with shaky hands

[v2.01] Problems With "Before" and "After" Fields Stripping Out Code

I just upgraded to v2.01.

I have some custom columns set up. One of these is set to display a thumbnail for the post which is NOT in the media library. It uses a custom Wordpress field which contains the name of the image (e.g. image.jpg)

In the earlier version, I added this code in the "Before" box to reference and style the image:

<img class="attachment-80x80 wp-post-image" width="80" height="60" src="http://www.dev.sitename.com/images/

and in the "After" box, I had: ">

So, when Admin Columns inserted my custom field, the output displayed the image thumbnail perfectly.

However, in v2.01, after adding the "Before" and "After" code and saving it, my code is removed and replaced by:

Before box -> <img class=\\

After box -> \\

Any ideas?

Thanks,

Chris

CAC2.0.0 WP3.6 New Activation Errors

Installed CAC 2.0.0 nightly with the three v0.1 addons in a fresh WP3.6 site - installation is smooth, operation is not. Presented here with the following repeating errors:

Warning: include_once(/home/site/public_html/site.com/wp-content/plugins/codepress-admin-columns-master/classes/column/link) [function.include-once]: failed to open stream: Success in /home/site/public_html/site.com/wp-content/plugins/codepress-admin-columns-master/classes/storage_model.php on line 331

Warning: include_once() [function.include]: Failed opening '/home/site/public_html/site.com/wp-content/plugins/codepress-admin-columns-master/classes/column/link' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/site/public_html/site.com/wp-content/plugins/codepress-admin-columns-master/classes/storage_model.php on line 331

Screenshot:

CAC WP3.6 Error

Not sure if this is a plugin conflict or not yet.

Add counter column

New Field Type (for Custom Fields mainly) called counter, which count how many elements are set for the given post meta.
For instance, I use the tag custom field 3 times : in the table view, I would get ‘3’ rather than the list of the 3 values.

Date conversion impossible - max execution time

We have a postmeta for our custom post type that's filled with either a timestamp or an empty string.

When we want it to be converted by Admin Columns the script reaches its maximum execution time. Using the plain value is fine. Conversion not.

Problem with "Quick Edit"

Hello, after using "Quick edit", custom columns disappear and the edited row reverts back to the original WP admin table layout.

Admin Columns menu appears after refresh

Hi. After installing the plugin, a new menu item appears under the "Settings" button, but it appears empty, without any text or image. After refreshing the admin, the new item have now the normal content "Admin columns" name and icon. Any ideas about this?

PHP Warnings when performing WordPress AJAX requests

Hi, I love your plugin but I believe I found a bug with the latest version.

When making an AJAX request in WordPress ( following the method recommended in the codex at http://codex.wordpress.org/AJAX_in_Plugins ) as a logged out user I'm seeing PHP warnings in the output.

Warning: array_merge(): Argument #2 is not an array in /Applications/MAMP/htdocs/gm-newsroom/wp-content/plugins/codepress-admin-columns/classes/storage_model/post.php on line 97

Warning: array_filter() expects parameter 1 to be array, null given in /Applications/MAMP/htdocs/gm-newsroom/wp-content/plugins/codepress-admin-columns/classes/storage_model/post.php on line 97

Warning: Invalid argument supplied for foreach() in /Applications/MAMP/htdocs/gm-newsroom/wp-content/plugins/codepress-admin-columns/classes/storage_model.php on line 290

I believe this is because you are initializing the plugin in the admin and performing queries that assume the user is logged in. However during an AJAX request is_admin always returns true ( even on the front end ) but the user may not logged in. I could be wrong about that - just my two cents.

I've applied a temporary patch which works for my needs but may have some unintended consequences that I am not aware of.

if( defined('DOING_AJAX') && DOING_AJAX ) return false;

I've placed this at the top of the init method in your main plugin file.

Conflict with another Plugin!! BUG MyMail Newsletter Plugin Conflict

Hi, When I have your plugin active with another plugin (MyMail Newsletter Plugin), and I try to duplicate a newsletters from the "List Post Screen" I receive an error from my browser and my server log is:

[Mon Sep 16 14:36:18 2013] [warn] [client 187.11.153.189] mod_fcgid: stderr: PHP Fatal error: Call to undefined function _get_list_table() in /var/www/vhosts/piaget.g12.br/httpdocs/wp-content/plugins/codepress-admin-columns/classes/storage_model/post.php on line 94, referer: http://www.piaget.g12.br/wp-admin/edit.php?post_type=newsletter

I have the latest version of you plugin and also the Sort Order Addon.

Any clue?? Thanks!

Output Buffering Fails

Codepress admin columns causing output buffering error:

Fatal error: ob_end_flush() [ref.outcontrol]: Cannot use output buffering in output buffering display handlers in /home/sitename/public_html/wp-includes/functions.php on line 2736

Unclosed link breaks plugin

Whenever a "tab" in the in the Admin Columns page (for example Author) is clicked the browser sends the user to the plugin homepage (http://www.codepresshq.com/wordpress-plugins/admin-columns/).

When examining the source there seem to be an unclosed tag before

...

Have tried with v 3.6.1 - 3.7.1 of wordpress and v 2.0.3 - 2.1.0 of Admin Columns.

This problem basically makes the plugin unsuable. Se screenshot:

admin-columns-bug

Sorting reset from settings screen

Sometimes the server can run out of memory when sorting huge amount of records. To prevent a whitescreen, the user should be able to reset sorting at any time. Solution: Add reset sorting buttin to the settings screen of admin columns.

admin_notice appear under h2 with a delay

Probably because of the time the DOM takes to fill.
jQuery('div.updated, div.error').not('.below-h2, .inline').insertAfter( jQuery('div.wrap h2:first') );
is run by WP to place it under the h2.

Undefined variable in pro addon filter module

Hi, just purchased & installed admin columns pro-addon in my site.

So I turned filtering for several columns and for each filter element in the current admin page shows an "undefined variable error in line 109 in file cac-addon-pro/classes/filtering/classes/model.php. I look it and that undefined variable is $name. Because it gets used before defining it the line after:

$current = isset( $_GET['cpac_filter'] ) && isset( $_GET['cpac_filter'][ $name ] ) ? $_GET['cpac_filter'][ $name ] : '';

$name           = $column->properties->name;
$view_all_label = $column->options->label;

If I put the definition before the error dissapears.

PD. Maybe you have to enable WP_DEBUG to see the error, I'm not sure about that.

Thanks.

Serial input field missing

Pro version missing serial upload after activation.
Plugin shows up in 'Plugins' but not in 'Settings'

Copied folder to plugins via FTP.
Also tried to upload zip file directly through WordPress admin.
Both same outcome.

Add sort and/or filter by custom taxonomy?

I would love to be able to sort by my custom taxonomy columns like we can already do with the default categories and tags. Is this possible? I know there are tons of tutorials on how to do this out there and expected it would already be included in the Pro version, which I'm loving otherwise. It's a bummer to have to hand-code just those bits when everything else works so seamlessly.

Thanks!

Filtering char length

The issue I am having is that the filter drop down lists do not show everything it should. Before the update, everything worked fine. It seems that the newest version drops anything that is over 26 characters in length from the list, thus making the filtering drop downs incomplete.

Language Translation

Hi, would like to translate into Portuguese-Brazil, but can not find some Frond End strings like:

  • All
  • Empty
  • Not Empty
  • Reset Sorting

Could you have a look and add it please??

Have a look at the image attached!!

Thanks!!!
language-translate

Sort by user_meta in Multisite (patch included)

When runing a multisite installation the plugins does not return any results when tryng to sort users by a user_meta value. This is a bug in the Codepress Admin Columns Pro add-on.

In Wordpress, user meta is stored in the wp_users table and not in wp_xx_users table. On line 206 and 207 of the file cac-addon-pro\classes\sortable\classes\user.php:

$wpdb->prefix should be changed to $wpdb->base_prefix

Patch:

Replace line 206 and 207 with
$user_query->query_where .= " AND {$wpdb->base_prefix}users.ID IN ({$column_names})";
$user_query->query_orderby = "ORDER BY FIELD({$wpdb->base_prefix}users.ID,{$column_names})";

Taxonomy support for Media

Add taxonomy column support for Media (attachment object) and make them sort.

register_taxonomy_for_object_type( 'post_tag', 'attachment' )

reference: transmitstudio

Filter Taxonomy Drop-down enhancement

It would be great if there was a selection in the filter drop-down list that let you filter by items that have yet to be assigned a category.

I hope that makes sense

Great plugin

J

Sorting by hidden custom field (ex: _wpcf_belongs_app_id) returns no posts

I've purchased the pro add on and am attempting to add a column for my custom field "_wpcf_belongs_app_id" as well as the ability to sort it. When viewing the posts list and clicking "sort" for that column, no posts return.
image

Prior to selecting sort for this column.
image

After sort is selected for this column:
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.