Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: cpmFetch wiith iframe in mybb  (Read 4140 times)

0 Members and 1 Guest are viewing this topic.

Schumuckl

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
cpmFetch wiith iframe in mybb
« on: April 19, 2007, 01:04:23 pm »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.