vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   [SOLVED]Send PN (https://vborg.vbsupport.ru/showthread.php?t=241655)

bpr 05-01-2010 05:18 PM

[SOLVED]Send PN
 
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/vBu...anager_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!

PHP Code:

-- 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

Quote:

Originally Posted by bpr (Post 2030852)

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

You are awesome. Thank you!


All times are GMT. The time now is 09:43 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01164 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete