pnCPG version 3.3 available pnCPG version 3.3 available
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

pnCPG version 3.3 available

Started by casNuy, March 20, 2006, 07:26:19 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

casNuy

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

eolica

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.
Sesto Avolio

casNuy

Thanks for the fix, I will incorporate this in the next version.
A lot of people will be thankful for this.

cas

Darkwoods

does pnCPG have a website? i want to see the demo  ;D thx
Freedom

casNuy

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

Joachim Müller