cpmFetch wiith iframe in mybb cpmFetch wiith iframe in mybb
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

cpmFetch wiith iframe in mybb

Started by Schumuckl, April 19, 2007, 01:04:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Schumuckl

Hello and final accusing for the bad english, I hope we can nevertheless understand itself. I installed cpmFetch and bring the random pictures by iframe with me in the forum. It would please me, which if one clicks the pictures, which these open in an external window and I also still one was away between the pictures bring could

<?php
  
include "./cpmfetch.php";
  
$objCpm = new cpm("./cpmfetch_config.php");
 
$objCpm->cpm_viewRandomMedia(1,5);
  
$objCpm->cpm_close();
?>


my iframe

<html>
<
head>
<
title>{$settings[bbname]} - Dein Seitenname</title>
</
head>
<
body>
<
table cellspacing="0" cellpadding="0" border="0" width="100%" align="center">
<
tr><td class="tborder">
<
table border="0" cellspacing="1" cellpadding="4" width="100%">
<
tr>
<
td class="thead" width="14%"><b>Zufallsgenerierte Galeriebilder</b></td>
</
tr>
<
tr>
<
td class="trow1" valign="top" colspan="2">
<
table cellspacing="0" cellpadding="0" border="0" width="100%"><tr>
<
td valign="top">
<
align=center><iframe src="meineurl/cpmfetch/gallery.php" width=100height=125 frameborder="0" name="gallery" marginwidth="0" marginheight="0" align="top" border="0" allowTransparency="true"></iframe></center>
</
td>
</
tr></table>
</
td>
</
tr>
</
table>
</
td></tr></table>
</
body>
</
html><br/>


Sreenshot from my Board: http://www.e30freunde-preussen.de/screen.jpg

thus I would have sorted it gladly: http://www.e30freunde-preussen.de/screen1.jpg


I thank you already once in advance for your assistance

Schumuckl