1
costi
Adding auto-notifications when a news story is posted
  • 2003/12/15 21:14

  • costi

  • Just popping in

  • Posts: 15

  • Since: 2003/9/12


1. Backup your database.

2. Run this SQL code in MySQL or mysqladmin.
insert into xoops_xoopsnotifications 
(not_modidnot_itemidnot_categorynot_eventnot_uidnot_mode)
select 10 as not_modidas not_itemid"global" as not_category"new_story" as not_eventuidas not_mode from xoops_users;


3. Now, all users are notified by email when a news article is posted to your site.

Status of the hack: works for me.
http://trubadur.usr.ro/

2
fatman
Re: Adding auto-notifications when a news story is posted
  • 2003/12/19 5:18

  • fatman

  • Friend of XOOPS

  • Posts: 176

  • Since: 2003/12/13


this would be nice as an admin feature. I might try this and issolate it for certain user groups.

Would it be a bad idea to roll that idea into a function and give admin the ability to run it in a block below the notification window on articles/threads/ect..

Login

Who's Online

245 user(s) are online (159 user(s) are browsing Support Forums)


Members: 0


Guests: 245


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