1
Lance_
Group Communication Options?
  • 2004/4/17 23:07

  • Lance_

  • Home away from home

  • Posts: 983

  • Since: 2004/1/12


hmmmm, let's see here...

I am trying to think of a way to allow a group to communicate. Mind you, these people have never used a cms or forum before. Therefore I have to gradually get them used to forums.

The method used right now is a Yahoo Groups Email service.

I am first wondering, as anyone ever seen a module that would work like Yahoo Groups for xoops?

I was then thinking of using the Notifications options for new posts in a forum. Is it possible to set a group to by default be set to receive these notifications by email without the user having to set it himself.

If anyone has any suggestions, please feel free to post them.

Thanks.

2
Lance_
Re: Group Communication Options?
  • 2004/4/23 0:13

  • Lance_

  • Home away from home

  • Posts: 983

  • Since: 2004/1/12


--Bump--

If noone minds!! lol

3
limecity
Re: Group Communication Options?
  • 2004/4/23 4:21

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


Never did cross my mind a module like tat would exist..
hmm.. so far i seen none.. as for your information

4
Dave_L
Re: Group Communication Options?
  • 2004/4/23 4:31

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Quote:
I was then thinking of using the Notifications options for new posts in a forum. Is it possible to set a group to by default be set to receive these notifications by email without the user having to set it himself.


You'd have to hack that in, but the Notifications system is very flexible, so it shouldn't be hard to do.

5
Mithrandir
Re: Group Communication Options?

Do you want users to be able to turn it off?

If so, then it's just a matter of hacking the user activation process so that it is automatically set to be notified of new forum posts.

$module_handler =& xoops_gethandler('module');
$forummodule =& $module_handler->getByDirname('newbb');
$moduleid $forummodule->getVar('mid');
$notification_handler =& xoops_gethandler('notification');
$notification_handler->subscribe('global'0'new_post'null$moduleid$user->getVar('uid'));

Stick this code in kernel/member.php
in the activateUser() function in between lines 413 and 414

so the code looks like this:
function activateUser(&$user)
    {
        if (
$user->getVar('level') != 0) {
            return 
true;
        }
        
$user->setVar('level'1);
        
$module_handler =& xoops_gethandler('module');
        
$forummodule =& $module_handler->getByDirname('newbb');
        
$moduleid $forummodule->getVar('mid');
        
$notification_handler =& xoops_gethandler('notification');
        
$notification_handler->subscribe('global'0'new_post'null$moduleid$user->getVar('uid'));
        return 
$this->_uHandler->insert($usertrue);
    }

6
Lance_
Re: Group Communication Options?
  • 2004/4/23 21:31

  • Lance_

  • Home away from home

  • Posts: 983

  • Since: 2004/1/12


Thanks for the pointers, I'll look into it.

7
Mithrandir
Re: Group Communication Options?

Keep in mind that I have not tested this - but to my knowledge, it should work.

8
phatty
Re: Group Communication Options?
  • 2004/4/23 23:27

  • phatty

  • Just popping in

  • Posts: 70

  • Since: 2004/3/9 2


Mithrandir,

how about a hack which gathers all forum posts for a day and then sends them out digest mode to those who enable that notification feature?

Doable???

Jeff

9
Mithrandir
Re: Group Communication Options?

Doable? Of course

The only problem is to have the cron job of selecting and sending the forum posts out on a specific time.

Notifications are usually done when an event occurs, but this digest is time-specific and not event-specific.

Login

Who's Online

227 user(s) are online (176 user(s) are browsing Support Forums)


Members: 0


Guests: 227


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits