Closed (fixed)
Project:
Buddylist
Version:
master
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Dec 2006 at 17:34 UTC
Updated:
16 Jan 2007 at 16:16 UTC
Jump to comment: Most recent file
A simple block that by default displays user name, total buddy count, pending count, and requested count (as links to buddylist pages). The block is themeable and can be renamed in the setttings just like the other two blocks currently defined.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | buddyblock.png | 4.11 KB | dldege |
| status_block.patch | 3.41 KB | dldege |
Comments
Comment #1
dldege commentedScreenshot of default block output (Zen Theme)
Comment #2
jbhan commentedwill this work in 4.7?
Comment #3
dldege commentedThe block code itself should work but the way settings are handled in 4.7 is different then in 5.0. So, you would not be able to apply this patch directly but you could take the block code and the theme_buddylist_status_block() code and retro fit that into the 4.7 module code base.
Comment #4
fagothanks for your contribution :)
for the future please make sure to meet the drupal coding standards, e.g. insert a space after a comma and use readable variable names. then only use official buddylist terminology everywhere.
I've gone through your path and committed it, I've also committed a backport to 4.7
further the block will only appear if the approval is required.
Comment #5
dldege commentedCool and thanks.
I'll take a look at the code guidelines for future contributions.
Comment #6
(not verified) commented