PN0.762 + pnCPG + CPG1.4.4 PN0.762 + pnCPG + CPG1.4.4
 

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

PN0.762 + pnCPG + CPG1.4.4

Started by LnQ, March 06, 2006, 01:09:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LnQ

Have linket from the menu to [pnCPG] but only get a blank page?
CPG1.4.4 is running okay standalone but i want it to run it with postnuke.
Have followed the instruction but a bit confuse...
First install setup CPG galleri then merge it with pnCPG or

Could someone point me in the right direction. Or install instruction for newbie.

Thanks in advance, LnQ

casNuy

First install Postnuke,next install Coppermine.
If both work ok standalone, insrall pnCPG within Postnuke.
Check the settings of pnCPG within the adminsection of pnCPG.
Connect to the module with {pnCPG}

Cas

LnQ

I see try get them up and so...in the same database or do they need theirs own.
I can get both of them running...but what then whit pnCPG?

casNuy

They can use different databases as long as the PostNuke Database user has access to the coppermine database.
In version 3.3 also different DB users will be supported.

cas

LnQ

Coppermine is running now. Have added some albums and so on. But something isnt right.

When i log in as test user on my postnuke site.

And press Coppermine Linket to [pnCPG] coppermine opens in the samme windows im current in.
Want to make it uppen in pn but cpg is to wide? is the a fix for this...or else in a new windue.

LnQ

#5
have made a new install and some picture and attached them here.
my account from postnuke doenst work in cpg? why cant it be?
and the open in pn only works if i use "Xanthia" when it autotheme it a blank page?
And the accounts from pn should they be transfered to pnCPG too ? so you dont need to accounts?



casNuy

did you create the Dynamic User field ?
looks like you did not do that, this is described in the readme.

Cas

LnQ

#7
You mean this...i try it out..

As of version 3.2, there is an option to use this module in combination with an encrypted Coppermine version.
This is done by using a Dynamic Data field in Postnuke.
Before selecting this setting, make sure this field has been created :
1. Logon to postnuke as administrator
2. Go to the admin section, system tab
3. Go to the User section
4. Go to the Dynamic user data
5. Add the field "_CPGPWD", type "string", length 10
6. You must create a define for this variable in language/eng/global.php
-also in other languages you support => language/*???*/global.php
7. Activate the "Use Dynamic user data" option within the admin section.

Now what happens is the following :
If an authorised user is entering the Coppermine gallery for the first time a password will be generated unless the user already provided one within his account details within PN.
When a password is generated, and "send email" is selected, the user will also receive an email with his/her password for Coppermine direct.
If a password is present in PostNuke, Coppermine password will be synchronized at next logon to Coppermine.

NOTE_NOTE_NOTE_NOTE_NOTE_NOTE_NOTE_NOTE_NOTE_NOTE_NOTE_NOTE_NOTE_NOTE_NOTE_NOTE_
<
If you do not want to use Dynamic user data, this module will only work with Coppermine configured without encrypted passwords !!!!!!!!!!!!


HAve donw that but where do i activate it? "7. Activate the "Use Dynamic user data" option within the admin section."
isnt it active already it light green? "active"

cant get it to work...it still says "!*** Couldn't log in. Try again *** !

################# Seem to work now...thaz Cas


casNuy

if you check your account settings within Postnuke, do you find the random password ?

CAS

LnQ

User administration
[ User registration configuration ][ User configuration ][ Dynamic user data ]


In here or`? havent completely followed you,...pretty new at pn and this cpg so...

LnQ

Have played a little with the blocks. Why is the picture not centeret like the other blocks as "Show some pcitures"

Show random images
Expand Picture
Go to the Album
Send Picture as E-card

Statistics
Number of Albums :
Number of Images :
Number of Hits :
Number of Votes :
Number of Comments :

Last Updated Albums
test

Last Updated Picture

test
Owner : test
Hits : 0

LnQ

I saw that there wasnt any danish language pack en pnlang so i translated the eng version and made a danish
but how do i use it?

casNuy

Create a Danish directory within the lang directory of pnCPG. Your files go in there.

I will include them in the next release.

Cas

LnQ

I think i did it to fast some where in random.php i misspelled billeder as bilelder or something. this below is the fixet one.
Yes you can include this dan pack in you futures release...still can get it to work...i can but them in eng but then the rest of the page is showed wrong and...how do i center the random.php pictures they seem to be align in the left side of the table

<?php
define
('_PNCPG_ALBUM_AMOUNT','Antal Albums der vises :');
define('_PNCPG_OWNER','Ejer');
define('_PNCPG_HITS','Hits');
define('_PNCPG_LASTALBUMS','Sidste opdaterede albums');
define('_PNCPG_LASTALBUMSCOUNT','Antal billeder der tjekkes :');
define('_PNCPG_LASTPICTURE','Sidst opdateret billede');
define('_PNCPG_SHOW_RANDOM','Vis tilfældige billeder (y/n) : ');
define('_PNCPG_SHOW_ALBUMS','Vis ændrede albums albums (y/n) : ');
define('_PNCPG_SHOW_LAST','Vis sidste tilføjede billeder (y/n) : ');
define('_PNCPG_USE_JAVA','Brug Java script i blok Block (y/n) : ');
define('_PNCPG_LOAD_JAVA','Load Java Sript (y/n) : ');
define('_PNCPG_SHOW_MENU','Vis Java menu i venstre(L) eller højre(R) : ');
define('_PNCPG_EXCLUDE_USER','Udelad bruger gallerier (y/n) : ');
define('_PNCPG_SHOW1','Vis menu for udvidelse af billeder (y/n) : ');
define('_PNCPG_SHOW2','Vis menu for gå til kategori (y/n) : ');
define('_PNCPG_SHOW3','Vis menu for E-mail billeder (y/n) : ');
define('_PNCPG_EXPAND','Udvide billeder');
define('_PNCPG_GO_ALBUM','Gå til album');
define('_PNCPG_ECARD','Send billede som postkort');
define('_PNCPG_SHOW_STATS','Vis statitisk (y/n) : ');
define('_PNCPG_STATS','Statitisk');
define('_PNCPG_TOTALALBUMS','Antal af albums');
define('_PNCPG_TOTALPICTURES','Antal af billeder');
define('_PNCPG_TOTALHITS','Antal hits');
define('_PNCPG_TOTALVOTES','Antal stemmer');
define('_PNCPG_TOTALCOMMENTS','Antal kommentare');
?>

casNuy

Thanks for the update, will be included in 3.3
As for the Danish to work, you just need to set Postnuke to Danish and define the default alnguage of Coppermine to be Danish.
That should do the trick.
If you leve me a mail address, i can send you the 3.3 reelase for testing (including danish!).

Cas

LnQ

my mail is bruger@mail.com okay i try it that out...

LnQ

Danish language isnt an option

casNuy

#17
oops, then it is a question for the real developers. They will probably ask you to make the translation. On that topic you can find info on some of the other boards.

Cas

LnQ

oohh okay,...have another problem maybe you can solve it..
my info blok is some how left align how do i center the titel and the picture.
have attache a pic

Joachim Müller

1) Danish hasn't been translated yet for cpg1.4.x
2) One issue per thread!