vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   Send PMs (automatically) (https://vborg.vbsupport.ru/showthread.php?t=82786)

Link14716 06-27-2005 05:38 PM

Quote:

Originally Posted by KirbyDE
Remove this line and it'll work :)

I probably would have figured that out if it told me instead of blank paging me. :p

Andreas 06-27-2005 05:41 PM

Suggest @ Jelsoft to call die('Class vB_Datamanager not defined') instead of just exit; :)

Chris M 06-27-2005 09:20 PM

Or just die ;)

Satan

Andreas 06-27-2005 09:26 PM

Hmm, die() without parameters does not produce any output as well, or am I wrong?

Chris M 06-28-2005 06:04 AM

No - I meant that you could suggest to Jelsoft that they could just die:p

They haven't fixed the Beta 3 issue yet :cry:

Satan

dwh 06-29-2005 09:12 PM

I don't understand how to use this? Is this a class built into 3.5? Is this code you would place in one of the files in the include directory? Or you create a new php page with functions?

Would it be possible to explain this hack in detail as if you were speaking to a very dumb person :ninja:

Andreas 06-29-2005 09:22 PM

This is not a Hack, it's Howto ;)
Class vB_Datamanager_PM is a Class that comes with vB 3.5, yes.
You can use code like this wherever you want in your vB Projects/Hacks.

dwh 06-29-2005 10:02 PM

Quote:

Originally Posted by KirbyDE
This is not a Hack, it's Howto ;)

Haha, thanks for answering the dumbo :)

Quote:

Class vB_Datamanager_PM is a Class that comes with vB 3.5, yes.
Whew. I was scared this was an add-on.


Quote:

You can use code like this wherever you want in your vB Projects/Hacks.
OK, but you need a semicolon here $pmdm->errors
right? Another dummy question, how do you get the array out of there? The "->" is throwing me off.

Andreas 06-29-2005 10:06 PM

For objects (that's an instantiated Class) you must always use ->.

$pmdm->errors was not meant to be used as a single Code-Line, it should just show which property you have to access (for example in an if) to check for errors.

dwh 06-29-2005 10:14 PM

I hate OOP :)
I guess I'll have to get used to it unfortunately.


All times are GMT. The time now is 02:15 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.02800 seconds
  • Memory Usage 1,732KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete