wp-logging icon indicating copy to clipboard operation
wp-logging copied to clipboard

Add Proper Admin UI

Open curtismchale opened this issue 12 years ago • 8 comments

I wanted to check here first since I'm not sure if you want to keep an Admin UI as something for your premium subscribers ( based on this post ).

Could I add an admin UI and push it back upstream?

curtismchale avatar Jan 04 '13 06:01 curtismchale

I'm not interested in making a UI and keeping it only for my subscribers. That tutorial just happened to build a UI :)

I'm not quite sure how to do the UI. If it is included in the class, it needs to be generic enough to work with all log types / applications.

What about building a sample UI that can be loaded but can also be turned off?

pippinsplugins avatar Jan 04 '13 15:01 pippinsplugins

Alright, I just don't want to step on toes for member stuff and others business.

I suppose there are two options that I see.

  1. Put it right inside the logging class and allow a filter to toggle it.
  2. Own class own file. Then you'd include it if you wanted it.

I'd think the second option allows the most flexibility all around. If you want to change the UI just extend the class. That also allows the base logging class to just deal with logging.

I'm not sure, so I ask, would you think that leveraging wp_list_table is the way to go or just build something from scratch.

curtismchale avatar Jan 04 '13 16:01 curtismchale

A separate class sounds like the way to go to me. I could even see the UI getting placed into a plugin hosted on .org so people can simply activate and play if they want.

I would use WP_List_Table. If you'd like, I'd be happy to send you the sample UI I built for the Search tutorial.

pippinsplugins avatar Jan 04 '13 16:01 pippinsplugins

I'd love to see the UI you started.

curtismchale avatar Jan 04 '13 18:01 curtismchale

Here you go: http://pippinsplugins.com/wp-content/plugins/download-monitor/download.php?id=51

pippinsplugins avatar Jan 07 '13 03:01 pippinsplugins

Got it, thanks.

curtismchale avatar Jan 08 '13 03:01 curtismchale

@curtismchale you can check https://github.com/WebDevStudios/WDS-Log-Post

ravinderk avatar Mar 08 '16 03:03 ravinderk

@pippinsplugins hey mate, do you mind reuploading the file, is that possible please? :)

Basilakis avatar Jul 01 '16 17:07 Basilakis