
Re: [MOD] FAP Outside Pics MOD
Well make sure
phpBB2 is changed to whatever your forum is called.
<?php include "
phpBB2/album_mod/album_outside_recentpic.php" ?>
OR If that does not work...
You can use HTML BLOCK and using IFRAME. That's what I use for my
mxbb portal.
INSERT
<?php include "phpBB2/album_mod/album_outside_recentpic.php" ?>
Inside a file called ( for example ) recent.php
add:
<body bgcolor=#333333> ( to match your portals colour )
iframe example
<iframe src="http://www.your-site/recent.php" scrolling="no" width="100%" height="130" frameborder="0" marginheight="0" marginwidth="0" allowtransparency="true"></iframe>
You will have to make the pictures open up a new page or else when you click on image, it will stay in the IFRAME and it looks ugly... I used target="_blank" inside of album_outside_recentpic.php
Look for
"album_showpage.". $phpEx ."?pic_id=" . $row['pic_id']) ."'>
add for example:
."album_showpage.". $phpEx ."?pic_id=" . $row['pic_id']) ."' target=_blank>
----------------
Ive added a nice marquee to mine... if anyone is interested. it stops the scrolling when mouse is hoverd over. works for IE and FF. =)
<marquee loop="infinite" bgcolor=#333333 behavior="SCROLL" direction="left" height="135" width="100%" scrollamount="3" scrolldelay="1" ALIGN="middle" onmouseover='this.stop()' onmouseout='this.start()' ><font color=white>
<?php include "phpbb/album_mod/album_outside_recentpic.php" ?>
</marquee>