Closed (outdated)
Project:
Shoutbox
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2010 at 13:35 UTC
Updated:
18 Mar 2016 at 11:11 UTC
Jump to comment: Most recent
Comments
Comment #1
mstef commentedSmiles: Look for the Smileys module. That'll do it..
I'll have to think about putting the shouts inside a scrollable div. You can set the number of shouts you want the block to display via the admin UI. Then if you want to view more, you click on 'View all shouts'. Not sure if the scroll is necessary, and people might want it to display long...
A clear button doesn't seem like a good idea. That would be a way for an admin to instantly delete every single shout? You can set the module to delete shouts that are X days old. Seems like enough..
Comment #2
mstef commentedComment #3
madhusudan commentedThanks for the fast reply.. :-)
ok forget smileys and clear button
well, I have a scenario here..
In our intranet site at average 70 people will be logged in at any given time. so if among 70, 20 people are active in shoutbox,
and they continuously post shouts then the shout message will grow. occupying almost of the site space!. since i am placing the shoutbox block at the top(header). the rest of the content will go down,and user will feel annoying.
so if we have a scroll box then no matter whatever the max shout display limit is. it will be in that block only..
is it simple to do.. then at-least guide me how to proceed. :-)
Comment #4
mstef commentedUse CSS. Take whatever wraps the entire shoutbox block, make it something like
height: 300px;
overflow-y: auto;
If there isn't a div that wraps it well enough, override the theme functions in your theme's template.php.
Have you used Organic groups? Shoutbox comes with Shoutbox group which makes shoutbox block and pages "group-aware" so you can have separate shoutboxes for each group - automatically..
Comment #5
madhusudan commentedThanx,
that's what I was looking for.. :-)
can we make the shout text field and shout button sticky(stay at the top), while in scrolling it goes up..
yes i do use organic groups..shoutbox works great with OG.
Comment #6
mstef commentedIs there a div that wraps just the shouts?
If not, you could probably add one with using the theme functions. If not, let me know, I'll add one, or make it easier to add one yourself.
Comment #7
madhusudan commentednope, i didnt find any div for that.. but that css tweak which u gave worked out.. :-)
and one more prob in OG shouts.
if a user not a member to a group and if he clicks on the group,still the group shouts are visible,which are posted by group members, cant we make it hidden until he becomes member of that group..?
like one in the module made which doesn't allow non members to post shouts.?
Comment #8
mstef commentedi think the logic behind that decision was that if you wanted group stuff to be private, if wouldn't be a public group, thus the shoutbox wouldn't be accessible. If you don't agree, open up a new feature request, and we'll talk there.
Comment #9
madhusudan commentedstarted new issue for feature request
http://drupal.org/node/866912
Comment #10
vitalblue commented