Closed (fixed)
Project:
LinksDB
Version:
5.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Apr 2008 at 19:33 UTC
Updated:
10 May 2009 at 21:28 UTC
Notify the site admins (or whoever has access to approve links) when a new link has been suggested.
Comments
Comment #1
BradM commentedI've made some progress with this, so hopefully someone here with more coding experience can help. I've hacked the module to send a PM whenever a link is submitted. The only problem is, the new PM is not assigned an ID in the 'privatemsg' table (it sits at 0) so even though the admin is told there is a new message, it does not actually show up in their inbox, even though all the data (aside from a proper ID) is added to the privatemsg table.
Basically, I added these 2 lines of code:
I placed the code in the linksdb_suggest_form_submit function, just above this line of code:
Any idea of why it isn't generating a proper ID in the privatemsg table?
Brad
Comment #2
nancydruIn the 6.x-2.0 version of Web Links module, which I am creating a conversion for, you could use the Subscriptions module.
Comment #3
nancydruA conversion function to the Web Links module is available for both 5.x and 6.x. That module provides this feature in 6.x-2.0-beta2 and -dev.
Comment #4
nancydru