Liam W
in memoriam 1998-2020
OK, I'm going around in circles with headaches here...
Is there a guide or can someone tell me exactly how to alert users, just with plain text, in an addon?
There's no specific content with it - it's just plain text and a link.
I've looked through the code, and I created an entry in `xf_content_type_field` and it still doesn't work. The alert 'alerts', as in it says I have a new alert, but when I go to view it it says I have no alert.
I added a few var_dumps, and it looks like it can't find the alert handler for my content type - even though I put it in that table.
Do I have to add another db entry somewhere?
Liam
Is there a guide or can someone tell me exactly how to alert users, just with plain text, in an addon?
There's no specific content with it - it's just plain text and a link.
I've looked through the code, and I created an entry in `xf_content_type_field` and it still doesn't work. The alert 'alerts', as in it says I have a new alert, but when I go to view it it says I have no alert.
I added a few var_dumps, and it looks like it can't find the alert handler for my content type - even though I put it in that table.
Do I have to add another db entry somewhere?
Liam