![]() |
Including vb3 navbar outside of vb3
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 |
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(). |
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 |
PHP Code:
But keep in mind that navbar is not a complete HTML Document. |
Quote:
Quote:
HTH, ....jc |
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 |
Can you post lines 930-940 of your functions.php?
|
Here is lines 929-940...
PHP Code:
Lem |
Quote:
Quote:
....jc |
Hmm, where did you incorporate this?
Maybe the other script uses the same variable name for it's DB class? |
All times are GMT. The time now is 01:12 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:
|