Quote:
|
Quote:
|
what you mean with forumsection?
threads?userpages?userdata? |
Quote:
|
It's not difficult - store your script's working directory in a constant/variable, chdir to the vBulletin working directory, call global.php, and then chdir back to your script directory.
Basically, just do this: Code:
// vBulletin path (edit the value) |
I have my script in another directory. Using the above advice, it now works, but the images and links are broken. Anyone know how to get around that?
|
This is an entirely different issue. This is a problem with the html of the website.
Keep in mind that most links to images, stylesheets, scripts used within vBulletin are relative to the forums path. So, if you want to output templates that link to images in your forums' directory using relative links, you can probably just add a base href tag. Of course, having a link to your forums/custom page would make finding the cause of this small issue very easy. Hope this helps! |
works great thanks!
|
does it works in all versions (3.6.7 ?)
|
Quote:
I've a question, I created a page: PHP Code:
when I run this script it does not show the content of template temp2 ? :confused: why? |
All times are GMT. The time now is 12:25 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|