The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hello,
I am trying to include my VB3 navigation bar in my articles program(which is obviously outside of my forum). How do I do this? Here is what I have tried so far. I have included this php file into my articles program's template. This file is located in my root directory. PHP Code:
Fatal error: Call to undefined function: query_first() in /home/truckent/public_html/forums/includes/functions.php on line 938 If you look at www.truckimprovement.com/articles/ you might see what I"m trying to do. The Articles program I am using is Lore by Pineapple Technologies Thank you for your help, Lem |
#2
|
||||
|
||||
![]()
dooutput() and gettemplate() do not exist in vB3.
You might be looking for print_output() and fetch_template(), furthermore you will most likely need construct_navbits(). |
#3
|
||||
|
||||
![]()
So, that is code for vbulletin 2?
How would I put together the code that you suggest? The above code I gathered from other threads. Thanks for your reply, Lem |
#4
|
||||
|
||||
![]() PHP Code:
But keep in mind that navbar is not a complete HTML Document. |
#5
|
|||
|
|||
![]() Quote:
Quote:
HTH, ....jc |
#6
|
||||
|
||||
![]()
Hey Guys,
Thank you soo much for trying to help me. Here is what I put... PHP Code:
Fatal error: Call to undefined function: query_first() in /home/truckent/public_html/forums/includes/functions.php on line 938 The Navigation bar I am trying to put in there is a custom template if that makes any difference. Am I supposed to replace "external_articles" with something else? PanelCrafters, I'm not sure I understand, am I supposed to create a module? What is info_request? Thanks, Lem |
#7
|
||||
|
||||
![]()
Can you post lines 930-940 of your functions.php?
|
#8
|
||||
|
||||
![]()
Here is lines 929-940...
PHP Code:
Lem |
#9
|
|||
|
|||
![]() Quote:
Quote:
....jc |
#10
|
||||
|
||||
![]()
Hmm, where did you incorporate this?
Maybe the other script uses the same variable name for it's DB class? |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|