The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Using Photopost inc_features.php in Header
I have used many variations of the Photopost inc_features.php on my sites within vbPortal blocks and they work fine.
I am trying to used a variation (1 row of five pics with no text) in the Header template of vBulletin but it just shows blank. It works fine if I test it on an otherwise blank PHP page. I have just put the code inside a two column table like this: Code:
<table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="264" height="80" align="left" valign="top" bgcolor="#5B9EBF"><img src="http://sportfishingasia.com/forums/images/misc/sportfishingasia_logo.jpg" alt="Sportfishingasia.com"></td> <td align="center" bgcolor="#5B9EBF"><? @include('/home/asiafish/public_html/photopost/inc_features_head.php'); echo $photopostfeature; ?></td> </tr> </table> |
#2
|
|||
|
|||
you can't use PHP inside your vBulletin templates... vbportal is not built with vBulletin, so it is different.
you can search on this site for some Photopost related hacks ( in the Mods section ), there is a lot, and they would answer that need you have. |
#3
|
|||
|
|||
Many thanks.
I thought I had a great idea there |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|