The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
||||
|
||||
The eval line is php and you have it sitting in the middle of a bunch of html. You can probably put that eval line right after the require_once global.php line. Then, where you currently have the eval line, just put $navbar
|
#22
|
||||
|
||||
If you're trying to insert the vbulletin navbar into an external app, be aware the navbar won't look like it does in vB with its pretty drill down folder view or anything. You'll also haev to make that happen yourself for any page you include it on.
|
#23
|
||||
|
||||
I didn't even think of that Zachery, you are right. You would really need to include the $header and $headerinclude templates also. Basically, you would want to follow one of these articles and insert your wiki text into them - How to create your own vBulletin-powered page! (uses vB templates) or [How-To] vBulletin API Basics: Creating Custom Pages & Misc.
|
#24
|
|||
|
|||
Quote:
Demo: http://www.ukbusinesslive.co.uk/forum/demo.html https://vborg.vbsupport.ru/showthread.php?t=200686 Its html and an easy edit for your forum or alternative site |
#25
|
|||
|
|||
Quote:
PHP Code:
As far as the two links you gave me, I have created several vB powered pages with content for Premium Memberships and whatnot. However, the wiki is in /wiki, so simply inserting my wiki homepage code into a vB powered powered page wouldn't work, I don't think, since that would make no changes to /wiki files. Quote:
|
#26
|
||||
|
||||
Quote:
|
#27
|
|||
|
|||
Okay. I tried what you suggested in post #21, and I get this error:
Code:
Fatal error: Call to a member function query_first_slave() on a non-object in /home/user/public_html/domain/forum/includes/functions.php on line 1178 |
#28
|
||||
|
||||
I was thinking about this some more and realized even if you get the head/headinclude/navbar to print out on that page, the links may all be wrong since they are going to assume you are in the vb directory. You really may have a much easier time just copying the page source of the navbar from one of your forum pages and putting it in your wiki page.
|
#29
|
||||
|
||||
Quote:
HTML Code:
<base href="http://www.yoursite/forum" />
|
#30
|
||||
|
||||
Ah yes, I forgot about that (cuz it doesn't work on my test site - weird).
As for the error.... I'm not sure. Did you define the $navbits like in those articles I linked you to? I know those get used in the navbar and I'm not sure what would happen if you don't define them. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|