[resolved] Show Registration Date in User List - Sortable (7 posts)

  1. Code here: http://pastebin.com/EUs5kugU

    Basically what I want it to do is:

    1) Show the DATE someone registered in the users menu (check)
    2) Allow the column to be sortable (... kinda check)

    See, when I do that, I get the right URL and all

    Except it sorts by USER name and not the field I want it to. Small problem ;)

    Any ideas?

    I've tried both methods here:

  2. Thanks to Otto, I know what was wrong.

    Two points:

    1) You CANNOT sort by USER generated headers in the User Table because of how it draws from the database. Your plugin would have to write to the wp_users table (making new columns instead of using wp_usermeta) and EVEN THEN, the sortables are hard coded.

    2) Since 'registered' is listed for MultiSite, you can leverage that.

    Working code here: http://pastebin.com/pw4rDhTP

  3. aaron2011
    Posted 3 years ago #

    worked for me, thanks a lot, exactly what i needed, !
    thanks, Ipstenu
    Half-Elf Support Rogue & Mod

  4. aaron2011
    Posted 3 years ago #

    when i active it i got the following PHP error: 9both front and WP back end)

    Warning: Cannot modify header information - headers already sent by (output started at /home/thebencompl/public_html/wp-content/plugins/Show-Registration-Date.php:1) in /home/thebencompl/public_html/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 78

    still does what i need it to ...... i activate it and deactivate it when i have to ...

  5. Jaudrey
    Posted 3 years ago #

    Hi, Would you know if there is a plugin that creates a table that will allow end users to fill in cells in that table, (similar to a form), but that would write to a database when submitted? (not a table that I make up myself in admin)?

    Or is there a plugin that is close to that idea that could be expanded upon, like a petition plugin?

    Hope this is alright to post here.
    [sig removed]

  6. Jaudrey - Make a new topic for yourself :D

Topic Closed

This topic has been closed to new replies.

About this Topic