PDA

View Full Version : [SOLVED]Send PN


bpr
05-01-2010, 05:18 PM
I guys,
i need help, i want to send a pn over an method in my mod, does anybody know, what kind of hook or what so ever i have to use to solve that problem ?

A user cannot write anything in this pn, its auto generated by myself. I cant figure out what I have to use, to send the pn ?

I hope somebody could help

kall
05-01-2010, 05:19 PM
Do you mean PM? (Private Message)?

Lynne
05-01-2010, 05:27 PM
Have you looked at the API (in Quick Links)? Perhaps the datamanager for the PMs?

bpr
05-01-2010, 05:59 PM
Yes, sorry I meant PM not PN, sorry for that one.

No i havent had a look so far at the api... I will have a look at it


Thanks,
bpr

//EDIT:
I did read this http://members.vbulletin.com/api/vBulletin/vB_DataManager_PM.html and I am afraid to say, but I am not cleverer at all...

Do I have to use "post_save_each" to write the pns in the database or ? what am I supposed to do? I would apprechiate if you could give me hand with that one!

Thank you

bpr
05-03-2010, 12:29 AM
Ok small update I got this code, but I just get a white / blank page!

-- i dont want to confuse anybody

//EDIT:
Ok I am done, I found the problem, and i solved it!

I wrote a HOWTO which is actually awaiting confirmation so stay tune to in the article section

Lynne
05-03-2010, 03:44 AM
I wrote a HOWTO which is actually awaiting confirmation so stay tune to in the article section
You are awesome. Thank you!