Posted by shadow2man on April 25, 2008 at 7:44am
Jump to:
| Project: | Shoutbox |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Issue Summary
Hi and thanks for the module ;)
I would like to ask you if there any chance to add time to shouts?
EXAMPLE: [12:05]Mark: Hello
And my other question is, how to make option to click on users who talk in shoutbox and the link leading to user profile?
THANKS and sorry for bad English :)
Greetings
Comments
#1
The time is there, but hidden. Just move the mouse cursor over one of the shouts and a message bubble will appear with the date and time of the post.
#2
shadow2man: does the mouse hover-over solution suggested by Axlen suit your needs? Or would you still like it to be displayed in the shoutbox itself?
Please open a second feature request for your other query.
Cheers,
Stella
#3
Sorry but i need to be exactly before or after username. Its simple and there is no need to check every msg when is send ;) Thanks ;)
#4
Deferred to next release
#5
This would be helpful :-)
#6
I would also prefer to have a simple date/time after the name (able to be activated/deactivated in settings):
e.g. username [31.12, 07:33]
I guess it would be useful, if the date is adjustable to the country. or like in Views with PHP-Code.
thanks, mike
#7
And for 6.x make that option please
#8
Yes that would be very nice! Just a simple time and date next to the username
#9
For people who are lazy like me to do it the proper way, and can't wait for the feature or do it themselves:
in shoutbox.module on line 329
change:
return "<div class=\" $shout_classes \" title=\"$title\">$img_links<b>$shout->url</b>: $shout->shout</div>\n";to
return "<div class=\" $shout_classes \" title=\"$title\">$img_links" .format_date($shout->created, 'custom', 'H:i') . ' ' . "<b>$shout->url</b>: $shout->shout</div>\n";
(edit: that's in 24-hour time notation though; for 12-hour notation change 'H:i' to 'h:i', refer to the 'Time' section on http://ca3.php.net/manual/en/function.date.php for additional formatting tags)