I rewrote blog.module to become a container, something like book outlines. In these files, there no longer is a blog type node.
With a checkbox (see screenshot) users with the correct permissions can add any node to their blog.
Feel free to try, also feel free to improve these files, just mail me if you commit changes.

Please see my sandbox for a complete module and its files: http://cvs.drupal.org/viewcvs/drupal/contributions/sandbox/ber/blog/

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Junyor’s picture

Is there a upgrade path for users currently using blog.module?

Bèr Kessels’s picture

yes, look at the url pointing to my sandbox. ;)

Junyor’s picture

Cool, I'll try to check it out this weekend.

Bèr Kessels’s picture

severe update again, not yet committed.

I need your opinion on this. PLease read on and comment.

What I did now is make this a true "blog anything" system. Whyle the previous (above attached) patch changes the system drastically, it still only allows you to add items to your blog where you are the author!

What I did now, is change the behaviour, so that you can blog anything you can see. If you read something, and its not yet in your blog, you can hit a "blog this" link, et voila, its in your blog.

However, this might sound cool, but it comes dangerously close to a bookmark system. So i would like to know if this change is feaible according to you. If so, I will submit the changes, if not, I will keep them private.

Junyor’s picture

Generally speaking, I like it. It was easy and fairly intuitive to add an image node to my blog.

Comments:

1) In the update script, isn't the UPDATE query backwards, i.e. shouldn't all blog nodes be turning into story nodes and not the other way around?
2) Should you be able to put a node in two (or more) blogs? Right now, if a user has a node in his/her blog and another user goes into admin > content, the "Add to blog" check box is already checked. I'd like to have the ability for two users to put the same node in their blog if users will be able to put nodes they didn't author into their blog. Admittedly, that may cause more trouble than it's worth.

Anonymous’s picture

your #2 is covered in my latest comment. #1 is indeed a bug. I will solve that asap.

Junyor’s picture

Well, I guess it's a +1 from me on the functionality.

However, if that functionality doesn't go in, the current "Blog this" UI needs to be changed, as it's a bit confusing. You shouldn't see the check box if you didn't author the node.

Bèr Kessels’s picture

FileSize
17.53 KB

This is a new patch, with some updates and brought back in sync with HEAD

Bèr Kessels’s picture

FileSize
33.88 KB

And here is "how it all looks"

Junyor’s picture

We're going to get into interesting grammatical situations with the byline. Maybe just do something like this: "appears in the follow users' blogs: User A, User B, and another user." What is the "other user" for, BTW?

Bèr Kessels’s picture

"ther users" are there when a lot of users have it in their blogs. MAybe, in some future, that would be a link to a list of users that have that node marked as "in their blog".

Please give grammatical (and localisable!!) suggestions for the following three situations:
* only one user has it marked as "in his blog"
* two to X (hardcoded as four ATM) have it marked as "in their blog"
* four or more users have it have it marked as "in their blog"

Ber

Bèr Kessels’s picture

"ther users" are there when a lot of users have it in their blogs. MAybe, in some future, that would be a link to a list of users that have that node marked as "in their blog".

Please give grammatical (and localisable!!) suggestions for the following three situations:
* only one user has it marked as "in his blog"
* two to X (hardcoded as four ATM) have it marked as "in their blog"
* four or more users have it have it marked as "in their blog"

Ber

Junyor’s picture

I haven't done any localization work, so I can't provide any help there. For English, the following should work:

> * only one user has it marked as "in his blog"

"Blog: User A"

or

"Appears in the following user's blog: User A"

> * two to X (hardcoded as four ATM) have it marked as "in their blog"

"Blogs: User A and User B"
"Blogs: User A, User B, and User C"

or

"Appears in the following users' blogs: User A and User B"
"Appears in the following users' blogs: User A, User B, and User C"

> * four or more users have it have it marked as "in their blog"

I'm not really sure about this one. Should blogs have weights? Then, the lightest could be at the beginning of a list that trails off to ellipses. We could potentially used a collapsed element, as well.

Bèr Kessels’s picture

the last, -lots of users- is a bit of a prombem. ATM it is not at all weighted, but I have plans for sorting it by user actvity, meaning last active user floats to the top.

Note that in normal sitaions this lots-of-users will rearely occur, for only users who can edit a node can set it as "in their blog". Normally spoken, one can only edit his/her own nodes.

Bèr Kessels’s picture

the last, -lots of users- is a bit of a prombem. ATM it is not at all weighted, but I have plans for sorting it by user actvity, meaning last active user floats to the top.

Note that in normal situions this lots-of-users will rearely occur, for only users who can edit a node can set it as "in their blog". Normally spoken, one can only edit his/her own nodes.

ricabrantes’s picture

Version: x.y.z » 7.x-dev
Status: Active » Closed (fixed)

bump

ricabrantes’s picture

Status: Closed (fixed) » Active
sun’s picture

Version: 7.x-dev » 4.7.0
Status: Active » Closed (won't fix)

Wild-guessing the version this was coded against.