A history for the shouts would be very nice.. some of my pageusers ask for it.. :)
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | shoutbox_5x_217649.patch | 5.52 KB | stella |
| #6 | shoutbox_5x_217649.patch | 7.36 KB | stella |
| #6 | shoutbox_6x_217649.patch | 5.46 KB | stella |
A history for the shouts would be very nice.. some of my pageusers ask for it.. :)
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | shoutbox_5x_217649.patch | 5.52 KB | stella |
| #6 | shoutbox_5x_217649.patch | 7.36 KB | stella |
| #6 | shoutbox_6x_217649.patch | 5.46 KB | stella |
Comments
Comment #1
illepic commentedYes, this is something I would to see in the future as well :)
Comment #2
michellepurestock commentedYes we would like that as well. Our users are asking for this as well.
purestock.tv
Comment #3
disterics commentedIs this different from having shouts that do not expire?
Comment #4
giorgoskDisterics
Yes it is
The module does not have yet a page to display OLD shouts
----------------------------------------
Here is a quick and dirty hack if anyone is interested
until maintainer decides to include such a feature
(it is badly needed)
It is for the Drupal 6 version but I suppose with a little tweaking it can work for the D5
all following code goes in shoutbox.module
add in shoutbox_menu() right before
return $items;
Add this function
(its a slightly modification version of _shoutbox_block_view)
add this line in function _shoutbox_block_view() right before
return theme('shoutbox_page', $output, $title);
Comment #5
stella commentedComment #6
stella commentedTry one of the attached patches. They're based on GiorgosK's example above but with paging capabilities and a few corrections.
Cheers,
Stella
Comment #7
michellepurestock commentedHello. Thank you for the patch.
I tried the one for 5x and I get a parse error T_FUNCTION in line 46.
Comment #8
stella commentedI can't reproduce this though it's possible the patch didn't apply cleanly or was corrupted, so I've recreated it and attached it here.
Cheers,
Stella
Comment #9
disterics commentedCode for both 5.x and 6.x is in CVS.
Comment #10
snsace commentedI am also trying to add the view history to 5.x 1.1 but this patch results
in failed messages for me. I looked in CVS but not sure what I am doing in CVS.
Until a new stable release is released, I just want to add the view history feature.
Comment #11
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.