Plugin Function Question - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Extensions (https://community.mybb.com/forum-201.html) +--- Forum: Plugins (https://community.mybb.com/forum-73.html) +---- Forum: Plugin Development (https://community.mybb.com/forum-68.html) +---- Thread: Plugin Function Question (/thread-69617.html) |
Plugin Function Question - Aaron - 2010-05-14
The function/hook is working where it should because if i add echo "test"; to the end it is displaying on the page. Any idea why this doesn't send a PM, no error displayed either. RE: Plugin Function Question - Diogo Parrinha - 2010-05-14 Does echo $send_errors; echo anything? RE: Plugin Function Question - Aaron - 2010-05-14 No, bit strange! also added
under the insert echo and that echos, so theres no error in the insert, it just doesn't do it! RE: Plugin Function Question - Diogo Parrinha - 2010-05-14 Search for a PM function I posted on this forum and try it, can't be bothered to search and compare right now RE: Plugin Function Question - Aaron - 2010-05-14 Just had a search, not finding much. Found it, let me look! Just seen your script, how would i run the function, how would the array look.. RE: Plugin Function Question - Diogo Parrinha - 2010-05-14 Simple, just look at how it checks the array inside the function. You have to pass an uid, a message, a subject and something else. Just check the function |