1
wibni
enable news notifiaction as per default for new users
  • 2008/4/2 9:16

  • wibni

  • Just popping in

  • Posts: 4

  • Since: 2006/8/11


Xoops 2.0.13

Hi,

I'm trying to get notifications as per default working for every new user who registers on our website.
New users shouldn't have to select the checkbox for notifications first.

Right now I've got the SQL command below which I run before I enter any new event items. It basically sets the notification for every user it can find.
Which file would I be looking for and what do I need to change to get it working?

insert into `xoops_xoopsnotifications`
(not_modid, not_itemid, not_category, not_event, not_uid, not_mode)
select 2, 0, 'global', 'new_event', uid, 0
from xoops_users

Cheers,
wibni

2
chco2
Re: enable news notifiaction as per default for new users
  • 2008/5/16 11:38

  • chco2

  • Module Developer

  • Posts: 374

  • Since: 2004/3/5 1


I'm in desperate need for this as well, but for more module notifications..
“It's amazing the way people cling to insults. Or what they think are insults.”

Login

Who's Online

313 user(s) are online (230 user(s) are browsing Support Forums)


Members: 0


Guests: 313


more...

Donat-O-Meter

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

Latest GitHub Commits