![]() |
Integrate vbulletin with website
I am trying to create a custom cms system similar to phpnuke or vbadvanced for my website. I am trying to get vbulletin to include in the middle of the site with a php include.
When I do the following, the include works just fine test.php PHP Code:
Fatal error: Call to a member function query_first_slave() on a non-object in [some path removed]Public_html\modules\forum\includes\functions.php on line 1270 Any Suggestions? |
I am trying to create a custom cms system similar to phpnuke or vbadvanced for my website. I am trying to get vbulletin to include in the middle of the site with a php include.
When I do the following, the include works just fine test.php PHP Code:
Fatal error: Call to a member function query_first_slave() on a non-object in [some path removed]Public_html\modules\forum\includes\functions.php on line 1270 Any Suggestions? |
Not really quite sure but read this: [How-To] vBulletin API Basics: Creating Custom Pages & Misc.
Specifically there is a section titled "Creating Subpages" which you may find useful. |
not quite what i was looking for
|
|
This error:
Quote:
|
ok update
The following works PHP Code:
PHP Code:
|
Things called in a function will remain in the local (function) scope.
|
so that means that there is no way for me to include vbulletin from within a function? Sorry to play ignorant but as you can probably tell I am still working on learning PHP.
|
Basically, yes.
|
All times are GMT. The time now is 07:37 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|