Closed

The blogrums are now closed. If you wish to visit them on there new home then you can find it here ( InnerVisions Blogrums ).

AuthorExperimental : Playing with admin

Ok, I've decided to have a play with the dashboard because 90% of what it shows is irrelevant to me, so I've started a plugin that allows you to have dashboard widgets ( current state is hardcoded to replicate normal dashboard ++ a couple of "aware" plugins ) ..... and I'd appreciate some feedback ( cos this is gonna be a smidge of a bitch to code as it is )

Where I'm headed is :
1) User widgets per blog tab on dashboard
2) Widget settings per user per blog ( gonna be a smidge of a bitch )
3) Minimum some form of js/ajax re-ordering of widgets ( preferably a whole "drag and drop" interface, but I can't be arsed learning jquery, so nag Afwas or PersonPerson for that )
4) I'd ideally like to be able to enable any plugin that has a SkinTag() function to be used as a dashboard widget .... but I think that's a smidge "rose tinted glasses"

You can checkout the current state of play here ( Dev blog ), there's 2 users :

1) admin / 987654321 ..... I'm imaginative
2) basic / muppet

Whilst all feedback is appreciated I will just laugh at any impossible dreams

¥

ps. EdB eat yer heart out, you can only dream of making such a cool as fuck plugin :D ( although I look forward to your next valiant/hopeless attempt on ascertaining the pinnacle that reamins juuuuuuuust out of reach :D )

I may have opened the door, but you entered of your own free will
image

 
tilqicom

Posts : 3

Joined : 22/04/08 05:17 pm

Posted on : 20/05/08 07:28 pm

i would like to say eat the thing in front of you like mothers say if i wanted to be sarcastic, especially when i am writing these lines in blogrum :lalala: anywho, the idea sounded very cool, esp. Widget settings per user per blog, puppets like fiddling with preferences (: it seems all the big guys have their cards in their hands already these days.. looking for any further progress |-|

it also displays signatures

 
john
user avatar

Posts : 11

Joined : 03/03/08 10:30 pm

Posted on : 20/05/08 09:50 pm

If this results in a cleaner Admin then go for it.

Couldn't Widgets be ordered by the current "Move" up/down arrows or even numerical input boxes

Your idea for widgets being in two columns (left/right) might get a bit crowded on the one page.

Wish list... Category reordering :)

PS: Do you sleep?

it's like a blog, but it's a forum .... it's a flog!

 
¥åßßå
user avatar

Posts : 43

Location : 127.0.0.1

Joined : 03/03/08 10:38 am

Posted on : 21/05/08 06:51 am

These widgets are nothing too do with your normal skin widgets, they're purely for your dashboard. They will ( eventually ) have there own up/down arrows ( handled by js though, so no annoying waits for server post backs ) and settings for each user/blog tab that they reside on which will allow users to arrange/populate their dashboards to suit themselves.

The "two columns" is done with the separators which are kind of a container widget, you can style them however you like side by side / above each other / whatever. For now I've just tried to recreate the current dashboard layout before I move on to the whole customising code.

Wish list ..... more plugin coders ;)

I have been known to close my eyes from time to time ;)

¥

I may have opened the door, but you entered of your own free will
image

 
topanga
user avatar

Posts : 6

Location : Antwerpen, Belgium

Joined : 03/03/08 10:41 am

Posted on : 21/05/08 05:35 pm

Perhaps I will be able to alter a plugin once an example will be there
But I don't promise anything ;)

Wishlist : a dashboard per user, but the admin is able to preset a dashboard

Life can be complecated
Life can be easy
But life is allways worth living

 
¥åßßå
user avatar

Posts : 43

Location : 127.0.0.1

Joined : 03/03/08 10:38 am

Posted on : 21/05/08 05:51 pm

Hmmm, that may be a tad beyond the scope that I'm currently aiming for, but certainly a goal to head towards ;)

I've slightly changed direction and now I'm attempting to abuse the existing widget system to handle the dashboard, mainly because this enables any/all current widgets to be selected as a dashboard widget without any code changes ..... problem is that it involves a minor core hack, but it saves shedloads of coding and enables all the normal widget stuff .... guess I need go abuse cvs :(

Damn, and it really would have been the coolest plugin ever :'(

¥

I may have opened the door, but you entered of your own free will
image

 
edb

Posts : 16

Joined : 06/03/08 05:31 pm

Posted on : 23/05/08 06:03 pm

I hadn't thought of doing anything with the dashboard other than killing the spyware, but this here gives me a bit of motivation to think about it. And here's what I think: destroy the whole damned thing and put in a very basic 'site map' with a line of links for each main tab that happens to contain links to each subtab. Or maybe an unordered list for the tabs with another unordered list for the subtabs and maybe a string of links for details that might exist on a specific subtab that aren't actually subtabs. Like a quick link to installing new plugins - duh. But anyway to me it's all just pretties that I'll never use. My browser has this thing called "bookmarks" that let me go to whatever page I happen to add to the list. ;)

I totally dig on the work you did for the write page though. THAT is way cool!!! :D

Final thought: fork it. Like, if you need a core hack or ten to make something ultra-groovy just package up a 242-Foo and include your core hacks and tell people it is completely unsupported and there you go. OR create a new word that means "plugin that depends on hacks" ("placks" or "hagins" ?) and package the changed files in the typical path structure.

 
¥åßßå
user avatar

Posts : 43

Location : 127.0.0.1

Joined : 03/03/08 10:38 am

Posted on : 23/05/08 06:31 pm

It's always a joy to read your inane ramblings ;)

Here's the kicker though, you could write a plugin that showed all those links ( via SkinTag() ) and it would automatically become usable on the millions of blogs that installed your plugin ..... of course, that'd be a sub-section of the billions that installed this plugin :D

Playing with the write page is easy enough now there's (Un)FilterItemContents() ;)

Hacking the core via a plugin that works within the realms that the FG defines is far more satisfying ;)

¥

I may have opened the door, but you entered of your own free will
image

 
¥åßßå
user avatar

Posts : 43

Location : 127.0.0.1

Joined : 03/03/08 10:38 am

Posted on : 25/05/08 02:01 pm

Ok, for anyone who fancies a play with it you can find it here ( foo.zip ), I wouldn't recommend that you play with it on a production blog ;)

What it can do :
On install it'll replicate your normal dashboard with the ability to customise it to suit you ( hit the "customise" link ;) )
You can add/remove widgets from either container
You can edit settings for every widget
You can drag 'n' drop the widgets to change their order ( don't forget to press "save" ;) ) - thanks to Afwas for showing me how to use jQuery drag 'n' drop

What it can't do :
It can't copy your choices to other blogs
It can't copy your choices to other users
It can't tell if a widget can live on the global tab ( blog 0 )

Some of the above may be cured at a later date, but not today ;)

When you install you'll get a warning about it playing with your database, don't worry it'll put everything back how it was on uninstall ;)

¥

I may have opened the door, but you entered of your own free will
image

 
john
user avatar

Posts : 11

Joined : 03/03/08 10:30 pm

Posted on : 31/05/08 12:28 am

This plugin is better than sliced bread.
The Dashboard is now an information rich single destination.

it's like a blog, but it's a forum .... it's a flog!

 
¥åßßå
user avatar

Posts : 43

Location : 127.0.0.1

Joined : 03/03/08 10:38 am

Posted on : 01/06/08 08:41 am

It's not bad huh? ;)

¥

I may have opened the door, but you entered of your own free will
image