Log in

View Full Version : Using Photopost inc_features.php in Header


Skywoolf
12-20-2007, 12:09 PM
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:

<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>

nexialys
12-20-2007, 12:20 PM
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.

Skywoolf
12-20-2007, 12:39 PM
Many thanks.

I thought I had a great idea there :)