PDA

View Full Version : vb4 data manager


brandondrury
02-28-2013, 09:15 PM
I script that worked fine in early version of vB4 using the data manager apparently died on me. It's also dead on my local server with a totally different configuration so I think it's safe to say that the data manager has changed and my script needs an overhaul.

Fair enough.

So I got to the vBulletin manual get the modern template/skeleton of the script.

This is the garbage I see.
The code snippets below assume you are within the vBulletin environment already. They will need access to various vBulletin files, such as includes/functions.php and includes/class_core.php, and vBulletin data, such as $vbulletin.

THIS IS DISGUSTING!!

They give 5 steps with Step #0 being, "You'll need some stuff before you can proceed." That "stuff" could have been easily written down in 3 seconds by the author.
That "stuff" is what is wrong with my script.

This used to work:
chdir('home/public_html/forum/');
include('global.php');
include('includes/functions.php');
include('includes/class_core.php');
chdir ($curdir);

Now it doesn't.

An overt lack of pride in the suits at vBulletin is more than frustrating.

Anyway, does anyone know this secret "stuff" to get the data manager to work on external vB pages in vbulletin 4.2.0 PL3?

Brandon