The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I've read a ton of stuff in a search, but can't seem to find the answer.
I'm using photopost. I added a php file ( latest_pic.php ) to rotate the latest pics on "any" page. Works fine on the home page of the site, using " Code:
<!--#include virtual="/forums3/latest_pic.php" -->". Now I'm trying to add the same file to the header of the forum. http://dirtrider.net/forums3/ (on the left side where all the logos are) I've read about adding something like: Code:
ob_start(); require("file.php"); $file = ob_get_contents(); ob_end_clean(); Sorry if this has been answered already, I searched! Thanks in advance for any help. |
#2
|
||||
|
||||
![]()
Update:
This is what I put in the php include template: Code:
ob_start(); require("latest_pic.php"); $latest_pic = ob_get_contents(); ob_end_clean(); Code:
$latest_pic Get this database error: Database error in vBulletin 2.2.1: Invalid SQL: SELECT * FROM usergroup WHERE usergroupid=6 mysql error: mysql error number: |
#3
|
||||
|
||||
![]()
:disappointed:
|
#4
|
||||
|
||||
![]()
Humm... anyone have any idea where to look for this answer?
|
#5
|
|||
|
|||
![]()
I'm also interested in this...
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|