The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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? |
#2
|
|||
|
|||
![]()
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? |
#3
|
|||
|
|||
![]()
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. |
#4
|
|||
|
|||
![]()
not quite what i was looking for
|
#5
|
||||
|
||||
![]() |
#6
|
|||
|
|||
![]()
This error:
Quote:
|
#7
|
|||
|
|||
![]()
ok update
The following works PHP Code:
PHP Code:
|
#8
|
||||
|
||||
![]()
Things called in a function will remain in the local (function) scope.
|
#9
|
|||
|
|||
![]()
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.
|
#10
|
||||
|
||||
![]()
Basically, yes.
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|