Quote:
Originally Posted by sinoeu
AndrewD, i have check the section 8 of the LDM manual to know sth. about your hook system. As i am a noob, i can't tell whether your have set a hook for the point system to work with LDM. I am not a coder, but i know some coders want that, so please confirm that, thanks a lot!
|
I've put in two hooks which I think coders will be able to work with to integrate with a points system, and can easily add more if need be.
One hook is called ldm_link_inserted, which is available immediately after a new entry is added to the database. The second is ldm_check_user_allowances which is called immediately before a download will begin, and after the system has checked the internal allowances that LDM provides.