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: pnCPG version 3.3 available  (Read 29836 times)

0 Members and 1 Guest are viewing this topic.

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
pnCPG version 3.3 available
« 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
« Last Edit: March 21, 2006, 08:04:43 am by GauGau »
Logged

eolica

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 100
    • http://www.ilvaldinoto.net
Re: pnCPG version 3.3 available
« Reply #1 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:
Code: [Select]
currentfr.height = currentfr.contentDocument.body.offsetHeight+FFextraHeight;

After
var iframehide="yes"
(around line 14) add these two lines:
Code: [Select]
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:
Code: [Select]
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.
Logged
Sesto Avolio

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: pnCPG version 3.3 available
« Reply #2 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
Logged

Darkwoods

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 27
  • Freedom!
Re: pnCPG version 3.3 available
« Reply #3 on: May 16, 2006, 11:49:32 am »

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

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: pnCPG version 3.3 available
« Reply #4 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: pnCPG version 3.3 available
« Reply #5 on: May 28, 2006, 09:08:29 pm »

split unrelated reply into separate thread.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.