[drupal-devel] [feature] New block to show info on page author

syscrusher drupal-devel at drupal.org
Thu Apr 7 16:15:42 UTC 2005


Issue status update for http://drupal.org/node/20115

 Project:      Drupal
 Version:      cvs
 Component:    user.module
 Category:     feature requests
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  nedjo
 Updated by:   syscrusher
 Status:       patch

I haven't had time to try the patch yet (though I will try to do so as
time permits), but +1 on the concept. This would be really useful to me
on one of my main sites. Giving more visible credit to contributors is
IMO a Very Good Thing, because it subtly encourages more such
contributions.

Just one question: Would it be feasible to implement this as a module
that hooks the block, user, and node APIs, rather than as a patch to
user.module? It would decouple the code, keep user.module smaller and
easier to maintain, and eliminate the need to persuade the core team to
accept this into core.

Thanks for a great idea, and I look forward to trying out the code
soon.

Scott ("syscrusher")


syscrusher



Previous comments:
------------------------------------------------------------------------

April 7, 2005 - 00:34 : nedjo

Attachment: http://drupal.org/files/issues/user_content_author_block.patch (2.62 KB)

It would be nice to have a quick way to display information about page
author/posters.  The attached patch creates a new 'Author info' block
for the user module, which (if enabled) displays only when a node is
being viewed, showing the user name (as block title), picture,
signature, a list of up to four recent posts (plus 'more' link, if
tracker module is enabled, and user has posted more than four times)
and link to contact author (if contact module is enabled and user is
set to accept contacts).  The general idea: get a feel for the author
at a glance, without having to load the full user page.


------------------------------------------------------------------------

April 7, 2005 - 10:08 : samo

I really like this.  Thank you!





More information about the drupal-devel mailing list