The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Insert external PHP file into template
Hello,
I want to insert a header.php and a footer.php in the template. How can I do that? Basicly I want the forum to have the header & footer of the website. Thanks |
#2
|
||||
|
||||
From the manual - Including External Files
|
#3
|
||||
|
||||
http://www.nightclubwiz.com/bottom_forum.php
This is the page I want to add. It has some divs, some php code, some querys. This is the plugin I created: Quote:
Fatal error: Call to a member function query_read() on a non-object in forumpath...\index.php on line 318 Any sugestions please? Could there be a problem because the connection is made to another database to get the info? |
#4
|
||||
|
||||
It looks to me like you have not given it the proper parameters to connect to the database. Tons of these errors:
Warning: mysql_query() [function.mysql-query]: Can't connect to MySQL server on 'localhost' (10061) in D:\hosting\member\nightclubwiz\bottom_forum.php on line 84 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|