coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 pnCPG (Coppermine for postNuke/Zikula) => Topic started by: casNuy on March 20, 2006, 07:26:19 PM

Title: pnCPG version 3.3 available
Post by: casNuy on March 20, 2006, 07:26:19 PM
Bug fix release, blocks adjusted, support for external databases added.
Added Danish languages (thanks to LnQ).

Tested with pnCPG 1.43/1.44 and pn 0.76X

Cas
Title: Re: pnCPG version 3.3 available
Post by: eolica on March 21, 2006, 09:55:19 PM
Nice work Cas! Just a couple of small fixes for Firefox to have a working dynamic resize feature.

Edit iframe_SSI.html as follows:

1) Change line 34 to look like:

currentfr.height = currentfr.contentDocument.body.offsetHeight+FFextraHeight;


After
var iframehide="yes"
(around line 14) add these two lines:

var getFFVersion=navigator.userAgent.substring(navigator.userAgent.indexOf("Firefox")).split("/")[1]
var FFextraHeight=parseFloat(getFFVersion)>=0.1? 16 : 0 //extra height in px to add to iframe in FireFox 1.0+ browsers


(you can also grab the last version from DynamicDrive).

2) Change line 225 of pnuser.php to become:

echo "<iframe id='postwrap-content' name='pnCPG' src='$url' align='center' width='100%' height='800px' space=0 vspace=0 marginwidth=0 marginheight=0 frameborder=0 scrolling=auto onload='parent.scrollTo(0,0);' ></iframe>";



Thanks again for your wonderful work.
Title: Re: pnCPG version 3.3 available
Post by: casNuy on March 21, 2006, 10:45:53 PM
Thanks for the fix, I will incorporate this in the next version.
A lot of people will be thankful for this.

cas
Title: Re: pnCPG version 3.3 available
Post by: Darkwoods on May 16, 2006, 11:49:32 AM
does pnCPG have a website? i want to see the demo  ;D thx
Title: Re: pnCPG version 3.3 available
Post by: casNuy on May 17, 2006, 07:31:13 PM
There are various websites listed here on the forum where you can se eit in action.
On my own website I do not have it active for the public and my dev website it not running in the public domain.
Cas
Title: Re: pnCPG version 3.3 available
Post by: Joachim Müller on May 28, 2006, 09:08:29 PM
split unrelated reply into separate thread (http://forum.coppermine-gallery.net/index.php?topic=31984.0).